simonc
18 posts.
- C# via Java: IntroductionSo, I've recently changed jobs. Rather than working in .NET land, I've migrated over to Java land. But never fear! I'll continue to peer under the covers…
- Why unhandled exceptions are usefulIt's the bane of most programmers' lives - an unhandled exception causes your application or webapp to crash, an ugly dialog gets displayed to the user,…
- .NET Security Part 4Finally, in this series, I am going to cover some of the security issues that can trip you up when using sandboxed appdomains.
- .NET Security Part 3You write a security-related application that allows addins to be used. These addins (as dlls) can be downloaded from anywhere, and, if allowed to run…
- .NET Security Part 2So, how do you create partial-trust appdomains? Where do you come across them? There are two main situations in which your assembly runs as…
- Inside Portable Class LibrariesPortable Class Libraries were introduced with Visual Studio 2010 SP1 to aid writing libraries that could be used on many different platforms - the…
- Inside the DLR - Invoking methodsSo, we've looked at how a dynamic call is represented in a compiled assembly, and how the dynamic lookup is performed at runtime. The last piece of the…
- Inside the DLR - CallsitesThe DLR was introduced in .NET 4 to allow dynamic languages, like Python or Ruby, to run on the CLR. The DLR is also used by C# 4, released at the same…
- Subterranean IL: The ThreadLocal typeI came across ThreadLocal<T> while I was researching ConcurrentBag. To look at it, it doesn't really make much sense. What's all those extra Cn classes…
- .NET vs Windows 8So, 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…
- Inside the Concurrent Collections: ConcurrentBagUnlike the other concurrent collections, ConcurrentBag does not really have a non-concurrent analogy. As stated in the MSDN documentation, ConcurrentBag…
- Inside the Concurrent Collections: ConcurrentDictionaryUsing locks to implement a thread-safe collection is rather like using a sledgehammer - unsubtle, easy to understand, and tends to make any other tool…
- Inside the Concurrent CollectionsThe concurrent collections, located in the System.Collections.Concurrent namespace, were introduced in.NET 4 as thread-safe collections that could be used…
- Inside Red Gate - Exercises in LeannessThere's a new movement rumbling around Red Gate Towers - the Lean Startup. At its core is the idea that you don't have to be in a company with…
- Some non-generic collectionsAlthough the collections classes introduced in .NET 2, 3.5 and 4 cover most scenarios, there are still some .NET 1 collections that don't have generic…
- SortedDictionary and SortedListApart from Dictionary<TKey, TValue>, there's two other dictionaries in the BCL - SortedDictionary<TKey, TValue> and SortedList<TKey, TValue>. On the face…
- The .NET DictionaryTo many people, System.Collections.Generic.Dictionary<TKey,TValue> is just a useful collection. In this post, I'll be looking inside that collection and…
- Visual Studio vNextAt TechEd this year, there's only a few sessions and expo booths aimed squarely at devs rather than sysadmins and DBAs, but one of the things I picked up…
