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 14.1 – test your knowledge
Answer the following questions:
- What is the difference between a web browser and a web server?
- What is the difference between a URI, a URL, and a URN?
- What are the four most common HTTP methods?
- What does it mean when a web server responds with status code 302?
- What are the responsibilities of a route?
- What are the responsibilities of a controller?
- What are the responsibilities of a model?
- What are the responsibilities of a view?
- How does ASP.NET distinguish a request for MVC from a request for Web API?
- What data formats does Web API support by default?
Exercise 14.2 – practice building a data-driven web application
Create an ASP.NET Core web application that connects to the Northwind sample database and enables the user to see a list of customers grouped by country. When the...