ASP.NET Using C# (VS 2017) This five-day course provides a comprehensive and practical hands-on introduction to developing Web applications using ASP.NET and Visual Studio 2017. It includes an introduction to ASP.NET MVC, a newer Web programming framework that incorporates use of the Model-View-Controller (MVC) pattern. It also includes coverage of using ASP.NET AJAX to build rich client applications and the use of Web API to create HTTP services. A final chapter introduces ASP.NET on Microsoft s Azure cloud. The fundamentals of Web applications are reviewed, and a testbed is established for ASP.NET and Internet Information Services. The architecture of ASP.NET is outlined, including the role of compilation, the Page class and code-behind. Web Forms are introduced, including server controls, view state, life cycle, and the event model. Request/response HTTP programming using ASP.NET is covered. Visual Studio 2017 is used to greatly simplify the development of ASP.NET Web applications, including facilitating UI design. ASP.NET Web applications are covered, including issues of application and session state and the use of cookies. Server controls represent an important innovation in ASP.NET and are covered in detail, including validation, rich controls, and user controls. There is an introduction to caching in ASP.NET, which provides an effective mechanism for optimizing the performance of your ASP.NET application. The fundamentals of configuration and security are introduced. Diagnostics and debugging are covered, including the use of tracing. Additional server controls are introduced, including menus and master pages. Data access is covered in some detail in two chapters, including an introduction to ADO.NET, Language Integrated Query (LINQ), the Entity Data Model (EDM) and the powerful data access controls provided by ASP.NET. The LocalDB version of SQL Server 2016 Express is used as the database. This section of the course is tied together by a progressive case study illustrating a Web site for a publishing company. The final section of the course introduces four important ASP.NET technologies: ASP.NET AJAX, ASP.NET MVC, ASP.NET Web API, and ASP.NET on Azure. An appendix covers hosting ASP.NET applications on IIS 7.5. Numerous programming examples and exercises are provided, including case studies. The student will receive a comprehensive set of notes and all the programming examples Prerequisites: The student should have a good working knowledge of C# and the.net Framework. Some familiarity with JavaScript is recommended for the AJAX chapter. Number of Days: 5 ITCourseware, LLC Page 1
1. Introduction to ASP.NET Web Application Fundamentals Using Internet Information Services Web Forms ASP.NET MVC Web Services ASP.NET Features 2. Web Forms Architecture Page Class Web Forms Life Cycle Web Forms Event Model Code-Behind 3. ASP.NET and HTTP Request/Response Programming HttpRequest Class HTTP Collections HttpResponse Class Redirection HttpUtility Class 4. Web Applications Using Visual Studio Using Visual Web Developer Visual Studio Forms Designer Using Components Shadow Copying Using the Global.asax File Data Binding 5. State Management and Web Applications Session State Application State Multithreading Issues Cookies ITCourseware, LLC Page 2
6. Server Controls HTML Server Controls Web Forms Server Controls Rich Controls Validation Controls User Controls 7. Caching in ASP.NET What Is Caching? Page-Level Caching Page Fragment Caching Optimizing Your ASP.NET Application Application Caching 8. ASP.NET Configuration and Security Fundamentals Configuration Overview Authentication and Authorization Forms Authentication Windows Authentication Security and ASP.NET 9. Debugging, Diagnostics and Error Handling Debugging Application Tracing Page Tracing Error Handling 10. More Server Controls Newer ASP.NET Controls Menus Master Pages 11. ADO.NET and LINQ ADO.NET Overview.NET Data Providers Connections Commands DataReaders and Connected Access Data Sets and Disconnected Access Language Integrated Query ITCourseware, LLC Page 3
12. Data Controls and Data Binding Data Source Controls Connection String Storage GridView DetailsView FormView Object Data Sources ListView DataPager Entity Data Model EntityDataSource 13. ASP.NET AJAX Rich Client Applications AJAX ScriptManager UpdatePanel AJAX Client Library Remote Method Calls 14. ASP.NET MVC Model-View-Controller Pattern What is ASP.NET MVC? ASP.NET MVC versus Web Forms ASP.NET MVC Projects in Visual Studio Controllers Action Methods and Routing Views Strongly-Typed Views Model Binding Validation 15. ASP.NET Web API Web API Representational State Transfer REST and Web API HTTP Services Using Web API Using Fiddler Web API Clients ITCourseware, LLC Page 4
16. ASP.NET and Azure What Is Windows Azure? A Windows Azure Testbed Deploying an Application to Azure Updating an Application on Azure Appendix A. Learning Resources Appendix B. Hosting in IIS 7.5 Installing IIS 7.5 IIS Manager ASP.NET with IIS 7.5 System Requirements Required software is Visual Studio 2017, which includes LocalDB, a lightweight version of SQL Server 2016 Express. The free Visual Studio Community 2017 may be used. The operating system should be Windows 7SP1 or more recent. The free Fiddler tool is also used. This can be downloaded from the Web. The last chapter requires a connection to the Internet and a Windows Azure account (a free trial account is available from Microsoft). See the course Setup Notes for details. A good minimal hardware profile for this course would have a 2 GHz or equivalent CPU, 4 GB of RAM, and at least 10 GB of free disk space for tools installation and courseware. ITCourseware, LLC Page 5