Are you planning to learn ASP.NET MVC?
Don’t know how and where to start.
In this post, I’ll be sharing with you the ways to learn ASP.NET MVC step-by-step.
Week 1: HTML and CSS
Without HTML and CSS you won’t be able to do much with ASP.NET MVC.
Week 1 start learning and understanding HTML and CSS for the first 3 days and for the remaining 3 days try creating a simple 3 to 5 page website by applying your knowledge in a practical way.
Note: Just create a simple website. You don’t need to create a website like a UX/UI Designer. Just understand the basics and create a simple website.
Week 3 : C# and .NET Framework Basics
C# is an Object-Oriented Programming language developed by Microsoft.
7 Days of C#:
- Day 1 : C# keyword basics and Built-types in C#
- Day 2 : Operators, Conditioning, Looping in C#
- Day 3 : Object-Oriented Concepts like classes and objects
- Day 4 : More OOP Concepts inheritance, abstract classes and interfaces
- Day 5 : Advanced C# Concepts like Delegates, Generics, Collections, Dictionary, Anonymous and Extension methods
- Day 6 : More Advanced C# Concepts like Linq, Lambda Expressions, Func delegate and more..
- Day 7 : Creating a Simple C# Console Application using some of the feature of the C# language
Note: I would recommend getting this book “C# 5.0 in a Nutshell Definitive Reference”.
Week 4 : ASP.NET MVC Basics
After getting your hands dirty with the C# programming language you can start with the basics of ASP.NET MVC.
Now…you would be having this question in your mind. Should I learn ASP.NET WebForms or ASP.NET MVC?
I would recommend you to learn ASP.NET MVC. No need to learn WebForms.
7 Days of ASP.NET MVC:
- Day 1 : ASP.NET MVC basics like MVC Version, Project Structure, MVC Pattern and Visual Studio basics
- Day 2 : Start playing around with Controllers, Views, ViewData and ViewBag
- Day 3 : Learn what are Views, Strongly typed Views, Layouts, Sections
- Day 4 : Learn what are Controllers, Action Methods, ActionResult types, Action Filters
- Day 5 : Learn what are Models, Model Binding, Entity Framework POCO class, Entity Framework DbContext and Data Access using Linq
- Day 6 : Learn how to validate Model Data using Data Annotation, Fluent API Validation and Remote Validation
- Day 7 : Creating a Simple Timetable Application using some of the features of ASP.NET MVC Framework
Note: I would recommend getting this book “Professional ASP.NET MVC 5”.
Week 5 : Building a Web Application
Now, that you have a lot of knowledge about how to build a web application try creating a web application using the following:
- HTML, CSS and Bootstrap for User Interface
- LINQ and Entity Framework for Data Access
- ASP.NET MVC as a server framework
- Using .NET Framework classes for tasks like Email sending, getting IP address of the user and etc.
Application Idea: Create a web application which requests the user to submit a form with their details. The Form should use client and server side validations and should submit the users IP address to the server and in response should send an acknowledgement email saying that we have received your submissions.
Learn everything step-by-step.