How to distinguish WinForms from ASP .NET?

Tech-Archive recommends: Fix windows errors by optimizing your registry



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?

.



Relevant Pages

  • Re: How to distinguish WinForms from ASP .NET?
    ... 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 ...
    (microsoft.public.dotnet.languages.vb)
  • Re: no Web Services Extension
    ... Web Service Extensions is ... I installed IIS on a computer running Windows NT 2000. ... ASP, ASP.NET are disabled. ... Trouble is, when I expand the local computer, there is no Web Services ...
    (microsoft.public.inetserver.iis)
  • RE: WSE3: authentication problem
    ... So in the winforms I get the currently logged in user and set ... the web services credentials like this: ... protected override string AuthenticateToken(UsernameToken userName) ... Where MyUser is: ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: How to "double post" ???
    ... Certainly there is no standard! ... your asp page to do what it needs to. ... .NET makes consuming web services written in .NET easier. ... > As most times you can't consume java web services in .net. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: How to "double post" ???
    ... Certainly there is no standard! ... your asp page to do what it needs to. ... .NET makes consuming web services written in .NET easier. ... > As most times you can't consume java web services in .net. ...
    (microsoft.public.dotnet.framework.aspnet)