As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
There are many ASP.MVC blog post bits and pieces scattered over different web sites, as well as couple of resource questions here - ASP.NET Model-view-controller (MVC) - where do I start from? and MVC Learning Resources
I wonder if there was a one-stop tutorial posted yet on getting started with ASP.NET MVC?
Thank you!
Edit: I probably need to clarify - a one-stop tutorial that'd help to get started within and hour or two and learn more as I go... Reading books is a non starter for me personally - takes more time I can afford and starts with basics...
Have you looked at MVC Samples on CodePlex? Rob Conery has some screencasts that go along with the creation of the site at http://blog.wekeroad.com/mvc-storefront/.
Scott Guthrie wrote a free complete end to end tutorial of creating a full web application using MVC and it touches on most of the major pieces of MVC:
NerdDinner.com
Code Walkthrough of how to build NerdDinner.com
Don't forget Scott Guthrie's blog. Latest news on MVC. The "official" site is two releases behind.
Quickstart gives a good overview of all features.
http://www.asp.net/mvc
Whoops, submitted before I was done. The ASP.NET MVC site has tons of videos/screencast on getting started with ASP.NET MVC. Definitely watch the Scott Hanselman ones first.
Edit
The Rob Conery screencasts that #David provided are provided on the ASP.NET MVC site also, under videos. That would constitute one spot to get those resources and also the ones the ASP.NET MVC team put out.
One note on any resource you use. You could run into functionality that is no longer available in the framework due to it being in development. If you use the resources provided that you already found along with the tutorials, you will find the replacements or how to get around it.
Hopefully, as we get closer to release, http://asp.net/mvc will be the one stop shop for ASP.NET MVC related issues.
In addition to the above mentioned:
http://weblogs.asp.net/stephenwalther
Asp.net MVC in Action looks to be a good book.
We just recently released the beta version of TheBeerHouse MVC Edition which should give you some great examples. There is also a book written explaining everything, but you will have to wait a little longer for that to come out :D.
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I know many have asked the MVC vs Webforms question many times. My question is slightly different in that I am currently updating my skills from ASP.NET2/VB.NET to ASP.NET4/C#. I am seriously thinking that I should perhaps not waste time in upgrading my Webforms skills which are Okish, but instead put the effort into starting again with MVC. I keep looking at all the properties of ASP.NET server controls and sigh !!! I do see the benefit in just focussing on web technologies such as JS, CSS and now JQuery and CSS3.
I would be interested in your thoughts?
It sounds like you are doing a clean-slate here. You are changing languages and technologies. My advice would be to identify what you feel is the best technology going forward and learn that. You are already committing to learning something new - make it the most valuable experience you can make it.
From my perspective, I would recommend MVC. Personally I feel that this is the better platform to move forward on. You will have to add quite a few auxiliary skills such as Razor, JQuery and all the rest but it will be worth it. The bottom line though is that it is what is best for you. If your environment is better served by Webforms, then that is the best choice for you.
Six months ago I changed jobs. I was previously working at a large company that was still on .NET 2.0, VB.NET and ASP.NET WebForms. I now work at a company that uses .NET 4.0, C# and ASP.NET MVC3. So, I've been through this myself.
If you understand how the web works and want complete control over the client experience, MVC is the answer without a doubt. At my previous job I would end up pulling my hair out because I hated how WebForms prevented me from creating a page with clean markup. But, a lot of people don't know how HTTP, CSS, Javascript and HTML all fit together. WebForms was a solution to that. But, it's much more fun and performant to have complete control of what you sent to your customer/client.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I want to know any good link for asp.net MVC-3 video tutorials. I have book but Video tutorials are good and easy to learn fast.
I love the following two. Its about ASP.NET MVC2 but motivating, fun and a very good start.
ASP.NET MVC 2: Basics, Introduction by Scott Hanselman
ASP.NET MVC 2: Ninja Black Belt Tips by Scott Hanselman
more
ASP.NET MVC 3 - Videos
Session Recordings from mvcConf 2 - 27 Videos
In addition to dknaacks answer, I did not see this one, but I think is pretty good:
ASP.NET MVC 3 – 101 - From beginner to advanced by Scott Hanselman (DevDays-2011)
There's also a great free course on MicrosoftVirtualAcademy: Developing ASP.NET MVC 4 Web Applications Jump Start
http://www.youtube.com/results?search_query=mvc3+.net
theres lots of good videos on youtube
also lots of stuff on channel9 if you want more official (MS) stuff. http://channel9.msdn.com/Tags/asp.net+mvc
All depends on what specifically you want to learn in MVC
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 12 years ago.
Good day!
I'm planning to upgrade WebForms application and I have two possible choices:
Write it in ASP.NET MVC 2.0 with WebForms view engine and upgrade it to 3.0 when it will be out
Write it using ASP.NET MVC 3.0 RC with Razor as view engine
It seems that Razor is the only 3.0 feature I really can take advantage off for this task.
The launch date for application is Q1 of 2011 so there is a chance that ASP.NET MVC 3.0 will come out as RTM.
So, is Razor mature enough?
From what I've read I don't think upgrading a 2.0 app to mvc 3.0 will be that difficult. So I am sticking with the stable code for now, and then upgrading once a stable release of 3.0 is out. I think it will be just as much work to start with 3.0 and then fix all the little changes upon the actual release of it.
Bottom line for me is that MVC 2.0 is fully functional and works with few issues. They have not called 3.0 a stable version yet for a reason.
There is more to MVC 3 than Razor, but you aren't specific so will hold my peace.
As regards Razor, it is just a ViewEngine. No different to Spark, NHaml, etc. So even MS can get that right first time out. Is it mature? No. Mature enough? Well, at least it is not decrepit like web forms... Why write XML when you don't have to?
I am writing a new app in MVC 3 and so far, the only issue I have had is with a couple of helpers that return void. It was easily solved, see Adapting a custom Html Helper for Razor
As MVC 3 is at the RC stage, you should be fine with your time line.
The killer for me is future proofing. I am definitely going to use Razor in future, so all new stuff is best written in what I will be using.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I have added this question as to know the different views why people are using ASP.Net MVC.
I know that it is RESTful, could you please put in more details to help me. I have checked few blogs but no good answers.
I mean which drive me to get my ASP.Net website to ASP.Net MVC.
There is loads of information on MVC out there, Have you checked out Scott Guthrie or Phil Haack's blogs. A simple google search will bring up loads of articles on pro's and con's. If you're not finding yourself interested in MVC then stick with webforms.
Have you looked at the Nerd Dinner example? Google "Nerd Dinner" and you'll find it.
Also, there is a bunch of information on REST out there. All you need to do is type in REST into google and you'll see.
It'll take some reading, sure, but as a programmer you should be used to that.
It's a steep learning curve and a massive framework and there is simply no way to explain it all in a simple question / answer.
You'll need to play for a bit, and I suggest Nerd Dinner, and then maybe come back and ask more specific questions.
Have you tried to make a W3C-WAI complient website using webforms? It's hard. MVC give you much better control over your HTML and Javascript.
I just read your question again and wanted to add another answer as it is very different to my original.
I started using the framework because I was impressed with the lack of ViewState and a page life cycle that had to reconstruct all the controls again just to get values.
I was also impressed with it's speed and extensibility.
I love that I can overload everything and add my own flavour to it. I love that I can write Views with no code behind.
I love that there is a very clear seperation of concerns and that it's very easy to maintain.
I like that's it's easy to write the code, get it working and then worry about the view. I hate webforms where everything just seems tied together with no clear deliniation of concerns.
If you Google for
advantages of asp.net mvc
you'll find hundreds of blog articles on why ASP.NET MVC can be a good tool. But none of that really helps YOU. Here's my ultra-simple decision tree for choosing the best tool:
Choose MVC if your team has a strong understanding of the web, are great developers, and/or have a background in other web frameworks besides ASP.NET. MVC is ultra simple to use if you're used to something like Ruby on Rails or even vanilla ASP, but it's best for strong developers, not junior ones.
Choose Webforms if your team is full of novice programmers and/or they have a strong background in webforms development. This is also the best choice for intranet apps.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I have 3 days to learn the basics of ASP.NET MVC and create a very small PoC web application with it.
What are currently the best online resources for:
Learning the basics in a tutorial-like way
Reference material regarding ASP.NET MVC
Best practices regarding the use of ASP.NET MVC
I am not looking for general info about the MVC pattern since I have been using it in past (desktop) applications.
Please note:
This question has been asked before on SO, but the big threads I have seen are about half a year old already and seeing the pace at which ASP.NET evolves I am not sure if those are still up to date and if there aren't better choices by now.
For ASP.net MVC 4, Microsoft has released a getting started guide:
http://www.asp.net/mvc/tutorials/mvc-4/getting-started-with-aspnet-mvc4/intro-to-aspnet-mvc-4
For ASP.net MVC 1, There is also a free eBook released by Scott Hanselman, Phil Haack, Scott Guthrie and Rob Conery. This is rather outdated by now, but may still be of interest to some:
http://weblogs.asp.net/scottgu/archive/2009/03/10/free-asp-net-mvc-ebook-tutorial.aspx
That's more of a concrete project walkthrough rather than a standard tutorial though.
The best source for almost all of you ASP.NET MVC framework questions (including tutorials in text and video format) is going to come from the official source as http://www.asp.net/mvc
I would start with ASP.NET MVC How-Do-I. The ASP.NET MVC Storefront Starter Kit and the ASP.NET MVC Pair Programming are all really good for step by step learning.
Here is one great video from Scott Allen in pluralsight. This is free
http://www.pluralsight-training.net/microsoft/players/PSODPlayer?author=scott-allen&name=mvc3-building-intro&mode=live&clip=0&course=aspdotnet-mvc3-intro
Stephan Walther's blog is another good source of links and info (most resolving to those suggested here).
I just found your question - I've been searching too and found this site, which I thought was a good, plain english guide:
http://www.howmvcworks.net/
Scott Gu's and Phil Haack provides you some straightforward "tips". It's true that older posts uses out dated MVC version, but the majority of the content is still valid. The basics (how and why) you need can be found there.
These links could be useful:
Asp.net and C#: MVC
Asp.net and C#: Introducing MVC Development w/the Razor View Engine for Visual Studio Developers