Created
November 24, 2025 01:21
-
-
Save AnthonyGiretti/bb67aec8b68b173596afd548dbd7108f to your computer and use it in GitHub Desktop.
ASP.NET Core 10: Easy support of local multi host: Program.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var builder = WebApplication.CreateBuilder(args); | |
| .... | |
| builder.WebHost.UseUrls( | |
| "https://api.localhost:7001", | |
| "https://admin.localhost:7002", | |
| "https://frontend.localhost:7003"); | |
| var app = builder.Build(); | |
| .... | |
| app.Run(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment