ASP.NET

1. ASP.NET Introduction 2. Comp of .Net Framework 3.5 3. Sys.Req for VS 2008 4. ASP.NET Envrmnt Setup 5. VS2010 Ultimate Sys.Req 6. Installing VS 2010 7. VS 2012 Sys.Req 8. Installing VS Exp 2012 9. Start the VS 2008 10. Application Life Cycle 11. Page Life Cycle 12. Page Life Cycle Events 13. ASP.NET Example 14. Event Handling 15. Default Events 16. Server Side 17. Request Object 18. Response Object 19. Server Controls 20. Server Controls Properties 21. Server Controls Methods 22. HTML Server Controls 23. Client Side 24. ASP.NET Basic Controls 25. TextBox Control 26. CheckBox Controls 27. RadioButton Controls 28. ListBox Control 29. HyperLink Control 30. Image Control 31. BulletedList Control 32. ASP.NET Directives 33. Implements Directive 34. Master Type Directive 35. Page Directive 36. PreviousPage Type 37. Managing State 38. Control State 39. Cookies 40. Query Strings 41. Server-Side State 42. Session State 43. Validation Controls 44. Required FieldValidator 45. Range Validator 46. Compare Validator 47. RegularExpressionValidator 48. Custom Validator 49. Validation Summary 50. Data Source Control 51. AdRotator Control 52. Calendar Control 53. Calendar Control Example 54. Panel Control 55. Panel Control Example 56. Multi Views Control 57. MultiView & View controls 58. MultiView Control Example 59. FileUpload Control 60. FileUpload Control Eg 61. AJAX Control 62. UpdatePanel control 63. UpdateProgress Control 64. Custom Controls 65. Custom Control Eg 66. Personalization 67. Create Simple Profile 68. ADO.NET 69. ADO.NET Objects 70. DataTable 71. DataRow 72. DataColumn 73. Object Example 74. Error Handling 75. Tracing Errors 76. Debugger 77. Security 78. Authentication 79. Authorization 80. LINQ 81. LINQ Query Operators 82. LINQ Example 83. Caching 84. Data Caching 85. Output Caching 86. Object Caching 87. Web Services 88. Create Web Services Eg 89. Web & Machine.config 90. Settings Schema 91. ASP.NET Deployment 92. XCopy Deployment 93. Web Setup Project 94. ASP Interview Part 1 95. ASP Interview Part 2 96. ASP Interview Part 3 97. ASP Interview Part 4 98. ASP Interview Part 5 99. ASP Interview Part 6
Pr.Pg Next Pg

Starting the Visual Studio2008 IDE step-by-step tutorials

  • In Microsoft Windows, click the Start button, point to all Programs, and then point to Microsoft Visual Studio 2008.

  • Click the Microsoft Visual Studio 2008 icon. Visual Studio 2008 starts.

NOTE:

If this is the first time that you have run Visual Studio 2008, you might see a dialog box prompting you to choose your default development environment settings. Visual Studio 2008 can tailor itself according your preferred development language. The various dialog boxes and tools in the integrated development environment (IDE) will have their default selections set for the language you choose. Select Visual C# Development Settings from the list, and then click the Start Visual Studio button. After a short delay, the Visual Studio 2008 IDE appears.

  • On the File menu, point to New, and then click Website. The New Website dialog box opens. This dialog box allows you to create a new website using various templates, such as ASP.NET Web Site, ASP.NET Web Service, Empty Web Site, WCF Service, ASP.NET Reports Web Site, ASP.NET Crystal Reports Web Site,

  • When you select Empty 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 primary window in the Visual Studio IDE is the Web Forms Designer window. Other supporting windows are the Toolbox, the Solution Explorer, and the Properties window. You use the designer to design a web form, to add code to the control on the form so that the form works according to your need, you use the code editor.

 

Adding folders and files to your web site

  • The Solution Explorer is used to add any other files like web forms, html files, class files etc, folders or any existing item on the web site.

  • To add a 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 file, right-click on the project in the Solution Explorer and select the Add New Item from the list,and select Web Form.

  • Similarly We can add Multiple files like Class file, HTML Page, Jscript File etc.

 

Projects and Solutions of Asp.Net Application

  • An ASP.Net application consists of many items:., the .cs files), assemblies (e.g., the .dll files and .exe files), data source files (e.g., .mdb files), references, icons, the web content files (.aspx), source files (e.g user controls and miscellaneous other files and folders.

  • All these files that make up the website are contained in a Solution.

  • When a new website is created VS2010 or VS 2008 automatically creates the solution and displays it in the solution explorer.

  • A Solutions files 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:

    1. Page file (.aspx)

    2. User control (.ascx)

    3. Site map (.sitemap)

    4. Web services file (.asmx)

    5. Website configuration file (Web.config)

    6. Master page (.master)

    7. Global Files (Global.asax)

 

Building and Running a Project

  • The application is run by selecting either Start or Start without Debugging from the Debug menu, or by pressing F5 or Ctrl-F5. The program is built i.e. the .exe or the .dll files are generated by selecting a command from the Build menu.


Pr.Pg border                                              Next Pg