Giter Site home page Giter Site logo

misterjames / collidr Goto Github PK

View Code? Open in Web Editor NEW
22.0 6.0 5.0 6.37 MB

An open source project leveraging SignalR to make real time forms easy.

License: Apache License 2.0

C# 8.34% CSS 0.12% ASP 0.02% JavaScript 91.35% PowerShell 0.15% Shell 0.02%

collidr's Introduction

CollidR

An open source project leveraging SignalR to make real time forms easy.

Check out the introduction on YouTube:
http://www.youtube.com/watch?v=WRGIUJaChyI

Getting it Running in Your Project

Run the CollidR.Mvc5.Sample project (go to /person) to get a sense of what's going on. It's even better with two browsers running!

To get it going in your MVC5 project

Install-Package CollidR
  • In the Startup class for your project, call app.MapSignalR() in the Configuration method
  • Register a new bundle for the SignalR scripts in BundleConfig
    bundles.Add(new ScriptBundle("~/bundles/signalr").Include("~/Scripts/jquery.signalR-{version}.js"));
  • In your Edit view add the CollidR editor pane and alert area using the following Html helper
    @Html.CollidREditorPane()
    @Html.CollidRAlertArea()
  • Also in the edit view, render the SignalR script bundle and create an instance of the CollidR proxy and Register the client using the following html helper
    @Scripts.Render("~/bundles/signalr")
    @Html.RegisterCollidRFor(p => p.PersonId)

Note: Users must be authenticated before accessing any pages that use CollidR

Contributing

Fork away! You'll need to complete a Contributors Agreement before I can do a pull request. This will help to make sure that everyone who wants to use the project freely can do so under the license of this project. Speaking of license...

License

Licensed under the Apache License, Version 2.0.

Acknowledgements

  • Be sure to check out the SignalR Project
  • We're trying to be awesome at install. Thanks to the Glimpse folks for setting the bar good and high

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.