This course is a very quick workshop to take you through the basic actions that will be required for you to create an awesome, real-world CRUD web application in just a few hours (you could do it over a weekend very easily) using ASP.Net MVC, the Entity Framework (code-first development approach), and the built-in scaffolding capabilities of ASP.Net MVC. In the end, you'll have your own public-facing website to enhance your resume and show off your skills in your own e-portfolio for job interviews and applications!
MVC = Model, View, Controller, and is a well-known and established design pattern. Microsoft has made it extremely easy and convenient to create your web solutions using this pattern. In Microsoft's MVC framework, we find that convention is favored over configuration, so as long as we follow a few simple guidelines, the system will do a lot of the work for us.
We'll also be taking a quick look at how we can use the Entity Framework to easily model and create a database for us. By using the code-first approach, we'll simply create our models and then look at writing a DBContext to store the models. We'll also look at some of the more critical operations, such as building relationships and seeding our data.
After we've learned about the different aspects of our application, we'll quickly create a couple of controllers and use ASP.Net MVC's built-in view and scaffolding generators to easily build our CRUD operations against our database. While working on controllers we'll also look at Authentication, Authorization, and a couple of other quick security concerns.
Other things we will learn throughout the course involve the use of GIT for source control, pushing our repository to GitHub, and setting an upstream to AppHarbor so that we can get pseudo-continuous integration setup. You could also use BitBucket, GitLab, Azure Dev Ops, or another repository provider if you prefer that to GitHub. Also, you could push to Azure, AWS, or another provider that hosts .Net Framework projects if you like, but AppHarbor is free of charge.
By the end of the course, you'll be familiar with the major working parts of creating an Asp.Net MVC CRUD application and publishing to a public-facing website with a fairly nice and responsive UI. You'll have working knowledge of Models, Views, and Controllers, as well as how they interact to create a functional web application. You'll also be exposed to the Entity Framework and Code First Migrations with use of a SQL Server backend. The best part is that although this sounds pretty daunting, it's actually quite easy with a majority of the work done for us by convention and tools.
If you are past this lecture and you didn't create a .gitIgnore file, refer to the updates portion of the course for cleaning up our GIT repository.
This video takes us through the creation of the project that we'll be building for the remainder of the course. When we create a default MVC project, we're set up with the tools and frameworks we need in order to create a fully-functional web application in ASP.Net MVC with C#.
We'll modify some of this and we'll still need to add in our database information in future lectures, but we'll see that things are wired up pretty well right out of the box.
- We will go through installing the tools you need
- We will cover everything you need to understand and be able to build and deploy a public-facing website to enhance your resume/e-portfolio