Description
Use var isNotRunningOpenApiBuild = AppDomain.CurrentDomain.FriendlyName != "GetDocument.Insider"; instead of reflection to check if Open APi is building
Page URL
https://learn.microsoft.com/en-us/aspnet/core/fundamentals/openapi/aspnetcore-openapi?view=aspnetcore-9.0&tabs=visual-studio%2Cvisual-studio-code&source=docs
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/fundamentals/openapi/aspnetcore-openapi.md
Document ID
27bad30c-e0b4-10fb-b202-a29d4f8fad24
Platform Id
11e029f8-4c25-d943-fe65-31bfcaf35e2b
Article author
@captainsafia
Metadata
- ID: 27bad30c-e0b4-10fb-b202-a29d4f8fad24
- PlatformId: 11e029f8-4c25-d943-fe65-31bfcaf35e2b
- Service: aspnet-core
- Sub-service: fundamentals
Related Issues
Description
Use
var isNotRunningOpenApiBuild = AppDomain.CurrentDomain.FriendlyName != "GetDocument.Insider";instead of reflection to check if Open APi is buildingPage URL
https://learn.microsoft.com/en-us/aspnet/core/fundamentals/openapi/aspnetcore-openapi?view=aspnetcore-9.0&tabs=visual-studio%2Cvisual-studio-code&source=docs
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/fundamentals/openapi/aspnetcore-openapi.md
Document ID
27bad30c-e0b4-10fb-b202-a29d4f8fad24
Platform Id
11e029f8-4c25-d943-fe65-31bfcaf35e2b
Article author
@captainsafia
Metadata
Related Issues