Download presentation
Presentation is loading. Please wait.
Published byKevin Allison Modified over 8 years ago
1
Internet Information Services (IIS) 7.0 for ASP.Net Developers Andrew Westgarth Chairman and North East Regional Coordinator VBUG andy@vbug.co.uk www.vbug.com
2
IMTC 2008 | Session XXXX imtc.firstport.ie About Me ASP.Net Code Monkey VBUG North East Regional Coordinator Live in Sunderland! Huge Sunderland A.F.C. Supporter Very Interested in Wartime exploits of 617 Squadron – The Dam Busters
3
IMTC 2008 | Session XXXX imtc.firstport.ie Agenda Overview and Availability Architecture Administration Configuration Componentization Extensibility Model Troubleshooting and Diagnostics Conclusions Questions Resources
4
IMTC 2008 | Session XXXX imtc.firstport.ie Overview Most significant release of IIS since IIS 1.0 Available on Windows Vista and Windows Server 2008 First time development and server platform versions of IIS aligned ASP.Net Integrated Pipeline New extensibility model Expanded Productivity Support
5
IMTC 2008 | Session XXXX imtc.firstport.ie Availability in Vista SKUs Not Available in Vista Home Basic Parts Available in Vista Home Premium No FTP Server, Advanced Web Authentication and Authorization, no Remote Administration Simultaneous Request Limit = 3 All elements of IIS7 found in Windows Server 2008 are available in the Vista Pro SKUs (Business, Enterprise and Ultimate) with the exception of Remote Administration
6
IMTC 2008 | Session XXXX imtc.firstport.ie IIS 6 Architecture Authentication NTLMBasicAnon Determine Handler CGI Static File ISAPI Send Response CompressLog ASP.Net PHP Aspnet_isapi.dll Authentication FormsWindows Map Handler ASPX Trace...
7
IMTC 2008 | Session XXXX imtc.firstport.ie w3wp.exe Handlers IIS6 Request Handling http.sys IHttpModule Events CGI Static FileISAPI EXT ISAPI Filter Notification authentication compression Custom errors logging Determine handler Auth c’reqlog End Net SessionPre-Proc Headers url map Update req cache End req Handler exec Handler map Resolve cache Auth’z req Auth‘c req Begin req Rel req state IHttpHandlers Trace.axdPage Handler Aspnet_isapi.dll
8
IMTC 2008 | Session XXXX imtc.firstport.ie IIS 7 Architecture Authentication Execute Handler Send Response... HTTP Request HTTP Response Basic Forms Anon Windows ASPX Static File Trace... Log Compres s-ion
9
IMTC 2008 | Session XXXX imtc.firstport.ie Administration New Administration UI New Command Line Utility – appcmd.exe New Managed DLL – Microsoft.Web.Administration Can Be Delegated Server can be managed Remotely
10
IMTC 2008 | Session XXXX imtc.firstport.ie Delegated Administration Server Administration can be delegated via configuration Allows Administrators to enable others to control aspects of configuration Remote Administration of IIS in Windows Server 2008
11
DEMO – IIS 7 Administration Your Logo Goes Here
12
IMTC 2008 | Session XXXX imtc.firstport.ie Componentization IIS 7 Now Fully Modular Can have very small server footprint Customise to only install/enable features you want to have running Therefore only patch what you need/use
13
IMTC 2008 | Session XXXX imtc.firstport.ie Management Health and Diagnostics Application Development Security Components of IIS 7 FTP Publishing Performance Common HTTP Web Server Components Windows Process Activation Service BasicAuthMode DigestAuthMode WindowsAuthMode CertificateAuthMode AnonymousAuthMode IPSecurityModule UrlAuthorizationModule RequestFilteringModule NetFxExtensibility ISAPIModule ISAPIFilterModule CGIModule ASP.Net ServerSideIncludeModule ASP HttpLoggingModule CustomLoggingModule RequestMonitorModule HttpTracingModule ODBCLogging LoggingLibraries FTP Server FTP Management Static Compression Dynamic Compression ManagementConsole ManagementScripting ManagementService Metabase WMICompatability LegacySnap-In LegacyScripts StaticFileModule DefaultDocumentModuleDirectoryListingModule HttpRedirectCustomErrorModule NetFxEnvironmentProcessModelConfigurationAPI
14
IMTC 2008 | Session XXXX imtc.firstport.ie Configuration No more Metabase!!! Compatability – old metabase pushed to new config – same property names Central File – ApplicationHost.config Strongly typed Schema Uses same methodology as ASP.Net.config files Distributed Configuration
15
DEMO – Configuration Your Logo Goes Here
16
IMTC 2008 | Session XXXX imtc.firstport.ie Extensibility Model IIS 6 – ISAPI Filter and Extensions IIS 7 – Brand New Win32 Native Interface All IIS Modules written using this interface IIS Team uses this API just as you WILL! Full ASP.Net 2.0 Support IHttpModule available supported today! ASP.Net 2.0 Handlers run same as today! IIS Manager (UI) Extend using.Net 2.0 Diagnostics Add Own events directly into pipeline (System.Diagnostics)
17
IMTC 2008 | Session XXXX imtc.firstport.ie ASP.Net HTTPHandlers and HTTPModules HTTPHandler Similar to ISAPI Extensions Can be called via url Act as target for incoming requests HttpModules Plug into the ASP.Net request processing pipeline Registered for certain events As the event occurs ASP.Net invokes the module so it can handle the request
18
IMTC 2008 | Session XXXX imtc.firstport.ie DEMO – Extensibility Your Logo Goes Here
19
IMTC 2008 | Session XXXX imtc.firstport.ie Troubleshooting and Diagnostics Real Time State Information Available Current Processes Running Application Pools Process ID Currently executing requests AppDomains Loaded Real-time starting and stopping of sites Failed Request Tracing Extensive Custom Errors
20
IMTC 2008 | Session XXXX imtc.firstport.ie Failed Request Tracing Traces all requests through Pipeline Automatically Enabled on IIS 7 Easily identify failing, stuck requests Identifies time taken in each module, helping analyzing long running requests
21
IMTC 2008 | Session XXXX imtc.firstport.ie Custom Errors Much more detailed Language specific (Accept-Encoding) Time URL Current Module Response Status, Sub-status More Information – Detailed steps to fix problem where available Build Image Copyright Handler Build Module and Integrate with IIS7 Admin
22
IMTC 2008 | Session XXXX imtc.firstport.ie DEMO – Troubleshooting Your Logo Goes Here
23
IMTC 2008 | Session XXXX imtc.firstport.ie Unified Platform for Web Services and WCF Host WCF Services using Windows Activation Service (WAS) Supports Non-HTTP Protocols such as Named Pipes TCP MSMQ Provides features for idle-time management, health monitoring, process recycling
24
IMTC 2008 | Session XXXX imtc.firstport.ie W3svc Worker Process (w3wp.exe) WAS Processing of Service Requests App Domain HttpHandler HttpModule MSMQProcess ProtocolHandler TcpProcess ProtocolHandler NamedPipeProcess ProtocolHandler Windows Activation Service (WAS) ImsmqasItcpasInpass HTTP Listener Adapter Named Pipe Listener Adapter TCP Listener Adapter MSMQ Listener Adapter Http.sysnet.msmq Net.tcp Net.pipe
25
IMTC 2008 | Session XXXX imtc.firstport.ie Conclusions Major Release – Most Significant since 1.0 Fully Customisable – Managed and Native New Pipeline ASP.Net Fully Integrated First time desktop and server versions aligned Go and have a look
26
IMTC 2008 | Session XXXX imtc.firstport.ie Resources Windows Server 2008 – Eval - http://msdn2.microsoft.com/en- us/windowsserver/cc137233.aspxhttp://msdn2.microsoft.com/en- us/windowsserver/cc137233.aspx IIS Resources – http://www.iis-resources.comhttp://www.iis-resources.com Help with F5 Debugging on Vista - http://mvolo.com/blogs/serverside/archive/2006/12/28/Fix-problems-with- Visual-Studio-F5-debugging-of-ASP.Net-applications-on-IIS7-Vista.aspx http://mvolo.com/blogs/serverside/archive/2006/12/28/Fix-problems-with- Visual-Studio-F5-debugging-of-ASP.Net-applications-on-IIS7-Vista.aspx MSDN Magazine – http://msdn.microsoft.com/msdnmaghttp://msdn.microsoft.com/msdnmag Aggregated IIS RSS Feed - http://blogs.iis.net/rawmainfeed.aspxhttp://blogs.iis.net/rawmainfeed.aspx
27
Q&A Now After this session Via my blog – http://www.andrewwestgarth.co.uk/Blog http://www.andrewwestgarth.co.uk/Blog mail@hawaythelads.co.uk Your Logo Goes Here
28
DDD Ireland – http://www.dddireland.com Saturday 3 rd May 2008 Galway-Mayo Institute of Technology Dublin Road Galway Ireland
29
Irish Microsoft Technology Conference 2008 Next Sessions Track 1: Using the Web Client Software Factory – Gary Short Track 2: XNA Ireland: The Challenge – Phil Bourke Track 3: Using XML Web Services to manage external SQL Data Interfaces – Alan Crowley Track 4: PowerShell and WMI – Thomas Lee Your Logo Goes Here
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.