Re: Getting Appropriate Context????????????????
From: Marina (zlatkinam@nospam.hotmail.com)
Date: 08/28/02
- Next message: Willy Denoyette [MVP]: "Re: Windows authentication and UNC shares"
- Previous message: Andrew Kemp: "Re: Windows authentication and UNC shares"
- In reply to: FOB: "Getting Appropriate Context????????????????"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Marina" <zlatkinam@nospam.hotmail.com> Date: Wed, 28 Aug 2002 15:48:15 -0400
If System.Web.HttpContext.Current is null, then its a windows app, otherwise
it's a web app.
"FOB" <fob_in_states@yahoo.com> wrote in message
news:eViTaksTCHA.3924@tkmsftngp12...
> Hi all,
> I m working on a DLL that can be used by both the web based clients (like
> ASP.NET pages, web services, etc) or could be consumed by WinForms based
> clients. Now I need to know whether there is any way knowing in which
> context I m running in? I mean if I my DLL is consumed by some aspx or
asmx
> page then I want to have access to some object that should give me access
to
> all the intrinsic objects (like Request, Response, Application, etc).
> Remember the old days of getting web context in our VB/VC dll through some
> interface. I need the equivalent in .NET.
>
> Any help will be appreciated.
>
> Thanks,
> FOB
>
>
>
- Next message: Willy Denoyette [MVP]: "Re: Windows authentication and UNC shares"
- Previous message: Andrew Kemp: "Re: Windows authentication and UNC shares"
- In reply to: FOB: "Getting Appropriate Context????????????????"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|