Chrome extension with REST Api service to view and manage local or remote windows services
- ReactJS & ES6
- Webpack
- Babel
- .NET Core 2
Clone or download this repo. Install gulp globally.
Navigate to an root folder, then run
npm install
To build the project, run
gulp
Then you can navigate to chrome://extensions/ and specify the path to the folder WatchTheService\Chrome-extension\build folder.
You can also run
gulp watch
to develop with live-reload ability. Note that for eventPage you should manually do reload in chrome://extensions/ tab.
You should have VS2017 installed before development. To create self-contained application (without the need to have .NET Core runtime installd on target machine) you should run
dotnet publish -c release -r win10-x64
from WatchTheService\Rest-service-windows folder for win10 target machines. Then you can run WatchTheService\Rest-service-windows\Rest-Service\bin\Release\netcoreapp2.0\win10-x64\Rest-Service.exe and app will be working on port 5000. You can change port in Program.cs file.
Install .NET Core Windows Server Hosting bundle Then see page to configure IIS. Then run
dotnet publish -c release -r win10-x64
Create app in IIS and navigate to WatchTheService\Rest-service-windows\Rest-Service\bin\Release\netcoreapp2.0\win10-x64\publish folder. Set No managed code in .NET CLR version dropdows in pool settings for this app.