Kestrel Test from Visual Studio

The Kestrel Test can be also performed within the Visual Studio development environment: to do so we have to change the active running profile from IISExpress to TestMakerFree: such task can be easily done within the Visual Studio GUI by left-clicking to the right handle of the Select Startup Item button:

The settings for all the profiles listed there can be customized by editing the launchSettings.json file within the Properties solution folder. Being able to test the Production profile within Visual Studio can be very useful to successfully debug some specific angular issues, such as those related to AoT compilation ...

Get ASP.NET Core 2 and Angular 5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.