Monday, March 26, 2012

web.config question

Hi,
Could anybody please let me know if I can have custom tags in Web.Config
file just as we do for app.config? If yes, how? If no, how do we generally
configure dynamic properties for an asp.net application?

TIA
Krishnan
Anything good in life is either illegal, immoral or fatteningHi,

You need to implement the IConfigurationSectionHandler and class which
present the tag to be used.

http://www.devhood.com/tutorials/tu...?tutorial_id=90

Natty Gur[MVP]

blog : http://weblogs.asp.net/ngur
Mobile: +972-(0)58-888377

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Hi,

you can add Parameters under <appSettings>
(Not real custom tags, but you can use it for your
properties.)

like:
<add key="param"value="value"/
Seb

>--Original Message--
>Hi,
>Could anybody please let me know if I can have custom
tags in Web.Config
>file just as we do for app.config? If yes, how? If no,
how do we generally
>configure dynamic properties for an asp.net application?
>TIA
>Krishnan
>Anything good in life is either illegal, immoral or
fattening
>
>.
Thanks Guys.

Krishnan
Anything good in life is either illegal, immoral or fattening
"Krishnan" <krishnan_r_take_me_away@.myrealbox.com> wrote in message
news:er2FnORyDHA.2360@.TK2MSFTNGP10.phx.gbl...
> Hi,
> Could anybody please let me know if I can have custom tags in Web.Config
> file just as we do for app.config? If yes, how? If no, how do we generally
> configure dynamic properties for an asp.net application?
> TIA
> Krishnan
> Anything good in life is either illegal, immoral or fattening

0 comments:

Post a Comment