Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using Microsoft.AspNetCore;
- using Microsoft.AspNetCore.Hosting;
- namespace Server
- {
- public class Program
- {
- public static void Main ( string [ ] args )
- {
- CreateWebHost ( args ).Run ( );
- }
- public static IWebHost CreateWebHost ( string [ ] args ) =>
- WebHost.CreateDefaultBuilder ( args )
- .UseStartup<Startup> ( )
- .UseUrls ( "http://*:53253" )
- .Build ( );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment