sbarski / dashing.net Goto Github PK
View Code? Open in Web Editor NEWdashing.net is a direct .NET port of the dashing framework originally created by Shopify
License: MIT License
dashing.net is a direct .NET port of the dashing framework originally created by Shopify
License: MIT License
To recreate:
Setup virtual dir to MVC apps root directory
Browse site
Get uncaught Error: Could not load view from /list in application-js:11922 (seems to be going to http://localhost/views/list.html rather than http://localhost/dashboard/views/list.html)
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
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 ?
The ASP server-sent events stopped working on Azure both the dashing demo http://dashingdotnet.azurewebsites.net/ and the original HTML5 push sample http://techbrij.com/real-time-chart-html5-push-sse-asp-net-web-api. We’ve had a similar problem that writing the response in chunks is somehow blocked by the new Azure load balancer. I guess the only fix for this would to use another messaging mechanism (SignalR?)
It would be useful if NuGet support could be implemented so changes to the framework can be integrated into solutions.
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
Currently to add in additional modules it is necessary to modify the coreproject. Ideally a user should not need to touch this and simply copy in a new module & any assemblies. We could use MEF to load the modules in.
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.
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});
}
}
}
}
Please demonstrate the addition of this widget:
https://gist.github.com/rowanu/6246149
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:
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.