4.05 out of 5
633 reviews on Udemy

Comprehensive ASP.net MVC

From zero knowledge of ASP.NET to deploying a complete project to production.
3D BUZZ Programming and Digital Art training
5,317 students enrolled
English [Auto-generated]
Make a real, production ready, web application!
Configure Web Deploy so that we can deploy straight from Visual Studio!
Version your database schema inside of source control!
Use Bootstrap 3 to create a visually attractive product with very little custom CSS!
Avoid the all-too-common pitfalls in web development security!
At the end of the course, you will have a functioning blog engine, deployed to a Windows Server 2012 installation!

Comprehensive ASP.NET MVC is an introduction to Microsoft’s ASP.NET MVC web development framework. Assuming no knowledge of ASP.NET or ASP.NET MVC, we will create a data-driven blog engine from scratch. This 14 hour series is all you need to get started quickly with building real, production-ready, web applications using Microsoft’s .NET framework.

Why learn ASP.NET MVC?

ASP.NET MVC is one of the most popular web development frameworks today. It is built and maintained by Microsoft, and provides us with a lean, modern environment for making our web development projects a reality. In addition, the tooling support from Visual Studio is second to none.

Finally, ASP.NET MVC allows us to develop web applications using any .NET language. We will be using the expressive, powerful, and modern language C#. Although there are other web development frameworks available for .NET, ASP.NET MVC is a first class citizen in the .NET ecosystem – giving it a powerful edge over alternatives.

What will we build?

This series is organized in a project-focused manner. We will build up a simple blog engine that supports users, roles, posts and tags.

The straightforward and well understood nature of a product like this allows us to focus on what matters: ASP.NET MVC. Building a complete, production-ready product from scratch makes our content much more interesting and fluid, and, above all else: practical.

What will you learn in this series?

This series goes over the most important features of ASP.NET MVC: routing, areas, asset bundling, controllers, the Razor view engine, data binding and validation. We also will be using the mature and very powerful nHibernate OR/M to access our database; and the Fluent Migrator database migration framework to version our database schema in source control. In this series we also take a look at security issues – from CSRF and XSS attacks, to making sure our errors aren’t displayed to our customers.

Although this is not a frontend web development series, we will be using both jQuery and Bootstrap 3 to substantially speed up our development and provide a modern, sleek, user interface for our product. The foundation we lay can serve as a launching point for your own design needs.

If that isn’t enough, we also take a look at deployment to a real Windows server. In addition to configuring IIS and showing how to run our migrations to populate its schema – we introduce Web Deploy. Web Deploy is a product that allows us to publish our web application right from inside of Visual Studio (or even a command line tool if you wish to integrate this with your Continuous Integration server). We install Web Deploy on the Windows server, show some common pitfalls and get everything up and running from inside of Visual Studio.

What do you need to follow this series?

All code in this series can be written using the free express editions of Visual Studio 2012 or later. The deployment process outlined in this series can be applied to Windows Server 2012 – but can also be used with normal, desktop versions of Windows for development purposes.

We will also be using MySQL as our database. In addition, to manage our database, we use the free MySQL Workbench product that is available via the same MySQL installer that includes the database itself. We assume that Visual Studio, MySQL and MySQL workbench are installed on your machine.

We also assume an understanding of C# up to basic object orientation. We won’t be using any advanced features of the language, except for our limited use of LINQ to query our database.


Series Introduction

Welcome! This video talks about what we will cover in this series.

Introduction to GIT

We will introduce GIT to people who haven't used source control before. We only look at the basic features of the product. It's important for people new to source control to watch this, and go through the motions of using it throughout the rest of the series.

Overview of the MVC Pattern

We talk about the MVC pattern, why it is useful, and how it applies to web development.

Overview of ASP.NET

We take a look at ASP.net and how it relates to ASP.net MVC, WebForms, SingalR and WebAPI.

Updates to VS 2015 / ASP.NET MVC 4.6

This video shows how to create a project in VS 2015 Community which will be compatible with the rest of the series.

Creating our Project

We create our project using the "basic" template in ASP.net MVC and discuss the files that are bundled with it by default.

Adding our Project into GIT

We add our new project to GIT - and set up up a proper .gitignore for our needs.


Routes, Areas, and Controllers

We introduce routes, areas and controllers - and show how we can hook into ASP.net MVC so that our code gets properly executed.

Views and Layouts

This video is all about views and layouts. We introduce the Razor templating engine and show how we can use it to make our lives a whole lot easier!

View Models

This video focuses on how to pass data from controllers into views, and how HTML forms inside of our views can pass data back into our controllers.

Authorization in ASP.NET

We will cover the built in ASP.net authorization and authentication that we can hook into.

Scripts, Styles and Bundles

This video talks about stylesheets, script files and how we use them in ASP.net MVC. We also show the bundle API - which allows our resources to be processed for production use.

Admin Layout

In this video we look at a more advanced example of a Razor layout file.

Working with Data

Overview of Data

This video discusses, at a high level, how we will be accessing our data with nHibernate.

Versioning our Database with Fluent Migrator

We show how to use Fluent Migrator to version our database.

Overview of nHibernate

This video introduces the specific components of nHibernate in a high level fashion.

Installing our MySQL Driver

This short video talks about the MySQL Data driver so that nHibernate can properly use our database.

Creating our User Entity

We create our users entities and mappings so that we can use nHibernate to access our users table.

Creating our User Admin

This video shows the creation of our first admin panel. We build the interface that manages our users table.

Database Driven Auth in ASP.NET

In this video we hook our users database into our authorization and authentication logic. We also look at how to secure our passwords on our database with hashing.

Preventing CSRF (Cross-site Request Forgery) Attacks

This video talks about the CSRF attack and how to use ASP.net MVC to prevent it.

Adding Roles into the User Admin

This video shows how to present the user with a form that updates a many-to-many association.

Post and Tag Data Model

We will create our post and tag data models.

Pagination for our Posts Admin

This video shows a way to make a listing page on the admin that has pagination.

New and Edit Forms for our Posts

This video goes over the edit and new forms on our posts model.

Soft Deletion for Posts

This video shows a method for soft deletion for our posts.

Post Tag Editor

This video shows the creation of our post tag editor.

Select N+1 and Eager Loading

This video shows the SELECT N+1 issue, and how to fix it with nHibernate's eager loading API.

WYSIWYG Editors and Preventing XSS (Cross-site Scripting) Attacks

This video goes over adding CKEditor to our project. We also discuss Cross Site Scripting, and how ASP.net MVC can prevent those kinds of attacks.


Building our Frontend: Part 1

The first video for building our frontend.

Building our Frontend: Part 2

The second, and final, video for building our frontend.

Deploying to Production

Deploying to Windows Server 2012

This video goes over configuring a Windows Server and setting up Visual Studio to deploy to it via Web Deploy.

Custom Error Pages

We show how to create custom error pages, and handle error logging with ELMAH.


Conclusion to our series.

You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
4.1 out of 5
633 Ratings

Detailed Rating

Stars 5
Stars 4
Stars 3
Stars 2
Stars 1
30-Day Money-Back Guarantee


14 hours on-demand video
Full lifetime access
Access on mobile and TV
Certificate of Completion