Jun 15, 2014 - Beginning with IIS 7, programmatic management of IIS has become much simpler with the Microsoft.Web.Administration objects. Using this API. Overview of MWA and MWM for IIS 7.0 • • 8 minutes to read • Contributors • • In this article by Abstract Extending the IIS Manager tool to manage custom configuration (in the distributed configuration files) on the IIS 7.0 and above server involves use of APIs from two different assemblies, the Microsoft.Web.Administration.dll and the Microsoft.Web.Management.dll. These APIs should be used for very different actions and have fundamentally different purposes. Web Administration Module IisThis document provides a quick overview of what functionality these APIs provide and the relationship between them. Introduction If you are planning to add UI to the IIS Manager (InetMgr) to manage custom settings on the server configuration files, you will use APIs from Microsoft.Web.Administration.dll and Microsoft.Web.Management.dll. The functionality provided by APIs from these assemblies is fundamentally different and could be confusing for a developer using it for the very first time. This article will provide a brief overview of what each of these assemblies offers. Import Module WebadministrationWhat Are Microsoft.Web.Administration and Microsoft.Web.Management? This section provides a brief introduction to each of these. Microsoft.Web. Blood feast chopping block blues download blogspot templates. Administration The Microsoft.Web.Administration (MWA) APIs are built as a managed code wrapper over the Application Host Administration API (AHADMIN) which is a native code interface library. It provides a programmatic way to access and update the web server configuration and administration information. The Microsoft.Web.Administration.dll is an easy way for users to adjust settings on the server. It does not support adding any UI extensibility or functionality. In fact, several UI features in the IIS Manager use this API to manage configuration settings on the back end. The MWA API is used when a developer wants to write a program in managed code (C#, VB etc) to configure the server in order in a particular manner order. This API is used from standalone console applications or from within a UI feature in the IIS Manager. These APIs also have support to access configuration at runtime (for example, from a managed module in the IIS pipeline). Microsoft.Web.Management The Microsoft.Web.Management.dll has the framework to add new UI features to the IIS Manager tool. The framework has the extensibility to develop new features and provides the base classes and other functionality. This allows user defined extensions to be first-class citizens in the UI, and they have a look and feel identical to the built-in IIS and ASP.Net features. Download games untuk nokia 5700 blue. Nokia is a popular phone manufacturer, almost every month appear news about producing new phone models. So developers won't stop creating cool games suitable with devices of this brand. Every day we update our catalogue by different good games, you will certainly find lots of interesting ones. The IIS Manager has a modular infrastructure where every UI feature is its own entity and has to be individually registered with the tool. The client-server architecture of IIS Manager separates the logic, which manipulates server settings from the code. This displays these settings in a user-friendly manner. Each feature in the tool follows this client-server paradigm. This is enforced by providing well-defined base classes for server-side and client UI code in the IIS manager. This API also provides the extensibility mechanism to develop UI features represented as lists, property grids, custom designed Actions panes, modal wizards and dialogs (to name a few). Many of the existing UI features which ship with the tool use the MWA APIs (in the server-side code) to access configuration. Microsoft.Web.Administration As mentioned earlier, the MWA APIs can be used to manipulate settings on the server. They provide built-in strongly typed access to sites, applications and virtual directories configured for IIS. These APIs also allow users to generate their own strongly-typed classes representing specific configuration sections and thus build an easy way to access properties and other information stored in these sections. This is by no means a comprehensive list and this assembly offers much more than what is described here. ServerManager and Sites, Applications and Virtual Directories The entry point to administering the server properties is the ServerManager class.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |