One of my pet projects requires using UDP sockets from a Windows
8 Metro style app to talk to a microcontroller. UDP sockets are a
pretty efficient way of communicating across wired and wireless
In this first part, we'll focus on prototyping the Metro style
XAML/C# app. The NETMF piece will be in the next post.
The first step is to figure out how we'll test this app. We're
using UDP networking
, unlike the more TCP networking
(or HTTP) networking we do, you can't simply hit port 80 on a
That said, when dealing with something like UDP networking, it's
good to keep the initial test
as simple as possible. In this case,
I wanted to test that UDP packets could indeed be sent from the
Metro style app to another machine. Rather than create a throwaway
listener app, I simply installed Wireshark
the destination PC and had it listen. I remote into my Windows 8
laptop from my main machine (which will run Windows 8 at release,
but not just yet). For grins, my test setup looks like this:
That's just for grins. And yes, that's this blog post,
in-progress. Sort of meta :)
Why Not Just Use NETMF from the start?
Creating the NETMF client at this point introduces...(Read whole news on source site)
Once again, in this series of posts I look at the parts of the .NET Framework that may seem trivial, but can help improve your code by making it easier to write and maintain. The index of all my past little wonders posts can be found here
. In the .NET 3 Framework, Microsoft introduced the concept of anonymous types, which provide a way to create a quick, compiler-generated types at the point of instantiation. These may seem trivial, but are very handy for concisely creating lightweight, strongly-typed objects containing only read-only properties that can
be used within a given scope. Creating an Anonymous Type In short, an anonymous type is a reference type that derives directly from object and is defined by its set of properties base on their names, number, types, and order given at initialization. In addition to just holding these properties, it is also given appropriate overridden implementations for Equals()
that take into account all of the properties to correctly perform property comparisons and hashing. Also overridden is an implementation of ToString()
which makes it easy to display the contents of an anonymous type instance in a...(Read whole news on source site)
Yesterday’s announcement of Windows Phone 8 not being an upgrade for the latest Nokia phones, including Lumia 800, 900 et al, has been met understandably with both disappointment and anger from many existing handset owners. I’ve also seen some articles/comments that suggest it is needed for the greater good
; articles which clearly missed what WP8 potentially brings, and clearly missed the point that existing handset owners clearly like what WP8 has to offer: hence their angst. First of, the question of hardware. Existing Nokia Lumia's use Snapdragon ARM (v7) processors also known as system on a chip
(SOC). The new version of Windows Phone will also run Snapdragon ARM chips, also currently ARM V7. Where’s the massive hardware incompatibility? There’s been silly comments about the NFC chips, but no, the real hardware issue is most likely the graphics drivers. For a closer look, read the Windows 8 team blog on building for ARM
. You’ll see that the Windows 8 team actually did a lot of their early development on existing phones !! It doesn’t look like it is a hardware issue, rather it’s a question of the investment into updating drivers for existing graphics chips...(Read whole news on source site)
WPF Elements Resolved a bug with rendering data labels that use LabelBinding Fixed a bug with positioning data labels on negative bars in a floating bar series Fixed a bug when changing the ItemsSource of a DataGrid that has grouped columns The BarSeries baseline is no longer rendered if it isn’t on the viewport Bug [...]
StyleCop 22.214.171.124 was released, 21/June at http://stylecop.codeplex.com/releases/view/79972
This version is compatible with the Visual Studio 2012 RC (11.0.50522).
Install order should be :
VS2010VS2012 RCR#6.1.1 msi (for VS2010)R#7.0 (tested with daily build 126.96.36.199)StyleCop
This version is now compatible with R# 5.1 (5.1.3000.12), R# 6.0
(6.0.2202.688), R# 6.1 (188.8.131.52), R# 6.1.1 (6.1.1000.82) and R# 7.0
I, like many, was disappointed when I heard that Reflector 7 was not free, and perhaps that’s why I waited so long to try it and just kept using my version 6 (which continues to be free). But though I resisted for so long, I longed for the better features that were being developed, and began to wonder if I should upgrade. Thus, I began to look into the features being offered in Reflector 7.5 to see what was new. Multiple Editions Reflector 7.5 comes in three flavors, each building on the features of the previous version:
– Contains just the Standalone application ($70) VS
– Same as Standard but adds Reflector Object Browser for Visual Studio ($130) VSPro
– Same as VS but adds ability to set breakpoints and step into decompiled code ($190) So let’s examine each of these features. The Standalone Application
(Standard, VS, VSPro editions) Popping open Reflector 7.5 and looking at the GUI, we see much of the same familiar features, with a few new ones as well:
Most notably, the...(Read whole news on source site)
At present, the tool only repairs issues with .NET Framework 4.0.
There’s now an SDK for Xbox SmartGlass, a souped-up version of Microsoft’s Xbox Companion app, due out later this year.
I have downloaded pre-built WCF-WF samples from the link here:
After unzipping the above sample collection, I have selected WFStockPriceApplication application which is located as...(read more
Nokia announced that, they are coming up with a new Software Update for Lumia 710 and Lumia 800 in June – July timeframe. According to their announcement, this will be available in US and China from 22nd June and all other countries will get the update during July. You can get this update through Zune software. According to Nokia this update will be required for the new applications to work in Lumia 710 and 800.
Among the software updates, the most important update will be the Camera Extras which will include “Smart Group Shots”, “Action Shots”, “Panorama”
and “Self-Timer” showcased for Windows Phone 8. Continue reading to know more about the Camera Extras.
The new camera extras will enhance the current camera application which were demanded by the users for a long time. This update will add new settings which will allow you to take pictures that you have never taken before using your existing Windows Phone 7 handsets.
The camera extras......(Read whole news on source site)