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!

Version History

Version Downloads Last updated
3.1.4 0 12/9/2019
3.1.3 5,798 10/30/2019
3.1.2 218 10/28/2019
3.1.1 3,810 10/8/2019
3.1.0 164 10/7/2019
3.0.8 3,012 9/23/2019
3.0.7 58 9/23/2019
3.0.6 877 9/14/2019
3.0.5 1,982 9/3/2019
3.0.4 447 8/29/2019
3.0.3 58 8/29/2019
3.0.2 956 8/26/2019
3.0.1 731 8/20/2019
3.0.0 325 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,146 7/23/2019
3.0.0-rc001 129 7/22/2019
3.0.0-preview91 205 7/19/2019
3.0.0-preview9 150 7/18/2019
3.0.0-preview8 166 7/18/2019
3.0.0-preview7 166 7/15/2019
3.0.0-preview6 178 7/9/2019
3.0.0-preview5 153 7/9/2019
3.0.0-preview4 171 6/26/2019
3.0.0-preview3 160 6/25/2019
3.0.0-preview2 227 6/20/2019
3.0.0-preview11 146 7/19/2019
3.0.0-preview10 144 7/18/2019
3.0.0-preview1 165 6/16/2019
2.9.2 9,023 7/10/2019
2.9.1 4,456 6/12/2019
2.9.0 526 6/7/2019
2.8.0 2,209 5/28/2019
2.7.4 803 5/23/2019
2.7.3 2,238 5/15/2019
2.7.2 1,399 4/25/2019
2.7.1 1,020 4/23/2019
2.7.0 308 4/23/2019
2.6.0 257 4/22/2019
2.5.0 915 4/15/2019
2.4.0 845 4/11/2019
2.3.1 2,999 3/20/2019
2.3.0 231 3/20/2019
2.2.9 5,651 2/21/2019
2.2.8 273 2/20/2019
2.2.7 7,840 2/11/2019
2.2.6 565 2/7/2019
2.2.5 424 2/4/2019
2.2.4 548 1/31/2019
2.2.3 2,885 1/24/2019
2.2.2 631 1/23/2019
2.2.1 6,825 1/22/2019
2.2.0 7,864 1/15/2019
2.2.0-pre3 242 1/15/2019
2.2.0-pre2 248 1/14/2019
2.2.0-pre1 242 1/11/2019
2.1.1 5,837 12/12/2018
2.1.0 278 12/11/2018
2.0.0 2,854 11/15/2018
2.0.0-rc4 1,087 11/5/2018
2.0.0-rc3 1,015 10/23/2018
2.0.0-rc2 666 9/24/2018
2.0.0-rc1 237 9/18/2018
1.16.1 8,548 9/11/2018
1.16.0 6,567 8/13/2018
1.15.1 421 8/8/2018
1.15.0 5,530 8/2/2018
1.15.0-pre 298 7/30/2018
1.14.1 2,321 7/6/2018
1.14.0 413 7/6/2018
1.13.2 429 7/3/2018
1.13.1 2,177 6/19/2018
1.13.0 8,000 3/7/2018
1.12.0 4,390 2/8/2018
1.11.3 7,157 11/29/2017
1.11.2 461 11/21/2017
1.11.1 373 11/20/2017
1.11.0 1,446 10/27/2017
1.10.0 646 10/18/2017
1.9.1 806 9/22/2017
1.9.0 381 9/21/2017
1.8.0 2,295 8/25/2017
1.7.0 417 8/21/2017
1.6.10 5,212 5/31/2017
1.6.9 1,735 5/1/2017
1.6.8 491 4/19/2017
1.6.7 414 4/17/2017
1.6.6 410 4/15/2017
1.6.5 525 4/7/2017
1.6.3 512 3/24/2017
1.6.2 381 3/23/2017
1.6.0 1,558 3/12/2017
1.5.0 776 2/27/2017
1.4.6 1,788 1/6/2017
1.4.5 491 1/6/2017
1.4.4 449 1/5/2017
1.4.3 403 1/5/2017
1.4.2 456 1/5/2017
1.4.1 488 1/5/2017
1.4.0 576 1/4/2017
1.2.8 458 12/30/2016
1.2.7 818 12/16/2016
1.2.6 398 12/16/2016
1.2.5 445 12/15/2016
1.2.4 573 12/5/2016
1.2.3 407 12/5/2016
1.2.2 492 12/1/2016
1.2.1 416 11/29/2016
1.2.0 471 11/23/2016
1.1.2 671 11/7/2016
1.1.1 697 10/26/2016
1.1.0 5,694 10/3/2016
1.0.24 1,532 9/12/2016
1.0.23 438 9/9/2016
1.0.22 6,208 7/18/2016
1.0.21 423 7/18/2016
1.0.20 1,635 5/26/2016
1.0.19 469 5/24/2016
1.0.18 482 5/23/2016
1.0.17 5,840 4/12/2016
1.0.16 456 4/6/2016
1.0.15 435 4/5/2016
1.0.14 1,248 12/4/2015
1.0.13 2,170 9/3/2015
1.0.12 499 8/26/2015
1.0.11 504 8/25/2015
1.0.10 1,543 6/22/2015
1.0.9 630 5/20/2015
1.0.8 509 5/19/2015
1.0.7 470 5/19/2015
1.0.6 501 5/18/2015
1.0.5 482 5/14/2015
1.0.4 485 5/11/2015
1.0.3 485 4/29/2015
1.0.2 471 4/27/2015
1.0.1 502 3/29/2015
1.0.0 571 2/11/2015
Show less