Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / July 2005

Tip: Looking for answers? Try searching our database.

Updating Application Settings

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
djmc - 18 Jul 2005 11:14 GMT
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!
Karl Seguin - 18 Jul 2005 12:40 GMT
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

Signature

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!)

> Hi,
>
[quoted text clipped - 12 lines]
>
> Thanks!
djmc - 18 Jul 2005 21:47 GMT
Hi Karl,

Thanks for the response.  I will have my webpage save data to an XML file.  
I appreciate the tip.

> 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.
[quoted text clipped - 19 lines]
> >
> > Thanks!
Juan T. Llibre - 18 Jul 2005 12:49 GMT
There's commercial products that let you do that.

HunterStone's Web.config Editor is one.

https://www.hunterstone.com/hsstore/ProductDetails.aspx?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...
======================

> Hi,
>
[quoted text clipped - 10 lines]
>
> Thanks!

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.