17
CLINT EDMONSON ARCHITECT EVANGELIST [email protected] Windows Server ® 2008 R2: Web and Enterprise Solutions

Windows Server 2008 R2 Dev Session 03

Embed Size (px)

DESCRIPTION

Windows Server 2008 for Developers Session 3 from the New Efficiency Launch.

Citation preview

Page 1: Windows Server 2008 R2 Dev Session 03

CLINT EDMONSONARCHITECT EVANGELIST

[email protected]

Windows Server ® 2008 R2: Web and Enterprise Solutions

Page 2: Windows Server 2008 R2 Dev Session 03

Agenda

Extensions and the IIS7.x extensibility model

The Web Platform

Web Platform Tools

Page 3: Windows Server 2008 R2 Dev Session 03

IIS7.x Extensions: A Growing Collection!http://www.iis.net/extensions

PowerShell™ Snap-in

Database Manager

Admin Pack

URL RewriterApplication

Request Router

WebDav

FTP Server

Web Platform Installer

Web Deployment

Tool

Media Services

Remote Manager

Dynamic IP Restrictions

Page 4: Windows Server 2008 R2 Dev Session 03

IIS 7.0 Platform

IIS with Windows Server 2008 R2Enhancing the IIS Feature Set

IIS Extensions

IIS Extensions

Extensionsadd furtherfunctionality

Some extensionsintegrated

Extensionsadd furtherfunctionality

Enhanced IIS 7.5 Platform

Page 5: Windows Server 2008 R2 Dev Session 03

IIS7.x ArchitectureTotal Extensibility

Componentized Server Pluggable modular

functionality Small generic request

pipeline

Enables Lightweight servers Custom / specialized

servers

Authentication

...

ExecuteHandler

...

SendResponse

HTTP Request

HTTP Response

Authorization

UpdateCache

ResolveCache

BasicNTLM Anon

CGI

Static File

ISAPI

Log Compression

UrlAuthz

OutputCache

Forwarder

Basic40+

Page 6: Windows Server 2008 R2 Dev Session 03

IIS7.x + ASP.NETService and Application Extensibility

ISAPI

Authentication

...

ExecuteHandler

...

SendResponse

Authorization

UpdateCache

ResolveCache

HTTP Request

HTTP Response

Classic Mode For compatibility

Integrated Mode (integrated pipeline) Can process all

requests Enhanced

functionality Higher fidelity

notifications

Anon

aspnet_isapi.dll

Authentication

MapHandler

...

...

Forms Windows

ASPX

Trace

...

Basic

Compression

Log

Static File

Page 7: Windows Server 2008 R2 Dev Session 03

IIS ExtensionsWrite Your Own IIS Extension

demo

Page 8: Windows Server 2008 R2 Dev Session 03

Agenda

Web application deployment just got easier!

Web Platform Tools

The Web Platform

Page 9: Windows Server 2008 R2 Dev Session 03

Web Deployment Story

Server Dev Box Web Application

Copy WebPublish Web

Page 10: Windows Server 2008 R2 Dev Session 03

Web Deployment With the Web Platform Installer

Dev Environment

Server Environment

MS DEPLOY

Page 11: Windows Server 2008 R2 Dev Session 03

Web PackagingThe New Web Platform Installer

demo

Page 12: Windows Server 2008 R2 Dev Session 03

The submission process is simple, but you need to adhere to a few principles… Be current Be free of charge Be compatible Be deployable Be supported Be hostable Be inclusive Be safe

Preparing Your Web Application

Page 13: Windows Server 2008 R2 Dev Session 03

This file includes information about what is in the package

<MSDeploy.iisApp>  <iisApp path="application" /></MSDeploy.iisApp>

The Manifest.xml File

Page 14: Windows Server 2008 R2 Dev Session 03

The Parameters.xml File

The fields in the XML file represent fields that will be presented to the user to obtain input

These fields can be anything your app requires (name of DB, usernames, passwords, etc.)

Page 15: Windows Server 2008 R2 Dev Session 03

Web Gallery DeploymentHow to Package Your Web Application

demo

Page 16: Windows Server 2008 R2 Dev Session 03

Learn More About Windows Server 2008 R2

Resources

The Web Platform http://www.iis.net

Web Development Tools Team Blog http://blogs.msdn.com/webdevtools

Web Development Tips & Tricks Blog p://blogs.msdn.com/webdevelopertips

ASP.NET Home http://www.asp.net

ASP.NET on CodePlex http://www.codeplex.com/aspnet

Page 17: Windows Server 2008 R2 Dev Session 03

© 2009 Microsoft Corporation. All rights reserved. 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.