Summary

In this module, you created an ASP.NET Core web API running on .NET. The web API creates, reads, updates, and deletes pizzas from an in-memory cache.

red hat linux administration training courses malaysia

You learned that creating a web API with ASP.NET Core entails:

  1. Creating a new application by using the ASP.NET Core Web API template.
  2. Creating classes that inherit from the ControllerBase class and that contain methods that respond to HTTP requests.

Because this pattern allows you to focus on a single controller action at a time, you can create functional web APIs fairly quickly with a little practice.

red hat enterprise linux rhel training courses malaysia

In this module, you used an in-memory cache. This approach helped you to focus on learning web API concepts, but it has some obvious limitations for real-world applications. If the application stops, all your changes are lost!

red hat certified specialist in server hardening malaysia

Videos for learning more

  • .NET for Beginners
  • C# for Beginners
  • All .NET Beginner Videos

Articles for learning more

  • Tutorial: Create a web API with ASP.NET Core
  • Create web APIs with ASP.NET Core
  • Controller action return types in ASP.NET Core web API

red hat certified specialist in linux performance tuning malaysia

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *