Configuring Applications MacDonald Ch. 9 MIS 424 MIS 424 Professor Sandvig Professor Sandvig.

Slides:



Advertisements
Similar presentations
Running PHP on Windows Server 2008 and IIS 7 Rob Cameron Developer Evangelist, Communications Sector Microsoft.
Advertisements

Lesson 17: Configuring Security Policies
How to Detect a Memory Leak By Using System Performance Monitor in Windows 2000.
Caching MacDonald Ch. 26 MIS 424 MIS 424 Professor Sandvig Professor Sandvig.
Anatomy of an ASP.NET Page. Slide 2 My Version of the Big Picture (1) ASP Worker (Engine) Your application Runs Server Other applications User 1User 2.
Web Development in Microsoft Visual Studio Slide 2 Lecture Overview Introduce Visual Studio 2013 Create a first ASP.NET application.
ASP.NET Security MacDonald Ch. 18 MIS 424 MIS 424 Professor Sandvig Professor Sandvig.
Chapter 11 - Monitoring Server Performance1 Ch. 11 – Monitoring Server Performance MIS 431 – created Spring 2006.
11 SUPPORTING LOCAL USERS AND GROUPS Chapter 3. Chapter 3: Supporting Local Users and Groups2 SUPPORTING LOCAL USERS AND GROUPS  Explain the difference.
Satisfy Your Technical Curiosity Internet Information Services (IIS) 7.0 End-to-End Overview of Microsoft's New Web Application Server Bart De Smet MVP,
11 MONITORING MICROSOFT WINDOWS SERVER 2003 Chapter 3.
ASP.NET 2.0 Chapter 6 Securing the ASP.NET Application.
April-June 2006 Windows Hosting Seminar Series Product Roadmap: IIS 7.0 Matthew Boettcher Web Platform Technical Evangelist (Hosting) Developer & Platform.
Web Form Fundamentals MacDonald Ch. 5 MIS 324 MIS 324 Professor Sandvig Professor Sandvig.
Chapter 17: Watching Your System BAI617. Chapter Topics Working With Event Viewer Performance Monitor Resource Monitor.
CONFIGURING WINDOWS SERVER MIS 424 Professor Sandvig.
Windows Server MIS 424 Professor Sandvig. Overview Role of servers Performance Requirements Server Hardware Software Windows Server IIS.
© 2004 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Programming the Web Using ASP.Net Chapter 2: The ASP.Net Template Dave.

.NET Validation Controls MacDonald Ch. 8 MIS 324 MIS 324 Professor Sandvig Professor Sandvig.
Overview of Previous Lesson(s) Over View  Server controls are small building blocks of the graphical user interface, which includes  Text boxes  Buttons.
Tracing, Logging, and Error Handling MacDonald Ch. 8 MIS 424 MIS 424 Professor Sandvig Professor Sandvig.
Session 10: Managing State. Overview State Management Types of State Management Server-Side State Management Client-Side State Management The Global.asax.
Web Server Controls MacDonald Ch. 5 MIS 324 MIS 324 Professor Sandvig Professor Sandvig.
Overview of Data Access MacDonald Ch. 15 MIS 324 Professor Sandvig.
Module 9: Preparing to Administer a Server. Overview Introduction to Administering a Server Configuring Remote Desktop to Administer a Server Managing.
Maintaining State MacDonald Ch. 9 MIS 324 MIS 324 Professor Sandvig Professor Sandvig.
IIS 7.0 for CFML Developers Vince Bonfanti. Introduction Vince Bonfanti President and co-founder of New Atlanta Software developer by training and trade.
March 12 & 13, 2007 IIS 7.0 for CFML Developers Deploying on IIS 7.0 with Adobe ColdFusion and New.
1 CS 3870/CS 5870 Note04 Session Variables and Post Back.
Efficient Deployment & Management of ASP.NET 2.0 Applications on IIS 6.0 Alexis Eller Program Manager Internet Information Services Microsoft Corporation.
The.NET Runtime and IIS Presented by Chris Dickey – cdickey.net consulting
Global.asax file. Agenda What is Global.asax file How to add the Global.asax file What are the default events available Explanation to Application_Level.
Module 8: Planning and Troubleshooting IPSec. Overview Understanding Default Policy Rules Planning an IPSec Deployment Troubleshooting IPSec Communications.
Module 11: Securing a Microsoft ASP.NET Web Application.
Module 7: Creating a Microsoft ASP.NET Web Application.
Reset and Recycle IIS Reset Application Pool Management Error Codes New HTTP Sub-status codes Custom/Detailed Errors Tracing in IIS7 and.
CN2140 Server II Kemtis Kunanuraksapong MSIS with Distinction MCT, MCITP, MCTS, MCDST, MCP, A+
This is the main tracing and diagnostics presentation. Very important that this be practical and useful information. IT Pro audience is very.
Web Access. Overview  Purpose  Prerequisites  Install Components  Enable Virtual Directories  IIS Configuration & Security  Troubleshooting.
Understand Configuration Files Web Development Fundamentals LESSON 1.6.
Useful Tips Disable Custom Errors in Web.Config HTML Doctype Folder Structure.
ASP.NET P AGE O BJECTS.  Each ASP.NET page inherits the PAGE object  The PAGE supplies 3 built in objects:  REQUEST: All information passed to the.
Configuring and Deploying Web Applications Lesson 7.
1 CS 3870/CS 5870: Note 14. Prog5 Due 10 PM Wednesday, Oct 21 Authentication and Authorization 2.
Active Server Pages Session - 3. Response Request ApplicationObjectContext Server Session Error ASP Objects.
IIS Manager Details Delegated Administration Configuration System.
Module 6: Administering Reporting Services. Overview Server Administration Performance and Reliability Monitoring Database Administration Security Administration.
Internet Information Server 6.0 & new management features.
ASP.NET 2.0 Security Alex Mackman CM Group Ltd
Alexey Polovinkin Post graduate student, CMC department.
Introduction to ASP.NET, Second Edition2 Chapter Objectives.
Maintaining and Updating Windows Server 2008 Lesson 8.
Module 4: Troubleshooting Web Servers. Overview Use IIS 7.0 troubleshooting features to gather troubleshooting information Use the Runtime Control and.
SQL Database Management
Fundamental of Databases
Module 9: Preparing to Administer a Server
Efficient Deployment & Management of ASP. NET 2
Session Variables and Post Back
ASP.NET Web Forms and Web Services
Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek
MONITORING MICROSOFT WINDOWS SERVER 2003
Exception Handling .NET MVC
Web Development in Microsoft Visual Studio 2013
Anatomy of an ASP.NET Page
IIS v7.0 Martin Parry Developer & Platform Group Microsoft Limited
Module 9: Preparing to Administer a Server
Configuring .NET Web Applications
IIS and .NET Security Application Pools Pamella Smith June 18, 2009.
Security - Forms Authentication
Presentation transcript:

Configuring Applications MacDonald Ch. 9 MIS 424 MIS 424 Professor Sandvig Professor Sandvig

Today 1.Why Applications? 2.IIS Role in handing a request Role in handing a request 3..NET Applications Applications Application Object Application Object Global.asax Global.asax 4.Configuration files Machine.config Machine.config Web.Config Web.Config

Why Applications? Dark ages (pre-2003) Server crashes not unusual Server crashes not unusual Single failure bring down whole system Worse yet: Worse yet: Memory leaks Cause IIS hang Cause IIS hang Stop serving pages Stop serving pages Required manual intervention (reboot)

Why Applications Today (Windows Server 2003 & later) Applications still crash Applications still crash Applications are compartmentalized OS handles gracefully System rarely affected System rarely affected OS monitors application health OS monitors application health Recycles unhealthy processes Result: system stable & reliable Result: system stable & reliable

IIS Overview

IIS Applications Folders may be configured as “Applications” IIS configuration interface IIS configuration interface Each application is assigned to an Application Pool Each application is assigned to an Application Pool Each application pool has a unique Windows process Specify error handling, timeouts, etc. for each application Specify error handling, timeouts, etc. for each applicationBenefit: Compartmentalize applications Compartmentalize applications Reduces dependencies Reduces dependencies Improves reliability Allows application specific settings Allows application specific settings Error handling, log files, filters, headers, timeouts… 100’s of settings 100’s of settings

Applications Settings Configuration settings: Web.config Web.config Application level settings Located in root folder Machine.config Machine.config Settings common to all applications Application event handlers Global.asax file Global.asax file Located in root folder

ASP.NET Configuration.config files Hierarchical configuration Hierarchical configuration Similar to CSS Similar to CSSInheritance Child has precedence over parent Child has precedence over parent Machine.config Rarely need to modify Rarely need to modify

Web.Config XML file Case sensitive Case sensitive Camel casing Camel casingConfigure: Application settings Application settings Error handling Error handling Timeouts Timeouts Sessions…etc. etc. Sessions…etc. etc. Authentication Authentication documentation documentation documentation Security.config files not served.config files not served

Global.asax Handles application & session events 15+ events 15+ events Application_start Application_start Application_error Application_error Session_start Session_start Located in root folder of application Triggered each page request Optional

Global.asax Example: Create new application on server Create new application on server web.config: source web.config: sourcesource global.asax: source global.asax: sourcesource TestPage.aspx: source, output TestPage.aspx: source, outputsourceoutputsourceoutput

Summary Configuration Objectives: Flexibility Flexibility Security Security Reliability Reliability Convenience ConvenienceIIS Handles requests Handles requestsApplication Application object Application object Events: global.asax Events: global.asaxConfiguration Machine.config Machine.config Web.config Web.config