Hello, I have just started ASP.NET MVC 5, I have previous experience in C# coding and no experience with Web Forms. What should be my learning path? I have pluralsight subscription but courses there are not well organized and quite old. There MVC path starts
from MVC 4 course and fundamentals course on MVC 5 requires previous experience with MVC 4.
Hello, I have just started ASP.NET MVC 5, I have previous experience in C# coding and no experience with Web Forms. What should be my learning path? I have pluralsight subscription but courses there are not well organized and quite old. There MVC path starts
from MVC 4 course and fundamentals course on MVC 5 requires previous experience with MVC 4.
This is really a question for PluralSite.
I have a subscription to PluralSite and in my opinion the courses are up-to-date and organized. MVC has been around a while so the courses might have old create dates but that does not make the courses irrelevant. PluralSite has an MVC path with 11 recommended
courses which take you through MVC fundamentals to common patterns and practice. Perhaps go through the course before making assumptions. If you have concerns or need clarifications, I recommend contacting PluralSite for assistance with their courses.
If you are looking for the latest technology then you might want to look into ASP.NET Core.
Also, this site has many wonderful free tutorials.
An MVC model contains all of your application logic that is not contained in a view or a controller. The model should contain all of your application business logic, validation logic, and database access logic. For example, if you are using the Microsoft
Entity Framework to access your database, then you would create your Entity Framework classes (your .edmx file) in the Models folder.
A view should contain only logic related to generating the user interface. A controller should only contain the bare minimum of logic required to return the right view or redirect the user to another action (flow control). Everything else should be contained
in the model.
In general, you should strive for fat models and skinny controllers. Your controller methods should contain only a few lines of code. If a controller action gets too fat, then you should consider moving the logic out to a new class in the Models folder.
A combination of architecture styles is also useful if you are building a public facing Web application, where you can achieve effective separation of concerns by using the layered architecture style. This will separate your presentation logic from your
business logic and your data access logic.
When looking at code to evaluate its coupling, remember the phrase “new is glue.” That is, anywhere you see the “new” keyword instantiating a class, realize you’re gluing your implementation to that specific implementation code. The Dependency Inversion
Principle (bit.ly/DI-Principle) states: “Abstractions should not depend on details; details should depend on abstractions.”
One final thing, I am not against using viewbag. But I will say this. It's not called Viewbag View Controller. It's called Model View Controller so don't completely fall down into the viewbag rabbit hole and go viewbag happy.
Lullam, PluralSite put this course together and felt that MVC 4 should be a part of curriculum. MVC 4 is very similar to MVC 5 but MVC 5 does have several new feature which are documented here.
I have zero experience with MVC. In his MVC 5 Course Scott Allen says that all other topics of his MVC 4 course are relevant except membership and security module which has become obsolete because of new Identity components which we use in ASP.NET MVC 5,
so can I leave these two topics from MVC 4 course and watch the rest of the course and then start MVC 5 course?
I have zero experience with MVC. In his MVC 5 Course Scott Allen says that all other topics of his MVC 4 course are relevant except membership and security module which has become obsolete because of new Identity components which we use in ASP.NET MVC 5,
so can I leave these two topics from MVC 4 course and watch the rest of the course and then start MVC 5 course?
Lullam, you can learn whatever you want. Keep in mind that there are plenty of ASP.NET Membership applications in service. If you are learning MVC as a career choice then you might want cursory knowledge on the subject.
Member
1 Points
3 Posts
ASP.NET MVC 5 Learning Path
Feb 10, 2019 03:43 PM|Lullam|LINK
Hello, I have just started ASP.NET MVC 5, I have previous experience in C# coding and no experience with Web Forms. What should be my learning path? I have pluralsight subscription but courses there are not well organized and quite old. There MVC path starts from MVC 4 course and fundamentals course on MVC 5 requires previous experience with MVC 4.
All-Star
52201 Points
23284 Posts
Re: ASP.NET MVC 5 Learning Path
Feb 10, 2019 04:01 PM|mgebhard|LINK
This is really a question for PluralSite.
I have a subscription to PluralSite and in my opinion the courses are up-to-date and organized. MVC has been around a while so the courses might have old create dates but that does not make the courses irrelevant. PluralSite has an MVC path with 11 recommended courses which take you through MVC fundamentals to common patterns and practice. Perhaps go through the course before making assumptions. If you have concerns or need clarifications, I recommend contacting PluralSite for assistance with their courses.
If you are looking for the latest technology then you might want to look into ASP.NET Core.
Also, this site has many wonderful free tutorials.
https://docs.microsoft.com/en-us/aspnet/#pivot=aspnet
Contributor
4873 Points
4123 Posts
Re: ASP.NET MVC 5 Learning Path
Feb 10, 2019 04:45 PM|DA924|LINK
You need to understand that MVC is just a UI design pattern that implements seperation of concerns and duty.
https://en.wikipedia.org/wiki/Model–view–controller
https://en.wikipedia.org/wiki/Separation_of_concerns
https://www.codeproject.com/Articles/228214/Understanding-Basics-of-UI-Design-Pattern-MVC-MVP
https://www.codeproject.com/Articles/383153/The-Model-View-Controller-MVC-Pattern-with-Csharp
If you understand the below in using ASP.NET MVC, then it don't matter what the version is, becuase you're doing good.
https://www.c-sharpcorner.com/UploadFile/56fb14/understanding-separation-of-concern-and-Asp-Net-mvc/
http://trainitsolutions.com/2014/10/06/advantages-of-viewmodel-in-mvcmodel-view-controller-2/
https://www.tutlane.com/tutorial/aspnet-mvc/how-to-use-viewmodel-in-asp-net-mvc-with-example
https://docs.microsoft.com/en-us/aspnet/mvc/overview/older-versions-1/overview/understanding-models-views-and-controllers-cs
<copied>
An MVC model contains all of your application logic that is not contained in a view or a controller. The model should contain all of your application business logic, validation logic, and database access logic. For example, if you are using the Microsoft Entity Framework to access your database, then you would create your Entity Framework classes (your .edmx file) in the Models folder.
A view should contain only logic related to generating the user interface. A controller should only contain the bare minimum of logic required to return the right view or redirect the user to another action (flow control). Everything else should be contained in the model.
In general, you should strive for fat models and skinny controllers. Your controller methods should contain only a few lines of code. If a controller action gets too fat, then you should consider moving the logic out to a new class in the Models folder.
<end>
Architectural stuff....
Layered, n-tier or combination....
https://docs.microsoft.com/en-us/previous-versions/msp-n-p/ee658117(v=pandp.10)
<copied>
A combination of architecture styles is also useful if you are building a public facing Web application, where you can achieve effective separation of concerns by using the layered architecture style. This will separate your presentation logic from your business logic and your data access logic.
<end>
https://www.c-sharpcorner.com/blogs/understanding-interfaces-via-loose-coupling-and-tight-coupling
https://ardalis.com/new-is-glue
https://msdn.microsoft.com/en-us/magazine/mt703433.aspx?f=255&MSPPError=-2147217396
<copied>
When looking at code to evaluate its coupling, remember the phrase “new is glue.” That is, anywhere you see the “new” keyword instantiating a class, realize you’re gluing your implementation to that specific implementation code. The Dependency Inversion Principle (bit.ly/DI-Principle) states: “Abstractions should not depend on details; details should depend on abstractions.”
<end>
https://dzone.com/articles/absolute-beginners-tutorial
https://www.c-sharpcorner.com/article/dependency-injection-in-asp-net-mvc-5/
One final thing, I am not against using viewbag. But I will say this. It's not called Viewbag View Controller. It's called Model View Controller so don't completely fall down into the viewbag rabbit hole and go viewbag happy.
https://www.davidomid.com/hate-the-aspnet-mvc-viewbag-as-much-as-i-do-heres-how-to-remove-it
Member
1 Points
3 Posts
Re: ASP.NET MVC 5 Learning Path
Feb 10, 2019 05:02 PM|Lullam|LINK
The first course on there MVC PATH is an MVC 4 course https://app.pluralsight.com/library/courses/mvc4-building/table-of-contents . Should all topics from this course be watched or should I skip some which are not present in MVC 5?
'
All-Star
52201 Points
23284 Posts
Re: ASP.NET MVC 5 Learning Path
Feb 10, 2019 05:35 PM|mgebhard|LINK
Lullam, PluralSite put this course together and felt that MVC 4 should be a part of curriculum. MVC 4 is very similar to MVC 5 but MVC 5 does have several new feature which are documented here.
https://docs.microsoft.com/en-us/aspnet/mvc/mvc5
If you already have working knowledge of Controllers, Views, and Working with Data, AJAX, then perhaps skip MVC 4, Only you can answer this question.
Member
1 Points
3 Posts
Re: ASP.NET MVC 5 Learning Path
Feb 10, 2019 06:01 PM|Lullam|LINK
I have zero experience with MVC. In his MVC 5 Course Scott Allen says that all other topics of his MVC 4 course are relevant except membership and security module which has become obsolete because of new Identity components which we use in ASP.NET MVC 5, so can I leave these two topics from MVC 4 course and watch the rest of the course and then start MVC 5 course?
All-Star
52201 Points
23284 Posts
Re: ASP.NET MVC 5 Learning Path
Feb 10, 2019 06:10 PM|mgebhard|LINK
Lullam, you can learn whatever you want. Keep in mind that there are plenty of ASP.NET Membership applications in service. If you are learning MVC as a career choice then you might want cursory knowledge on the subject.