Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 1 day ago
JSON representation

Restful API management for Windows Services. Access and control windows services using http commands.

Awesome Lists containing this project

README

        

[![Build status](https://ci.appveyor.com/api/projects/status/sx1sg65qx7p42w28?svg=true)](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.