Skip to content

dhaneshkk/m2net

 
 

Repository files navigation

m2net, a .NET library to develop Mongrel2 handlers

m2net helps you develop Mongrel2 handlers. It also comes with a rough port of the Cassini ASP.NET web server to use m2net instead of sockets.

Dependencies

  • .NET Framework 3.5 (Can be compiled against the 2.0 BCL if you add add your own ExtensionAttribute)
  • libzmq.dll (included)
  • clrzmq (included)
  • Jayrock.JSON (included)

License

m2net is licensed under the BSD license. m2net.asp is licensed under the Microsoft Public License, since it is derived from Cassini.

Currently limitations

  • Only works with x86 .NET apps on Windows. That is, it will run just fine under x64 Windows just as long as you compile it as X86 and not AnyCPU or x64.

Areas for improvement

  • Inject m2net.Asp.dll into ASP.NET on Mono so that it does not have to be in the GAC.
  • A better Linux build experiance, perhaps such that the Linux build can be based on the VS solution and project files.
  • Document how to use m2net and the ASP.NET handler.
  • See if the recieve socket also does not like multiple threads using it and added a recieve queue if needed.
  • Complile a 64-bit version of the ZMQ native library and use it with clrzmq to allow for 64-bit handlers on Windows.
  • Make the Cassini port more correctly implement the overrides of SimpleWorkerRequest.

About

A .NET library to develop Mongrel2 handlers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published