Try Tuts+ Premium, Get Cash Back!
ASP.NET from Scratch: MVC
videos

ASP.NET from Scratch: MVC

Tutorial Details
  • Subject: ASP.NET MVC
  • Difficulty: Intermediate
  • Tutorial Format: 26 Minute Screencast
Download Source Files
This entry is part 6 of 10 in the ASP.NET from Scratch Session
« PreviousNext »

In this episode of “ASP.NET from Scratch,” we’ll ditch WebForms in favor of ASP.NET MVC. You’ll get a taste of ASP.NET MVC and recreate a EmailForm application using the MVC framework!


Premium Members: Download this Video ( Must be logged in)

Sell ASP.NET Components on CodeCanyon

Did you know that you can sell your ASP.NET scripts and components on CodeCanyon? Simply sign-up for a free author account, and start selling!

Jeremy McPeak is jwmcpeak on Codecanyon
Note: Want to add some source code? Type <pre><code> before it and </code></pre> after it. Find out more
  • http://holamiamor.tistory.com Irene

    Great Tut!
    Thx : )

  • http://laroouse.com edurup

    good tuts thanks a lot

  • http://twitter.com/kgthenerd Karthik

    Awesome my most awaited tutorial,
    btw one more thing looks like your new mic worked pretty well isn’t it? crystal clear voice ;)

    • http://www.wdonline.com Jeremy
      Author

      I’m pleased with it. There are a few issues I need to address before recording again. I’m a newb when it comes to audio recording.

  • http://www.clearrisk.com John Downey

    Awesome, been waiting for this one for quite a while! :)

  • http://lavishimage.com Imamu Hunter

    Dude I love your tutorials I learn sooooo much from you. I can’t wait for you next one. I’m excited about MVC now.

  • Jesse

    So glad you did this. I haven’t even watched it and I’m excited. I’ve been waiting for ASP.NET MVC to get some love on this site. Well done, sir!

  • jem

    Great tut! We use .NET exclusively at work, unfortunately webforms is the standard that 95% of our work requires, but I have gotten to work some on the MVC framework and its a huge improvement in my opinion.

    I’d even love to see some good resource round ups for .NET (in particular MVC).

    Looking forward to the next post!

  • http://www.deignmango.com designmango

    Looking forward to the next tutorial

  • http://brettic.us Bretticus

    Awesome!!

    Where was this when us old timers were making the transition from ASP Classic to ASP.NET?? I love the MVC model and I love how elegantly MVC is integrated with Visual Studio. I love that VS is free now. I have a lot of love for Microsoft today and that’s saying a lot for a Debian Linux nut that spends most of his time hacking away on PHP using the CodeIgniter MVC framework! Seldom, I have to crank out some code for my IIS servers, but when I do, it’s usually something simple and I resort back to ASP Classic. Not because I am unfamiliar with .NET (I used to write more ASP.NET applications several years ago) but that I have never liked using Web Forms. Always seemed like overkill for simple tasks. I have been quietly watching ASP.NET MVC for awhile now. This tutorial makes me excited for the next ASP.NET project. I’m for sure going the ASP.NET MVC route!

    Thanks for a great primer ASP.NET MVC tut!

  • http://www.jsxtech.com Jaspal Singh

    Great tutorial on ASP.NET
    Thanks for sharing.

  • http://www.alanfeekery.com Alan Feekery

    Nice tutorial.

  • http://bit.ly/aIGXYS devninja

    I am so much interested in asp.net, this article will help me to get started.

  • http://www.iguoguo.net iguoguo

    very good.

  • http://connectedsystems.com Rinaldo

    Awesome, we need more .Net Tuts

  • Lucky

    Awesome

  • Maran

    I love MVC, and your first tutorial is awesome. its easy to follow newbie like me. I am expecting more on MVC with Entity model. Thanks.

  • http://sasa.po.gs sasa

    Yeah, this is Microsoft thing what about Mono and ASP.NET MVC 2

  • http://www.ewan.org.uk Ewan

    Hey Jeremy, great work as usual!

    I’m having an issue passing the successMessage back to the form. It sends the email fine, but doesn’t display the SuccessMessage.

    Line 52 in HomeController.cs: ViewData["SucessMessage"] = successMessage;
    Line 15 in Contact.aspx:

    The ViewData line is included within the form as I think it should be?

    I am also having a similar issue with another project, so I wonder if it’s something to do with my local setup?

    cheers

    • http://www.ewan.org.uk Ewan

      Hmm, no line 15. You can assume it’s the exact same as in your tutorial!

      Thanks.

      • http://www.ewan.org.uk Ewan

        Just spotted my glaringly obvious error. Ignore me. It’s late – more coffee required I think.

        Will there be any more MVC videos Jeremy?

      • http://www.wdonline.com Jeremy
        Author

        Yep, all MVC all the time.

  • flyingfox

    With MVC now ASP.NET is the very best web development platform out there at the moment. And yes, the Entity Framework 2.0 rocks as well. NET is a great platform, even outscores RoR by now.

    It might be topped by FLOW3 when it leaves alpha phase though. We will see. I am very excited about that. Already developing sample applications with FLOW3 because i want to be first at the starting line when the shot goes off. (FLOW3 is the nes PHP framework which the new CMS Typo3 5.0 will be build upon. Check out theFLOW3 Website. It is worth a visit. The future of PHP programming.

  • Sam

    I’m yet to dive into ASP.net MVC but upon talking to many friends and colleagues about it I am yet to be be convinced! My biggest concern is removing the page life cycle, and having to roll your own controls such as grids with paging etc..

    One thing Jeremy mentioned was routing — creating pretty url’s. To be honest, you don’t need to go down the MVC route to use routing, it can still be done in web forms by using the system.web.routing namespace and implementing a couple of methods it requires.

    I think I will stick to using the MVP pattern for now. That said, I am not going to discount MVC altogether, the pattern sounds good for certain projects – public facing websites, blogs, Q&A type sites etc..

  • http://www.parasjairath.co.cc sidd

    this was very helpful, i needed it, thanks for it.

  • http://www.freetipsandtricks.com Deepika

    Thanks for creating and sharing such a nice video tutorial on MVC .The code is also easy to understand. thanks again.

  • http://pixelcoder.co.uk Alistair

    I’ve been looking for a good reason to get into asp and this is it. MVC with asp.net MVC seems fairly familiar, not so dissimilar to codeIgniter.

    This tutorial was great, and what took me over a year to grasp and understand in text based / other video tutorials in regards to MVC with PHP took me 30 – 40 minutes in this tutorial.

    Very awesome tutorial from Jeremy and look forward to many more.

    httpverbs rocked my little socks!

  • Mike

    Hey,

    Is it somehow possible to download the videos? Im playing them at fullscreen but when i swith to web developer the video gets minimized so i cant read the code youre typing in the video and do it my self at the same time.

    Thanks in advance.

  • ramon

    Hello there

    Are there going to be more tutorials about asp its been a while and im going to suscribe to be a premium user but i dont know for how long im going to buy it, so any news about this series would be good.

    Thanks a lot.

  • Satya Prakash Gupta

    this was very helpful, i needed it, thanks for it.

  • Ian

    This video crashes every time I try to watch it.

  • Nuut

    No matter what name i type in the name textbox, it shows my own name in my gmail inbox :( Like if i send a mail to myself.

  • Shane

    Found another good tutorial at codezone4

  • Shane

    Found another good tutorial at codezone4 This is the link

    • Bron

      Thank you bro. It ‘s really helpful.