Giter Club home page Giter Club logo

dashing.net's Introduction

dashing.net

###See an example of dashing.net running in Windows Azure

dashing.net is a direct .net port of the dashing framework originally created by Shopify.

Check out the Shopify dashing homepage.

dashing.net allows you to create beautiful dashboards & widgets using html/scss/coffeescript/c#. The dashboard itself is written with asp.net web api/mvc 4.

We have tried to re-use as much code as possible from dashing to preserve compatibility. Therefore most of the behaviours and conventions used in dashing.net should be identical or closely mirrored to dashing. All widget frontend files (html,scss and coffeescript) can be used directly. Jobs, however, need to be re-implemented in C# or another compatible .net language.

License

Distributed under the MIT license

dashing.net's People

Contributors

nicojuicy avatar sbarski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dashing.net's Issues

Solarwinds Auto Authentication

Thanks for a great tool. I am trying to pull solarwinds data into my dashboard and was wondering if there's a way to auto authenticate into solarwinds in dashing.net because solarwinds pops up a login box and I have to manually log-in.

hosting on iis

I was able to get the dashboard running on a dev machine using IIS Express, but when I host it on IIS on an azure VM or on an Azure website, the api/events/ call never completes, it statys open ( in chrome dev tools) is there a know fix, IIS configurtion to get the SSE working on iis 8 ?

Dashing.net weather app

Hi Peter,

My next challenge is to built a weather app on dashing.net. We are a huge fan of Dashing.net already!

I have the following code I tried to port from Ruby into .NET based on this example https://gist.github.com/mjamieson/5274790

I have been trying to fix it for a past few days but no luck!

  namespace dashing.net.jobs
   {
     [Export(typeof(IJob))]
    public class Weather : IJob
    {

    private const string f_lat = "45.429522";
    private const string f_long = "-75.689613";
    private const string f_unit = "si";

    public Lazy<Timer> Timer { get; private set; }

    public Weather()
    {
        Timer = new Lazy<Timer>(() => new Timer(SendMessage, null, TimeSpan.Zero, TimeSpan.FromMinutes(15)));
    }

    private void SendMessage(object message)
    {
        using (var client = new WebClient())
        {
            var url = string.Format("http://forecast.io/embed/#lat={0}&lon={1}", HttpUtility.UrlEncode(f_lat), HttpUtility.UrlEncode(f_long));


            using (var data = client.OpenRead(url))
            {
                if (data == null)
                {
                    return;
                }

                var reader = new StreamReader(data);

                var feed = reader.ReadToEnd();
                //var weatherData = new {};
               // var weatherLocation = new {};

                var results = JsonConvert.DeserializeObject<Weather>(reader.ReadToEnd());

                Dashing.SendMessage(new { id = "weather", temp = results});
            }
        }
    }
}

NuGet Support

It would be useful if NuGet support could be implemented so changes to the framework can be integrated into solutions.

Problems adding new fields

How do I add new fields to display more content on the widgets. For example, on the Text widget and under text.html, there are three fields:

  1. title
  2. more-info
  3. updated-at

Now, how do I add a new field called weatherInfo to display weather results? I tried copying the html code and renaming them but that does not work.

Deploying to IIS

I know the bug for this was already closed but there was really no resolution there,

i have been trying to deploy dashiong.net to iis all day without any luck.

has anybody managed todo this? do anyone have any guidance?

thanks

Populate widgets on start of dashboard

Currently when a dashboard is started no data is shown in the widgets until the messages are sent from the server based on the schedule. Especially for data that is not updated often, this is an issue.

An addition would be to get at the start of the dashboard to pull the data in from the server. Is that something that can be considered?

Timo

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.