New EmbedIO 2.0
Breaking changes
WebApiController
is renewed. Reduce the methods overhead removing the WebServer and Context arguments. See examples below.RoutingStrategy.Regex
is the default routing scheme.
Additional changes
IHttpListener
is runtime/platform independent, you can choose UnosquareHttpListener
implementation with NET47 or NETSTANDARD20. This separation of implementations brings new access to interfaces from common Http objects likeIHttpRequest
,IHttpContext
and more.IWebServer
is a new interface to create custom web server implementation, like a Test Web Server where all the operations are in-memory to speed up unit testing. Similar to TestServer from OWIN- General improvements in how the Unosquare
HttpListner
is working and code clean-up.
Note - We encourage to upgrade to the newest EmbedIO version. Branch version 1.X will no longer be maintained, and issues will be tested against 2.X and resolved just there.