ClickOnce Deployment ClickOnce deployment allows you to publish Windows-based applications to a Web server or network file...
ClickOnce Deployment Overview   Definition:      ClickOnce is a deployment technology that allows you to create self-updat...
Major Advantages of ClickOnce Deployment Comparison with Windows Installer  <ul><ul><li>Whenever an application is updated...
ClickOnce Deployment Significance      In the past, these issues sometimes caused developers to decide to create Web appli...
What is ClickOnce Application? Criteria of deployment <ul><ul><li>Windows Presentation Foundation. </li></ul></ul><ul><ul>...
Install from the Web or a Network Share - Default Strategy
 
 
For installing the StatTicker, one needs to browse for the http address provided by the vendor. In the following example, ...
       Tracking   ClickOnce Application Usage      In order to track which users have installed or launched which applicat...
Approaches: <ul><ul><li>Windows authentication over HTTP(S). </li></ul></ul><ul><ul><li>Custom authentication designed int...
Using Windows Authentication You need to configure IIS to pass requests for .application, .manifest, and .deploy files to ...
IIS after deploying the website
IIS Virtual Directory - Properties
Copy the Executable path and click  OK
Copy the Executable path. Enter the three extensions  > .deploy > .application > .manifest
In the Directory Security tab,  Uncheck Anonymous access and OK
      Now, the application is ready to be accessed from anywhere in a Intranet.        The access permission can be contro...
Questions are Welcome!  
Upcoming SlideShare
Loading in …5
×

ClickOnce Deployment Seminar

1,628 views

Published on

Published in: Business, Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,628
On SlideShare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
28
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

ClickOnce Deployment Seminar

  1. 1. ClickOnce Deployment ClickOnce deployment allows you to publish Windows-based applications to a Web server or network file share for simplified installation.
  2. 2. ClickOnce Deployment Overview  Definition:      ClickOnce is a deployment technology that allows you to create self-updating Windows-based applications that can be installed and run with minimal user interaction.   ClickOnce auto-updating technology can radically simplify application deployment. Using it, .NET developers and architects can deliver highly interactive desktop applications while gaining the centralized maintainability and &quot;always-up-to-date&quot; qualities of Web applications.
  3. 3. Major Advantages of ClickOnce Deployment Comparison with Windows Installer <ul><ul><li>Whenever an application is updated, the user must reinstall the entire appln. </li></ul></ul><ul><ul><li>Applications often rely on shared components, with the potential for versioning conflicts </li></ul></ul><ul><ul><li>Requires administrative permissions and allows only limited user installation </li></ul></ul>Windows Installer ClickOnce <ul><ul><li>You can provide updates automatically. Only those portions of the application that have changed are downloaded. </li></ul></ul><ul><ul><li>Each application is self-contained. </li></ul></ul><ul><ul><li>Allows non-administrative users to install and grants only those Code Access Security permissions necessary for the application. </li></ul></ul>
  4. 4. ClickOnce Deployment Significance      In the past, these issues sometimes caused developers to decide to create Web applications rather than Windows-based applications, sacrificing the rich user interface and responsiveness of Windows Forms for ease of installation. With applications deployed using ClickOnce, you can have the best of both technologies.
  5. 5. What is ClickOnce Application? Criteria of deployment <ul><ul><li>Windows Presentation Foundation. </li></ul></ul><ul><ul><li>Windows Forms. </li></ul></ul><ul><ul><li>Console applications. </li></ul></ul>Type of Apps Deployment strategy <ul><ul><li>Install from the Web or a Network Share. </li></ul></ul><ul><ul><li>Install from a CD. </li></ul></ul><ul><ul><li>Start the application from the Web or a Network Share. </li></ul></ul>
  6. 6. Install from the Web or a Network Share - Default Strategy
  7. 9. For installing the StatTicker, one needs to browse for the http address provided by the vendor. In the following example, the software resides in the below given address: http://192.168.100.51/MyApplications/publish.htm
  8. 10.        Tracking ClickOnce Application Usage      In order to track which users have installed or launched which applications from the server side, you need to authenticate the user's identity and to detect and intercept file download requests.       There are no built-in mechanisms with ClickOnce to determine which users are trying to deploy your applications, but there are a number of approaches you can employ to obtain this information.    
  9. 11. Approaches: <ul><ul><li>Windows authentication over HTTP(S). </li></ul></ul><ul><ul><li>Custom authentication designed into the application. </li></ul></ul><ul><ul><li>Passing query string parameters when launching the application (requires dynamic manifest generation with embedded user credentials for installed applications). </li></ul></ul><ul><ul><li>Custom client proxy and custom HTTP module authentication. </li></ul></ul>identifying the individual user is a more common requirement, and harder to achieve...
  10. 12. Using Windows Authentication You need to configure IIS to pass requests for .application, .manifest, and .deploy files to ASP.NET instead of servicing those directly in IIS. You also want to turn off anonymous access to the site, and only allow Integrated Windows Authentication control. The following screens shows how to enable the Tracing Windows authentication in the IIS 5.0
  11. 13. IIS after deploying the website
  12. 14. IIS Virtual Directory - Properties
  13. 15. Copy the Executable path and click  OK
  14. 16. Copy the Executable path. Enter the three extensions > .deploy > .application > .manifest
  15. 17. In the Directory Security tab, Uncheck Anonymous access and OK
  16. 18.      Now, the application is ready to be accessed from anywhere in a Intranet.        The access permission can be controlled by the admin of the network.        The Logger logs the informations about which user installs/Updates the application and so on...
  17. 19. Questions are Welcome!  

×