Performance difference is minimal if any.
"sahridhayan" <sahridhayan@discussions.microsoft.com> wrote in message
news:1AAA3523-8A8D-45D9-83C8-A30C9963A074@microsoft.com...
> thanks robbe for your pointer..
>
> would there be performance difference?
>
> I am not able to use httpcontext. it does not fetch tags....returning
> null..
>
> I am also forced to use system.configuration.appsettings...
> eventhough we dont have any support or use for winforms applications.. as
> of
> now
>
>
>
> regs
> sahridhayan
>
>
> "Robbe Morris [C# MVP]" wrote:
>
>> I would use System.Configuration.Appsettings["tag"]..
>> because it is applicable inside a class for both web
>> applications and windows applications. At some point,
>> you may need to use your business logic for the web
>> app on the desktop.
>>
>> --
>> 2004 and 2005 Microsoft MVP C#
>> Robbe Morris
>>
http://www.robbemorris.com >>
http://www.masterado.net >>
>>
>>
>> "sahridhayan" <sahridhayan@discussions.microsoft.com> wrote in message
>> news:6978D133-6D98-4E30-96FC-FC7DE8C2CBBE@microsoft.com...
>> > hi all
>> >
>> > i just want to know which approach is the best..
>> >
>> > i frequently access some variable informations..
>> >
>> > i have virtualdirectory (hosted remoting in IIS) i have appsettings..
>> > keys
>> > and values
>> >
>> > which approach is the best in accessing the key and values..
>> >
>> > System.web.httpcontext.current.application["tag"]
>> >
>> > or
>> > System.Configuration.Appsettings["tag"]..
>> >
>> > because i frequently access the information stored in the values..
>> > (web.config)
>> >
>> > all your directions will be of much helpful..
>> >
>> > regs
>> > sahridhayan
>> >
>> >
>> >
>> >
>>
>>
>>