Hi,
Without using a database, what is the best way to store application settings
that need to be updated by a webmaster? I would like to provide a
configuration screen for the webmasters who use my asp.net application. The
application does not use a database so I cannot store values there.
Currently, webmasters edit the web.config file to change settings, however
this application is about to be marketed towards non technical business
owners that will need to use a web page to administer this application.
Please, could someone recommend to me a new way to save my application
settings other than editing the web.config by hand?
Thanks! 4 1601
Well, I'd still use an XML file and simply write a webpage that interfaces
to that. You can use the web-config for this, or create your own xml file.
Make sure that if you write your own, you cache the results since you don't
want to load up and parse the xml file each time you need a value.
Karl
--
MY ASP.Net tutorials http://www.openmymind.net/ - New and Improved (yes, the popup is annoying) http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"djmc" <dj**@discussions.microsoft.com> wrote in message
news:58**********************************@microsof t.com... Hi,
Without using a database, what is the best way to store application settings that need to be updated by a webmaster? I would like to provide a configuration screen for the webmasters who use my asp.net application. The application does not use a database so I cannot store values there. Currently, webmasters edit the web.config file to change settings, however this application is about to be marketed towards non technical business owners that will need to use a web page to administer this application.
Please, could someone recommend to me a new way to save my application settings other than editing the web.config by hand?
Thanks!
There's commercial products that let you do that.
HunterStone's Web.config Editor is one. https://www.hunterstone.com/hsstore/...?productID=112
But, why pay good money for something you can slap together yourself ?
Write your own web.config editor, following the instructions at : http://aspalliance.com/82
Disclaimer : if your application is going to be "marketed towards non technical
business owners that will need to use a web page to administer this application"
they are going to mess up the application in more ways than you can think of.
Make sure you allocate a lot of support time for it.
Juan T. Llibre
ASP.NET MVP http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================
"djmc" <dj**@discussions.microsoft.com> wrote in message
news:58**********************************@microsof t.com... Hi,
Without using a database, what is the best way to store application settings that need to be updated by a webmaster? I would like to provide a configuration screen for the webmasters who use my asp.net application. The application does not use a database so I cannot store values there. Currently, webmasters edit the web.config file to change settings, however this application is about to be marketed towards non technical business owners that will need to use a web page to administer this application.
Please, could someone recommend to me a new way to save my application settings other than editing the web.config by hand?
Thanks!
Hi Karl,
Thanks for the response. I will have my webpage save data to an XML file.
I appreciate the tip.
"Karl Seguin" wrote: Well, I'd still use an XML file and simply write a webpage that interfaces to that. You can use the web-config for this, or create your own xml file. Make sure that if you write your own, you cache the results since you don't want to load up and parse the xml file each time you need a value.
Karl
-- MY ASP.Net tutorials http://www.openmymind.net/ - New and Improved (yes, the popup is annoying) http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to come!)
"djmc" <dj**@discussions.microsoft.com> wrote in message news:58**********************************@microsof t.com... Hi,
Without using a database, what is the best way to store application settings that need to be updated by a webmaster? I would like to provide a configuration screen for the webmasters who use my asp.net application. The application does not use a database so I cannot store values there. Currently, webmasters edit the web.config file to change settings, however this application is about to be marketed towards non technical business owners that will need to use a web page to administer this application.
Please, could someone recommend to me a new way to save my application settings other than editing the web.config by hand?
Thanks!
Hi Juan,
I agree that I'ld rather slap something quickly together myself, but I'll
still check out that commercial link. Hhaha, I can only imagine the problems
I'll get from this, but hopefully I can handle it. It's only a two page
site: 1 for configuring settings with 3 text boxes, and then another page to
display the results. Very very basic.
Anyways, thanks again for the advice.
"Juan T. Llibre" wrote: There's commercial products that let you do that.
HunterStone's Web.config Editor is one.
https://www.hunterstone.com/hsstore/...?productID=112
But, why pay good money for something you can slap together yourself ?
Write your own web.config editor, following the instructions at :
http://aspalliance.com/82
Disclaimer : if your application is going to be "marketed towards non technical business owners that will need to use a web page to administer this application" they are going to mess up the application in more ways than you can think of.
Make sure you allocate a lot of support time for it.
Juan T. Llibre ASP.NET MVP http://asp.net.do/foros/ Foros de ASP.NET en Español Ven, y hablemos de ASP.NET... ======================
"djmc" <dj**@discussions.microsoft.com> wrote in message news:58**********************************@microsof t.com... Hi,
Without using a database, what is the best way to store application settings that need to be updated by a webmaster? I would like to provide a configuration screen for the webmasters who use my asp.net application. The application does not use a database so I cannot store values there. Currently, webmasters edit the web.config file to change settings, however this application is about to be marketed towards non technical business owners that will need to use a web page to administer this application.
Please, could someone recommend to me a new way to save my application settings other than editing the web.config by hand?
Thanks! This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Wes |
last post by:
Hello,
I have an application using an xml dataset to store app and user settings.
The problem I am having is related to writexml. I have a save button on my
application that updates the dataset...
|
by: Matt |
last post by:
Hi,
I was wondering if anyone can tell me why dynamically
updating the web.config file causes ASP.NET worker process
to recycle and detroy all session states including
variables. Is this a known...
|
by: chris |
last post by:
hi,
i managed to populate my datagris and add a template colum to update the database. when i click the update button i get an error. is there something wrong with my code.
...
|
by: James |
last post by:
Hi
Has anybody had any experience of ASP.Net performance counters not updating.
In the performance monitor application when I try to add the groups ASP.NET
and ASP.NET Applications the...
|
by: |
last post by:
Hello,
I have created an ASP.NET 2.0 application that utilized a Gridview Control
to display and update/delete data.
The problem I am having is that the gridview control is displaying the data...
|
by: el_sid |
last post by:
Our developers have experienced a problem with updating Web References in
Visual Studio.NET 2003.
Normally, when a web service class (.asmx) is created, updating the Web
Reference will...
|
by: bbasberg |
last post by:
Hello,
I have been struggling with this problem for DAYS and have googled my heart out as well as reading any books I could get my hands on but I cannot find any specific references to my problem....
|
by: davemills81 |
last post by:
Hi,
Does anyone know how to update the user or application settings of a
dll after building?
The problem I have is?
I have recently developed a service in C# that attaches references a
dll. ...
|
by: jonbartlam |
last post by:
Hi There
I'm not sure what exactly is going wrong here. I'm writing an application that retreives a table from a database (tbl_internalfaults) and updates it. (Actually, just the status column will...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |