fakoua/Rest.msc: Restful API management for Windows Services. Access and control windows services using http commands.

Join GitHub today

GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.

Sign up

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

Fetching latest commit…

Cannot retrieve the latest commit at this time.

Permalink

Build status

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

Getting Started

  • Download the latest Release binary from: Latest Release
  • 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

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 $ .
ENV APIKEY 111
ENV DockerEnv true
ENTRYPOINT [“C:\app\Rest.msc.exe”]

Authors

  • Sameh Fakoua – fakoua

License

This project is licensed under the MIT License.

You can’t perform that action at this time.

Source

Leave a comment

Your email address will not be published. Required fields are marked *