For Developers Martin Parry Developer and Platform Group Microsoft

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.
Windows 8 (1) (2) (3) Windows 8 (1) (2) (3)
Feature: Identity Management - Login © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are 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.
.NET Framework V3.5+ & RESTful web services Mike Taulty Developer & Platform Group Microsoft Ltd
IIS v7.0 Martin Parry Developer & Platform Group Microsoft Limited
Eben de Wit Developer Advisor Microsoft
Co- location Mass Market Managed Hosting ISV Hosting.
What’s new for Rich Clients? Martin Parry Developer & Platform Group Microsoft Ltd
Configuring PHP on IIS7 Making your application rock on IIS7 Taking advantage of the Windows platform Q&A at Open Space.
Feature: Purchase Order Prepayments II © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
var site="s15gizmodo" var site="s15gizmodo"
 Vijay Sen Senior Program Manager Microsoft Corporation ES14.
Saad Ladki Program Manager Microsoft Corporation WUX403.
IIS, Tools And Extensibility Madhur Joshi Development Lead Phone:
Feature: Web Client Keyboard Shortcuts © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
vdir2 Web. config Echo. svc A A B B C C vdir2 vdir1.
Session 1.
Componentized server Pluggable modular functionality Small generic request pipeline Enables Lightweight servers Custom / specialized servers.
Built by Developers for Developers…. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
CON 307 Developing Manageable WCF Services Chris Peiris | Avanade Rory Primrose | Avanade
Feature: Assign an Item to Multiple Sites © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Christopher Chapman | MCT Content PM, Microsoft Learning, PDG Planning, Microsoft.
Datacenter X Datacenter Y ….com Contoso.com Exchange Labs ACME.com Ops NK App user Finance HR Sales Purchase Fabrikam Enterprises.
Feature: Print Remaining Documents © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
Connect with life Connect with life
© 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: Suggested Item Enhancements – Sales Script and Additional Information © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows.
Feature: Customer Combiner and Modifier © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Azure Services Platform Update James Conard Sr. Director Developer & Platform Evangelism Microsoft Corporation.
Reset and Recycle IIS Reset Application Pool Management Error Codes New HTTP Sub-status codes Custom/Detailed Errors Tracing in IIS7 and.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.

customer.
demo © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Browser Identity Provider Access Control Application.
Connect with life Vedant Kulshreshtha Technology Solutions Professional – SharePoint | Microsoft India
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.
Windows Azure SQL Data Sync Name Title Microsoft Corporation.
projekt202 © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks.
Introduction to.NET FX 3.0 (+ sneak preview of.NET FX 3.5) Martin Parry Developer & Platform Group Microsoft Ltd
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
ADatum Assets ADatum REST Web Svc ADatum REST Web Svc.

Building More Powerful ASP.NET Applications with IIS7 Michael Volodarsky COM303 Program Manager Microsoft Corporation.
Introduction to Windows Azure AppFabric
Возможности Excel 2010, о которых следует знать
SharePoint Online Management and Control
IIS v7.0 Martin Parry Developer & Platform Group Microsoft Limited
for Developers Martin Parry Developer and Platform Group Microsoft
2/27/2019 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
Developing for Windows Azure
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.
Виктор Хаджийски Катедра “Металургия на желязото и металолеене”
Distributed Applications on Windows Vista
Шитманов Дархан Қаражанұлы Тарих пәнінің
07 | Introduction to Authentication
日本初公開!? Vista の新機能を実演 とっちゃん わんくま同盟 7/23/2019 9:09 AM
Getting Started with Team Foundation Service
Presentation transcript:

for Developers Martin Parry Developer and Platform Group Microsoft

Agenda Top 7 Ways To “Light Up” Your Apps on Windows Server 2008 Part 1 emphasis on IIS7, PowerShell Part 2 emphasis on WER, Restart and Recovery APIs, TxF

The Top 7 Ways… Part 1 1.Build More Flexible Web Applications 2.Design Highly-Manageable Applications 3.Develop Federation-Aware Applications 4.Build Connected Systems 5.Build For Scalability 6.Virtualize 7.Develop More Reliable Applications

1. Build More Flexible Web Apps

IIS 7.0 Introduction Client version shipped with Windows Vista Limited throughput Server version will ship with WS2008 Currently available in RC form More features than client

IIS 6.0 Architecture

IIS 7.0 Architecture

Windows Process Activation Service Manages configuration What used to be the metabase Responsible for starting worker processes... w3wp.exe...and routing incoming requests to the appropriate worker process Also hosts the new listener adapter interface You can build your own listeners for WAS

IIS 6.0 Request Pipeline

IIS pipeline extensible using ISAPI Native code Can apply to all requests ASP.NET pipeline extensible using IHttpModule Managed code Can only apply to requests routed via ASP.NET Certain pipeline elements are “always there” IIS authentication Logging

IIS 7.0 Request Pipeline

Linear sequence of modules Any module can be enabled/disabled Including “built-in” ones Modules can be managed or native code Any type of module applies to any request

IIS7 Modules

IIS 6.0 Configuration IIS 6.0 (and earlier) use the metabase Stores all configuration information Originally in binary form, then in XML Hard to allow management of separate apps by different groups of people

IIS 7.0 Configuration machine.config “root” web.config web.config applicationHost.config

IIS7 Configuration

Building Native Modules Export a RegisterModule function from DLL Define one or more other functions To process request or response Inside RegisterModule... Hook up your other functions(s) at specific points in the pipeline E.g. Begin, AuthN, AuthZ, ExecuteHandler, End

Building Managed Modules Implement IHttpModule Implement Init function Attach event handlers for specific points in the pipeline E.g. Begin, AuthN, AuthZ, ExecuteHandler, End Same as existing ASP.NET HttpModules

IIS7 Managed Module

IIS7 Diagnostics - RSCA Runtime Status and Control API Shows currently executing: - Application Pools Requests Exposed via IIS admin tool Programmatically via WMI and Managed OM

IIS7 Diagnostics – Failed Requests IIS7 allows you to log trace information just for requests that fail For some definition of failure Buffers all trace output Only flushes to disk if the request fails Log output is XML, with a stylesheet Breaks down processing by module Includes timing details for each module

IIS7 – Failed Request Tracing Enable FREB at the Web Site level Configure FREB rules at the application level Each rule: - Specifies the type of web content it applies to Can specify a specific failure code Can specify a duration in seconds Can specify a trace event severity

IIS7 Failed Request Tracing

2. Design Highly-Manageable Apps

Management in Windows Server 2008 MMC v3.0 Managed framework for building snap-ins Microsoft.ManagementConsole namespace –Ships with.NET Framework v3.0 Already seen it in use – IIS Admin Console Windows PowerShell

It’s a command-line interface! Scriptable Commands may be composed Not based on text, based on.NET objects Available for... Windows XP Windows Server 2003 Windows Vista Ships inside... Windows Server 2008

Windows PowerShell and Scripting

PowerShell and Developers Developers can create new commands...and can create PowerShell “drives” Excellent way to provide admin experience for your applications. Exchange 2007 and SQL Server 2008, for example

PowerShell Cmdlets and Providers

3. Develop Federation-Aware Apps

Developing Federated Identity Apps With AD FS Active Directory Federation Services Why? Enables cross-domain, cross-platform access to your Web applications Provides Web SSO experience Promotes a claims-based programming model Achieve reach for your application –Think “outside of the firewall”

B2B Federation Scenario Federation Trust https

Application Authorization Using Claims Claims Statements made by an authority about a user Used for authorization purposes Three types of ADFS claims Identity – –User Principal Name (UPN) –Common Name Group Custom GroupPurchaserAdministratorAdatumGroupPurchaserAdministratorAdatum CustomDisplayName: Eric Parkinson Position: Purchasing Staff

Coding a Federation-Aware app System.Web.Security.SingleSignOn System.Web.Security.SingleSignOn.Authorization In code: - SsoId = User.Identity as SingleSignOnIdentity SsoId.IsAuthenticated – have we a good security token? SsoId.SecurityPropertyCollection – each item could be... –Group claim, UPN claim, custom claim Application can get any/all claim details

4. Build Connected Systems

Interop with other platforms ASMX Attribute-BasedProgramming Enterprise Services WS-*ProtocolSupport WSE Message-OrientedProgramming System.Messaging Extensibility Location transparency.NET Remoting Windows Communication Foundation

Sub-queues Poison Message Handling App-Specific Dead Letter Queues Transactional Remote Receive MSMQ 4.0

Sub-queues Never created explicitly Accessed via DIRECT FormatName... DIRECT=OS:server\private$\myqueue;mysubq Created at time of first Open Can receive in the normal fashion Can only insert with MQMoveMessage No managed code equivalent 

Poison Message Handling WCF binding configuration...

End of Part One Build More Flexible Web Applications IIS7 Design Highly-Manageable Applications Windows PowerShell, MMC3 Develop Federation-Aware Applications AD FS Build Connected Systems WCF, MSMQ 4

MSDN in the UK Visit Newsletter Events Screencasts Blogs

© 2007 Microsoft Ltd. 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.