In the Configure method in Startup.cs start off with:
if (env.IsDevelopment()) { app.UseDeveloperExceptionPage(); } else { app.UseHttpsRedirection(); }
In appsettings.json have a https_port property with a number in it!
No comments:
Post a Comment