https://github.com/magnusthor/xsockets.windows.service
An example / template for setting up a Windows Service for XSockets.NET
https://github.com/magnusthor/xsockets.windows.service
Last synced: 7 months ago
JSON representation
An example / template for setting up a Windows Service for XSockets.NET
- Host: GitHub
- URL: https://github.com/magnusthor/xsockets.windows.service
- Owner: MagnusThor
- Created: 2012-11-27T20:42:13.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-04-08T10:50:28.000Z (about 13 years ago)
- Last Synced: 2023-03-27T12:07:58.958Z (about 3 years ago)
- Language: C#
- Size: 593 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
XSockets.Windows.Service
========================
# Info
This is an simple example that shows how to run XSockets.NET as Windows Service.
After successfull build Install the service by using the InstalUtil.exe, open command prompt (development console) in admin mode
Register (install) the service:
InstallUtil.exe XSockets.Windows.Service.exe
Unregister (Uninstall) the service
InstallUtil.exe XSockets.Windows.Service.exe /u
# Note
Do you have dependencies on external assemblies in your "controllers"?
Make sure to add them to the root of the service location.
To change configuration settings such as endpoint and allowed origins (location of your XSockets Service).
Apply your changes to the app.config ("XSockets.Windows.Service.Configuration")
The example configuration is defined to answer on the following url and origins;
Url: ws://127.0.0.1:4506"
Origins: http://*,https://*
As we included the XSockets.Extensibility.Handlers plugin you will be able
to use the "Generic" Controller (Just remove that assembly from the references to disable that functionallity.)
================================================
Kind regards
Team XSockets.NET