Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

$4.95 Windows Hosting at Webhost4life.com
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
WebHostForAsp.net
 


  Sponsors  

Meet Our Sponsors

MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  How to add a new property in web.config File and call that in a module
Previous Previous
 
Next Next
New Post 4/17/2008 3:24 AM
User is offline Sameer
23 posts
10th Ranked


How to add a new property in web.config File and call that in a module 

Hi.

I am sameer, currently developing a site for ebay user. since there opeartions are different, I need to use web Configuration file to call up with ebay and list out products so I need to know "How to add a new property in web.config File and call that in a module". so can anybody ltell me know how to get this done.

Thanx.

 
New Post 4/17/2008 11:59 AM
User is offline Brandon Haynes
551 posts
everysport.net
8th Ranked


Re: How to add a new property in web.config File and call that in a module 

Hi Sameer,

Your question is very likely too general to generate much response on here.  You might want to specify in more detail exactly what you're trying to accomplish.

In general, you'd likely effectuate your web.config changes by just modifying them in whatever way you intend.  For example, to add a new AppSetting, you would just insert the following element:

<add key="MySetting" value="MyValue" />

You retrieve these values via the System.Configuration namespace, typically using the System.Configuration.Configuration object.  The AppSettings property would allow you to retrieve the aforementioned element.

Hope this helps in general.  If you require more assistance, I strongly recommend restating in more detail!

Brandon


Brandon Haynes
BrandonHaynes.org
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  How to add a new property in web.config File and call that in a module
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


TechNexxus
Business process and technology sourcing solutions delivering superior people, process and value. We have used, and continue to use, DNN successfully in numerous client projects to deliver exceptional value. We are proud to support the DNN team and community.
www.technexxus.com
PartnerPoint - Microsoft Technology Community
PartnerPoint is one of the largest online communities of Microsoft Partners Worldwide. With over 5,000 active members, it serves as a collaboration platform for other technology communties around the globe
www.partnerpoint.com
Web Valley
Website design, Database development
www.webvalley.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP