Handling Corrupted State ExceptionsThis column is based on a prerelease version of Visual Studio 2010. All information is subject to change.Have you ever written code that isn’t quite right but is close enough? Have you had to write code that works fine when everything goes well, but you’re not quite sure what will happen when [...]
Tag Archives: inside
Inside Windows 7: Introducing Libraries
Yochay Kiriaty and Alon FliessThis article discusses:Windows 7LibrariesCommon File DialogShell Programming ModelThis article uses the following technologies:Windows 7View the entire series:This article is based on a prerelease version of Windows 7. Details are subject to change.This is the first article in a series of articles about Windows 7. The series focuses on new user experiences [...]
CLR Inside Out: Understanding The CLR Binder
Aarthi Ramamurthy and Mark MillerThe CLR Binder is responsible for locating necessary assemblies at run time and binding to them, so it’s an important piece of .NET code. To ensure that binding is working efficiently and correctly, there are a few best practices you should follow, and we’ll present them here. Some practices are simple, [...]
CLR Inside Out: Reflections on Reflection
Code download available at: CLRInsideOut2007_06.exe (163 KB) Browse the Code Online Are your goals of clean componentization frustrated by the need to share too much type information across libraries? Perhaps you want the efficiency of strongly typed data storage, but it’s costly to update your database schema whenever your object model evolves and so you’d [...]
CLR Inside Out: Using concurrency for scalability
Using concurrency for scalabilityCode download available at: CLRInsideOut2006_09.exe (151 KB) Browse the Code Online There’s been a lot of buzz lately about concurrency. The reason for this is due mostly to major hardware vendors’ plans to add more processor cores to both client and server machines, and also to the relatively unprepared state of today’s [...]
Usability in Practice: Getting Inside Your Users’ Heads
Here is the same content in en-us.SharePoint and Open XML:Generating Documents from SharePoint Using Open XML Content ControlsA manager of a department at a bank needs to regularly send a nicely formatted status report to the owners of the bank. A team leader needs to send a weekly status report to a number of interested [...]
CLR Inside Out: Dynamic Languages and Silverlight
Dynamic Languages and SilverlightChildren learn through creative playing. From LEGO to GI Joe and Barbie (they were my sister’s, I swear), children tend to pick up toys and intuitively do something with them; they don’t pick up the manual and read it, at least not for the purpose of understanding the toy! It’s human nature [...]
CLR Inside Out: .NET Application Extensibility, Part 2
.NET Application Extensibility, Part 2Jack Gudenkauf and Jesse KaplanCode download available at: AddIns2007_03.exe (177 KB) Browse the Code Online In our first column, where we introduced the new System.AddIn namespace in the Base Class Libraries (BCLs), we walked through the typical process customers undertake in order to provide extensibility through their host applications. We discussed the functionality [...]
CLR Inside Out: Large Object Heap Uncovered
The CLR garbage collector (GC) divides objects into small and large categories. When an object is large, some attributes associated with it become more significant than if the object is small. For instance, compacting it—copying the memory elsewhere on the heap—is expensive. In this month’s column I am going to look at the large object [...]
CLR Inside Out: Unhandled Exception Processing In The CLR
Unhandled Exception Processing In The CLRPlease note that although referenced in the print version of this article, there is no code download.Unhandled exception processing shouldn’t be a mystery. It’s actually quite useful to understand what happens during the process since it gives a crashing application an opportunity to perform last-minute diagnostic logging about what went [...]