Recently, I attended a Twin Cities .NET User Group presentation on SignalR. I had heard about SignalR several times and was curious. Plus there was free pizza….
SignalR has revamped the way I think about web sites. Normally, a browser requests some data and the server sends it. Ajax allows discreet calls to avoid full post-backs and full page rendering…but it is still a “request and wait” protocol. A web client can also poll a web server which allows the server to choose when and what to send to the clients. But that is a kind of ‘duct-tape’ programming.
It is interesting to note that internally SignalR will fall back to polling protocols if a more modern transport isn’t supported by the browser.In a nutshell: SignalR allows the server to actively push data to clients.
I decide to try writing my own SignalR Application: A Live Golf Scoring system. Here is a link to a live demo of the final application: http://www.stevewellens.com/LiveGolfScores/
Here is what the final product looks like, note there are three browsers, IE, Chrome and FF all showing the exact same data:
Here’s how I did it.
1) In Visual Studio, select...(Read whole news on source site)
Join my coworker and ALM MVP Paul Hacker for a webinar next Tuesday, September 9th: 6 Steps To Achieving Predicable Release Management With Visual Studio 2013. Release management is one...
Microsoft Office for iPad users now have the option to subscribe to Office 365 monthly and from inside Word, Excel or PowerPoint.
This post covers storing and retrieving settings with a WPF combobox for the UI. If you are looking for a solution to store settings across devices, for instance a Windows Surface tablet and a Windows Phone powered device, you should check out the blog of Mike Taulty
. That is called roaming data storage
. And if you are not working on an app for Windows RT/metro or Windows Phone but are just coding some WPF application, you should read this post from Scott Hanselman
.Let’s start with some code now that it’s clear what this post
covers and what it doesn’t cover.Here is my XAML from my userinterface:
Please note the ‘SelectedValuePath’ is being set to ‘Tag’, otherwise it would grab the ‘comboboxitem’ or ‘content’ like this:var comboboxContent = ((ComboBoxItem)cbCountry.SelectedValue).Content;
With the value path set to tag, it will grab ‘au’ or ‘nz’ as selected value.This is the constructor of the xaml page containing my settings.var localSettings = Windows.Storage.ApplicationData.Current.LocalSettings;
cbCountry.SelectedValue = localSettings.Values["country"];
and this is the code for the...(Read whole news on source site)
Continuous Value Delivery helps businesses realize the benefits from their technology investments in a continuous fashion. Businesses these days expect at least quarterly results from their technology investments. The beauty is, with Continuous Value Delivery they can get it, too. Continuous Value Delivery is a practice that makes delivering user value and business value a rapid, reliable, and repeatable process. It’s a natural evolution from Continuous Integration and Continuous Delivery. Continuous Value Delivery simply adds a focus on Value Realization, which addresses planning for value, driving adoption, and measuring results. But let’s take a look at
the evolution of software practices that have made it possible to provide Continuous Value Delivery in our Cloud-first, mobile-first world. Long before there was Continuous Value Delivery, there was Continuous Integration … Continuous Integration Continuous Integration is a software development practice where team members integrate their work frequently. The goal of Continuous Integration is to reduce and prevent integration problems. In Continuous Integration, each integration is verified against tests. Then, along came, Continuous Delivery … Continuous Delivery Continuous Delivery extended the idea of Continuous Integration to automate and improve the process of software delivery. ...(Read whole news on source site)
We can use a StreamGeometryContext to render some geometry in a custom Shape element that we can then use in XAML. Below is an example that draws a simple arc from 0 degress to 90 degrees. It uses a PolarPoint class to allow describing the arc start and finish as polar coordinates. (A future post will allow a user to specify […]
Earlier this week registration opened for this year's DDD North
. This is one of my favourite conferences, so I excitedly shared the news across my social media accounts, prompting the following curious email from a local Recruitment Consultant:
Subject: DDD for the layman?
I recruit .Net developers and have done for the better part of the last x years, but having gone along to events like Agile Yorkshire to try and learn more about the skills that I recruit, a lot of it flies way over my head (having no prior experience in IT).
I like to think that I know more than the next recruiter (I know that a lot of companies just match key words and think that is how you recruit), but I would really benefit from an event which focussed on explaining the .Net technologies, associated tools and the opinions that the development community have on them, but targeted toward a layman/outsider like myself.
So, to get to the point, I just wanted to ask if DDD would offer that kind of insight, or would I just be taking up the place of...(Read whole news on source site)
The September issue of MSDN magazine has my latest article that looks at Geofencing in Windows Store apps. Geofencing is a new addition to Windows 8.1 and allows you to create regions around GPS locations and be notified with the device enters or leaves one of those regions. There are mechanisms for this in both [...]
We just finished rolling back our internal servers migration to 3.0 back to 2.5. That was quite unpleasant, and was actually noticed by users.
That isn’t pleasant, but it is always better if we get the egg all our face than if it is a customer. The actual issue that we run into was pretty interesting.
The problem is that the database we use for running this blog (as well as most of our internal systems) has been through… a lot. It has gone through pretty much every released version, and many that weren’t actually released.
That means that from storage perspective (only
of interest to RavenDB developers), it is a bit of a mess. That in turn meant that we had to do extra work to convert the storage from the 2.5 version to the 3.0 version. That caused enough memory to be used that we hit our limits on memory usage, and failed to convert it to the 3.0 version.
That meant that it was stuck. That is actually one of the reasons that we test those things on our own systems, so that was great.
The not so great part was that we also uncovered another interesting bug (actually, several of them...(Read whole news on source site)