Visual Studio 2010 and .NET Framework 4 Training Workshop

Slides:



Advertisements
Similar presentations
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Advertisements

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Feature: Reprint Outstanding Transactions Report © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
Feature: Purchase Requisitions - Requester © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
MIX 09 4/15/ :14 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Feature: Payroll and HR Enhancements © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
Co- location Mass Market Managed Hosting ISV Hosting.
Windows 7 Training. Windows ® 7 Compatibility Installer Detection.
Windows 7 Training Microsoft Confidential. Windows ® 7 Compatibility Version Checking.
Feature: Purchase Order Prepayments II © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Feature: OLE Notes Migration Utility
Feature: Web Client Keyboard Shortcuts © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Feature: SmartList Usability Enhancements © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Multiple Framework Targeting Split View CSS Task Panes.
Session 1.
Built by Developers for Developers…. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
 Rico Mariani Architect Microsoft Corporation.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Assign an Item to Multiple Sites © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
 Vishal R. Joshi Program Manager Microsoft Corporation PC33.
WinHEC /22/2017 © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Connect with life Connect with life
NEXT: Overview – Sharing skills & code.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Document Attachment –Replace OLE Notes © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
Feature: Customer Combiner and Modifier © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
SQL Server SQL Azure Visual Studio“Quadrant” SQL Server Modeling Services Entity Framework ADO.NET“M”/EDM Data Services …
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
Visual Studio 2010 and.NET Framework 4 Training Workshop.
demo Instance AInstance B Read “7” Write “8”

customer.
demo © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
demo Demo.
demo QueryForeign KeyInstance /sm:body()/x:Order/x:Delivery/y:TrackingId1Z
Feature: Suggested Item Enhancements – Analysis and Assignment © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and.
projekt202 © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
The CLR CoreCLRCoreCLR © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks.
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.

Возможности Excel 2010, о которых следует знать
Title of Presentation 11/22/2018 3:34 PM
11/21/2018 1:44 AM Анархическое декларативное программирование WEB сайтов с использованием языков XML и XSL Александр Червяк Руководитель группы компьютерного.
Baseline: How Are We Doing Now?
Title of Presentation 12/2/2018 3:48 PM
Tech·Ed North America /2/2019 4:47 PM
1/3/2019 1:21 PM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Title of your Project (do not use words: project and math)
Create rich, data-driven Web apps with ASP.NET 4.5 Web Forms
8/04/2019 9:13 PM © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
4/27/17, Bell #8 What amount of net pay has been earned this period?
Виктор Хаджийски Катедра “Металургия на желязото и металолеене”
WINDOWS AZURE A LAP AROUND PLATFORM THE Steve Marx
PENSACOLA ENERGY WORK PLAN OCTOBER 10, 2016
Jason Zander Unplugged
5/1/2019 3:29 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Title of Presentation 5/12/ :53 PM
Шитманов Дархан Қаражанұлы Тарих пәнінің
Title of Presentation 5/24/2019 1:26 PM
5/24/2019 6:44 PM 1/8/18 Bell #10 In a world governed by the gods, is there any room for human will? Do human choices make a difference? EXPLAIN © 2007.
日本初公開!? Vista の新機能を実演 とっちゃん わんくま同盟 7/23/2019 9:09 AM
Title of Presentation 7/24/2019 8:53 PM
What’s New in Visual Studio 2012 for Web Developers
利用IIS部署與維護 SOA應用程式的技巧
Presentation transcript:

Visual Studio 2010 and .NET Framework 4 Training Workshop

Presentation Outline (hidden slide): Technical Level: 300 Intended Audience: Developers & Architects Objectives (what do you want the audience to take away): Understand Web Deployment improvements coming to Visual Studio 2010 Presentation Outline: Review configuration in ASP.NET and IIS Transforming settings in web.config Packaging applications for deployment Deploying packages to IIS Once-click Deployment

Web Deployment With Visual Studio 2010 Name Title Organization Email ESTIMATED TIME: 45 minutes

Agenda Review configuration in ASP.NET and IIS Transforming settings in web.config Packaging applications for deployment Deploying packages to IIS Once-click Deployment

ASP.NET and IIS Configuration Configuration stored in XML files validated by a schema. Schema Schema describes configuration settings for IIS, ASP.NET and 3rd party applications. Validation applicationHost.config Central configuration file for the server contains system wide configuration settings. web.config web.config Distributed configuration files contain overrides and local site and application settings.

Review configuration in ASP.NET and IIS

Web Deployment Today Multiple environments including Development, Testing, Staging and Production Must manage settings for each environment Difficult to keep environments consistent Applications often need to be deployed by someone else Need to package code, data, application settings and environment configuration for easier deployment

What are the components, settings, etc you have to deploy with your web application?

Managing Settings Need consistent configuration with customizations across deployment environments Having multiple web.config files introduces inconsistencies Web.config transformations allows one master web.config with specific customizations for target environments

How it Transformation Works Web. config Web. Staging. config <appSettings> <add key="EnvironmentName" value="Staging" xdt:Transform="SetAttributes(value)" xdt:Locator="Match(key)" /> </appSettings> <connectionStrings> <add name="LoggingConnectionString" connectionString=“connection" providerName="System.Data.SqlClient" xdt:Transform="Replace" xdt:Locator="Match(name)" /> </connectionStrings> Deployed Web. config Visual Studio Transformation

Web.Config Transformation 9/29/2017 11:55 AM Web.Config Transformation Transform Description xdt:Transform=“Replace” Replaces the first matched node xdt:Transform=“Remove” Removes the first matched node xdt:Transform=“RemoveAll” Removes all the matching nodes xdt:Transform=“Insert” Inserts the node at the end xdt:Transform=“SetAttributes(attributeNames)” Creates or changes values of the existing attributes xdt:Transform=“RemoveAttributes(attributeNames)” Removes the attributes if they exist xdt:Transform=“InsertBefore(XPath)” Inserts the node on the provided Xpath xdt:Transform=“InsertAfter(XPath)” Inserts the node on the provided XPath © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Web.Config Transformation Locators 9/29/2017 11:55 AM Web.Config Transformation Locators Locator Description xdt:Locator=“Match(attributeName)” Can accept comma seperated names of the attributes xdt:Locator=“Condition(xPath Predicate)” Can take any Xpath predicates like xdt:Locator="Condition(@name=’Northwind’ or @providerName=’ System.Data.SqlClient’)" xdt:Locator=“Xpath(/configuration/…)” Can take any complicated Xpath like "XPath(//system.web)" © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Synchronize, Migrate, Deploy MS Deploy Synchronize, Migrate, Deploy Works with IIS 6.0 and IIS 7.0 Analyze the destination environment Do a –whatif Analysis before committing operation Includes a service for deploying applications remotely Integration Integrated with Powershell Integrated in Visual Studio 2010 Compatible with Web Platform Installer

Integration with Visual Studio 2010

One-click Deployment Leverages everything we’ve seen so far Wraps multiple steps into a single click

Making Deployment Easier