|
|
|
|
|
Total Hits: 9 | Today: 0
|
Author: George Shepherd
|
Rating:
|
|

Even though you've been using ASP.NET for a while, how much do you really know about ASP.NET configuration files? While you've probably touched the Web.config file from time to time, there are some nuances involved in configuring ASP.NET that you may not have noticed. This month I'll discuss the architecture behind ASP.NET configuration files and show how changes to the configuration affect running programs. I'll also cover several ways to add your own custom configuration settings, including ho...
|
|
|
|
Total Hits: 35 | Today: 0
|
Author: Charles Carroll
|
Rating:
|
|

The code below shows "Utility Belt" grabbing the content of a URL and the second example shows the same thing with caching applied. Here is the standard URL scraper....
|
|
|
|
Total Hits: 98 | Today: 0
|
Author: Tom Bret
|
Rating:
|
|

Software project managers routinely face the challenge of developing parallel configurations of software assets. If not identified and planned for in advance, the complexity introduced by parallel development can derail even an otherwise well-managed project. This article describes business situations where parallel development is necessary and examines strategies for configuration management in each situation. "Patterns" are identified which allow different projects with similar characterist...
|
|
|
|
Total Hits: 27 | Today: 0
|
Author: Omar Al Zabir
|
Rating:
|
|

In a web application, the most common requirement for storing configuration is like this:
* You have a static singleton class (e.g. MyConfiguration) which stored the configuration data. It has properties like "DatabaseConnectionString" to store configuration settings * You need to store it in a XML file. * You do not want to store it in web.config because whenever you change the values, your web application restarts * You want to programmatically modify the config...
|
|
|
|
Total Hits: 204 | Today: 0
|
Author: Softomatix.
|
Rating:
|
|

Every now and then we are faced with a question concerning our web applications which is, "What kind of permissions the a user has on a certain file or folder?". The answer to this question assists in determining what kind of actions a user can or can’t perform on that object. For example in your web site you want certain users to be able to read the contents of a file but don’t allow them to make any modifications to it. So if you know beforehand that the logged in user does not have write perm...
|
|
|
|
Total Hits: 607 | Today: 0
|
|
Rating:
|
|

ASP.NET configuration files are XML-based text files--each named web.config--that can appear in any directory on an ASP.NET Web application server. Each web.config file applies configuration settings to the directory it is located in and to all virtual child directories beneath it. Settings in child directories can optionally override or modify settings specified in parent directories....
|
|
|
|
Total Hits: 76 | Today: 0
|
Author: Raja
|
Rating:
|
|

In this tutorials, I am going to explain how to read appSettings and connectionStrings values from the web.config file. In the code behind file, you will have to use System.Configuration namespace. So add it at the top of the .cs file like...
|
|
|
|
Total Hits: 81 | Today: 0
|
Author: Jim Mischel
|
Rating:
|
|

The question of where to store user-specific application settings has plagued developers since the dawn of the PC. Prior to Windows 3.1, applications typically stored settings in a configuration file in the application directory. Windows 3.1 introduced the concept of initialization (.INI) files, and their associated headaches—corruption of WIN.INI, INI droppings all over the Windows directory, and inadvertent corruption or deletion of other applications' INI files. The Win32 platform introduced ...
|
|
|
|
Total Hits: 87 | Today: 0
|
Author: George Shepherd
|
Rating:
|
|

Even though you've been using ASP.NET for a while, how much do you really know about ASP.NET configuration files? While you've probably touched the Web.config file from time to time, there are some nuances involved in configuring ASP.NET that you may not have noticed. This month I'll discuss the architecture behind ASP.NET configuration files and show how changes to the configuration affect running programs. I'll also cover several ways to add your own custom configuration settings, including ho...
|
|
|
|
Total Hits: 255 | Today: 0
|
Author: Tony Patton
|
Rating:
|
|

The Global.asax file, sometimes called the ASP.NET application file, provides a way to respond to application or module level events in one central location. You can use this file to implement application security, as well as other tasks. Let's take a closer look at how you may use it in your application development efforts. The Global.asax file is in the root application directory. While Visual Studio .NET automatically inserts it in all new ASP.NET projects, it's actually an optional file. It'...
|
|
|
|
Total Hits: 56 | Today: 0
|
Author: Bipin Joshi
|
Rating:
|
|

Versioning and sharing has its own space in component development. .NET provides mush easier deployment through private assemblies but at times you need to use shared assemblies anyways. Especially third party control and component vendors find shared assemblies easy because many times licensing goes by "per web server" basis. The vendor may want to apply patches or improvements to all the existing applications. Assembly redirection and publisher policies can help in such situations....
|
|
|
|
Total Hits: 696 | Today: 0
|
|
Rating:
|
|

ASP.NET’s XML based configuration system provides a pretty easy and powerful way to store application settings. It supports both a "custom XML schema" option and a simple way to store key/value pairs....
|
|
|
|
|
|