GithubHelp home page GithubHelp logo

eugene1982 / nancysignalrowin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from serbrech/dublinaltnetowin

0.0 1.0 0.0 81.11 MB

Source code related to talk "Building Owin compliant applications with Katana"

C# 7.56% HTML 0.76% JavaScript 91.69%

nancysignalrowin's Introduction

Nancy + SignalR on OWIN

(Previously called 'Dublin Alt.Net Owin and Katana')

This repository contains the source code used in the presentation. Disclaimer: it is not an example of a well architected application, but rather demonstrates some of the key areas in building an OWIN compliant application.

There are 2 projects:

  • PackageExamples.csproj demonstrates various Owin.* and Microsoft.Owin.* packages in various Startup configurations. Also contains some sample tests

  • NancySignalrRaven.csproj is an example application that combines... you guessed it... Nancy, SignalrR and RavenDB, as well as various middleware and dependency injection.

Using NancySignalrRaven App

  1. Set NancySignalrRaven as startup project and hit F5. Use Chrome Dev tools / FireBug to view the traffic.
  2. Browse to http://localhost:2020 to see the root katana test page as served by Microsoft.Owin.Diagnostics
  3. http://localhost:2020/fault to see what happens when an exception occurs and we've enabled showing of exceptions (via Microsoft.Owin.Diagnostics)
  4. http://localhost:2020/files to browse your C:\ drive which is protect by Basic Auth (Microsoft.Owin.Auth.Basic). Type in any username, and 'damo' for password.
  5. http://localhost:2020/site/ to see the chat home page. Open a couple of chat windows, broadcast some messages and then browse the logs.

License

MIT

Questions, criticisms, compliments or otherwise, @randompunter

Have fun!

nancysignalrowin's People

Contributors

damianh avatar

Watchers

James Cloos 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.