Giter Site home page Giter Site logo

nancy.aspnet.websockets's Introduction

Nancy.AspNet.WebSockets

WebSocket support for Nancy (http://nancyfx.org/) applications hosted with ASP.NET.

Dependencies

  • Nancy.Hosting.Aspnet version 0.20.0
  • Microsoft.WebSockets version 0.2.3
  • .NET 4.5 (due to use of await/async)
  • IIS 7.5 (for WebSocket support)

Installing

Install via the Package Manager Console in Visual Studio:

Install-Package Nancy.AspNet.WebSockets

And for the test harness:

Install-Package Nancy.AspNet.WebSockets.Testing

Or if you're more of a UI person, go to Tools > NuGet Package Manager > Manage NuGet Packages for Solution..., and search for the package(s) there.

Note: Nancy.AspNet.WebSockets depends on a quite old Nancy version, 0.20.0. This is the first version that used an async HTTP handler. However, if you install Nancy.AspNet.WebSockets before Nancy.Hosting.Aspnet, NuGet will install version 0.20.0, which is probably not what you want. Therefore, install Nancy.Hosting.Aspnet first.

Nuget.org links:

Using

Please see the wiki for full usage instructions.

Building/contributing

Feel free to contribute bug fixes and improvements.

To build outside of Visual Studio, you must have npm and grunt installed. To install the necessary dependencies, run:

npm install .
npm install -g grunt-cli

Simply run grunt without arguments to compile and run all tests.

Author/contact

Per Rovegård

Follow me on Twitter: @provegard

Also read my blog: http://programmaticallyspeaking.com

License

Copyright 2015 Per Rovegård

All code is licensed under the MIT license. See the LICENSE file for more details.

nancy.aspnet.websockets's People

Contributors

provegard avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.