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 1615
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**@discussio ns.microsoft.co m> wrote in message
news:58******** *************** ***********@mic rosoft.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**@discussio ns.microsoft.co m> wrote in message
news:58******** *************** ***********@mic rosoft.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**@discussio ns.microsoft.co m> wrote in message news:58******** *************** ***********@mic rosoft.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**@discussio ns.microsoft.co m> wrote in message news:58******** *************** ***********@mic rosoft.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 and then using the writexml(...)
function saves the dataset to an xml file. I have noticed that the file does
not change everytime I click the save button. I get no errors but the
writexml function does not seem to be updating the xml file.
...
|
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 bug or is it by design. Do we
know why microsoft do not supply a method to write values
to the web.config file. Thank you to anyone who can give
me any clues to this problem.
Regards,
|
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.
------------------code that populate the grid ar load
Dim conPos As SqlConnection
Dim cmdSel As SqlDataAdapter
Dim ds As DataSet
|
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 counters all show 0. In addition, ASP.NET
Applications does not show any of the ASP.NET instances that are running on
the computer. The other counters for example % processor time work fine.
The problem machine is a test server running Win2003. ...
|
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
correctly but it is not updating or deleting the rows. What I did was, in
design view, added a gridview control and added an sqldatasource control. I
configured the data source to update and delete. In the gridview tasks I
selected enable...
| |
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 utilise the disco file to update the
Corresponding proxy file and reflect the changes made to the web service.
However, the results of doing this with out params is that the results seem
|
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. I have been able to successfully loop through a directory reading spreadsheets that insert records into an Access database. The spreadsheets in said directory are all of the same format but have different values in the cells. It's when I turned...
|
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. Lets call it myDll.dll
The dll has an app.config file that contains user and application
|
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 need updating with 'CLOSED' where necessary.)
I have been trying to use the OLEDB command builder to build the statement to update the database however it is returning an error whenever I try to do this.
I already have a dataset full of data, 1...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |