ClickOnce Deployment Seminar
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

ClickOnce Deployment Seminar

on

  • 2,072 views

 

Statistics

Views

Total Views
2,072
Views on SlideShare
2,068
Embed Views
4

Actions

Likes
0
Downloads
25
Comments
0

1 Embed 4

http://www.slideshare.net 4

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

ClickOnce Deployment Seminar Presentation Transcript

  • 1. ClickOnce Deployment ClickOnce deployment allows you to publish Windows-based applications to a Web server or network file share for simplified installation.
  • 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 "always-up-to-date" qualities of Web applications.
  • 3. Major Advantages of ClickOnce Deployment Comparison with Windows Installer
      • Whenever an application is updated, the user must reinstall the entire appln.
      • Applications often rely on shared components, with the potential for versioning conflicts
      • Requires administrative permissions and allows only limited user installation
    Windows Installer ClickOnce
      • You can provide updates automatically. Only those portions of the application that have changed are downloaded.
      • Each application is self-contained.
      • Allows non-administrative users to install and grants only those Code Access Security permissions necessary for the application.
  • 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. What is ClickOnce Application? Criteria of deployment
      • Windows Presentation Foundation.
      • Windows Forms.
      • Console applications.
    Type of Apps Deployment strategy
      • Install from the Web or a Network Share.
      • Install from a CD.
      • Start the application from the Web or a Network Share.
  • 6. Install from the Web or a Network Share - Default Strategy
  • 7.  
  • 8.  
  • 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
  • 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.    
  • 11. Approaches:
      • Windows authentication over HTTP(S).
      • Custom authentication designed into the application.
      • Passing query string parameters when launching the application (requires dynamic manifest generation with embedded user credentials for installed applications).
      • Custom client proxy and custom HTTP module authentication.
    identifying the individual user is a more common requirement, and harder to achieve...
  • 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
  • 13. IIS after deploying the website
  • 14. IIS Virtual Directory - Properties
  • 15. Copy the Executable path and click  OK
  • 16. Copy the Executable path. Enter the three extensions > .deploy > .application > .manifest
  • 17. In the Directory Security tab, Uncheck Anonymous access and OK
  • 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...
  • 19. Questions are Welcome!