Home / ASP.NET Wiki / Configuration

Configuration

 Rate It (9)

So many aspects of ASP.NET are configurable it can be overwhelming. Things really get interesting when you start adding configuration options for your own applications.

Here's some ways to create your own configuration options.

ASP.NET Configuration FAQs:


Enjoy!

Revision number 3, Saturday, February 27, 2010 8:42:29 AM by mbanavige

Comments

Good Article!! It covers major configuration topic.

In This Section

Directory Structure in Asp.Net

ASP.NET 2.0 uses a new set of predefind Directory names for special work. In general, the ASP.NET directory structure can be determined by the developer's preferences.But there are afew reserved directory names. Here is the list of special directory names

File Types

Here is a list of file extensions which are configured by default to be handled byASP.NET 2.0. asax used for application level logic (global.asax) ascx used for creating a web user control. ashx used to create a custom httphandler asmx used to create web services

Creating Custom Configuration Sections in .NET

Every element in the configuration file maps to a class in the .NET framework. It's possible to expand upon this to create custom configuration sections. To do this, create a class that inherits from ConfigurationSection, like so: public class MySection

Assembly Redirection Doesn't work in web.config (Assembly Binding Bug)

I had a problem with assembly redirection in web.config, when i wrote assembly redirection in the machine.config it worked perfectly, where as when I wrote it in the web.config it didn't work Problem: When you try to do assembly redirection in the web

ASP.NET Tracing

Tracing is a feature that helps you trace and monitor the execution of your Web pages. The following links explain more about this feature: Tracing Tutorial The Basics of ASP.NET Tracing This is an old MSDN link but still conveys the gist very well. Tracing

Encrypt connectionStrings section of web.config

Web.Config configuration> connectionStrings> add name="ConnString" connectionString="Data Source=.\SQLEXPRESS; AttachDbFilename=|DataDirectory|MyDatabase.mdf;Integrated Security=True;User Instance=True" /> /connectionStrings>

Rendering of dynamic items of Asp Menu control

Asp Menu controls lacks to render its items which are set with dynamic visibility in Internet Explorer 8. Microsoft has also confirmed at Microsoft Support that this particular issue resides in some of their products [1]. After a systematic testing Microsoft

How to edit Configuration file Web.Config

How to edit Configuration file Web.Config in web.config we use appSettings> section to add keys as you see appSettings> add key="email" value="" /> add key="color" value="green" /> /appSettings> in code

Configuring IIS

"IIS7 includes a comprehensive set of administration tools, including a brand new administration GUI, a new command line tool, and new managed code and scripting APIs to simplify day-to-day tasks for developers and administrators." Check out the pile of new

Configuring SQL Server

Most ASP.NET sites talk to SQL Server or a backend SQL Database and there's a number of ways to manage that configuration. I always start with the Management Studio Expresswhen dealing with SQL Server. It's fast and lightweight. If you're using the full version

Administration Tools

ASP.NET 2.0 introduced the Web Site Administration Tool, as well as some command line tools you'll want to know how to use. Web Site Administration Tool Overview Expression Web and the ASP.NET Web Admin Tool-Here's how the Admin Tool and Expression

Shortcuts

Table of Contents

Top Wiki Contributors

(last 30 days)

  1. abiruban (1)