CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

MS SQL 2008 on ASP.NET Hosting



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 1/11/2008 10:05:30 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 3 Views: 39 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
4 Items, 1 Pages 1 |< << Go >> >|
irasmith
Asp.Net User
appSettings, Keys, and Master Pages question1/11/2008 10:05:30 PM

0/0

In my web.config file, within the appsettings section, I have defined several keys such as companyname, companyaddress, etc.  In my master page code behind file, in the Page_Load area I have associated the appsetting keys with some labels that I have setup in the master page to represent the various pieces of data.

In testing the pages of the site out that use the master page everything seems to be working just fine, the various bits of data are coming in as they should be set at the values from the web.config file.

The site(s) that I am doing this on are small in terms of the number of pages to the site and the user load viewing the site isn't that large either.  What I am wondering is if the approach I have taken is all right performance wise or should I do something different?

 


Ira Richard Smith
response.cookie
Asp.Net User
Re: appSettings, Keys, and Master Pages question1/11/2008 10:50:23 PM

0/0

it's perfectly fine to do it how you are explaining.

As long as you're not storing any sensitive information in the web.config appsettings section, you can do this no problem.

Otherwise, I would suggest storing encrypted values in the web.config, and have a worker class decrypt the info before setting the labels.

nikhil.agrawal
Asp.Net User
Re: appSettings, Keys, and Master Pages question1/12/2008 9:06:13 AM

0/0

 In General,

Put information in the web.config that could change by the Configuration ( changes in Hosting, Client, Environment) and/or it used multiple times in application.

Encryption is subject of Security, it always better to keep, but important thing how important for us it to preserve.


Nikhil Agrawal
Think before you Think
irasmith
Asp.Net User
Re: appSettings, Keys, and Master Pages question1/13/2008 3:17:36 PM

0/0

Thanks to those who replied to my message providing the confirmation that the way in which I am using the appsettings section of the web.config file is in line with what it was intended to do.  Rest assured the manner in which I am using it contains no confidential or secret information as my intent is to use it for information within site content that can change such as company name and address information so that there is one and only one place this information has to be changed and once done the site content itself sees this change and no further modification to site content would be necessary.


Ira Richard Smith
4 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
ASP.NET 2.0 Cookbook Authors: Michael A. Kittel, Geoffrey T. LeBlond, Pages: 989, Published: 2005
ASP.NET 2.0 Instant Results Authors: Imar Spaanjaars, Paul Wilton, Shawn Livermore, Pages: 456, Published: 2006
Beginning XML with DOM and Ajax: From Novice to Professional Authors: Sas Jacobs, Pages: 432, Published: 2006
ASP.NET 2.0 MVP Hacks and Tips Authors: David Yack, Joe Mayo, Scott Hanselman, Fredrik Normén, Dan Wahlin, J. Ambrose Little, Jonathan Goodyear, Pages: 400, Published: 2006
Beginning Visual Basic 2005 Authors: Thearon Willis, Bryan Newsome, Pages: 799, Published: 2006
Professional ASP.NET 2.0 Security, Membership, and Role Management Authors: Stefan Schackow, Pages: 611, Published: 2006
Professional C# 2005 with .NET 3.0 Authors: Christian Nagel, Bill Evjen, Jay Glynn, Karli Watson, Morgan Skinner, Pages: 1748, Published: 2007
Pro ASP.NET 2.0 in VB 2005: From Professional to Expert Authors: Laurence Moroney, Matthew MacDonald, Pages: 1253, Published: 2006
Professional ASP.NET 2.0 XML Authors: Thiru Thangarathinam, Pages: 566, Published: 2005
Pro ASP.NET 2.0 in C# 2005 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1255, Published: 2005

Web:
AppSettings In web.config Feb 13, 2005 ... The element of a web.config file is a place to store .... Master pages in ASP.NET are the key to building a professional web ...
ASPAlliance.com : The #1 ASP.NET Developer Community : Paul ... CodeProject: How To Develop Cascading Master Pages in ASP.NET ... Nov 9, 2004 ... shepherdweb.com » Handling Google Maps API Keys with ASP.NET ... Handling Google Maps API Keys with ASP.NET MasterPages and Web.config. ... Add the keys to the appSettings section of Web.config. ...
CodeProject: How To Develop Cascading Master Pages in ASP.NET ... Configuration error with Master Pages - ASP.NET Forums ASP.NET Master Pages Overview NET master pages allow you to create a consistent layout for the pages in ... < meta name="metaKeyword" content="keys" id="metaKeyword" runat="server" /> ...
Inside Microsoft: Back Seat Driver November 2002 (Free Article) The Tag-based approach is best demonstrated by the Master Pages project, .... < appSettings> ...
TARFU When Declaring Themed Images with MasterPages (or is it me ... TARFU When Declaring Themed Images with MasterPages (or is it me again?) Last post 08-26-2005 10:30 AM by ... Web.config Templated Pages using RewritePath and User Controls Master pages are still awhile away, so there are some interesting solutions .... ...




Search This Site:










improving dnn load time performance

dnn 1.0 search module?

new free skin - xdfuseme

anyone have recommendations for website design?

unusual dnn things to look out for

firefox vs. ie - image alpha channels

can anyone point me to where doc is to add new users manually in 3.0.13?

chat room module for dnn321 - recommendations please

new: another new skin: "workplace"

my new dnn site and a new free skin to celebrate

componentart menu 2.0

best european alternative to webhost4life

my growing collection of free dnn containers ( comments and suggestions welcome )

dnn ftp

creating a dotnetnuke module using notepad - for absolute beginners!

to top of page button...

smallest skinobject ever? redirect ... free download

purchase traincert problem

container generator

trekkies...

dnn3.0.5 - test your modules and create free dnn 3.0.5 portal

dnn skins are not cheap, no ?

security role

tourism site skin

many thanks and recommendations..... thetravelgal website is launched

installing dnn3

custom module sig

forum themes

free 41min video tutorial efficion consulting articles module

new dnn module: sigmapro web service

  Privacy | Contact Us
All Times Are GMT