Ask a Question related to ASP.NET General, Design and Development.
-
WebDevHokie #1
Determining if object is run in web or win32
Is there a way that you can tell if an object is run under a web or a win32
environment? I have an object ( Data Access Object) that uses the ASP.NET
cache. I have also implemented unit testing into the application (using
NUnit). These unit tests call the application which call the Data Access
Object which uses the cache. I want to be able to say, if this is run under
the win32 environment, dont use the cache. I guess I could check to see if
the cache object is null, but was just curious if there was another way
around that. Thanks in advance!
WebDevHokie Guest
-
Dave Roth's site (Win32::AdminMisc, Win32::ODBC, etc.) not available.
Does anyone know of an alternate method to contact Dave Roth (other then rothd@roth.net )? It appears that his entire domain is unavailable... -
Win32-PerfMon on Win32
Windows 2000(SP4) ActivePerl 5.8.3 I found this escapade rather confusing, I'm warning you now. I cannot install this Win32-PerfMon module, I... -
Win32::Service Determining which are set to start automatically
Hi everyone, I am trying to write a script that checks to make sure all services that are set to start automatically are running. If they are... -
Determining if a var is a number
This probably is a simple problem but I have been struggling with it for some time. I am trying to determine if a user supplied variable is a... -
Determining the referring URL
I have a page with frames. The left frame is a list of urls. The main frame is loaded based on the url that was clicked in the left frame. Is... -
Steve C. Orr, MCSD #2
Re: Determining if object is run in web or win32
You could check to see if the current context is null, but checking for the
existence of the cache as you mentioned seems just as simple.
--
I hope this helps,
Steve C. Orr, MCSD
[url]http://Steve.Orr.net[/url]
"WebDevHokie" <mwitczak@rkeng.com> wrote in message
news:uTPdIlkRDHA.2232@TK2MSFTNGP11.phx.gbl...win32> Is there a way that you can tell if an object is run under a web or aunder> environment? I have an object ( Data Access Object) that uses the ASP.NET
> cache. I have also implemented unit testing into the application (using
> NUnit). These unit tests call the application which call the Data Access
> Object which uses the cache. I want to be able to say, if this is runif> the win32 environment, dont use the cache. I guess I could check to see> the cache object is null, but was just curious if there was another way
> around that. Thanks in advance!
>
>
>
Steve C. Orr, MCSD Guest
-
Ben #3
Re: Determining if object is run in web or win32
Determine from the process name see Process
"WebDevHokie" <mwitczak@rkeng.com> wrote in message
news:uTPdIlkRDHA.2232@TK2MSFTNGP11.phx.gbl...win32> Is there a way that you can tell if an object is run under a web or aunder> environment? I have an object ( Data Access Object) that uses the ASP.NET
> cache. I have also implemented unit testing into the application (using
> NUnit). These unit tests call the application which call the Data Access
> Object which uses the cache. I want to be able to say, if this is runif> the win32 environment, dont use the cache. I guess I could check to see> the cache object is null, but was just curious if there was another way
> around that. Thanks in advance!
>
>
>
Ben Guest



Reply With Quote

