Running the quiz
Before we can run the quiz, we need to configure it to use the cross-platform Kestrel web server, and host it on .NET Core.
Configuring the project to use Kestrel and .NET Core
In the Solution Explorer window, in the Ch16_QuizWebApp project, double-click on Properties, click on the Debug tab, and set the following options:
- Set the profile to web (the Kestrel cross-platform web server)
- Check the box for Use Specific Runtime and choose the latest version
- Set the platform to .NET Core
- Set the architecture to x64, as shown in the following screenshot:
Save your changes, and then in the Visual Studio toolbar, choose the web profile:
Start the ...
Get C# 6 and .NET Core 1.0: Modern Cross-Platform Development 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.