https://github.com/fakoua/rest.msc
Restful API management for Windows Services. Access and control windows services using http commands.
https://github.com/fakoua/rest.msc
json msc owin restful-api servicemodel swagger topshelf visual-basic visual-studio web-api web-api-2 webserver windows-services wmi wmi-action xml
Last synced: 3 months ago
JSON representation
Restful API management for Windows Services. Access and control windows services using http commands.
- Host: GitHub
- URL: https://github.com/fakoua/rest.msc
- Owner: fakoua
- License: mit
- Created: 2017-12-11T15:46:41.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-25T13:48:20.000Z (over 7 years ago)
- Last Synced: 2024-10-19T07:06:25.443Z (9 months ago)
- Topics: json, msc, owin, restful-api, servicemodel, swagger, topshelf, visual-basic, visual-studio, web-api, web-api-2, webserver, windows-services, wmi, wmi-action, xml
- Language: Visual Basic
- Homepage:
- Size: 15.9 MB
- Stars: 9
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[](https://ci.appveyor.com/project/fakoua/rest-msc)
# Rest.msc
Restful API management for Windows Services. Access and control windows services using http commands.## Getting Started
- Download the latest Release binary from: [Latest Release](https://github.com/fakoua/Rest.msc/releases)
- Check the file **Rest.msc.exe.config** (Set ApiKey to empty if you want to disable the authentication)
- Run the file **Rest.msc.exe** AS ADMINISTRATOR
- From any browser open (http://localhost:9000/swagger/ui/index) to see swagger api docs (Make sure APIKey is empty)
- From any browser open (http://localhost:9000/api/Services/Get?api_key=111) to get the list of services on the machine.## Install Rest.msc As Service
- Run the command line AS ADMINISTRATOR
- Go the Rest.msc folder and run the command **Rest.msc.exe install**
- Go to the service manager (services.msc) find the service **Rest.msc API** and Start the service
- Now you can access the API using any Restful Client
- *for complete documentation, please see [API-Documentation.md](API-Documentation.md)*### Prerequisites
.Net Framework 4.7, Visual Studio 2015 or higher with Visual Basic.Net
## Dockerfile
```
FROM microsoft/dotnet-framework:4.7
ARG source
WORKDIR /app
COPY ${source:-obj/Docker/publish} .
ENV APIKEY 111
ENV DockerEnv true
ENTRYPOINT ["C:\\app\\Rest.msc.exe"]
```## Authors
* **Sameh Fakoua** - [fakoua](https://github.com/fakoua)
## License
This project is licensed under the MIT License.