ASP.NET Beginners Tutorial #1

vs2010logo_transparent_large
About the author My name is Craia Alexandru, I am from Romania and I am a freelancer with knowledge in ASP.NET C#

I made a tutorial specially for who wants to learn ASP.NET to develop web applications using this platform.

ASP.NET it’s an evolution from ASP (Microsoft Active Server Page) using the development platform support Microsoft .NET.
One of the most important feature of ASP.NET it’s the reduced time for developing an application. Another important point is the simplicity and the facility to learn it. The programming in ASP.NET it’s the same and very varied (to develop a website you can choose from 3 programming languages: C#, Visual Basic and F# ).

Any page made in ASP.NET has 2 sides:

  1. Visual Side ( the one that the final user sees) it’s easy to make because of the many controls.

  1. The Programming side (the code that will be wrote on the server ).

In this tutorial I will try to show you how to create a new simple website using ASP.NET – C#.

Creating a new Website

First step in creating a new website is to open the application  VISUAL STUDIO 2010. The second one is to select  ”New Web Site”  from File tab.

From the newer menu select the programming language  (Visual Basic or Visual C#). We will select the location where do we want to create the website  (it can also be a FTP address) and the type of the website. I will show you a website  created in ASP.NET in C#. After pressing the OK button the website will be created.

Displaying The Interface

  • In the upper left side, in Toolbox you will find all the controls that can be added into a website.
  • In Server Explorer you can see the database attached to the website  (in this moment it isn’t attached ).
  • In center you can see the visual side of the website .
  • In the right side you find the Solution Explorer where you can see all the files of the website  and Properties where you find the properties of the selected object.

What I found very interesting about ASP.NET was the Site.Master (a page of the website). Using this you will build the other pages, adding  just content letting the design intact.

To add a new page go to Website menu and select Add New Item. Will appear a new window from where you can select the type of the page and the name.

To view the website on localhost you have to select from the menu  Debug and Start Debugging.

The database and the tables where will be saved users names and details about them will be created automatically.

The programming side

After you create a new page will be created a new file .cs where will be written the codes. If you have any questions don’t hesitate and ask in the Comment Section. Also if you want more ASP.NET tutorials right a comment with what would you like to learn about.

Join our Facebook Page

12 Replies to ASP.NET Beginners Tutorial #1

  1. Jack Nolan says:

    Found your site today through Google. Awesome blog you’ve got, bookmarked.

  2. logolitic says:

    Thank you Jack really appreciate it

  3. Lauryn Amaro says:

    Generally I don’t learn post on blogs, but I wish to say that this write-up very compelled me to check out and do so! Your writing taste has been amazed me. Thank you, very nice post. – Elegant London Escorts, 65-67 Brewer Street, Floor: 2, London W1F 9UP. Phone: 020 3011 2941

  4. Fernande Tannen says:

    I like assembling utile information , this post has got me even more info! .

  5. mihalached says:

    Your site is actually great. Keep going that way.

  6. logolitic says:

    Thank you guys!

  7. Sprint family locator says:

    { Nice job, really good post mate | I will definitely recommend this to my friends | keep it up! Thanks | This was an interesting post | quite intriguing post | Thank a lot good post!| thank you very much for sharing | Everything is interesting | thanks good for topic | I will definitely recommend this to my friends| This was an interesting post | quite intriguing post | Thank a lot good post!}

  8. Lavanya says:

    Building web site in visual studio 2010 is so complicated than in 2008 version.
    Please tell how to remove the default content in the default page. When we remove the maincontent place holder, it’s showing error. Can you help me in working out this?

  9. stock image says:

    Greetings! I’ve been reading your weblog for a long time now and finally got the courage to go ahead and give you a shout out from Atascocita Tx! Just wanted to mention keep up the excellent work!

  10. Candy Brye says:

    One would associate with SEO upon putting up a website. You would left behind if you ignore this necessity.Ben T. recently posted..Medical Assistant

  11. yoganand says:

    pls send step by step procedure to edit and delete employee name and id from sql server database(2005), using asp.net(c#)

  12. hafeez says:

    that is a good post but i really wanted that you should elaborate more on this as i want to learn whole of this but can’t find any of it on the web. I want to learn database edition as well using the tables in visual studio also the design method to design website its features and please give some examples to teach and in the end kindly give some practice problems as well. Thanks

Leave a Reply