Wrox Programmer Forums
|
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0
This is the forum to discuss the Wrox book ASP.NET 2.0 Website Programming: Problem - Design - Solution by Marco Bellinaso; ISBN: 9780764584640
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 1st, 2008, 02:22 AM
Authorized User
 
Join Date: Jul 2007
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default Config Sections

When I am reading the books I was assuming that this section will be updatable from web pages.

But when I search I don't find any webpage to update the settings specific to that modules.

My questions is that

Can there any webpages which I update those settings?
If not then when the user will have to change settings then he have to change it in web.config.

 
Old February 1st, 2008, 12:48 PM
Lee Dumond's Avatar
Wrox Author
 
Join Date: Jan 2008
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
Default

You are correct in noting that Marco didn't create a front-end UI that would let an administrator alter theBeerSection web.config settings. But you could easily do that if you wanted to. I suspect that's why he put set clauses in the properties.

 
Old February 2nd, 2008, 08:04 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I would not recommend updating the configuration from inside a web application. Any updates to web.config cause the application to recycle. How often do you need to update those items? I prefer to manually update web.config and test it on my PC. Then I upload it.

Eric

 
Old February 3rd, 2008, 01:23 AM
Lee Dumond's Avatar
Wrox Author
 
Join Date: Jan 2008
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
Default

If you manually update it and upload it, it recycles the app as well, so no big difference there.

There are some situations where it might come in handy. Let's say you wanted to change a setting remotely via the web. Or, you wanted to let a colleague do it, without granting him access to the whole web.config file. It would be handy to have an administration console to do that.

That said, it's not an ideal scenario for a lot of situations. For one thing, the code that makes it possible obviously requires High Trust on the server. It wouldn't work with Medium Trust or lower. That would probably present a problem in a shared hosting environment.






Similar Threads
Thread Thread Starter Forum Replies Last Post
About Sections in Crystal Reports Radhi Crystal Reports 1 September 7th, 2007 09:23 AM
Sections formatting s_chilkury Crystal Reports 0 December 21st, 2005 06:46 AM
How to move sections lxken XSLT 5 April 28th, 2004 06:44 PM
Adding a new FAQ sections? NotNowJohn Forum and Wrox.com Feedback 1 June 16th, 2003 09:33 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.