Monday , 21 April 2014
You are here: Home » ASP.NET » ASP.NET Beginners Tutorial #1
ASP.NET Beginners Tutorial #1

ASP.NET Beginners Tutorial #1

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.

About Craia Alexandru

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

19 comments

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

  2. Thank you Jack really appreciate it

  3. 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. I like assembling utile information , this post has got me even more info! .

  5. Your site is actually great. Keep going that way.

  6. Sprint family locator

    { 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!}

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

  8. 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!

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

  10. Hello my loved one! I wish to say that this article is amazing, nice written and include approximately all vital infos. I would like to peer extra posts like this .

  11. hii,
    i want to make a website with 4-5 pages just as a start, i don’t want any database, with vs 2010 ii am really confused how to do that..they already have some pages such as master page and login page..how can i get rid of them..please create a very simple 3 page website along with master page so that i can take it as an example.

  12. it awesome to help me new website without help of others

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

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

  15. plz , give me more examples about how to create a full website specially with the code needed

  16. This required a highly flexible and scalable IT infrastructure to manage increasing and fluctuating numbers of users to visit in it.

  17. hi sir can you help me how to create website i m a newbee and only knows basics i wnt to know from first to last please

  18. yet another wonderful. get that kind of information article working away at some research, and material.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>