Comprehensive MVC



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.

Who is the target audience?
  • Programmers who want to build web applications using C#
  • Users of other MVC frameworks such as Rails and CakePHP wanting to break into the .net ecosystem
  • ASP.NET WebForms developers who want to learn ASP.NET MVC
  • ASP.NET MVC beginners who want to learn more of the framework and best practices

  • Working knowledge of C# and Visual Studio
  • Visual Studio 2012 or above (including free express editions)
  • MySQL and MySQL Workbench (free software from

What Will I Learn?
  • 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!

Curriculum For This Course Expand All Collapse All 34 Lectures 13:50:37 + – Introduction 7 Lectures 01:35:50

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

Series Introduction Preview 07:50

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.

Introduction to GIT 22:56

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

Overview of the MVC Pattern 14:48

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

Overview of ASP.NET 13:59

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

Updates to VS 2015 / ASP.NET MVC 4.6 04:00

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

Creating our Project 21:45

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

Adding our Project into GIT 10:32 + – ASP.NET MVC Basics 6 Lectures 03:19:24

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

Routes, Areas, and Controllers Preview 37:27

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!

Views and Layouts 48:23

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.

View Models 31:41

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

Authorization in ASP.NET 28:26

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

Scripts, Styles and Bundles 28:45

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

Admin Layout 24:42 + – Working with Data 16 Lectures 06:30:07

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

Overview of Data 08:06

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

Versioning our Database with Fluent Migrator 36:49

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

Overview of nHibernate 12:31

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

Installing our MySQL Driver 01:32

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

Creating our User Entity 44:49

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

Creating our User Admin 51:04

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.

Database Driven Auth in ASP.NET 32:48

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

Preventing CSRF (Cross-site Request Forgery) Attacks 17:02

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

Adding Roles into the User Admin 32:34

We will create our post and tag data models.

Post and Tag Data Model 17:02

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

Pagination for our Posts Admin 30:18

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

New and Edit Forms for our Posts 16:11

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

Soft Deletion for Posts 13:22

This video shows the creation of our post tag editor.

Post Tag Editor 43:13

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

Select N+1 and Eager Loading 18:57

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

WYSIWYG Editors and Preventing XSS (Cross-site Scripting) Attacks 13:49 + – Frontend 2 Lectures 01:18:54

The first video for building our frontend.

Building our Frontend: Part 1 39:25

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

Building our Frontend: Part 2 39:29 + – Deploying to Production 3 Lectures 01:06:22

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

Deploying to Windows Server 2012 44:30

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

Custom Error Pages 20:24

Conclusion to our series.

Conclusion Preview 01:28
  • 自由时间安排
  • 免费:
  • 收费:
  • 证书:
  • MOOC:
  • 视频讲座:
  • 音频讲座:
  • Email-课程:
  • 语言: 英语 Gb



请注册, 为了写反馈

58670_3523_5 MySQL Training Online - MySQL Tutorial for Beginners
Create a real life project using MySQL. Like us on Facebook and/or Follow us...
178640_f4f3_5 Introduction to Web Development
Is web development for you? Try this free course to find out.
11317_323e_5 Dynamic Website - Learn PHP and MySQL Web Development - Udemy
Over five hours of video instruction that shows how to build dynamic, database...
125162_7302_9 Create and Deploy a Web App in 3 Hours
Deploy your app today with Ruby on Rails and harness the Power of Facebook to...
32649_2b8f_7 PHP & MySQL - Learn The Easy Way. Master PHP & MySQL Quickly
Learn To Build Robust PHP / MySQL Web Applications, Taught By Leading Zend Certified...
Show?id=n3eliycplgk&bids=323058 Thousands of online courses for only $15
Most courses are dropped to $15 flat price!
Banner_ruby Ruby on Rails Tutorial: Learn From Scratch
This post is part of our “Getting Started” series of free text tutorials on...
Show?id=n3eliycplgk&bids=323058 $10 Sitewide Deal
$10 Fixed Price across the site!
64422_c6dd_6 1 Hour HTML
Learn how to code in HTML in 1 hour. This class is set up for complete beginners...
72262_60dc_6 1 hour jQuery
Have you ever wanted to learn to code. This course will show you the basics...

© 2013-2019