Creating an API endpoint in a .NET Windows Service : <p>I have an ASP.NET project and a .NET Windows service running on the same machine, and I want them to communicate (currently only ASP.NET => Service one way). </p>

<p>The most convenient way to do this (IMO) would be a REST / other API endpoint in the service which the ASP.NET project would call (since ASP.NET works with APIs anyway and they can be protected etc.). The problem is that I can't seem to find a way to do this in a Windows service. Is there a native method / library to support this?</p>

<p>Using .NET Framework 4.5.2 in both projects.</p>

<p>Thanks.</p>
