Modifying Application Object variables in ASP.Net

B

Brian Bender

I have a static class in my VB.Net ASP app. In this class I want to
modify application object variables. What do I need to reference in
order for this class to see the application object?

Thanks,

Brian Bender

www.brianbender.com
 
I

Ignacio Machin \( .NET/ C# MVP \)

Hi Brian,

Why don't do the opposite? Keeping the variables on this static class may be
a better idea that keep them on the Application . If you change the UI to a
windows app. for example you would have to change the code of the static
class, but if you keep the variables on a static class it needs not to
change.

Hope this help,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top