In the February MSDN Magazine there's a very interesting article about CSE and what is changed in CLR 4.0. It seems that the code below would wrap corrupted state exceptions thrown by the OS (such as Access Violation) and thus leaving the application non stable state when you not fixing the CSE. 1: public void SomeFunction() 2: { 3: try 4: { 5: //Do something 6: } 7: catch (Exception ex) 8: { 9: throw WrapException(ex); 10: } 11: } So they CLR guys made some changes and thus no more CSE exception...
Lot's of good stuff today but first here's the new .NET logo and VS2010 & .NET CLR CTP ! Extensibility How to extend Visual Studio and become a more productive developer Domain-Specific Development with Visual Studio DSL Tools Advanced code generation patterns with T4 & DSL Tools Another collection of T4 resources Oslo New site @ http://msdn.microsoft.com/oslo ASP.NET Building a Great ASP.NET AJAX Application from Scratch Using jQuery to display a modal ASP.NET UpdatePanel confirmation...
תגים:WPF, ASP.NET, C#, CLR, VSX, alt.net, Screencast, Tech, DEV, ASP.NET MVC, Blog Carnival, Visual Studio 2010, .NET 4.0, T4
Justin smith on CLR Garbage Collector .