Configuring .NET Web Applications

Slides:



Advertisements
Similar presentations
Internet Information Server 6.0. IIS 6.0 Enhancements  Fundamental changes, aimed at: Reliability & Availability Reliability & Availability Performance.
Advertisements

Running PHP on Windows Server 2008 and IIS 7 Rob Cameron Developer Evangelist, Communications Sector Microsoft.
ASP.NET Security MacDonald Ch. 18 MIS 424 MIS 424 Professor Sandvig Professor Sandvig.
ASP.NET Reuven Abliyev Elyahu Sivaks Ariel Daliot.
Configuring Applications MacDonald Ch. 9 MIS 424 MIS 424 Professor Sandvig Professor Sandvig.
ASP.NET 2.0 Chapter 6 Securing the ASP.NET Application.
Building Applications using ASP.NET and C# / Session 14 / 1 of 18 Session 14.
Loupe /loop/ noun a magnifying glass used by jewelers to reveal flaws in gems. a logging and error management tool used by.NET teams to reveal flaws in.
IIS vs. Apache. Five advantages of IIS 1. It is has a GUI interface, which makes the installation a bit easier. 2. It "plays" well with other Microsoft.
IT533 Lectures Configuring, Deploying, Tracing and Error Handling.
Web Form Fundamentals MacDonald Ch. 5 MIS 324 MIS 324 Professor Sandvig Professor Sandvig.
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.
Deployment of web Site. Preparing the web site for deployment you now have two versions of web site 1 -one running in the production environment 2-one.

.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.
1.NET Web Forms Security Issues © 2002 by Jerry Post.
Session 10: Managing State. Overview State Management Types of State Management Server-Side State Management Client-Side State Management The Global.asax.
State Management. What is State management Why State management ViewState QueryString Cookies.
Module 7: Fundamentals of Administering Windows Server 2008.
Standalone Java Application vs. Java Web Application
1 CS 3870/CS 5870: Note 11 Authentication and Authorization Membership Provider.
Phone: Mega AS Consulting Ltd © 2007  CAT – the problem & the solution  Using the CAT - Administrator  Mega.
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 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.
IIS and.Net security -Vasudha Bhat. What is IIS? Why do we need IIS? Internet Information Services (IIS) is a Web server, its primary job is to accept.
Useful Tips Disable Custom Errors in Web.Config HTML Doctype Folder Structure.
IPT – Getting Started June Online Resources Project Website Requirements Server Preparation Installation Running IPT Installation Demo Upgrade/Reinstall.
Module 4: Creating a Web Application with Web Forms
ASP. NET Differences Dave Webster EMEA Technical Team dave
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.
Delivering Excellence in Software Engineering ® EPAM Systems. All rights reserved. Configuration.
Module 6: Administering Reporting Services. Overview Server Administration Performance and Reliability Monitoring Database Administration Security Administration.
Hands-On Microsoft Windows Server 2008 Chapter 5 Configuring Windows Server 2008 Printing.
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.
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.
Fundamental of Databases
Efficient Deployment & Management of ASP. NET 2
Session Variables and Post Back
Overview of Data Access
Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek
Security mechanisms and vulnerabilities in .NET
Overview of Data Access
Exception Handling .NET MVC
Application Infrastructure
MIS Professor Sandvig MIS 324 Professor Sandvig
Anatomy of an ASP.NET Page
MIS Professor Sandvig MIS 324 Professor Sandvig
Module 10: Creating a Web Application with Web Forms
MIS Professor Sandvig MIS 324 Professor Sandvig
MIS Professor Sandvig MIS 424 Professor Sandvig
.NET Validation Controls
IIS and .NET Security Application Pools Pamella Smith June 18, 2009.
Security - Forms Authentication
MIS Professor Sandvig MIS 324 Professor Sandvig
Presentation transcript:

Configuring .NET Web Applications MIS 324 -- Professor Sandvig 5/25/2019 Configuring .NET Web Applications MIS 424 Professor Sandvig

MIS 324 -- Professor Sandvig 5/25/2019 Today Why Web Applications? IIS Role in handing a request IIS Applications .NET Request Handling Global.asax Configuration files Machine.config Web.Config

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

MIS 324 -- Professor Sandvig 5/25/2019 Why Applications? Today Applications still crash Applications are compartmentalized OS handles gracefully System rarely affected OS monitors application health Recycles unhealthy processes Result: system stable & reliable

MIS 324 -- Professor Sandvig 5/25/2019 IIS Applications Folders may be configured as “Applications” IIS configuration interface

IIS Applications Many configuration options

IIS Applications Each application is assigned to an Application Pool

IIS Application Pools Each application pool has a unique Windows process Specify error handling, timeouts, etc. for each

MIS 324 -- Professor Sandvig 5/25/2019 Request Handling https://yorktown.cbe.wwu.edu/students/174/csandvig/music/index Source: https://codeteddy.com/2013/08/19/mvc3-interview-questions-and-answers/

.NET Application When URL points to IIS Application IIS passes request to .NET .NET checks configuration files: Located in root folder global.asax Application event handler web.config Application configuration settings

MIS 324 -- Professor Sandvig 5/25/2019 Global.asax Handles application & session events 15+ events Application_start Application_error Session_start Located in root folder of application Triggered each page request

MIS 324 -- Professor Sandvig 5/25/2019 Global.asax Configures MVC application: public class WebApiApplication : System.Web.HttpApplication { protected void Application_Start() AreaRegistration.RegisterAllAreas(); GlobalConfiguration.Configure(WebApiConfig.Register); FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); RouteConfig.RegisterRoutes(RouteTable.Routes); BundleConfig.RegisterBundles(BundleTable.Bundles); }

MIS 324 -- Professor Sandvig 5/25/2019 web.config Located in root folder XML format Many settings: Connection strings Authentication Debugging .NET version Exception handling Timeouts Others…

.Net Application Example MIS 324 -- Professor Sandvig 5/25/2019 .Net Application Example Example: Create new application on server

MIS 324 -- Professor Sandvig 5/25/2019 Summary Application Objectives: Reliability Convenient Configuration Flexibility Security IIS Handles requests Passes to .NET MVC Configuration Global.asax Web.config