Building on the same .NET Core technology discussed in Chapter 8, Using ML.NET with .NET Core and Forecasting, ASP.NET Core adds a powerful web framework. This web framework includes a powerful rendering engine, Razor, in addition to supporting scalable representational state transfer (REST) services. The example in this chapter will use this technology to create our file classification frontend. In the next two sections, we will dive into the ASP.NET Core architecture and discuss Blazor, the new web framework from Microsoft.
Understanding the ASP.NET Core architecture
At a high level, ASP.NET Core builds on top of .NET Core, providing a fully-featured web framework. As with .NET Core, ASP.NET Core runs on Windows, Linux, and macOS, in addition to allowing deployments to x86, x64, and Advanced RISC Machine (ARM) CPU architectures.
A typical ASP.NET Core application includes the following:
- Models
- Views
- Controllers
These components form a common web architecture...