473,396 Members | 1,860 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Edit web.config programmatically?

TK
What's the best way to edit web.config programmatically?

I want to have an aspx page as a GUI for web admins to modify the roll-base
security portion of the web.config(s) on a server.

please help.
TK

Nov 18 '05 #1
2 2583
I would let them get used to working with XML, allowing them to modify the
web.config file manually.

"TK" <tk****@nospam.emotionalbits.com> wrote in message
news:Oy**************@TK2MSFTNGP11.phx.gbl...
What's the best way to edit web.config programmatically?

I want to have an aspx page as a GUI for web admins to modify the roll-base security portion of the web.config(s) on a server.

please help.
TK

Nov 18 '05 #2
TK
Thank you Jeff.
I think it might be an acceptable way that I would provide an aspx page to
edit web.config as an XML file.
By the way, do you think this method is a normal way to programmatically
control the roll-base security settings on a asp.net server? Do you have
any smarter idea to do it?

TK

"Jeffrey A. Voigt" <vo***********@myfloridahouse.com> wrote in message
news:uH**************@TK2MSFTNGP12.phx.gbl...
I would let them get used to working with XML, allowing them to modify the
web.config file manually.

"TK" <tk****@nospam.emotionalbits.com> wrote in message
news:Oy**************@TK2MSFTNGP11.phx.gbl...
What's the best way to edit web.config programmatically?

I want to have an aspx page as a GUI for web admins to modify the

roll-base
security portion of the web.config(s) on a server.

please help.
TK



Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Stewart Armbrecht | last post by:
Does anyone know of an example application that demonstrates how to edit a web.config file programmatically using c#?
2
by: TK | last post by:
What's the best way to edit web.config programmatically? I want to have an aspx page as a GUI for web admins to modify the roll-base security portion of the web.config(s) on a server. please...
1
by: Fredrik Celin | last post by:
Hello. Is there anybody who knows how I can change som information in the machine.config in a deployment project for a web application? Do I have to change replace the file with a new (and how...
2
by: Kevin Jackson | last post by:
Is there a .NET framework call(s) or technique that allows one to programmatically find the machine.config file.
2
by: jjack100 | last post by:
In asp.net 2.0 you can apply custom themes based on a user profile, etc. And you can change the theme programmatically, etc. But how do you edit or create a theme programmatically? I am working on...
4
by: jasiglam | last post by:
Using the visual studio.net text editor, I know how to enter/change the "key/value" in the app.config file, for example: key="SqlConnection1.ConnectionString" value="data source=Boomer;initial...
2
by: Erik Juhlin | last post by:
I want to edit a web.confgi file Programmaticaly. I can´t use the System.Configuration.ConfigurationSettings.AppSettings.Add becuase the web.config file i want to edit does belongs to another web...
1
by: Mark Stafford | last post by:
I am attempting to use a DetailsView control to view some data where the fields returned by the database are determined at runtime. I create the TemplateFields on the fly using a class that...
6
by: Andrew Jocelyn | last post by:
Hi How do I programmatically change (read/write) the values in this app.config file at runtime? Specifically I want to change the client endpoint address but it would be nice to change other...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.