Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I self host a Web UI with ServiceStack?

I'm evaluating ServiceStack (so far it rocks).
I have self hosting webservices working but I can't see how I can self host a UI, or even if this can be done.

Self hosting is ideal for us, the UI will be occasionally used by a limited number of internal users to configure some back-end services

I've looked at customising an AppHost AppHostHttpListenerBase but can't see where to get started.

Any help or direction will be greatly appreciated.

like image 339
Binary Worrier Avatar asked Nov 14 '12 17:11

Binary Worrier


1 Answers

ServiceStack's RazorRockstars GitHub Project shows multiple configurations of the Razor Rockstars website in the different supported hosts:

  • ASP.NET Host - live demo at razor.servicestack.net
  • Standalone Self Host - live demo at razor-console.servicestack.net
  • Standalone Windows Service

It sounds like you want to look at the Stand-Alone Self Host Console Application or Stand-Alone Windows Service which both include their own HttpListener.

like image 83
mythz Avatar answered Sep 21 '22 18:09

mythz