- 51Aspx源码必读 .txt[3KB]
- NSession\AspWorkerRequest.cs[2KB]
- NSession\ISessionStateClient.cs[452B]
- NSession\NSession.csproj[4KB]
- NSession\SessionStateClient.cs[8KB]
- NSession\Properties\AssemblyInfo.cs[1KB]
- NSessionNative\ReadMe.txt[3KB]
- NSessionTest\Default.aspx[599B]
- NSessionTest\Default.aspx.cs[324B]
- NSessionTest\Global.asax[72B]
- NSessionTest\ServerVars.asp[153B]
- NSessionTest\Site.master[2KB]
- NSessionTest\Site.master.cs[290B]
- NSessionTest\Test.asp[536B]
- NSessionTest\Web.config[877B]
- NSessionTest\App_Code\NSessionTestApplication.cs[3KB]
- from.gif[4KB]
- lib.zip[32KB]
- Nsession.sln[5KB]
- 最新Asp.Net源码下载.url[123B]
- bin\NSession.tlb[1KB]
- NSession\myKey.snk[596B]
- NSessionNative\dlldata.c[849B]
- NSessionNative\dllmain.cpp[362B]
- NSessionNative\dllmain.h[336B]
- NSessionNative\NSessionNative.aps[5KB]
- NSessionNative\NSessionNative.cpp[1KB]
- NSessionNative\NSessionNative.def[213B]
- NSessionNative\NSessionNative.idl[946B]
- NSessionNative\NSessionNative.rc[6KB]
- NSessionNative\NSessionNative.rgs[12B]
- NSessionNative\NSessionNative.vcxproj[14KB]
- NSessionNative\NSessionNative.vcxproj.filters[2KB]
- NSessionNative\NSessionNative.vcxproj.user[143B]
- NSessionNative\NSessionNative.vcxproj.vspscc[338B]
- NSessionNative\NSessionNativeps.def[139B]
- NSessionNative\NSessionNativePS.vcxproj[4KB]
- NSessionNative\NSessionNativePS.vcxproj.filters[911B]
- NSessionNative\NSessionNativePS.vcxproj.user[143B]
- NSessionNative\NSessionNativePS.vcxproj.vspscc[370B]
- NSessionNative\NSessionNative_i.c[2KB]
- NSessionNative\NSessionNative_i.h[9KB]
- NSessionNative\NSessionNative_p.c[9KB]
- NSessionNative\ReadOnlySession.cpp[141B]
- NSessionNative\ReadOnlySession.h[1KB]
- NSessionNative\ReadOnlySession.rgs[654B]
- NSessionNative\ReadWriteSession.cpp[145B]
- NSessionNative\ReadWriteSession.h[2KB]
- NSessionNative\ReadWriteSession.rgs[617B]
- NSessionNative\resource.h[1KB]
- NSessionNative\stdafx.cpp[210B]
- NSessionNative\stdafx.h[617B]
- NSessionNative\targetver.h[314B]
- NSessionTest\Bin\NSession.dll[15KB]
- NSessionTest\Bin\NSession.pdb[23KB]
源码介绍
源码参数
NSession源码
运行环境:ASP Classic
技术特点:用.NET 4.0和VC 开发的COM object.
功能描述:让ASP Classic程序使用ASP.NET Session Store的数据
注意事项:注册程序需要的组件,打开系统的ASP.NET State Service服务,需要.net framework 4.0
安装方法:
There are 2 DLLs to register.
The first dll NSession.dll is a .net framework 4.0 dll and it is independent of 32 or 64 bit environment. Since it is accessed by ASP Classic, it needs to be registered as a COM object using RegAsm. It also needs to be place in global assembly cache using gacutil. The NSession.dll is a .NET framework 4 dll. You need .NET framework 4 on the machine but you can run any version of ASP.NET as the DLL is not loaded into the same AppDomain as the ASP.NET application.
The second dll NSessionNative.dll is a C++ dll and is platform dependent. You need to register the appropriate version depending on whether you are running the 32 or 64 bit application pool. The reason that we need a C++ dll is that we need deterministic finalization to serialize the session at the end of page request. We chose C++ over VB6 because it can create both 32 bit and 64 bit COM objects.
1 注册NSession.dll方法
http://msdn.microsoft.com/en-us/library/tzat5yw6.aspx
2 使用Regsvr32命令注册 NSessionNative.dll
更多源码详细请访问
http://nsession.codeplex.com
http://weblogs.asp.net/lichen/archive/2011/10/30/sharing-session-between-asp-classic-and-asp-net-using-asp-net-session-state-server.aspx
寻找安装步骤。
下载记录(Only Recent 100)
用户名 | 推荐指数 | 下载时间 |
---|