Configuration Section Designer  1.1.1

by Jelle Druyts
Free

(241)
Download

About This App

RELEASE:
Nov 23,2009
Date Added:
Jul 03,2014
CATEGORY:
Editors
APP SIZE:
204.8K
Total downloads:
241
OS support:
Win Vista/XP
Language:
English
Official Page:
Jelle Druyts
Current version:
1.1.1

Description

A Visual Studio add-in that allows you to graphically design .NET Configuration Sections and automatically generates all the required code and a schema definition (XSD) for them.
Requirements
Microsoft Visual Studio 2008 Standard Edition or better.
Usage
After installation, you have a new Item Type in Visual Studio named "ConfigurationSectionDesigner" (if you want to design the configuration section in an existing project) and a new Project Type named "Configuration Section Project" (if you want to start with a new project). In both cases, you get a number of files:

* ConfigurationSection.csd: the designer itself.
* ConfigurationSectionCode.tt: a text template code generator that generates the C# code for the configuration section.
* ConfigurationSectionSample.tt: generates a sample configuration file.
* ConfigurationSectionSchema.tt: generates the XSD schema representing the configuration section.

The text templates are automatically transformed when you save the designer.
Working with the Designer
If you open the .csd file in Visual Studio, you get a blank design surface onto which you can drag Configuration Sections, Configuration Elements and Configuration Element Collections from the Toolbox. Before you begin, you should right-click the design surface and select Properties, then set the Namespace and Xml Schema Namespace (if you forget, validation errors will point you to these properties).

With all the required configuration classes added, set their properties and add configuration attributes and elements by right-clicking the elements and selecting the proper menu commands. Attributes are usually simple types (string, int, boolean, ...) that are external, where Elements are other types defined in the designer, e.g. to make one configuration element contain another configuration element.
Defining Types
When setting the Type property of an Attribute, you get a dropdown that contains a number of pre-initialized types. It is possible to add more types to this dropdown by opening the Configuration Section Explorer window (if it is not visible, go to the View menu, Other Windows, Configuration Section Explorer). You will see a node that contains all the configuration elements (also shown on the design surface), and a node that contains all the type definitions (not shown on the designer). If you right-click the root node, you can add new External Types (e.g. System.String).

You can also define Enumerated Types (enums), for which code is also generated and which are treated specially when the XSD is generated (so you get full IntelliSense on the XML file with all the options of the enumeration).
Defining Custom Child Elements
Each Configuration Element has a propery named "Has Custom Child Elements". This controls some code that is generated and changes the generated XSD to support child configuration elements (XML nodes) that can vary and aren't known at design-time yet.

Configuration Section Designer Screenshots

  • Configuration Section Designer main window

User reviews of Configuration Section Designer

Complete Your Review

Related Windows softwares

DEVELOPED SECTION for AutoCAD

An application for AUTOCAD 2002-2009, which determines the developed section of one set of 3DSOLID, 3DMESH or 3DFACE entities and vertical planes passing through a 2D POLYLINE in XOY plane

$24

Atrise Golden Section

This program is a unique design tool for artists, designers, programmers, photographers

$49

Cross Section Analysis & Design

Cross Section Analysis & Design performs all calculation tasks for generic cross sections of any material

$399

IDM.Net Configuration

Assemblies for work with .Net.Win and .Net.Web App

$119

Configuration Center

Configuration Center is network configuration management software that allows controlling and maintaining changes of network devices configuration from any vendor supporting Telnet SSH and SNMP version 1/2/3 protocols

$99

Configuration Mania

Configuration Mania gives you more Advanced (hidden) configurations from which to choose

Free