Deployment Samples and Walkthroughs
This section contains sample applications, example code, and step-by-step walkthroughs that illustrate the syntax, structure, and techniques used to deploy Windows Forms, WPF, and console applications.
The sample code is intended for instructional purposes, and should not be used in deployed solutions without modifications. In particular, security must be taken into greater consideration.
For information about securing applications, see the following help topics:
Guides you through deploying an application to another computer.
Guides you through packaging a component in a merge module and then including the merge module in an installer.
Guides you through creating a custom action to send a user to a Web site following installation.
Guides you through creating a custom action to pass data entered during installation to a custom action that modifies a configuration file.
Guides you through creating a custom action to precompile an assembly after installation.
Guides you through creating a custom action to create a database during installation.
Demonstrates how to create a Web application that can be redirected to target a different XML Web service by using the URL Behavior property, an Installer class, and a Web Setup project.
Explains how to use .NET Framework utilities to deploy your ClickOnce application.
Demonstrates how to mark certain assemblies in your application as "optional," and how to download them using classes in the System.Deployment.Application namespace.
Explains how to download application assemblies only when they are first used by the application.