Querying and Updating the WMI Repository

05/30/2009

You can use Windows Management Instrumentation (WMI) to view and update a running application's configuration data when you use the Manageable Configuration Source to expose your Enterprise Library configuration. The Manageable Configuration Source reads information from the configuration file, applies any applicable Group Policy overrides, and exposes the configuration information to applications as a series of configuration class instances in the same way as the other Enterprise Library configuration sources.

However, the Manageable Configuration Source also exposes the configuration information through the .NET WMI 2.0 API and to the WMI Repository as a set of WMI classes that you can query and view. This allows administrators and users to examine configuration information using standard Windows-based management tools or code.

In addition, administrators and users can update the values of the WMI objects using standard Windows-based management tools or code. These changes update the configuration information exposed to the application by the Manageable Configuration Source, which also raises a ConfigurationChanged event that allows the application to react to the changes and reload the new configuration values.

Note:
You must have the relevant Windows permissions to update WMI objects. In addition, as changes pass back to the Manageable Configuration Source, it reapplies any relevant Group Policy overrides. If the change conflicts with a Group Policy setting, the Manageable Configuration Source will ignore the change and continue to expose the Group Policy-applied value.

Changes you make to the configuration exposed by the WMI objects are exposed by the Manageable Configuration Source and are visible in the application. However, they do not change the contents of the original configuration file. When the application restarts, or if you make changes to the configuration file contents, any updates made through WMI are lost. 

The following table lists the ways you can query and update values in the WMI Repository.

Posted in: .Net Programming| Tags: Application Configuration Enterprise Library Group Manageable Policy Query Repository Source Update WMI file information management

Adding a Manageable Configuration Source

05/30/2009

If you want to use Group Policy or Windows Management Instrumentation (WMI) with an application, you must first add a manageable configuration source. Although the procedures shown here use the Configuration Console, you can use the same procedures with the Configuration Editor that is integrated with Visual Studio. For more information about the Configuration Editor, see Using the Configuration Tools.

To add a manageable configuration source

Start the Enterprise Library Configuration Console or the Visual Studio Configuration Editor. To use the Configuration Console, click Start, point to All Programs, point to Microsoft patterns & practices, point to Enterprise Library 4.1 – October 2008, and then click Enterprise Library Configuration.
Click New Application or Open Existing Application.
Right-click the application configuration file listed under Enterprise Library Configuration, point to New, and then click Configuration Sources.
Right-click the Configuration Sources node, point to New, and then click Manageable Configuration Source.
Click the Configuration Sources node.
In the right pane, click SelectedSource.
In the drop-down list, click Manageable Configuration Source.
Click the Manageable Configuration Source node. In the right pane, set the configuration settings. By default, both WMI and Group Policy are enabled. You must provide an entry for the File property.
Right-click the System Configuration Source, and then click Remove.
On the File menu, click Save Application.

Posted in: .Net Programming| Tags: Application Configuration Console Enterprise Library Manageable Source enterprise click library editor point

The Style sheet language is used to for the style and design of the page

04/30/2009

These languages are used for the formatting of the content of the websites where as cascading style sheet language is used to for the style and design of the page.

This language is maintained by the well known standard source named as W3C and CSS is also known as W3C CSS. The main purpose of introducing this language is to present the different aspects and content of web page in presentable and sequence order. The use of W3C CSS has many benefits including the promotion of the webpage reliability from the pre defined design and the consistence interface design. W3C CSS also help you in many other aspects as it provides some advantages to the common users as well.

People use different internet connections to access the web pages and some of these internet connections are not fast. You can visit www.impacts-audio.com It takes enough time to load a web page if internet connection is slow. People usually skip the loading of these web pages and find another source from where they can get information without any delay that low down the traffic rate on your website. Before the introduction of the W3C CSS, tables are designed in HTML for the display of information that do not present an attractive visually display.

W3C CSS enhances the look of the web pages and CSS pages are loading in fast speed because it reduces the size of the page to 60%. Furthermore, CSS designed pages are displayed in the same manner when these pages are viewed after downloaded. or go to www.oversitesystem.com W3C has resented the complete tutorial for the learning of the CSS language and it is very easy to learn from the standard open source websites. W3C supplies all the guide notes for the help of the designers when they are using CSS language in the content setting of their web pages.

CSS designed pages can be displayed in any type of devices like handheld internet devices and mobile phones as these pages are easy to load because of their reduce size capacity. CSS also help to increase the ranking of the web pages high because this language reduces the complexity of the content when search engines present before users. CSS designed pages are displayed more original printing outlook than the HTML language. W3C CSS also provides the services of stellar implementation to your web browser that is helpful to run your web application smoothly.

Posted in: Webmaster-SEO| Tags: Internet CSS Source Style Sheet Language Web sheet design language www style page content

Hot Posts

Latest posts

Tags

Others

Sponsors