G
Guest
Hi,
I am learning C# and basically using a .asp net app I wrote in VB and
converting to C#.
in VB code :
If Context.User.Identity.IsAuthenticated Then
obj = Session.Item(SESSION_NAVIGATION_DATA)
Else
obj = Page.Cache.Get(CACHE_NAVIGATION_DATA)
End If
this code checks to see if for the current user they have already been
authenticated.
my problem is that when trying to write the first line in C# my intellisence
does not provide me with any methods or properites.
I am "inheriting and implementing" all my assembly (DLL) libraries I need.
HELP says that "The Context type supports the .NET Framework infrastructure
and is not intended to be used directly from your code.
How then do I do in C# that I am doing in VB.NET?
thanks
Chris
I am learning C# and basically using a .asp net app I wrote in VB and
converting to C#.
in VB code :
If Context.User.Identity.IsAuthenticated Then
obj = Session.Item(SESSION_NAVIGATION_DATA)
Else
obj = Page.Cache.Get(CACHE_NAVIGATION_DATA)
End If
this code checks to see if for the current user they have already been
authenticated.
my problem is that when trying to write the first line in C# my intellisence
does not provide me with any methods or properites.
I am "inheriting and implementing" all my assembly (DLL) libraries I need.
HELP says that "The Context type supports the .NET Framework infrastructure
and is not intended to be used directly from your code.
How then do I do in C# that I am doing in VB.NET?
thanks
Chris