Visual studio feeds

All Visual Studio blogs in one place


Enter your email address:

Delivered by FeedBurner

Increase your website traffic with



Anti-spam: How many eyes has a typical person?

Follow us on FB


#575 – PropertyMetadata vs. FrameworkPropertyMetadata

AddThis Social Bookmark Button
When you implement a custom dependency property and you register the property by calling DependencyProperty.Register, you specify some metadata for the property by passing it an instance of PropertyMetadata.  This can be an instance of the PropertyMetadata class or an instance of one of its subclasses.  The differences are shown below. PropertyMetadata – Basic metadata relating to dependency properties [...]

Generic Bing maps pushpin clustering component for Windows Phone

AddThis Social Bookmark Button
source: A couple of weeks ago I wrote my own Windows Phone app Lovely Neighbourhood which is showing pushpins on the Bing maps control for Windows Phone 7. Because there where quit some pushpins close to each other I decided to use pushpin clustering (sometimes called marker clustering) to make map in the app look less chaotic than with all the pushpins on the map. (There where a few regions where you couldn't even see the map anymore.) After a little search I found a blog post by Colin Eberhardt who has a guide to
href="">pushpin clustering in WP7. I started implementing and after a few changes it works fine in my app. But than I saw an app from my colleague which was not using pushpin clustering and also on his map view it was pretty hard to see the map. At that moment I started thinking about rewriting the pushpin clustering code in a generic way, so it would be easy to implement in any app. In this article I want to show you how to use my pushpin clustering component in your app. ...Read more ...(Read whole news on source site)

The HIGH cost of ConcurrentBag in .NET 4.0

AddThis Social Bookmark Button
I got some strange results when using concurrent collections, so I decided to try to track it down, and wrote the following code: var count = ?; var list = new List(count); var sp = Stopwatch.StartNew(); for (int i = 0; i ()); } sp.Stop(); Console.WriteLine("{0} {2} items in {1:#,#;;0}ms = {3:#,#;;0}ms per item", sp.Elapsed, sp.ElapsedMilliseconds, count, sp.ElapsedMilliseconds / count); And then I started to play with the numbers, and it is not good. 10 items in 2ms = 0ms per item This is incredibly high number, you have to understand. Just to compare, List takes 8 ms to
create 100,000 items. Let us see how it works when we use more of this. 100 items in 5ms = 0ms per item 1,000 items in 37ms = 0ms per item 10,000 items in 2,319ms = 0ms per item Note the numbers, will you? 1,000 items in 37 ms, but 10,000 items? 2.3 seconds! 20,000 items in 21,331ms = 1ms per item And doubling the amount took ten times as long? 25,000 items in 32,588ms = 1ms per item And at this point, I stopped trying, because I didn’t have the patience. Note that the other concurrent collection, ConcurrentStack, ConcurrentQueue and ConcurrentDictionary do not suffer from the same problem. I...(Read whole news on source site)

The Morning Brew #1120

AddThis Social Bookmark Button
Information MSDN and Pluralsight Partner to Give a Free Pluralsight Starter Subscription - John Papa highlights an excellent deal for MSDN Subscribers which gives access to a great collection of Development tutorials from the folks over at PluralSight Announcing New Windows Azure Services to Deliver "Hybrid Cloud" - Bill Laing gives a taste of some of [...]

My guest-blog post on TechEd for the MVP Award Program Blog

AddThis Social Bookmark Button
I recently had the chance to Guest Blog for the Microsoft MVP Award Program Blog on “TechEd 2012– Silverlight MVP Michael Crump Shares Excitement”. Article Introduction This Sunday I will depart to Orlando, FL to attend TechEd 2012 which is Microsoft’s premier technology conference for IT Professionals and Developers. This is my first TechEd that I have had the chance of attending and I will be representing Telerik, where I have a focus in our XAML control suites. While I have been preparing for the trip, I decided to sit down and write out a short
list of what I’m most looking forward to this year and share it with the MVP Award Blog. So, in no particular order, here goes… The Full Article The full article is hosted on the MVP Award Program Blog and you can access it by clicking here. Don’t forget to rate it and leave comments if you have any problems.

The Windows Azure Team Announces New “Spring Wave” Features in Advance of the MEET Windows Azure Event

AddThis Social Bookmark Button
Bill Laing, Microsoft Corporate VP Server and Cloud, posted Announcing New Windows Azure Services to Deliver “Hybrid Cloud” on 6/6/2012 at 1:03 PM, providing a preview of the content to be delivered at the MEET Windows Azure celebration to be held 6/7/2012 at 1:00 PM in San Francisco: “Hybrid cloud” – the use and building of applications that connect to data and services across a mix of datacenters – is the reality for cloud computing today. Your businesses and applications will move to the cloud in their own unique way, at their own unique
speed. Supporting this change requires a cloud solution that provides the necessary flexibility for the different ways you will architect, develop and deploy your applications and IT solutions– be it on-premises, in the cloud, or a mix of both. Tomorrow we will release previews of new Windows Azure services which simplify building applications that span cloud and on-premises servers. By combining infrastructure and platform services, these new capabilities of Windows Azure give you greater flexibility in how to build or bring your applications to the cloud. We will also add support for new operating systems,...(Read whole news on source site)

Maker Geek Roundup 013 for 6/6/2012

AddThis Social Bookmark Button
The Maker Geek Roundup aggregates information of interest to makers everywhere. Topics include .NET Micro Framework, Arduino, AVR and other MCUs, CNC, 3d Printing, Robotics, Microsoft Robotics Studio, Electronics, General Maker stuff, and more. If you have something interesting you've done or have run across, or you blog regularly on the topics included here, please send me the URL and brief description via the contact link. Shout Out Project Detroit, BoxingBots and Kinect at TechEd (Coding4Fun) I'll be at Tech Ed NA. I can't wait to see this! 3d Printing, Laser Cutting, and CAD/CAM/CNC Take 20% off laser-cutting now through June 24th! (Ponoko) Updated Design (MiiCraft) Miicraft 3D Printer now