namespace IIS6 |
This blog is a knowledge base...where I clip cool tricks and urls
Create / Edit Site
WMI Properties
|
WMI to config IIS
<?xml version="1.0" encoding="utf-8" ?> Many of us use scripts to setup our web servers, a lot of the work is boilerplate - create sites, vroots.... To ease maintanence work over the last year i've moved to a data driven approach to setting up web sites. I use an XML configuration file to describe the web site and a driver program that uses WMI to configure IIS based on the XML. Some of the benefits of this are : you only need to make fixes to the single driver program |
C# WMI to configure VirtualDirectory
ManagementClass clsIIsWebDirectorySetting = new ManagementClass(scope, new ManagementPath("IIsWebDirectorySetting"), null); |
Unit Testing - extensions
[TestMethod] |
Bug with singleton and BindingList
|
Bind - Part2
|
Bind Business Object to Datagridview
So, to build the UI, we need to turn a single Word type into a list data source, which should then be displayed through a suitable list or data grid style control. In this situation, I think the DataGridView control is a great candidate. Next, we need to ensure any edits are synchronized between the DataGridView and list data source. Because I'm anticipating a lot of data, a VCR-style control is needed to simplify navigation. Any such control should ensure that currency (current list position) is synchronized between it and the DataGridView as navigation occurs in either. |
BindingList<T>
|
Class extensions, statci method
|
Paste Special Catch Events
|
excel > hook on pressed keys
Copy, Paste, Paste special
Remarks
|
Events and windows messages in Excel
|
Speed up VBA code tips
Sub StopAllEvents() |
Future gmail improvements
All cached ... wow
|
Data Context - blog
|
Blog Archive
-
▼
2008
(37)
-
▼
January
(16)
- Create / Edit Site
- WMI Properties
- WMI to config IIS
- C# WMI to configure VirtualDirectory
- Unit Testing - extensions
- Bug with singleton and BindingList
- Bind - Part2
- Bind Business Object to Datagridview
- BindingList<T>
- Class extensions, statci method
- Paste Special Catch Events
- excel > hook on pressed keys
- Events and windows messages in Excel
- Speed up VBA code tips
- Future gmail improvements
- Data Context - blog
-
▼
January
(16)