ASP.NET from Scratch : Lesson 1
videos

ASP.NET from Scratch: Lesson 1

Tutorial Details
  • Length : 54 minutes
  • Difficulty: Intermediate
This entry is part 1 of 10 in the ASP.NET from Scratch Session
Next »

Nettuts+ is primarily a PHP haven; however, I’m sure we can all agree that there are many fantastic, and technically more powerful languages and frameworks at our disposal. Jeremy McPeak, author of Professional AJAX, and Beginning JavaScript: 4th Edition, will teach you how to build ASP.NET applications from scratch over the course of the next several video tutorials. Enjoy!


Screencast


Other Viewing Options

Thank you, Screencast.com!


Screencast.com

…for providing the hosting for these video tutorials.


Add Comment

Discussion 223 Comments

Comment Page 2 of 3 1 2 3
  1. Bram says:

    This tutorial couldn’t come on a better moment for me!
    I was looking for a good starter tutorial, for some reason there isn’t a good how to start tutorial on the ASP.net site.
    You did also a awesome job to explain everything very clear and understandable.

  2. Yoyo says:

    Great tutorial! I can’t wait for the next part.

  3. Mike says:

    In the words of Dick Vitale “Awesome with a capital A baby”. Keepem coming, I will be here for each and every one.

  4. vija says:

    Excellent I love it.

  5. I’ve tried to learn ASP.NET in the past, and this video reminded me why it never happened. I think what throws me off from the start is that I am used to hand coding everything, so even though it would seem easier to some people, a GUI really makes things more difficult for me. I started in the video, and actually made it about 15 minutes, but I’d have to start from the beginning and watch this video a few times to get it.

    • Author

      You don’t have to use the drag-n-drop approach; I don’t for web apps. This first lesson only showed the RAD capability. After the first control was added to the page via drag-n-drop, the rest of the app was hand coded.

      The RAD capability from Microsoft’s Visual Studio is there, but you don’t have to use it if you don’t want to.

  6. kaise says:

    anybody no wer i can get the rest of the turorials please

  7. Aaron says:

    Finally, something on ASP.NET. I use the framework at work and C#. It’s nice to see a tutorial on this stuff finally. I look forward seeing more in the future. Thanks for the post!

    …and to whoever said ASP.NET was dead, seriously? I’m not a hardcore ASP.NET fan, but it’s definitely not dead.

  8. Eli Perelman says:

    Jeremy, I have your book, and it was really great using it to jump start me into Ajax. Thanks!

  9. alphafer says:

    I am a PHP advocate but my work requires me to do some .Net stuff. I refussed to learn it for a long time. This tutorial didn’t change my opinion about .Net but there is not doubt that it will help me to do my job and better discuss my PHP is better! opinion.

    Thank you

  10. David Moreen says:

    It took a while but nettuts is now doing ASP.NET tutorials. Interesting.

  11. dave says:

    Great tut. I do alot of asp.net and SharePoint work at my 9-5 job. The only thing I dont like it that asp.net controls often render lots of nested tables and extra html code.

  12. Kikas says:

    Hello Jeremy,

    I really like your video, just finished right now, very simple and easy to follow, been waiting for ASP.NET tutorials, thanks for this, i will continue watching :)

    Cheers

  13. Bleyder says:

    Great video for begginers!! Thanks

  14. Maddie says:

    Thanks so much, can’t wait to see the rest of the series!

  15. Author

    Thanks for the kind words, all!

  16. Martin says:

    I see more jobs advertised for ASP.NET developers than PHP. Unfortunately I have not tried it yet, because I develop mainly on a Mac. If I were to study another system for 1 year, before applying for web developer jobs, would it be more valuable to learn ASP.NET or Ruby on Rails? I have some intermediate PHP skills already.

    • Ben says:

      Martin,

      I would highly recommend learning ASP.NET (C#). Just like you, most of the jobs I see advertised want an ASP.NET developer rather than a PHP developer.

      If you’re interested in RoR or PHP, I would continue to learn those as well. It will only make you more knowledgeable. Besides, who knows what the industry standard for server side development will be 5 years from now?

      But right now I’ve found that it’s a lot easier to find a good web development job if you have marketable skills in ASP.NET than any of the others.

  17. T says:

    One of the best tutorials for ASP.NET i have seen. excellent explanation of controls, cant wait for the rest……. Keep up the great work!

  18. Prashant says:

    Help

    The SMTP server requires a secure connection or the client was not authenticated

    • Author

      Set the EnableSsl property of the SMTPClient object to true, like this:

      server.EnableSsl = true;

      • Prashant says:

        I added this

        SmtpClient server = new SmtpClient();
        server.EnableSsl = true;
        server.Send(email);

        but still i get error

        The SMTP server requires a secure connection or the client was not authenticated

      • Author

        The problem can be one of two things, then. First, the information you provided in the web.config file is incorrect.

        Second, whoever controls your SMTP server can limit who can use that SMTP server to send emails. Some ISPs limit SMTP access if, and only if, the computer you’re on is on their network.

      • Ciwan says:

        Jeremy You are AMAZING.

        This Video Tutorial Is AWESOME.

        Just one thing though (I’m a total n00b) and at the end when you leave them port, host, username and pass fields empty for security > You don’t mention where I the n00b can find that info !!

        So can you please tell me where I can find that info to get this test email to be sent.

        Thanks

  19. Matt says:

    Speaking of ASP.NET, Microsoft is releasing an Open Source CMS sometime this week named “Orchard”. Should be fun to play with.

    It’s Sunday the 8th where I am.

  20. JGambaX says:

    Awesome, Thanks And I Hope To See Many More Of This Serie.

  21. Drazen Mokic says:

    This is a very good tutorial, repect.

    Guys dont forget that you should use the right tool for the job, not the other way.

    I love PHP but if i would have a project where ASP comes better i would use ASP.

  22. Natrium says:

    I watched the first 10 minutes and it looks promising!
    Well explained, everything is well visible.
    I’ll watch the rest of the tutorial later today!

  23. Anders Lassen says:

    As a newcomer to object-oriented programming and C#, this is a very interesting tutorial. Well explained and relevant information. Thank you.

  24. Tim says:

    I just tried to download it for OSX. Why no OSX support? PHP works no matter what development environment you have.

  25. Steve says:

    I installed everything how you describe (using a mac running VMWare with Windows 7). And I get this error:

    “Configuration Error
    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

    Parser Error Message: An error occurred loading a configuration file: Failed to start monitoring changes to ‘\\vmware-host\Shared Folders\Documents\Visual Studio 2008\Projects\WebApplication1\WebApplication1′.

    Any ideas? There’s nothing in the file except the default HTML.

  26. John says:

    I switched from asp.net to php about a year ago. Why? Because of WordPress. If i want to get good at WP, i had to know the php basics.

    And in doing so, i realized how dead fast it is to do very simple things. I don’t need to add weird code at the top of every web page like i do with asp.net.

    I really like the simplicity of php when i do simple scripting.

    But if i need to interface with a database, or do paginate database results with sorting, in-place editing, etc, i think asp.net is the better choice. It has built-in features that take care of this stuff automatically and are quite simple. I’ve read tutorials on doing this stuff with php, and it went WAY over my head.

    So i guess it all comes down to your needs.

  27. Daniel says:

    hi everybody,

    I got this error message when I try to send the email:

    Configuration Error
    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

    Parser Error Message: The value of the property ‘port’ cannot be parsed. The error is: is not a valid value for Int32.
    Could somebody give me a help?

    • Author

      Did you open web.config and add information for your SMTP server? That error message is saying the value of the port attribute isn’t an integer. So either it’s empty or there are non-integer characters as the attribute’s value.

  28. Emilio says:

    Great stuff!, really usefull. Cant wait to see the other screencasts =)

    Thanks!

  29. sean says:

    Nice tutorial! Easy to understand :)
    Waiting Lesson 2

    Thanks.

  30. Nick says:

    Thank you! Thank you! Thank you! Thank you! Thank you! Thank you!
    I’ve been asking for asp.net tutorials forever now and glad to see that envato listens to readers requests!

  31. michael jackson says:

    Waiting Lesson 2

  32. codex73 says:

    when is new lesson coming out?

  33. sebastienr says:

    Waiting for Lesson2 too !

  34. sasa says:

    Next lesson, please.

  35. rap says:

    Yummy! This is just what I’m looking for. Thanks for sharing

  36. Miro says:

    Great tutorial, I’m a front-end developer who’s been working on .NET templating for a few years now and I must say it was an awesome tutorial to watch. I come from a classic ASP background and have been very hesitant to learn the backend of .NET but after watching this tutorial it makes me want to learn more and just 60 minutes of what I watched so far has cleared up tons of questions I’ve had, cant wait to watch lesson 2 and see what else is to come. Appreciate the time taken to explain things thoroughly and the diligence taken to explain it all, it’s prolly what makes the biggest difference when watching a tut on .NET. Thanks again.

  37. Troy says:

    Great tutorial. Thanks for taking the time to create this. I’m looking forward to the rest of the series!

  38. @Jeremy McPeak

    I don’t think you get enough credit for taking time to teach a newbie like me, on a difficult subject like computer programming. It was a challenge for me to get this application to work at first, but after reading the comments section, I was able to figure it out. Thanks again for this tutorial and I look forward to watching the next one.

  39. Raluca says:

    the video doesn’t load :(
    I had it bookmarked for so long and now i can’t watch it
    is it down for good?

  40. celegorm says:

    dead vid… :(

  41. David Moreen says:

    This is pretty cool stuff and I am interested in learning the basics incase I need a little .NET knowledge, but PHP for life <3! I learned PHP first and it is the best, most straight forward and least complicated web language; even ruby which I adore can't replace it – IMO.

  42. Pashka says:

    Video is dead:(

  43. James says:

    Thank you for this, I’m sick of coding in PHP either OOP or inline soup or with the MVC frameworkd. CAKEPHP and Codeigniter are so slow for large apps, from the looks of it ASP.NET is just what I was looking for.

  44. Jeraldo says:

    great tutorial. as a software developer using VB.net its great for me to see basic tutorials about ASP.net. im choosing C# as my new career curve too. so very great. thanks a lot.

  45. Alex says:

    Great tutorial! Your are very thorough and clear teacher. Thank you so much for your great help.

  46. Good blog, some amusing details. I believe seven of days ago, I have viewed a similar article. Does anyone know how to track future posts?

  47. rob says:

    wow, what a nice tutorial! really learned a lot, thanks for your time on tihis! :)

  48. Just thought I would leave a comment saying how awesome these videos are. Jeremy – well done – you do an excellent job of teaching ASP.NET and C#. They are some of the most in depth yet easy to follow screencasts I’ve seen.

    Keep up the good work.

  49. TJ says:

    Nice tutorial, is there anyway I can download this and play on Media Player?

  50. Alex Mjölnr says:

    Hello!

    The tutorial program is great! However I can’t imagine how to fix my ‘port’ issue
    I am still getting the same error every time no matter I do to change the web.configuration.

    This is the error:

    Your email was not sent due to an error.

    Error Message: The value of the property ‘port’ cannot be parsed. The error is: is not a valid value for Int32. (C:\Documents and Settings\Alex Mjolnr\My Documents\MVC\EmailForm\EmailForm\web.config line 8)

Comment Page 2 of 3 1 2 3

Add a Comment

To add a code snippet to your comment, please wrap your code like so: <pre name="code" class="html">YOUR CODE</pre>. You can replace the class name with "js," "css," "sql," or "php." If there are any "<" or ">" within your code, please search and replace them with: &lt; and &gt; respectively.