The web.config file is the application’s configuration
file. It is typically used to configure an ASP.NET Web application and define
the configuration settings for the Web application. It typically contains the
application-wide settings, such as database connection string, culture
settings, authentication, and authorization information, etc. In ASP.NET 1.x, much
effort was required to manipulate the web.config file programmatically. With
ASP.NET 2.0 however, this can be done quite easily and efficiently. The
following section discusses how this can be achieved.
The Configuration API in ASP.NET 2.0
The configuration API of ASP.NET 2.0 adds a great level of
flexibility in that it allows us to add or edit a configuration file seamlessly
in ASP.NET. The WebConfigurationManager class in the System.Web.Configuration
namespace has the OpenWebConfiguration method that can be used to open the
configuration file of the application as a Configuration object for reading
from or writing to the configuration file. The virtual path to the
configuration file is specified to this method as a parameter. The following
code snippet displays all the keys of the appSettings section of the web.config
file:
I have an SLC 5/04 for my cpu and connect to a PanelView 500 for touchscreen interaction. With all...
(More)
I have an SLC 5/04 for my cpu and connect to a PanelView 500 for touchscreen interaction. With all of the new updated versions out there and what you have to do to communicate I'm forced to go around the regular options. I have a PanelView 550 and what to know using a PCMIA card how to download the running program to the memory card. Is there an acess code or a sequence of buttons you need to push to acess the mainteance menu.
This is not exactly a Problem, but advise seek. We have developed an e-commerce website selling...
(More)
This is not exactly a Problem, but advise seek. We have developed an e-commerce website selling books. the technologies used are ASP.Net with MSSQL Database. The payment Gateways are going to be Multiple i.e.Google Checkout, Authorize.net, Paypal and CCAvenue.com The Site is almost ready, except than Shopping cart Implementations. Is there any FREE ASP.net shopping cart that I could use? Can any user kindly guide me in this? Thanking you in anticipoation. Manjit Singh