Search   Articles   Dev Forums   Personalize   Favorites   Member Login   ASP.Net Hosting
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Sunday, November 23, 2008

Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 
FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

Home > Search > Articles & Samples > ASP.Net > File Management > Config Files
Search:
What's New - What's Hot


What's in ASP.NET Config Files?        
Total Hits: 9  |  Today: 0 Author: George Shepherd       Rating:  
Read Reviews | Write Review |   Your 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...

Utility Belt: HTTPGrab        
Total Hits: 35  |  Today: 0 Author: Charles Carroll       Rating:  
Read Reviews | Write Review |   Your 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....

Parallel Development Strategies for Software Configuration Management        
Total Hits: 98  |  Today: 0 Author: Tom Bret       Rating:  
Read Reviews | Write Review |   Your 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...

Problems and solutions to Microsoft Configuration Management Application Block's "XmlFileStorage" in Web Applications        
Total Hits: 27  |  Today: 0 Author: Omar Al Zabir       Rating:  
Read Reviews | Write Review |   Your 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...

Check User’s Permissions On A File or Folder        
Total Hits: 204  |  Today: 0 Author: Softomatix.       Rating:  
Read Reviews | Write Review |   Your 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...

Configuration File Format        
Total Hits: 607  |  Today: 0       Rating:  
Read Reviews | Write Review |   Your 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....

Reading appSettings and connectionStrings from web.config file in asp.net        
Total Hits: 76  |  Today: 0 Author: Raja       Rating:  
Read Reviews | Write Review |   Your 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...

Isolated Storage        
Total Hits: 81  |  Today: 0 Author: Jim Mischel       Rating:  
Read Reviews | Write Review |   Your 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 ...

What's in ASP.NET Config Files?        
Total Hits: 87  |  Today: 0 Author: George Shepherd       Rating:  
Read Reviews | Write Review |   Your 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...

Working with the ASP.NET Global.asax file        
Total Hits: 255  |  Today: 0 Author: Tony Patton       Rating:  
Read Reviews | Write Review |   Your 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'...

Enforce versioning using assembly redirection and publisher policy        
Total Hits: 56  |  Today: 0 Author: Bipin Joshi       Rating:  
Read Reviews | Write Review |   Your 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....

Storing Your Own AppSettings within Config.web (example: DSN settings, etc)        
Total Hits: 696  |  Today: 0       Rating:  
Read Reviews | Write Review |   Your 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....



DevASP.Net - Disclaimer - Privacy
Copyright © 2008 DevASP.net