From the course: Building Angular and ASP.NET Core Applications
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Web API architectural overview
From the course: Building Angular and ASP.NET Core Applications
Web API architectural overview
- [Instructor] The .NET new Angular command created some default files within the solution. Now this solution has both the Web API and Angular project-related files. On this part we'll have a look at the Web API project. And on the next one, on the Angular project. So for that let's go to Visual Code. In Visual Code, in Explorer we are going to see the ClientApp folder. Now this folder has the Angular-related files, so we're not going to discuss about that now. The next folder is the Controllers folder. Inside this folder we can find all the Web API controllers. So for example we have the WeatherForecastCotroller, and this controller has a single API endpoint, the Get endpoint. The next, we have the Pages folder. Inside this folder we have three files, and the most important one is the ViewImports.cshtml, which is used to import all the necessary libraries that we can use throughout the views. For example, the TagHelpers.…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.