The page Rhino - Deployment to Production Servers uses pre-built binaries.
I want to customize the Rhino code, build it and deploy it on IIS.
Can you please tell me the steps?
Thanks
The page Rhino - Deployment to Production Servers uses pre-built binaries.
I want to customize the Rhino code, build it and deploy it on IIS.
Can you please tell me the steps?
Thanks
You can build your own distribution files and replace the existing ones. You’ll probably want to use the following build command to build your binaries.
dotnet publish src/compute.sln -c Release
If you decide to delete the existing rhino.compute and compute.geometry directories and replace them with new folders created by the build process, you’ll need to run a set of powershell commands that modify the security privileges so that the IIS process can read/write to them. Just open a powershell script (as administrator) and run each of these lines independently.
cmd /c icacls C:\inetpub\wwwroot\aspnet_client\system_web\4_0_30319\rhino.compute /grant ("IIS AppPool\RhinoComputeAppPool" + ':(OI)(CI)F') /t /c /q
cmd /c icacls C:\inetpub\wwwroot\aspnet_client\system_web\4_0_30319\compute.geometry /grant ("IIS AppPool\RhinoComputeAppPool"+ ':(OI)(CI)F') /t /c /q
After that simply restart your server via the IIS manager and you should be good to go.