Other

 0    1 flashcard    jaroosh
download mp3 print play test yourself
 
Question język polski Answer język polski
Jak shostowac standalonowy server http?
start learning
HttpSelfHostServer
new HttpSelfHostConfiguration(new Uri(address)); conf. Routes. MapHttpRoute(name: "DefaultApi", routeTemplate: "api/{controller}/{id}", defaults: new {id = RouteParameter. Optional}); var server = new HttpSelfHostServer(conf); server. OpenAsync(). Wait();

You must sign in to write a comment