Articles → .NET → Creating your first web application in ASP.NET

Creating your first web application in ASP.NET











•  First of all open

Picture showing visual studio 2008 IDE

Click to Enlarge

•  Click on File menu and select

Picture showing the File - New Website menu for creating the new website

Click to Enlarge

•  A

Picture showing selecting the ASP.Net new website from visual studio installed templates

Click to Enlarge













Picture showing the project structure in visual studio solution explorer

Click to Enlarge



•  There is a file called

Picture showing the design screen of default.aspx file

Click to Enlarge

•  Now we are going to add controls on the page. For that click on

Picture showing the View - Toolbox menu in the visual studio

Click to Enlarge



•  Under the Standard tab drag and drop a textbox and a button as shown in figure below.

Picture showing the textbox and button on the designer screen

Click to Enlarge

•  To run the application right click on the Default.aspx (on the right hand side in the solution explorer) and click

Picture showing setting up the start page in the visual studio

Click to Enlarge

•  Now press



Picture showing the output of the first web application in asp.net

Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Sunday, April 11, 2010

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250