.NET deployment and configuration (but mostly about security) Jørgen Thyme Microsoft Denmark.

Slides:



Advertisements
Similar presentations
Auditing Microsoft Active Directory
Advertisements

Using.NET Platform Note: Most of the material of these slides have been taken & extended from Nakov’s excellent overview for.NET framework, MSDN and wikipedia.
Building Localized Applications with Microsoft.NET Framework and Visual Studio.NET Achim Ruopp International Program Manager Microsoft Corp.
Module 4: Deploying and Managing BizTalk Applications
Module 5: Creating and Configuring Group Policy
Deployment Your Salvation from DLL Hell. Objectives Overview Assemblies „XCopy“ Deployment Configuration Administration.
Create Windows ® Applications with.NET Allan Knudsen.NET Developer Evangelist Microsoft.
Introducing the Common Language Runtime for.NET. The Common Language Runtime The Common Language Runtime (CLR) The Common Language Runtime (CLR) –Execution.
Assembly Where it all gets physical. Objectives Introduce concepts of assemblies Discuss elements of assemblies Show how to build assemblies Runtime aspects.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 10: Server Administration.
ASP.Net Security: Fundamentals Chapters 1-4 Freeman and Jones Book.
Software Distribution in Microsoft System Center Configuration Manager v.Next: Part 1.
How To Keep Up With Security Patches Eric Schultze Security Strategies Microsoft.
1 ClickOnce: Advanced Topics in Web Based Application Deployment for Windows Forms and Avalon Jamie Cool Program Manager Microsoft Corporation Jamie Cool.
Advanced Deployment Topics – MSI Enhancements Om Sharma Program Manager, Windows Installer Microsoft Corporation.
Deploying and Managing Software by Using Group Policy.
Configuring the Windows 2000 Environment. Overview Configuring and Managing Hardware Configuring Display Options Configuring System Settings Configuring.
A Free sample background from © 2001 By Default!Slide 1.NET Overview BY: Pinkesh Desai.
Smart Client Applications for Developers Davin Mickelson, MCT, MCSD New Horizons of MN.
.NET Framework Introduction: Metadata
Microsoft Installer Technologies and patch management approaches.
1 Namespaces and Assemblies © University of Linz, Institute for System Software, 2004 published under the Microsoft Curriculum License.
DEV343.NET Application and Library Versioning Juval Löwy
.NET Framework & C#.
Understanding Code Compilation and Deployment Lesson 4.
Importing outside DLLs into.Net platform and using them By Anupama Atmakur.
Technology Overview. Agenda What’s New and Better in Windows Server 2003? Why Upgrade to Windows Server 2003 ?  From Windows NT 4.0  From Windows 2000.
Presenter: PhuongNQK. Goals Provide you insights into core concepts of.NET framework  Assembly  Application domain  MSIL.
ASSEMBLY. A SSEMBLY Assemblies are the fundamental units of applications in the.net framework An assembly can contain classes, structures, interfaces.
ASSEMBLIES AND THE GAC CHAPTER 1, LESSONS 4-7 & LAB.
Agenda Assemblies 101 Anatomy of an Assembly What is Metadata? Assembly Variations Signing Assemblies Global Assembly Cache.
Managing User Desktops with Group Policy
CN1176 Computer Support Kemtis Kunanuraksapong MSIS with Distinction MCT, MCTS, MCDST, MCP, A+
Component-Based Software Engineering Introduction to.NET Paul Krause.
.NET Framework Danish Sami UG Lead.NetFoundry
DEV325 Deploying Visual Studio.NET Applications Billy Hollis Author / Consultant.
BASIC FUNCTIONALITY. Page 2 Agenda Main topics Policy Manager Communication Understanding communication Information flow Communication modules F-Secure.
Performing Software Installation with Group Policy Lesson 9.
1 Chapter Overview Publishing Resources in Active Directory Service Redirecting Folders Using Group Policies Deploying Applications Using Group Policies.
Module 7: Managing the User Environment by Using Group Policy.
WINDOWS XP PROFESSIONAL AUTOMATING THE WINDOWS XP INSTALLATION Bilal Munir Mughal Chapter-2 1.
EHR Deployment Network Share Setup Updater Service Deployment
Deploy.NET Applications with Ease Brian Noyes IDesign, Inc.
tom perkins1 XML Web Services -.NET FRAMEWORK – Part 1 CHAPTER 1.1 – 1.3.
.NetDeploymentNOEA / PQC 2005 Application Deployment and Versioning Source: Joe Hummel, kursus i.Net, jan
AUC Technologies Projects Consulting, Development, Mentoring, and Training Company.NET Assemblies Presented By : Muhammad Atif Hussain Deputy Manager IT.
Module 1: Getting Started. Introduction to.NET and the.NET Framework Exploring Visual Studio.NET Creating a Windows Application Project Overview Use Visual.
Module 6: Deploying and Managing Software by Using Group Policy.
.NET Ying Chen Junwei Chen. What is Microsoft.NET. NET is a development platform Incorporated into.NET COM+ component services ASP web development framework.
Deploying Software with Group Policy Chapter Twelve.
1. The .NET Architecture 1. The .NET Architecture 2003
DEV395 No Touch Deployment for Windows Forms Jamie Cool Program Manager.NET Client Microsoft Corporation.
Module 4: Deployment and Versioning. Overview Introduction to Application Deployment Application Deployment Scenarios Related Topics and Tools.
Text Introduction to.NET Framework. CONFIDENTIAL Agenda .NET Training – Purpose  What is.NET?  Why.NET?  Advantages  Architecture  Components: CLR,
Assemblies. 2 Objectives Introduce assemblies –concept –creation –naming Discuss deployment –main.exe –dependent assemblies.
METADATA IN.NET Presented By Sukumar Manduva. INTRODUCTION  What is Metadata ? Metadata is a binary information which contains the complete description.
ClickOnce Deployment (One-click Deployment)
Lecture 1: The .NET Architecture
Packaging and Deploying Windows Applications
An Introduction to the Shared Source Common Language Infrastructure (SSCLI) Damien Watkins Copyright Watkins 2002.
Chapter 9 S. NandaGopalan, BIT
Business Connectivity Services in SharePoint 2010 and Office 2010
.Net A brief introduction to
Visual Studio Tools for Office 2005
Smart Client Deployment With Microsoft® Windows® Forms
.NET and .NET Core 2. .NET Runtimes Pan Wuming 2017.
Module 1: Getting Started
Chapter 10: Supporting and Maintaining Desktop Applications
Module 11: Application Settings and Deployment
ClickOnce Deployment (One-click Deployment)
Presentation transcript:

.NET deployment and configuration (but mostly about security) Jørgen Thyme Microsoft Denmark

Agenda What’s an application? What’s an application? Building and Packaging Building and Packaging Deploying and Administering Deploying and Administering Sharing and Culture Sharing and Culture

Common Language Runtime Applications One or more assemblies One or more assemblies Assemblies resolution Assemblies resolution  Using metadata  Local (preferred)  Assembly Global Cache Different applications may use different versions of an assembly Different applications may use different versions of an assembly  Easier software updates  Easier software removal

Applications overview A lot of options Rich client Rich client  Remember.NET Framework distributable!  Traditionel desktop  Controls (via IE) – no more ActiveX  Via (IE) aka No Touch Deployment Thin clients Thin clients  Web applications  Web services  Mobile web applications PDA’er – compact framework PDA’er – compact framework

Agenda What’s an application? What’s an application? Building and Packaging Building and Packaging Deploying and Administering Deploying and Administering Sharing and Culture Sharing and Culture

Building and Packaging Assemblies - review CLR Header Metadata MSILManagedcode APP.EXE

Building and Packaging Building Types Into An Assembly RUT.cs method’s compiled MSIL Metadata RUT.cs defined types, methods… RUT.cs referenced types, methods… RUT.mod (using Compiler) FUT.cs method’s compiled MSIL Metadata FUT.cs defined types, methods… FUT.cs referenced types, methods… Types.dll (using Compiler) Manifest Assembly files (self & RUT.mod) Exported types (self & RUT.mod)

Building and Packaging Building Types Into An Assembly RUT.cs method’s compiled MSIL Metadata RUT.cs defined types, methods… RUT.cs referenced types, methods… RUT.mod (using Compiler) FUT.cs method’s compiled MSIL Metadata FUT.cs defined types, methods… FUT.cs referenced types, methods… FUT.mod (using Compiler) (No MSIL) Metadata Types.dll (using Assembly Linker) Manifest Assembly files (FUT.mod & RUT.mod) Exported types (FUT.mod & RUT.mod)

Agenda What’s an application? What’s an application? Building and Packaging Building and Packaging Deploying and Administering Deploying and Administering Sharing and Culture Sharing and Culture

Deploying and Administering Simple Application Deployment Simple Deployment: Simple Deployment:  File copy using batch file setup  No modifications to registry or Active Directory  To uninstall the application, simply delete all the files Other Deployment Methods: Other Deployment Methods: .CAB .MSI

Using Configuation File Using Configuation File  An XML file  A file with.exe.config extension Deploying and Administering Simple Administrative Control AppDir\ {application’s assembly files} AuxFiles\ {Types’sassembly files}

Deploying and Administering Configuration File

Deploying and Administering Smart Application Deployment Smart Deployment: Smart Deployment:  “Return of the Winform!”  Still no modifications to registry or Active Directory  Using the web  Components  Windows Forms applications – ”No Touch Install”

Demonstration ”Return of the Win Form”

Agenda What’s an application? What’s an application? Building and Packaging Building and Packaging Deploying and Administering Deploying and Administering Sharing and Culture Sharing and Culture

Sharing and Culture Shared Assemblies What Is It? What Is It?  Specifically designed for use by multiple applications  Structurally identical to private assemblies  Must be placed in a specific location – Global Assembly Cache (GAC) <%WINDIR%>\Assembly  Must be registered using AL.EXE or GACUTIL.EXE

Sharing and Culture Strongly Name Assemblies MSIL Metadata Calculus.dll Public Key PE File Manifest Public Key RSA Digital Signature Hash File RSA Digital Signature Hash PE File Signed with private key

Demonstration Shared Assembly Shared Assembly Properties

Sharing and Culture Version Numbers What Is Versioning All About? What Is Versioning All About?  Runtime only applies version policy to strongly named assemblies  Runtime uses whatever private assemblies it can find, regardless of its version information Example Example major.minor.build.revision

Sharing and Culture Culture What is Culture? What is Culture?  Used to develop similar assemblies for different languages  Identified via a string that contains a primary and secondary tag  If no culture string is explicitly assigned, the assembly is considered “Culture- Neutral” Example Example // Set assembly's culture to Swiss German [assembly:AssemblyCulture("de-ch")]

Sharing and Culture Side-By-Side Execution App.exe AssemblyRef 1: Name: Calculus.dll Name: Calculus.dll Version: Version: Culture: “” Culture: “” PublicKeyToken: 22acab57c8682eac PublicKeyToken: 22acab57c8682eac AssemblyRef 2: Name: AdvMath.dll (private assembly) Name: AdvMath.dll (private assembly) Calculus.dllAssemblyDef: Version: Version: Culture: “” Culture: “” PublicKey: 22acab57c8682eac PublicKey: 22acab57c8682eac AdvMath.dll AssemblyRef 1: Name: Calculus.dll Name: Calculus.dll Version: Version: Culture: “” Culture: “” PublicKeyToken: d3a4ae33 PublicKeyToken: d3a4ae33 Calculus.dllAssemblyDef: Version: Version: Culture: “” Culture: “” PublicKey: d3a4ae33 PublicKey: d3a4ae33

Discussion