Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Self-host ASP.NET5 Core 1 (VS Community Update 3) with a twist please

$
0
0

Hi all,

I've written a fairly standard ASP.NET5 MVC6 (Core 1) application using Visual Studio 2015 Community with Update 3.

The plan is to sit the app on a PC in some-one’s home (in their basement for example) where it will act as middleware between a heating system and the user via a browser on any device. The app will interface with the hardware and provide the user with an interface to change temperatures and configure stuff.  The app needs to be self-hosted on a PC (rather than the cloud) so it can interface with the hardware. It also needs to be hosted from the PC over a static IP which has been exposed through firewalls, so it can be accessed from a web browser anywhere in the home, or the world. The difficult part, as I've discovered, is finding any complete, up to date, or working information on self-hosting an application that is not over 'localhost'.

For the clever person able to help; I'm not worried about large traffic, or what hosting platform I use as long as it works. IIS (Express?), OWIN, Kestrel, Mono, DNX, are all fine as long as it is relatively simple to install / understand (we all start somewhere) and easy to deploy / maintain.

Is there a technical genius who can rise to the challenge and knows how to self-host a Core 1 app under the described conditions please? From a PC, over an IP address/port other than 'localhost:port' and can provide clear, working (tested?) and understandable instructions on how to accomplish this?

By the looks of it, I'm not the only one who needs to know how to do this; and as the use of Core 1 increases (as it will) the requirement for this knowledge will only grow stronger. True fame and fortune awaits the individual who can.

C# / ASP.NET5 (Core 1)
Razor with CSS3 and HTML5
Currently using Kestrel service with debugging through IIS Express in VS

Much appreciated and forever grateful :D


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>