Geeks With Blogs
Simon Cooper Peering into the depths of .NET March 2012 Entries
.NET vs Windows 8
So, day 1 of DevWeek. Lots and lots of Windows 8 and WinRT, as you would expect. The keynote had some actual content in it, fleshed out some of the details of how your apps linked into the Metro infrastructure, and confirmed that there would indeed be an enterprise version of the app store available for Metro apps.) However, that's, not what I want to focus this post on. What I do want to focus on is this: Windows 8 does not make .NET developers obsolete. Phew! .NET in the New Ecosystem In all the ......

Posted On Wednesday, March 28, 2012 10:56 AM

Inside the Concurrent Collections: ConcurrentBag
Unlike the other concurrent collections, ConcurrentBag does not really have a non-concurrent analogy. As stated in the MSDN documentation, ConcurrentBag is optimised for the situation where the same thread is both producing and consuming items from the collection. We'll see how this is the case as we take a closer look. Again, I recommend you have ConcurrentBag open in a decompiler for reference. Thread Statics ConcurrentBag makes heavy use of thread statics - static variables marked with ThreadStaticAttribute. ......

Posted On Monday, March 26, 2012 4:42 PM

DevWeek 2012
For those interested, myself and a few other people from Red Gate will be going to DevWeek 2012 in London this week. I'll be mostly around the .NET and C# talks, but may drop into the architecture and agile talks as well. I'll be blogging interesting stuff I come across as well. If you want to meet up, do feel free to contact me via the blog or on twitter at @simonmcooper. See you there!Cross posted from Simple Talk ......

Posted On Monday, March 26, 2012 11:14 AM

Why you shouldn't add methods to interfaces in APIs
It is an oft-repeated maxim that you shouldn't add methods to a publically-released interface in an API. Recently, I was hit hard when this wasn't followed. As part of the work on ApplicationMetrics, I've been implementing auto-reporting of MVC action methods; whenever an action was called on a controller, ApplicationMetrics would automatically report it without the developer needing to add manual ReportEvent calls. Fortunately, MVC provides easy hook when a controller is created, letting me log ......

Posted On Thursday, March 8, 2012 3:27 PM

Copyright © simonc | Powered by: | Join free