官术网_书友最值得收藏!

Anatomy of ASP.NET Core Web API

This chapter starts with a quick recap of MVC. You might be surprised why we need MVC when we are working with web APIs. It's because the ASP.NET Web API is designed based on the MVC principles of Controllers, Models, and Views (the response returned can be treated as a faceless view in the case of a Web API).

Our focus in this chapter is to know why we need a lightweight HTTP-based service technology in the form of a Web API, its evolution to meet the constantly changing industry demands, the entry of Microsoft into the world of Open Source in the form of .NET Core and ASP.NET Core apps, and not limiting ourselves to the world of Windows OS for developing ASP.NET web applications.

In this chapter, we will be looking at the following topics:

  • A quick recap of the MVC framework
  • Inception of web APIs and their evolution
  • Introduction to .NET Core
  • An overview of the ASP.NET Core Architecture
  • Creating an ASP.NET Core Project using Visual Studio IDE
  • Creating an ASP.NET Core Project in Linux/macOS
  • Examining the ASP.NET Core project files and structures
  • Understanding Request processing
  • MVC and web API unification
  • Running the ASP.NET Core Web API
主站蜘蛛池模板: 温宿县| 宜兰县| 穆棱市| 元氏县| 五常市| 梁山县| 白山市| 将乐县| 高邮市| 西藏| 万源市| 海林市| 德江县| 明溪县| 通道| 钦州市| 山阴县| 溆浦县| 锦州市| 蒲江县| 南丰县| 关岭| 保康县| 新营市| 永吉县| 孟州市| 霍邱县| 昭觉县| 辽中县| 武城县| 简阳市| 萨嘎县| 大埔区| 伊宁县| 宁蒗| 临夏市| 阜康市| 太保市| 波密县| 班戈县| 曲靖市|