Book Image

Apps and Services with .NET 7

By : Mark J. Price
Book Image

Apps and Services with .NET 7

By: Mark J. Price

Overview of this book

Apps and Services with .NET 7 is for .NET 6 and .NET 7 developers who want to kick their C# and .NET understanding up a gear by learning the practical skills and knowledge they need to build real-world applications and services. It covers specialized libraries that will help you monitor and improve performance, secure your data and applications, and internationalize your code and apps. With chapters that put a variety of technologies into practice, including Web API, OData, gRPC, GraphQL, SignalR, and Azure Functions, this book will give you a broader scope of knowledge than other books that often focus on only a handful of .NET technologies. It covers the latest developments, libraries, and technologies that will help keep you up to date. You’ll also leverage .NET MAUI to develop mobile apps for iOS and Android as well as desktop apps for Windows and macOS.
Table of Contents (23 chapters)
22
Index

Practicing and exploring

Test your knowledge and understanding by answering some questions, getting some hands-on practice, and exploring this chapter’s topics with deeper research.

Exercise 9.1 – Test your knowledge

Answer the following questions:

  1. List six method names that can be specified in an HTTP request.
  2. List six status codes and their descriptions that can be returned in an HTTP response.
  3. How is the ASP.NET Core Minimal APIs service technology different from the ASP.NET Core Web APIs service technology?
  4. With the ASP.NET Core Minimal APIs service technology, how do you map an HTTP PUT request to api/customers to a lambda statement block?
  5. With the ASP.NET Core Minimal APIs service technology, how do you map a method or lambda parameter to a value in a route, query string, or the body of the request?
  6. Does enabling CORS increase security for a web service?
  7. You have added statements to Program.cs to enable HTTP...