Practicing and exploring
Test your knowledge and understanding by answering some questions, get some hands-on practice, and explore this chapter's topics with deeper research.
Exercise 15.1 – test your knowledge
Answer the following questions:
- What platforms are supported by .NET Core and ASP.NET Core?
- What command downloads dependent packages for a project?
- What file does project directory require in order to restore packages?
- What command will show the currently installed versions of .NET?
- What command will switch to a different version of .NET?
Exercise 15.2 – practice transferring an existing ASP.NET application
Take the ASP.NET Core application that we created in Chapter 14, Building Web Applications and Services Using ASP.NET Core, restore its packages, and host it in the Kestrel web server.
What happens? Why?
Note
The project uses a database connection string that attempts to connect to a Microsoft SQL Server LocalDb instance, but Mac OS X does not support this. So, an unhandled...