C
Clint Woods (Clint)
I have created a Windows Service in Visual Studio/dotnet core 6.0 and can successfully run it in debug mode by passing in parameters defined in the properties of the project. Note: this client's security rules are such that these values cannot go in the appsettings.json file. They must be passed in by an administrator and not seen again. Here's what I tried in Powershell:New-Service -Name "myservicename" -BinaryPathName "C:\Path\myservice.exe" sc start myservicename -Secret="somesecret" -SqlUserName="domain\username" -SQLUserPassword-"sqlp@ssword1" -ContactModulusFilter=0I get the response:
Continue reading...
Continue reading...