Environment
The key development tool for building ASP.Net applications and front end is Visual Studio.It is an Integrated Development Environment(IDE) for writing ,compiling and debugging the code.It provides a set of development tools for asp.net web applications,web services and mobile applications.
When you start a new web site, ASP.NET provides the starting folders and files for the site, including two files for the first web form of the site.The file named Default.aspx contains the HTML and asp code that defines the form, and the file named Default.aspx.cs (for C# coding) or the file named Default.aspx.vb (for vb coding) contains the code in the language you have chosen and this code is responsible for the form's works.
The key development tool for building ASP.Net applications and front end is Visual Studio.It is an Integrated Development Environment(IDE) for writing ,compiling and debugging the code.It provides a set of development tools for asp.net web applications,web services and mobile applications.
When you start a new web site, ASP.NET provides the starting folders and files for the site, including two files for the first web form of the site.The file named Default.aspx contains the HTML and asp code that defines the form, and the file named Default.aspx.cs (for C# coding) or the file named Default.aspx.vb (for vb coding) contains the code in the language you have chosen and this code is responsible for the form's works.
How to work with Views and Windows?
Ø To change the Web Forms Designer from one view to another, click on the Design or source button.
Ø To close a window, click on the close button on the upper right corner and to redisplay, select it from the View menu.
Ø To hide a window, click on its Auto Hide button; the window changes into a tab, to redisplay again click on the Auto Hide button again.
Ø To size a wind just drag it.
How to add Folders and Files to the Web site?
Ø To add a standard folder, right-click on the project or folder under which you are going to add the folder in the Solution Explorer and choose New Folder.
Ø To add an ASP.Net folder, right-click on the project in the Solution Explorer and select the folder from the list.
Ø To add an existing item to the site, right-click on the project or folder under which you are going to add the item in the Solution Explorer and select from the dialog box.
Projects and Solutions
A typical ASP.Net application consists of many items: the web content files (.aspx), source files (e.g., the .cs files), assemblies (e.g., the .dll files and .exe files), data source files (e.g., .mdb files), references, icons, user controls and miscellaneous other files and folders.
Solutions may contain one or more projects. A project contains content files, source files, and other files like data sources and image files. Generally the contents of a project are compiled into an assembly as an executable file (.exe) or a dynamic link library (.dll) file.
Typically a project contains the following content files:
Ø To change the Web Forms Designer from one view to another, click on the Design or source button.
Ø To close a window, click on the close button on the upper right corner and to redisplay, select it from the View menu.
Ø To hide a window, click on its Auto Hide button; the window changes into a tab, to redisplay again click on the Auto Hide button again.
Ø To size a wind just drag it.
How to add Folders and Files to the Web site?
Ø To add a standard folder, right-click on the project or folder under which you are going to add the folder in the Solution Explorer and choose New Folder.
Ø To add an ASP.Net folder, right-click on the project in the Solution Explorer and select the folder from the list.
Ø To add an existing item to the site, right-click on the project or folder under which you are going to add the item in the Solution Explorer and select from the dialog box.
Projects and Solutions
A typical ASP.Net application consists of many items: the web content files (.aspx), source files (e.g., the .cs files), assemblies (e.g., the .dll files and .exe files), data source files (e.g., .mdb files), references, icons, user controls and miscellaneous other files and folders.
Solutions may contain one or more projects. A project contains content files, source files, and other files like data sources and image files. Generally the contents of a project are compiled into an assembly as an executable file (.exe) or a dynamic link library (.dll) file.
Typically a project contains the following content files:
- Page file (.aspx)
- User control (.ascx)
- Web service (.asmx)
- Master page (.master)
- Site map (.sitemap)
- Website configuration file (.config)