Presentation is loading. Please wait.

Presentation is loading. Please wait.

DEV325 Deploying Visual Studio.NET Applications Billy Hollis Author / Consultant.

Similar presentations


Presentation on theme: "DEV325 Deploying Visual Studio.NET Applications Billy Hollis Author / Consultant."— Presentation transcript:

1 DEV325 Deploying Visual Studio.NET Applications Billy Hollis Author / Consultant

2 Agenda Summary of deployment improvements in.NET Deployment projects for web-based systems Deployment choices for client systems How to choose the right deployment option for client systems Dynamic Properties Deploying to the Global Application Cache (GAC)

3 What we will not talk about Installing the.NET Framework See session DEV396 – “Microsoft Windows Forms No-Touch Deployment Tips and Tricks”, Thursday, 11:45-13:00 For the remainder of this session, we will assume the.NET Framework is installed on all target systems Details of no-touch deployment DEV395 yesterday covered this

4 Deployment Improvements in.NET No registration means “copy and run” Side-by-side eliminates DLL Hell Built in capabilities to assist in deployment Deployment projects in Visual Studio Configuration files and dynamic properties “No-touch” Internet deployment

5 Server Demo App Architecture WebServiceASP.NET Database (SQL 2000) Client WinformClientVB.NET COMVB6

6 Deployment Projects for Web- Based Systems Best option for most server-based systems with web component is a “Web Setup Project” in the “Setup and Deployment Projects” folder Appropriate for ASP.NET Web Forms and Web Services

7 Deployment Project for Demo App Server Elements demo demo

8 Deployment Choices for Client Systems Copy and run Run from read-only media (CDROM, DVD) Shared network drive “No-touch” deployment over the Internet Deployment project Application Updater blocks Custom solution

9 Copy and Run Deployment “Just like DOS” “Zero-impact” if done properly Uninstall by deleting directory Suitable for small, simple, static applications May be a part of a more complex deployment No security restrictions

10 Read-Only Media Run straight from read-only media CDROM DVD Useful for data-browsing programs Place program on CD with data No separate install necessary Can just Autorun the program No security restrictions

11 Deploy from Shared Network Drive Simple – easy to manage Just update files and assemblies in one place Appropriate for some smart-client corporate applications Security sandbox Limitations on web access, windowing, printing Suitable for applications that are: Relatively small Widely used, but not heavily used

12 Internet deployment Also called “No touch” deployment Many security limitations Must download modules every time they are executed to check version Does not handle anything except assemblies (e.g. configuration files) Suitable only for very simple applications

13 Limitations for Internet Deployment – the ChalkTalk program demo demo

14 Modifying Security Policy Both shared network drive and Internet deployment scenarios Change security policy with configuration tool in Control Panel Can package and distribute security policy in MSI file More details in session DEV396

15 Changing and deploying security policy demo demo

16 Deployment Projects for Smart Clients Replaces “Setup Wizard” in VB6 Creates MSI file Similar to web setup project shown earlier Brief demonstration

17 Application Updater Blocks Allow dynamic updating of client applications from deployment directory on server Details in DEV396 Good replacement for no-touch deployment for more complex applications

18 Custom deployment solutions Not hard to create Typically include: Deployment directory on server Capability to check for new versions Automatic download of new versions once detected (file copy / FTP / etc.) Configurability to different groups of users Suitable for complex applications and custom situations An example is available on my web site

19 Dynamic Properties Useful way to customize settings for client applications Visual Studio IDE makes it easy Settings stored in application configuration file

20 Dynamic Properties demo demo

21 Deploying to the Global Application Cache Only do it if you really need to Shared assemblies Assemblies must have strong name Installing to GAC does not make assembly show up in Visual Studio References dialog That takes a separate step

22 Deploying to the Global Application Cache demo demo

23 Summary Decide on deployment early in the development cycle Choose deployment option based on the type of application you have Become familiar with the options available Don’t be afraid to write a custom deployment solution

24 Ask The Experts Get Your Questions Answered Billy will be in the Ask the Experts booth Wednesday afternoon from 2:00 to 4:00

25 Community Resources http://www.microsoft.com/communities/default.mspx Most Valuable Professional (MVP) http://www.mvp.support.microsoft.com/ Newsgroups Converse online with Microsoft Newsgroups, including Worldwide http://www.microsoft.com/communities/newsgroups/default.mspx User Groups Meet and learn with your peers http://www.microsoft.com/communities/usergroups/default.mspx Billy’s Web Site http://www.dotnetmasters.com

26 evaluations evaluations

27 SOFTWARE LEGEND Billy Hollis THURSDAY 3rd JULY at 16.15-16.45 hrs Meet the Authors Book signing

28 © 2003 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.


Download ppt "DEV325 Deploying Visual Studio.NET Applications Billy Hollis Author / Consultant."

Similar presentations


Ads by Google