Skip to content

New EmbedIO 2.0

Compare
Choose a tag to compare
@geoperez geoperez released this 15 Nov 20:03
· 375 commits to master since this release
409b761

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 Unosquare HttpListener implementation with NET47 or NETSTANDARD20. This separation of implementations brings new access to interfaces from common Http objects like IHttpRequest, 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.