Duration: 5 Days
Technology: Visual Studio
Delivery Method: Instructor-Led (in-class & virtual)
Software Assurance Value:
This five-day instructor-led course provides the knowledge and skills to develop web applications by using Microsoft Visual Studio and WebMatrix 2. The course introduces the Microsoft web stack and shows how to use WebMatrix 2 to develop web applications. The course will help students understand how start with basic web development concepts, and how to use existing applications from the Application Gallery. The course will describe basic web development, including CSS, plug-ins, scripting, basic data access, and application hosting. The course will also describe how to use Windows Azure for application hosting, and how to move beyond WebMatrix 2 into Visual Studio.
This course is intended for web developers who are beginners and have some knowledge of HTML. These web developers create sites for a range of different customer and companies, often by observing and re-purposing existing HTML pages, styles, and scripts. They work primarily with static webpages and in-line formatting. They do not often work in a team and use an ISV to host most of their customers’ sites.
Typically, these web developers:
Module 1: Overview of Microsoft Web Technologies
The goal of this module is to provide an overview of web technologies provided by Microsoft for creating and hosting web applications. These web technologies include IIS, Windows Azure, SQL Server, SQL Database, ASP.NET, WebMatrix 2, and Visual Studio. After completing this module, students will have a high-level understanding of each technology and how it fits into the overall web stack, but they may not be able to provide detailed information.
Lab : Creating a Website in Windows Azure
After completing this module, students will be able to:
Module 2: Exploring WebMatrix 2The goal of this module is to encourage students to adopt modern best practices in the way they organize a web application project. For example, they should understand the importance of planning an application in full, before they write any code. In addition, this module describes the high-level features of WebMatrix 2.
Lab : Exploring WebMatrix 2
Module 3: Building Simple Websites in WebMatrix 2The goal of this module is to show the students how to begin creating a simple website in WebMatrix 2 and how to populate it with webpages that use the Razor view engine to render pages.
Lab : Building Simple Websites in WebMatrix 2
Module 4: Building Data-Driven Websites in WebMatrix 2The goal of this module is to introduce the students to the advantages of using a database to persist any data you may want to display on your website. The module introduces simple database concepts such as primary keys and data types. It also teaches how to add databases in WebMatrix 2 by using SQL Compact edition. Following this, the module shows how to add code to a Razor view to display the data that is stored in the SQL Compact database.
Lab : Building Data-Driven Websites in WebMatrix 2
Module 5: Adding Rich Content to WebMatrix 2 WebsitesThe goal of this module is to describe how to build a compelling website by including media content. The students will learn how to display audio, video, and images both by using HTML5 and by using earlier standards. In the lab, images will be retrieved from a database and videos will be retrieved from a website folder.
Lab : Adding Rich Content to WebMatrix 2 Websites
Module 6: Designing the WebMatrix 2 WebsiteThe goal of this module is to describe how professional developers apply branding, graphic design, and a consistent layout to a website. This is essential to create a good impression for site visitors and to attract them back for return visits. The module also discusses the importance of a clear navigation structure that enables visitors to locate the page they need rapidly.
Lab : Designing the WebMatrix 2 Website
Module 7: Deploying a WebMatrix 2 Web ApplicationsThe goal of this module is to describe how a website is hosted for customer-facing purposes. The module discusses IIS web servers running on client premises and at ISVs and in single and multi-server farms. Windows Azure is also covered as a website host. The location data is stored for a production site is also considered. In this context, SQL Server and SQL Database are discussed. The students are then told about WebMatrix 2 Remote tools, which can ensure synchronization between the development and production versions of a site.
Lab : Deploying a WebMatrix 2 Web Application
Module 8: Troubleshooting WebMatrix 2 WebsitesThe goal of this module is to equip students with techniques they can use for diagnosis and correction when exceptions and web error messages appear in their site. The tools covered include the developer tools in Internet Explorer and the Error List and Request tools in WebMatrix 2. Students also see how to configure their site to display a custom error page to site visitors, with a friendly, branded message.
Lab : Troubleshooting WebMatrix 2 Websites
Module 9: Consuming Services and Data from the WebThe goal of this module is to describe the many services available on the web that provide data in different formats, which may be of use to your web application. This module focuses on writing code that calls such services, and not on reusing open source components that call such services. Students will see example web services, data sets from the Windows Azure Marketplace, and oData feeds. They will learn how to reuse such data and assemble it into mash-ups.
Lab : Consuming Data and Services from the Web
Module 10: Enriching a WebMatrix 2 Website by Using Open Source ComponentsThe goal of this module is to show the students that many highly functional open source packages are available within WebMatrix 2 through the NuGet tool. Developers can add, adapt, and use these packages in their application to implement advanced functionality without coding it from scratch. This approach can hugely accelerate the development of a web project.
Lab : Enriching a WebMatrix 2 Website by Using Open Source Components
Module 11: Securing a WebMatrix 2 WebsiteThe goal of this module is to ensure that students fully understand common techniques an attacker might use to break a website and how to protect sites against such attacks. The module also describes how websites can authenticate a user to determine if they should receive a higher level of access to content. Students will learn how to enable users to manage their own passwords and how to create multiple user roles.
Lab : Securing a WebMatrix 2 Website
Lab : Building Responsive Pages
Module 13: Driving Traffic to a WebMatrix 2 WebsiteThe goal of this module is to equip the students with techniques to increase the number of visitors who access a published site. The module begins by discussing how to analyze and understand who visits your site, when they visit, and what pages interest them. The behavior of search engine web bots is discussed and students learn how to ensure that their site is fully crawled and close to the top of search engine results. Finally, locations at which you can advertise your sites are discussed.
Lab : Driving Traffic to a WebMatrix 2 Website
After completing this module, students will be able to:analyze the user traffic visiting a public website and optimize the site to appear close to the top of search engine results.
Module 14: Customizing an Application from the WebMatrix 2 GalleryThe goal of this module is to show students that they need not rule out an application from the WebMatrix 2 gallery because it does not satisfy all the requirements a customer specifies. Instead, a developer can use an application as a starting point that meets a majority of customer requirements. Any gaps can be filled by adding extra pages and other custom features to the application.
Lab : Customizing an Application from the WebMatrix 2 Gallery
Module 15: Transitioning from WebMatrix 2 to Visual StudioThe goal of this module is to describe to the students why professional developers use Visual Studio as their principal Integrated Development Environment (IDE). Students will see the advanced features of the ASP.NET Web Forms programming model, which requires Visual Studio, and also see some details of ASP.NET MVC. Students also see the advanced debugging tools Visual Studio includes and understand how these accelerate code development, testing and troubleshooting. They will see how to add Web Forms pages into existing ASP.NET applications.
Lab : Transitioning from WebMatrix 2 to Visual Studio