O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Build a Real-World App with ASP.NET Core MVC

Video Description

Learn to create your first ASP.NET Core Web API

About This Video

  • Master the advanced topics of web app security, Web APIs, testing, and advanced deployment in many different platforms
  • Explore ASP.NET Core MVC and immediately learn to solve your pain points
  • Get hands-on experience of ASP.NET MVC and the latest release, Core

In Detail

ASP.NET Core MVC helps you build powerful web applications using the Model-View-Controller design.

This guide will help you build applications which can be deployed on non-Windows platforms such as Linux. In today’s age, it is crucial that you possess the ability to separate programming and business logic, and this is exactly what ASP.NET Core MVC application will help you achieve. You will also learn the fundamentals of the Entity framework and how to use it in ASP.NET Core web applications. You will learn how to secure your web application and your Web API. No web application is complete unless we have a platform to deploy it to. Here we will deploy our application on many different platforms including IIS, Linux, Docker, Azure, and AWS.

By the end of this course, you will have a solid understanding of the ASP.NET Core MVC framework and you will be ready to take on your next masterpiece with full confidence.

All the code and supporting files for this course are available on GitHub at https://github.com/PacktPublishing/Build-a-Real-World-App-with-ASP.NET-Core-MVC

Downloading the example code for this course: You can download the example code files for all Packt video courses you have purchased from your account at http://www.PacktPub.com. If you purchased this course elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.

Table of Contents

  1. Chapter 1 : Our First API
    1. The Course Overview 00:07:14
    2. What Is a Web API? 00:04:42
    3. Setting Up Visual Studio and Database 00:06:16
    4. MVC for API 00:05:51
    5. MVC for API – Implementing GET and POST 00:11:17
    6. MVC for API – Implementing PUT and DELETE 00:05:10
    7. MVC for API – Installing Swagger 00:05:47
    8. New Features in ASP.NET Core MVC Web API 00:02:45
    9. Demo – New Features in .NET Core 00:07:34
  2. Chapter 2 : More about Views and Layout
    1. HTML Tag Helpers 00:08:57
    2. Demo – HTML Tag Helper Part 1 00:10:29
    3. Demo – HTML Tag Helper Part 2 00:11:35
    4. ASP Tag Helper 00:08:02
    5. Demo – ASP Tag Helper Part 1 00:10:18
    6. Demo – ASP Tag Helper Part 2 00:05:53
    7. Remote Validation 00:12:29
    8. View Components 00:09:29
    9. Dependency Injection from Razor Views 00:06:54
  3. Chapter 3 : Razor Pages
    1. Introducing Razor Pages 00:04:46
    2. Demo – Code Behind 00:02:49
    3. Demo – Working with Razor in Razor Pages 00:02:32
    4. Using Scaffolding 00:05:01
    5. Using Layout 00:02:39
    6. Routing Data 00:02:37
    7. Working with Anchor Tags 00:01:58
    8. _ViewImports and _ViewStart 00:02:41
  4. Chapter 4 : Securing Web App and API - ASP.NET Identity
    1. What Is ASP.NET Core Identity? 00:06:28
    2. Setting Up the Project for Identity and Backend 00:17:05
    3. Adding Identity to Our Application 00:13:45
    4. User Registration 00:19:05
    5. Logging In 00:11:41
    6. Logging Out 00:13:28
  5. Chapter 5 : Authorization
    1. What Is Authorization? 00:05:12
    2. Applying Authorization in Views 00:08:46
    3. Adding Role 00:10:44
    4. Editing an Existing Role 00:09:12
    5. Deleting Roles 00:07:59
    6. Authorization Based on Role 00:07:27
  6. Chapter 6 : User Management
    1. Adding User Profile 00:14:30
    2. Changing user Password 00:13:34
    3. Listing Users 00:09:00
    4. User Details 00:22:43
    5. Deleting Users 00:06:33
    6. User's Orders 00:19:27
    7. Books Listing and Adding 00:12:57
  7. Chapter 7 : Securing APIs
    1. Securing API versus Securing Web API 00:04:09
    2. Token-Based Authentication 00:02:24
    3. Configuration for JWT 00:06:31
    4. Getting Authentication Token 00:02:40
    5. Demo - Getting Authentication Token 00:19:42
  8. Chapter 8 : Testing ASP.NET Core MVC
    1. Testing the App with xUnit.net 00:13:33
    2. Mocking with Moq 00:24:18
    3. Testing Controllers 00:10:37
  9. Chapter 9 : Deploying in IIS and Linux
    1. Installing Docker in Windows 00:10:48
    2. Deploying Application in IIS 00:04:05
    3. Installing Docker in Linux 00:06:15
    4. Deploying Application in Linux 00:11:58
  10. Chapter 10 : Deploying in the Cloud – Azure, AWS
    1. Deploy in Azure 00:15:32
    2. Deploy in AWS 00:18:59