-
Notifications
You must be signed in to change notification settings - Fork 24.9k
x #36883
Copy link
Copy link
Closed
Labels
⌚ Not TriagedSource - Docs.msDocs Customer feedback via GitHub IssueDocs Customer feedback via GitHub Issueaspnet-core/svcfundamentals/subsvc
Description
Description
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.OpenApi;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.OpenApi.Models;
using Scalar.AspNetCore;
var builder = WebApplication.CreateBuilder();
builder.Services.AddOpenApi();
var app = builder.Build();
if (app.Environment.IsDevelopment())
{
app.MapOpenApi();
app.MapScalarApiReference();
}
app.MapGet("/", () => "Hello world!");
app.Run();
Page URL
Content source URL
Document ID
472b10ab-681b-f631-040d-025ef0a02329
Platform Id
c973de58-a013-4aa0-ccef-0bd78e4749db
Article author
x
Metadata
- ID: 472b10ab-681b-f631-040d-025ef0a02329
- PlatformId: c973de58-a013-4aa0-ccef-0bd78e4749db
- Service: aspnet-core
- Sub-service: fundamentals
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
⌚ Not TriagedSource - Docs.msDocs Customer feedback via GitHub IssueDocs Customer feedback via GitHub Issueaspnet-core/svcfundamentals/subsvc
Type
Fields
Give feedbackNo fields configured for issues without a type.