Comprehensive ASP.net MVC

From zero knowledge of ASP.NET to deploying a complete project to production.
  • Lectures 33
  • Video 14 Hours
  • Skill level all level
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

Course Description

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.

What are the requirements?

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

What am I going to get from this course?

  • Over 33 lectures and 14 hours of content!
  • 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!

What 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

Curriculum

Section 1: Introduction
07:50

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

22:56

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.

14:48

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

13:59

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

21:45

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

10:32

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

Section 2: ASP.NET MVC Basics
37:27

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

48:23

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!

31:41

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.

28:26

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

28:45

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.

24:42

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

Section 3: Working with Data
08:06

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

36:49

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

12:31

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

01:32

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

44:49

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

51:04

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

32:48

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.

17:02

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

32:34

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

17:02

We will create our post and tag data models.

30:18

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

16:11

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

13:22

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

43:13

This video shows the creation of our post tag editor.

18:57

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

13:49

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.

Section 4: Frontend
39:25

The first video for building our frontend.

39:29

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

Section 5: Deploying to Production
44:30

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

20:24

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

01:28

Conclusion to our series.

Instructor Biography

Nelson LaQuet , Instructor at 3DBuzz

Nelson is a programmer with fluency in C#, HTML/CSS, JavaScript and PHP. He has six years of professional software development experience, and has more recently grown fond of game development using the Unity3D engine. Currently, he is the lead programming instructor, site administrator, and site developer for 3DBuzz.

Reviews

Average Rating
4.8
Details
  1. 5 Stars
    17
  2. 4 Stars
    1
  3. 3 Stars
    1
  4. 2 Stars
    0
  5. 1 Stars
    0
    • Jkristia

    This is an amazing course

    I just completed this course, and I feel I now have a good basic understanding of ASP.net MVC. The course description mention 13+ hours of lectures, but since you are encouraged to write your own code (there is no code download available) you often have to pause the video to keep up with the instructor – at times some of the lectures are very fast paced . Total time for me to complete was probably closer to 25 hours.

    • Sibulele Sogoni

    One of the best coursed to cover ASP.Net MVC

    Thanks for this course. If the longest video was 20-25 minutes, I would have given it 5 stars.

    • Curley Birdsong

    Extremely useful information...

    I purchased this course to become better familiar with ASP.net MVC. I was anticipating using the entity framework, but was surprised to learn that the course was based around migrating changes to a mysql database, as well as using source control... If you are looking for a course that tackles ASP.net from a different angle than a majority of courses out there, this is it!

    • Joshua Garrison

    Awesome Course

    Went from knowing nothing about MVC to knowing enough to be able to write my own applications in a matter of two weeks. Amazing. Keep up the great work!

    • Gerard Hayden

    Delivered exactly what was promised and more

    I bought this course to learn how to make MySql talk to VS Express for Web. It delivered this simply and easily. Along the way there were good introductions to GIT, Bootstrap, nHibernate, BCrypt, and Elmah and more. I found Nelson easy to learn from and enjoyed the rapport with Steve.

Show more reviews

What you get with this course

30 day money back guarantee

Lifetime access

Available on desktop, iOS and Android

Certificate of completion

Join the biggest student community

5,200,000

Hours of video content

19,000,000

Course enrollment

5,800,000

Students

Ready to start learning?
Preview this course