Install ASP.Net Public Service (2.0 or later) without IIS?

For a server farm, I would like to install the ASP.Net public service on a non-web server for sharing with all web servers. Is it possible to install the stand-alone ASP.Net public service without installing IIS on my server? If so, how?

+4
source share
1 answer

According to this blog post Enabling ASP.NET Session State Without Installing IIS , the answer is yes .

First you need to make sure that the public ASP.NET service is installed on the computer. (Of course, you need the .NET Framework installed on this computer.) Go to the Services section of the Administration Tools and find the ASP.NET Public Service Service item. If it is missing, go to the command line, go to %WINDIR%\Microsoft.Net\Framework\*version*\ and type:

 aspnet_regiis -i 

Finally, you need to allow remote connections to this server. Go to the registry and set HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\aspnet_state\Parameters\AllowRemoteConnection to 1.

Happy programming!

Please note that I myself have not tried these steps; rather, I summarize the discussion from the state of enabling ASP.NET state without setting the IIS blog entry that I cited at the beginning of this answer ...

+5
source

Source: https://habr.com/ru/post/1332559/


All Articles