for Developers Martin Parry Developer and Platform Group Microsoft

Similar documents
Course Syllabus. Configuring and Troubleshooting Internet Information Services in Windows Server Key Data. Audience. At Course Completion

Microsoft Windows Server 2008: Configuring and Troubleshooting Internet Information Services IIS

Configuring and Troubleshooting Internet Information Services in Windows Server 2008

This module provides an overview of service and cloud technologies using the Microsoft.NET Framework and the Windows Azure cloud.

MOC DEVELOPING WINDOWS AZURE AND WEB SERVICES

MS 20487A Developing Windows Azure and Web Services

"Charting the Course to Your Success!" MOC A Understanding and Administering Windows HPC Server Course Summary

9/26/2013. Installer.ps1 will validate all settings before deployment. Define your deployment. Define your deployment Run PDT Downloader

Course Syllabus. Implementing and Managing Windows Server 2008 Hyper-V. Key Data. Audience. At Course Completion. Prerequisites

Proof of Concept. A New Data Validation Technique for Microsoft ASP.NET Web Applications. Foundstone Professional Services

Developing Windows Azure and Web Services

Enhancing your Web Experiences with ASP.NET Ajax and IIS 7

BMC Performance Manager Windows Security White Paper DCOM / WMI

Microsoft Dynamics GP SQL Server Reporting Services Guide

Developing Windows Azure and Web Services

Masterclass: Internet Information Services Management (IIS 8.5 / 8 / 7.5)

Developing Microsoft Azure Solutions 20532B; 5 Days, Instructor-led

The Windows Web Platform. Michael Epprecht Microsoft Switzerland twitter: fastflame

FrontDesk. (Server Software Installation) Ver

Masterclass: Internet Information Services Management (IIS 8.5 / 8 / 7.5)

Microsoft Dynamics CRM Server 2011 software requirements

TIBCO Spotfire Metrics Prerequisites and Installation

HexaCorp. White Paper. SOA with.net. Ser vice O rient ed Ar c hit ecture

Sage HRMS 2014 Sage Employee Self Service Tech Installation Guide for Windows 2003, 2008, and October 2013

How To Install Powerpoint 6 On A Windows Server With A Powerpoint 2.5 (Powerpoint) And Powerpoint On A Microsoft Powerpoint 4.5 Powerpoint (Powerpoints) And A Powerpoints 2

PowerShell Support in SCAP 1.2. Michael Tan Microsoft Corporation

FEATURE COMPARISON BETWEEN WINDOWS SERVER UPDATE SERVICES AND SHAVLIK HFNETCHKPRO

Advantech WebAccess IIS Setting

MCTS Self-Paced Training Kit (Exam ): Configuring Windows Server 2008 Application Platform

Access It! Universal Web Client Integration

Microsoft Windows PowerShell v2 For Administrators

System Requirements and Prerequisites

OPAS Prerequisites. Prepared By: This document contains the prerequisites and requirements for setting up OPAS.

Mod 2: User Management

Sage 200 On Premise. System Requirements and Prerequisites

126 SW 148 th Street Suite C-100, #105 Seattle, WA Tel: Fax:

Setup Guide for AD FS 3.0 on the Apprenda Platform

Introducing. Markus Erlacher Technical Solution Professional Microsoft Switzerland

Secure Messaging Server Console... 2

Internet Information Services Integration Kit. Version 2.4. User Guide

Dell Recovery Manager for Active Directory 8.6. Quick Start Guide

Windows PowerShell Cookbook

Microsoft Administering the Web Server (IIS) Role of Windows Server

AvePoint Meetings for SharePoint On-Premises. Installation and Configuration Guide

Outline SSS Microsoft Windows Server 2008 Hyper-V Virtualization

ClockWork Enterprise 5

INSTALLING MICROSOFT SQL SERVER AND CONFIGURING REPORTING SERVICES

CONFIGURING MICROSOFT SQL SERVER REPORTING SERVICES

Crestron Fusion Version 9.3 Enterprise Management Platform Installation Guide

Step-By-Step Guide to Deploying Lync Server 2010 Enterprise Edition

Monitoring MSDynamix CRM 2011

System Requirements for Microsoft Dynamics NAV 2013 R2

SharePoint 2013 Syllabus

MCTS Self-Paced Training Kit (Exam ): Configuring Windows Server 2008 Application Platform

Implementing and Managing Windows Server 2008 Hyper-V

To learn more about this book, visit Microsoft Learning at

Microsoft SharePoint 2010 Overview

EMC DOCUMENTUM xplore 1.1 DISASTER RECOVERY USING EMC NETWORKER

Course 10978A Introduction to Azure for Developers

Microsoft Dynamics NAV

New Features in Neuron ESB 2.6

Implementing Microsoft Azure Infrastructure Solutions 20533B; 5 Days, Instructor-led

Implementing Support and Monitoring For a Business- Critical Application Migrated to Windows Azure

Implementing Microsoft Azure Infrastructure Solutions

Course 20533B: Implementing Microsoft Azure Infrastructure Solutions

System Requirements for Microsoft Dynamics NAV 2015

Safewhere*ADFS2Logging

Click Studios. Passwordstate. Upgrade Instructions to V7 from V5.xx

SAML v1.1 for.net Developer Guide

Why Upgrade From Windows 2000 Server to Windows Server 2003? Top 10 Features for Organizations Upgrading from Windows 2000 Server

Course: 10174B: Configuring and Administering Microsoft SharePoint 2010

Windows PowerShell Fundamentals

Building Composite Application Services with Windows Server AppFabric. Rick G.

Course 20533: Implementing Microsoft Azure Infrastructure Solutions

Symantec Endpoint Encryption Full Disk

TIBCO Spotfire Automation Services Installation and Configuration

TIBCO Spotfire Web Player 6.0. Installation and Configuration Manual

DottsConnected SHAREPOINT 2010 ADMIN TRAINING. Exercise 1: Create Dedicated Service Accounts in Active Directory

Windows Server. Introduction to Windows Server 2008 and Windows Server 2008 R2

Course Syllabus. Fundamentals of Windows Server 2008 Network and Applications Infrastructure. Key Data. Audience. Prerequisites. At Course Completion

Click Studios. Passwordstate. Password Discovery, Reset and Validation. Requirements

Contents Huntcliff, Suite 1350, Atlanta, Georgia, 30350, USA

Deploying Personal Virtual Desktops by Using RemoteApp and Desktop Connection Step-by-Step Guide

Configuring and Administering Microsoft SharePoint 2010

Microsoft SQL Database Administrator Certification

O Reilly Media, Inc. 3/2/2007

IIS 6: The Complete Reference

6422: Implementing and Managing Windows Server 2008 Hyper-V (3 Days)

WHITE PAPER. Migrating an existing on-premise application to Windows Azure Cloud

MicrosoftDynam ics GP TenantServices Installation and Adm inistration Guide

DocAve 6 Service Pack 2

Sage 200 On Premise. Deployment and Installation Guide

Lab Answer Key for Module 1: Installing and Configuring Windows Server Table of Contents Lab 1: Configuring Windows Server

ASMX

Windows Storage Server 2008

Luděk Kremser Server Product Manager Microsoft

Tech Note 847 Installing Wonderware Information Server (WIS) on the Windows Server Window 7 64 and 32-bit Operating System

Configuring and Administrating Microsoft SharePoint 2010 (10174) HK913S

Enabling Kerberos SSO in IBM Cognos Express on Windows Server 2008

Deploying and administering Microsoft Dynamics CRM Online and Microsoft Dynamics CRM 2015

Transcription:

for Developers Martin Parry Developer and Platform Group Microsoft martin.parry@microsoft.com http://martinparry.com

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 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

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 applicationhost.config root web.config web.config web.config web.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

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 A. Datum Account Forest Trey Research Resource Forest Federation Trust Active Directory Account Federation Server Resource Federation Server https ` Internal Client https https Web Server

Application Authorization Using Claims Claims Statements made by an authority about a user Used for authorization purposes Three types of ADFS claims Identity Email User Principal Name (UPN) Common Name Group Custom Group Purchaser Administrator Adatum Identity UPN: eric@adatum.com Custom DisplayName: 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

Windows Communication Foundation ASMX Interop with other platforms.net Remoting Extensibility Location transparency Attribute- Based Programming Enterprise Services WS-* Protocol Support WSE Message- Oriented Programming System.Messaging

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

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... <netmsmqbinding> <binding name="poisonbinding" receiveretrycount="0 maxretrycycles="1 retrycycledelay="00:00:05 receiveerrorhandling="move"> </binding> </netmsmqbinding>

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 http://msdn.co.uk 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.