EmbedIO 2.0.0

A tiny, cross-platform, module based, MIT-licensed web server for .NET Framework and .NET Core.

Written entirely in C#, using our helpful library SWAN
Network operations use the async/await pattern: Responses are handled asynchronously
Cross-platform[1]: tested in Mono on Windows and on a custom Yocto image for the Raspberry Pi
Extensible: Write your own modules -- For example, video streaming, UPnP, etc. Check out EmbedIO Extras for additional modules.
Small memory footprint
Create REST APIs quickly with the out-of-the-box Web API module
Serve static files with 1 line of code (also out-of-the-box)
Handle sessions with the built-in LocalSessionWebModule
WebSockets support (see notes below)
CORS support. Origin, Header and Method validation with OPTIONS preflight
Supports HTTP 206 Partial Content

There is a newer version of this package available.
See the version list below for details.
Install-Package EmbedIO -Version 2.0.0
dotnet add package EmbedIO --version 2.0.0
<PackageReference Include="EmbedIO" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EmbedIO --version 2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

v.2.0.0
BREAKING CHANGES
v1.16.1
Fix issue with CORS
v1.16.0
Allow setting Web API headers
v1.15.1
Better Debug message log
v1.15.0
Fix RunAsync method (Issue #178)
v 1.14.1
Add Stricter RegEx filtering to prevent incorrect routing by @jtol84
v 1.14.0
Add new Resources File Module by @nickhodge
v 1.13.2
Fix issue with regex routing and Websockets
v 1.13.1
Fix issue with FireFox and WebSockets
v 1.13.0
Change dependency SWAN to Lite version
Upgrade codebase to C# 7.1
v 1.12.0
Added support for web socket routing (Issue #124)
New callback to handle 405 HTTP responses (Issue #123)
v 1.11.0
- Added Directory Browser to StaticFileModule (Issue #103)
v 1.10.0
- Added Wildcard and Regex routing strategy to all modules (Issue #98)
- Restored NET47 target
v 1.9.1
- Resolved issues with CloseAsync
v 1.9.0
- Fixed some issues with Performance
v 1.8.0
- Resolved Issue #89
- Removed PROXY and AUTHENTICATION segments.
- Resolved some StyleCop issues.
- Refactored some classes to reduce responsibility.
v 1.7.0
- Upgrade NET Framework targets
- Resolved issue with file lock
v 1.6.10
- Fix issue with Decompress
v 1.6.9
- Fix WWW-Authenticate (@bufferUnderrun)
v 1.6.8
- Fix reading multipart post (@MarcusWichelmann)
v 1.6.7
- Experimental support to UAP
v 1.6.6
- Resolved issue with big payload over WebSocket
v 1.6.5
- Added support to NET Standard 1.3

Showing the top 5 GitHub repositories that depend on EmbedIO:

Repository Stars
unosquare/embedio
A tiny, cross-platform, module based web server for .NET
JohnnyCrazy/SpotifyAPI-NET
:sound: An API for the Spotify-Client and the Spotify Web API, written in C#/.NET
jwallet/spy-spotify
Records Spotify to mp3 without ads while it plays and includes media tags to the recorded files
miltoncandelero/Boop
GUI for network install for switch and 3ds
Daddoon/BlazorMobile
Create full C# driven hybrid-apps for iOS, Android, UWP & Desktop with Blazor!

Read more about the GitHub Usage information on our documentation.

Version History

Version Downloads Last updated
3.1.4 388 12/9/2019
3.1.3 6,166 10/30/2019
3.1.2 222 10/28/2019
3.1.1 4,191 10/8/2019
3.1.0 166 10/7/2019
3.0.8 3,018 9/23/2019
3.0.7 61 9/23/2019
3.0.6 904 9/14/2019
3.0.5 1,997 9/3/2019
3.0.4 464 8/29/2019
3.0.3 60 8/29/2019
3.0.2 966 8/26/2019
3.0.1 733 8/20/2019
3.0.0 327 8/19/2019
3.0.0-rc007 221 8/15/2019
3.0.0-rc006 163 8/12/2019
3.0.0-rc005 173 8/8/2019
3.0.0-rc004 158 8/5/2019
3.0.0-rc003 147 8/1/2019
3.0.0-rc002 3,162 7/23/2019
3.0.0-rc001 129 7/22/2019
3.0.0-preview91 207 7/19/2019
3.0.0-preview9 152 7/18/2019
3.0.0-preview8 168 7/18/2019
3.0.0-preview7 168 7/15/2019
3.0.0-preview6 180 7/9/2019
3.0.0-preview5 155 7/9/2019
3.0.0-preview4 173 6/26/2019
3.0.0-preview3 162 6/25/2019
3.0.0-preview2 229 6/20/2019
3.0.0-preview11 148 7/19/2019
3.0.0-preview10 147 7/18/2019
3.0.0-preview1 166 6/16/2019
2.9.2 9,457 7/10/2019
2.9.1 4,514 6/12/2019
2.9.0 533 6/7/2019
2.8.0 2,211 5/28/2019
2.7.4 804 5/23/2019
2.7.3 2,254 5/15/2019
2.7.2 1,402 4/25/2019
2.7.1 1,022 4/23/2019
2.7.0 309 4/23/2019
2.6.0 260 4/22/2019
2.5.0 917 4/15/2019
2.4.0 847 4/11/2019
2.3.1 3,009 3/20/2019
2.3.0 232 3/20/2019
2.2.9 5,968 2/21/2019
2.2.8 275 2/20/2019
2.2.7 7,983 2/11/2019
2.2.6 567 2/7/2019
2.2.5 425 2/4/2019
2.2.4 550 1/31/2019
2.2.3 2,909 1/24/2019
2.2.2 633 1/23/2019
2.2.1 6,883 1/22/2019
2.2.0 7,922 1/15/2019
2.2.0-pre3 244 1/15/2019
2.2.0-pre2 250 1/14/2019
2.2.0-pre1 244 1/11/2019
2.1.1 5,845 12/12/2018
2.1.0 280 12/11/2018
2.0.0 2,865 11/15/2018
2.0.0-rc4 1,099 11/5/2018
2.0.0-rc3 1,020 10/23/2018
2.0.0-rc2 666 9/24/2018
2.0.0-rc1 239 9/18/2018
1.16.1 8,562 9/11/2018
1.16.0 6,594 8/13/2018
1.15.1 427 8/8/2018
1.15.0 5,555 8/2/2018
1.15.0-pre 300 7/30/2018
1.14.1 2,328 7/6/2018
1.14.0 417 7/6/2018
1.13.2 432 7/3/2018
1.13.1 2,180 6/19/2018
1.13.0 8,020 3/7/2018
1.12.0 4,392 2/8/2018
1.11.3 7,158 11/29/2017
1.11.2 463 11/21/2017
1.11.1 375 11/20/2017
1.11.0 1,450 10/27/2017
1.10.0 648 10/18/2017
1.9.1 810 9/22/2017
1.9.0 384 9/21/2017
1.8.0 2,342 8/25/2017
1.7.0 420 8/21/2017
1.6.10 5,215 5/31/2017
1.6.9 1,750 5/1/2017
1.6.8 494 4/19/2017
1.6.7 419 4/17/2017
1.6.6 414 4/15/2017
1.6.5 527 4/7/2017
1.6.3 516 3/24/2017
1.6.2 384 3/23/2017
1.6.0 1,561 3/12/2017
1.5.0 779 2/27/2017
1.4.6 1,790 1/6/2017
1.4.5 493 1/6/2017
1.4.4 453 1/5/2017
1.4.3 406 1/5/2017
1.4.2 460 1/5/2017
1.4.1 491 1/5/2017
1.4.0 580 1/4/2017
1.2.8 461 12/30/2016
1.2.7 821 12/16/2016
1.2.6 400 12/16/2016
1.2.5 448 12/15/2016
1.2.4 577 12/5/2016
1.2.3 409 12/5/2016
1.2.2 495 12/1/2016
1.2.1 418 11/29/2016
1.2.0 473 11/23/2016
1.1.2 674 11/7/2016
1.1.1 699 10/26/2016
1.1.0 5,696 10/3/2016
1.0.24 1,575 9/12/2016
1.0.23 441 9/9/2016
1.0.22 6,264 7/18/2016
1.0.21 426 7/18/2016
1.0.20 1,636 5/26/2016
1.0.19 471 5/24/2016
1.0.18 485 5/23/2016
1.0.17 5,843 4/12/2016
1.0.16 459 4/6/2016
1.0.15 439 4/5/2016
1.0.14 1,252 12/4/2015
1.0.13 2,181 9/3/2015
1.0.12 504 8/26/2015
1.0.11 508 8/25/2015
1.0.10 1,563 6/22/2015
1.0.9 633 5/20/2015
1.0.8 511 5/19/2015
1.0.7 474 5/19/2015
1.0.6 502 5/18/2015
1.0.5 483 5/14/2015
1.0.4 487 5/11/2015
1.0.3 487 4/29/2015
1.0.2 473 4/27/2015
1.0.1 504 3/29/2015
1.0.0 573 2/11/2015
Show less