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.


Jeremy McPeak is jwmcpeak on Codecanyon
Tags: Videos
Note: Want to add some source code? Type <pre><code> before it and </code></pre> after it. Find out more
  • http://elvn.be Bram

    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.

  • Yoyo

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

  • http://www.aquaculturetalk.com Mike

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

  • vija

    Excellent I love it.

  • http://brianswebdesign.com Brian Temecula

    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.

    • http://www.wdonline.com Jeremy McPeak
      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.

  • kaise

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

  • http://www.awmcreative.com Aaron

    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.

  • Eli Perelman

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

  • alphafer

    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

  • http://spotdex.com/ David Moreen

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

  • http://www.davecavins.com dave

    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.

  • Kikas

    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

  • http://www.fuseboxgroup.com Bleyder

    Great video for begginers!! Thanks

  • Maddie

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

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

    Thanks for the kind words, all!

  • Martin

    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.

    • http://benharrison.cc Ben

      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.

  • T

    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!

  • Prashant

    Help

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

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

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

      server.EnableSsl = true;

      • Prashant

        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

      • http://www.wdonline.com Jeremy McPeak
        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

        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

  • Matt

    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.

  • JGambaX

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

  • http://www.newarts.at Drazen Mokic

    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.

    • Matt

      This.

      • HELLO2

        what ?

  • Natrium

    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!

  • Anders Lassen

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

  • http://www.timtohyreed.net Tim

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

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

      .NET is primarily a Windows-only technology. Look into the Mono project if you want to run .NET code on other platforms.

      • http://sasa.po.gs sasa

        +1 Mono, with mono I run ASP.NET pages on Linux server

  • Steve

    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.

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

      It sounds like there’s an error in the web.config file. Does the error message provide any other details?

  • John

    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.

  • Daniel

    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?

    • http://www.wdonline.com Jeremy McPeak
      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.

  • Emilio

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

    Thanks!

  • sean

    Nice tutorial! Easy to understand :)
    Waiting Lesson 2

    Thanks.

  • Nick

    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!

  • michael jackson

    Waiting Lesson 2

  • codex73

    when is new lesson coming out?

  • http://webdeux.info sebastienr

    Waiting for Lesson2 too !

  • http://sasa.po.gs sasa

    Next lesson, please.

  • http://twitter.com/ralphjoson rap

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

  • Miro

    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.

  • Troy

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

  • http://georgehennessy.com George Hennessy

    @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.

  • Raluca

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

  • celegorm

    dead vid… :(

  • http://spotdex.com/ David Moreen

    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.

  • Pashka

    Video is dead:(

  • James

    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.

  • Jeraldo

    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.

  • Alex

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

  • http://www.yelp.com/biz/dream-clean-new-york Gaylene Darnold

    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?

  • rob

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

  • http://www.five-twelve.co.uk George Edwards

    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.

  • http://www.ficklepeople.com TJ

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

  • Alex Mjölnr

    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)