Wednesday, April 17, 2019

(Solved) .Net core web api project with vscode keep giving HTTPS endpoints can only be configured using KestrelServerOptions.Listen()

Leave a Comment
Problem: While working for Angular project with .net core web api using Json web token for angular security, we might get exception in program.cs file of Web API of project developed in .net core public static void Main(string[] args) { CreateWebHostBuilder(args).Build().Run(); } While debugging project in vscode to run web api we find following exception: asp.net core web api System.InvalidOperationException: HTTPS endpoints can only be configured using KestrelServerOptions.Listen()....
Read More

Sunday, April 14, 2019

How routing works in Angular (Brief overview)

Leave a Comment
Following is brief pictorial illustration related to angular routing: 1: If Url is changed either through router link or directly changed in address bar 2: It verifies if path exist & match in rotues.ts or routing related configuration file. It also check if routes require redirect as per configuration provided in routing file. 3: Also to check if there are process guard related to activate or deactivate ...
Read More