Server Web page #175
-
Hello I am doing some tests to embed a simple web server to serve a single page from c#. I found this Waston solution, but I am bit confused about the capability to serve a single page, as far I saw/understood is more focused on API. Regards Fran |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @fjosegalan yes it is possible indeed. Please look into content routes, which can be assigned using e.g.
The
|
Beta Was this translation helpful? Give feedback.
Hi @fjosegalan yes it is possible indeed. Please look into content routes, which can be assigned using
server.Routes.PreAuthentication.Content
.e.g.
The
Test.Default
project has an example of this as well, so you can run that project to see its behavior: