Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
App Development with ASP .NET Core MVC
Rating: 4.3 out of 5(25 ratings)
130 students

App Development with ASP .NET Core MVC

Learn to build and run your first application with the latest ASP.NET Core MVC
Last updated 2/2019
English

What you'll learn

  • Get to know the concepts of ASP .NET MVC and build a new static web page using HTML, CSS, and jQuery
  • Build and run your first application
  • Understand the importance of Routing in MVC
  • Create Mock data for your website and set up DI Containers
  • Secure your web app by using ASP .NET Core Identity
  • Deploy ASP .NET Core web applications in Linux.
  • Deploy applications to Azure, AWS, and Docker.

Course content

2 sections101 lectures13h 16m total length
  • The Course Overview6:13

    This video will give you an overview about the course.

  • Setting Up the Environment3:15

    The aim of this video is to get to know the tools that will be used throughout the course.

    • Explore what an IDE is

    • Go through Visual Studio’s history

    • Take a look at different versions of Visual Studio

  • Visual Studio 2017 – Installation Walk-through3:53

    The aim of this video is to download and install visual studio.

    • Download the IDE

    • Choose the correct installation components

    • Install the IDE and test to see if everything works fine

  • Run Hello World Project3:29

    The aim of this video is to create and run your first project.

    • Create your first project in Visual Studio

    • Get familiar with the project

    • Run your hello world app

  • Installing ASP.NET MVC Core 2.0 and Visual Studio Code in Linux7:48

    The aim of this video is to go through the Installation process and run Visual Studio Code in Linux.

    • Install ASP.NET Core MVC in Ubuntu Linux

    • Install Visual Studio Code in Ubuntu Linux and run your first app

    • Create and run an app from the bash shell

  • ASP.NET Core from the Windows Command Line1:44

    The aim of this video is to use the command line in Windows.

    • Get to know the command line in Windows

    • Create an app from the command line

    • Run your app from the command line

  • Navigating the New Project Structure10:04

    The aim of this video is to get familiar with the new project structure.

    • Find out what is new in the project: wwwroot, launchsettings.json

    • Find out what is missing: Global.asax, web.config and package.json

    • Explore the csproj file and how to edit it

  • Exploring Middleware5:10

    The aim of this video is to learn about Middleware and what role it plays in ASP.NET Core MVC.

    • Review old ASP.NET Request processing pipeline

    • Learn the ASP.NET Core Request Processing Pipeline

    • Learn the ASP.NET Core Request/Response procedure in Request Processing Pipeline

  • Dependency Injection9:20

    The aim of this video is to learn about Dependency Injection or DI and how does that work in the ASP.NET Core MVC.

    • Learn about the Dependency Injection

    • See how to program in a loosely coupled manner

    • Learn how to register a service with the DI Container

  • Exploring IApplicationBuilder7:36

    The aim of this video is to learn how to use IApplicationBuilder in the configure method in the startup class.

    • Use App.Map

    • Use App.MapWhen

    • Use App.Use and App.Run

  • IHostingEnvironment and Exception4:26

    The aim of this video is to learn about Trap exceptions with IHostingEnvironment interface.

    • Learn how to find what environment the app is running on

    • Know about the different environments available

    • See Exception trapping in action

  • Understanding Static File2:24

    With this video, get to understand how to deliver the static files.

    • Know where do they reside

    • Learn what middleware to add

    • Demonstrate with an example

  • Discover Logging3:00

    How can we use the off the shelf logging provided by the ASP.NET Core Framework.

    • Add the correct middleware for logging

    • Add logging and monitor the application

    • Explore the different log levels

  • Understanding Routing7:42

    The aim of this video is to learn about Routing and how does it make MVC happen.

    • Review old School Routing

    • Learn about ASP.NET Core Conventional Routing

    • Learn about ASP.NET Core Attribute Routing

  • Working with Conventional Routing8:02

    With this video, learn about Conventional Routing and how to work with it.

    • Learn briefly about the MVC Pattern – your first introduction

    • Take a look at how to use UseMvcWithDefaultRoute middleware

    • Get to know how to use UseMvc middleware

  • Attribute Routing7:37

    The aim of this video is to learn about attribute routing, the other way of creating routing, and custom mapping.

    • Use single and multiple Route Attribute to route the request with the name specified

    • Use generic Attributes with the words controller and action for auto routing

    • Use custom mapping with Attribute Routing

  • Demo: Creating a Custom Routing6:34

    See how to add your own complex custom routing for your app with this video.

    • Learn the use of the middleware UseMVC

    • Add multiple mapping using Route.MapRoute

    • Restrict access to a controller only to a certain custom url

  • Introduction to the MVC Pattern4:19

    With this video, get to learn about ASP.NET Core MVC and Architectural Design pattern.

    • Review ASP.NET Core MVC

    • Learn about Architectural Design pattern

    • Learn about the ASP.NET Core Controller – Model – View (MVC) workflow

  • What Is a Controller3:52

    The aim of this video is to take an in-depth look about Controller.

    • Learn the 3 ways to make a class controller

    • Learn the essentials of or must haves in the action methods

    • Learn about the use of attributes for specifying action methods for serving the GET or the POST verb

  • Demo: Creating Our First Controller11:34

    The aim of this video is to learn how to make any class a controller with a Demo Project.

    • Make a class a controller using the 3 methods

    • Explore how to make a methods an action methods using the ActionResult

    • Learn the usage of the HttpGet or HttpPost attribute for responding to GET or POST request

  • Serving Views3:06

    In this video learn about views briefly and add some dummy views to the Demo Project.

    • Explore views briefly, the 3rd pillar of MVC

    • Setup our demo projects by adding the middlewares

    • Add some dummy views and serve them from the controller action methods

  • What Is a Model5:29

    he aim of this video is to be formally be introduced to Models.

    • Introduction to Models

    • Reasons for using Models

    • Learn about the convention in folder structure and file naming for Models

  • Demo: Creating a Model9:12

    The aim of this video is to see Model creation in action.

    • Take a look at how the conventions in folder structure and file naming conventions are used for Models

    • Create Some Model classes and add the properties

    • See using a view how models are used and get passed for UI presentation

  • Creating Mock Data7:12

    This video will take you to create a Mock data repository.

    • Create the repository interface

    • Create Mock Classes

    • Populate the repositories with data

  • What Is View Model2:36

    The aim of this video is to get to know about ViewModel.

    • Learn the reasons why ViewModels are needed

    • Learn where to use them

    • Learn the naming conventions and folder structure

  • Validating Models3:38

    The aim of this video is to learn about Model Validation.

    • Learn about Model bindings

    • Learn about Model Validations

    • Learn about validation attributes

  • Demo: Validation6:11

    With this video learn ViewModel and see it in action.

    • Create carousel Model Class

    • Create Carousel Mock Repository

    • Create ViewModel class for Home controller’s index action method

  • Motivating Validation7:17

    This video is a prelude to Validation.

    • Create AddBook View page with scaffolding, and customize the code

    • Add _Viewimport to have tag helper support. Reach the correct method using the Get and Post verb

    • Examine HttpPost decorated action method to see why validation is needed

  • Doing Validation4:50

    The aim of this video is to do the Validation.

    • Add Validation attributes and error messages to Model properties

    • Check if the server side validation works

    • Check the ModelState to see if it is valid

  • Setting Up DI for Mock Repository5:54

    The aim of this video is to set up Dependency Injection for the Mock Repository.

    • See how we have broken the SOLID principle

    • Use Dependency Injection in the constructor

    • Add the correct service registration code for the DI to happen

  • What Is a View6:13

    This video will formally introduce you to views.

    • Learn about the convention in folder structure and file naming for Views

    • Know more about the _ViewImport and _ViewStart

    • Get familiarized with partial view

  • Creating Views10:55

    The aim of this video is to see view creation in action.

    • Take a look at how the conventions in folder structure and file naming conventions are used

    • Explore in demo all about the _ViewImport and _ViewStart

    • See partial view creation and usage

  • Razor Syntax5:21

    The aim of this video is to get familiar with Razor syntaxes.

    • Learn and see what is the @ syntax and how to use it

    • Learn to use C# like code in razor

    • Learn about and see @model in action

  • More Razor Syntax5:15

    The aim of this video is to get to know razor syntax even more deeply.

    • Learn about for loop

    • Learn to use switch-case

    • Explore the use of 4 different C# loops in Razor

  • Using Razor Syntax in Our View13:28

    With this video, put in practice what you have learnt so far and make a carousel.

    • Import the initial carousel code

    • Import code for the books list, details and order

    • Create ViewModel, add code to controller and complete the process by displaying booklist, details and order page

  • Completing the Order8:13

    This video will teach you to create the order page and get more practice in creating the Model, View, and the Controller.

    • Create Order page with scaffolding, and customize the code

    • Check correct data validation

    • Create thank you page to finish the project

  • EF Core Overview3:35

    With this video get to know the Entity Framework Core.

    • What is an ORM?

    • Explore life before Entity Framework Core – the Entity Framework Classic

    • Be introduced to Entity Framework Core

  • SQL Server Local Db2:12

    The aim of this video is to learn about the new developer friendly SqlServerLocalDb.

    • Verify that SqlServerLocalDb is installed

    • See how to use Developer Command prompt for EF

    • See how to use the GUI Tools for SQLServerLocalDb

  • Installing Entity Framework2:47

    The aim of this video is to install Entity Framework Core in your Project.

    • Install the Nuget Packages

    • Use .csproj file to install the dottools package needed for EF Migration

    • Verify that you have the right tools for EF Core

  • Repository and DbContext6:46

    With this video, create your DbContext and Repository classes.

    • Create your DBContext Class

    • Use DI in DbContext using the constructor injection pattern

    • Create the Repository Classes for SQlServerLocalDb

  • Configuring EF Core3:58

    The aim of this video is to configure EF Core to work with the project.

    • Add appsettings.json file with the default connection string

    • Register services in Startup.cs file

    • Have the connection string by having the configuration injected

  • EF Core Data Migration8:11

    The aim of this video is to migrate and update the database and run the project from populated SqlServerLocalDb tables.

    • Use Developer CMD prompt to do migration, create the database using the update option

    • Populate the tables and run the website to verify that it is working

    • Add customer’s orders to the db and create an ordersList page to see all the orders

Requirements

  • Prior knowledge of ASP .NET will be beneficial for this course.

Description

ASP.NET Core MVC is a rich framework for building web apps and APIs using the Model-View-Controller design pattern.

With this hands-on course, you'll first start with the concept of the MVC pattern which teaches you about models, views, and controllers in detail. Then you will learn the fundamentals of the Entity framework and how to use it in ASP.NET Core web applications. Moving forward, you will learn how to secure your web application & then deploy it across 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 which enables you to create powerful applications.

Contents and Overview

This training program includes 2 complete courses, carefully chosen to give you the most comprehensive training possible.

The first course, Getting Started with ASP.NET Core MVC you’ll learn how to do the basic setup for the project, and then we’ll take a dive into the concept of the MVC pattern. You’ll learn about models, views, and controllers in detail. You will see the new concept of middleware and it will be demystified. Dependency Injection (DI) is now native to ASP.NET Core MVC and comes already wired up. You will learn to use DI with ease. Routing is central to ASP.NET Core MVC and there is a dedicated section for learning all that you need to know so that you can create effective routing for your site. We’ll discuss the Razor syntax for UI programming and work with the Entity Framework core and create a Database in the SQLLocalDb which is the new developer-friendly Database server around in the block. Just relax and watch this video as this course will take you inside the world of ASP.NET Core MVC and learn effortlessly all the critical and complex concepts without breaking any sweat. ASP.NET core MVC is made fun and easy here. Tackle any projects armed with the knowledge gained from this course with confidence.

The second course, Build a Real-World App with ASP.NET Core MVC 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.

About the Authors:

Ronnie.M.Rahman has been a .NET developer, solution architect, and trainer for the last 10 years and has worked with many small to large projects based on Microsoft development technologies. His experience ranges from working with Robots, IOTs, 8-bit Microprocessors to ASP.NET Web forms, MVC, MVC Core, Xamarin, PHP, Windows Form, and WPF. Ronnie studied in Australia and UK and holds a degree in Computer Science in AI. He currently lives in Morocco with his family, by the Mediterranean Sea.

Who this course is for:

  • This course is for web developers and programmers to build powerful web applications using the Model-View-Controller design.