Re: How to distinguish WinForms from ASP .NET?
- From: "Herfried K. Wagner [MVP]" <hirf-spam-me-here@xxxxxx>
- Date: Mon, 29 Aug 2005 20:26:39 +0200
"Nikolay Petrov" <johntup2@xxxxxxx> schrieb:
I have compiled some shared function in a lybrary, which I use in various application from asp pages, web services to winforms and windows services.
some of the functionality in my libarary is dependent on where it is called from. I would like to do one things if it is called from asp application, and other if it is called from WinForms app.
Is there a way, I can distinguish where me library functions are called from?
I have never tested it, but I am curious what 'Assembly.GetEntryAssembly' returns for ASP.NET applications.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
.
- Follow-Ups:
- Re: How to distinguish WinForms from ASP .NET?
- From: Nikolay Petrov
- Re: How to distinguish WinForms from ASP .NET?
- References:
- How to distinguish WinForms from ASP .NET?
- From: Nikolay Petrov
- How to distinguish WinForms from ASP .NET?
- Prev by Date: Re: Overloaded constructors
- Next by Date: Re: Overloaded constructors
- Previous by thread: Re: How to distinguish WinForms from ASP .NET?
- Next by thread: Re: How to distinguish WinForms from ASP .NET?
- Index(es):
Relevant Pages
|