Ramon Smits

Tell me your secrets and i'll tell you mine

Recent Posts

Tags

Community

Email Notifications

Patterns & Practices / Guidelines

EntLib

Nant

Blogs that I monitor

Archives

Browse by Tags

All Tags » .Net (RSS)
InternalsVisibleTo and PublicKey or PublicKeyToken
A long time since my previous blog as nowadays I often tweet my ramblings but this one does not fit a tweet :-) Sometimes you are working with strong named assemblies and when you are having unit tests and want to access internals then you have to use...
Cool finalizer assert trick
I just saw a cool trick done in a finalizer of a class. When a class implements IDisposable then its creator needs to call Dispose when it is finishen. Lots of developers forget this and that usually results in system resources that are locked until the...
Posted: Sun, Apr 12 2009 3:24 PM by Ramon Smits | with no comments
Filed under: ,
ForEach method exceptions and events
I just read this article by DigiMortal about List<T>.ForEach and exceptions . His assumption was that if an exception occurs while processing one of the items that the next item would still be processed which is not that case. Maybe he was aware...
Get the physical path of a path that uses a subst drive
My previous employer used a tool to attach databases that were located on a substituted path. I needed this conversion logic in another kind of environment and used the almighty google. So I hit an article on Avner Kashtan 's blog titled Query SUBST information...
Why read uncommitted data?
I just read Dennis post about his adventures in isolation level land . He says he does not know a good reason to read uncommitted data because of dirty reads. Well he should refrase this like: Using the isolation level read uncommitted data could result...
VS2005: Solution to 'Where is that damn exception dialog?'
Today I had a very annoying issue. I was debugging an application on an VS2005 instance of a computer that I did not prepare / installed myself. I wanted the "break on all exceptions" behaviour in the debugger. Normally you just go to the menu and select...
Tool : Add string as resource
I found this really nice little to add a string as a resource . You just select a string in the editor, right click to get the context menu and select to add it as a resource. You then get a dialog in which you can specify the key value and the resourcefile...
Don't use viewstate compression! Use http compression instead!
Just google a bit with the keywords compression plus viewstate and lots of articles are to be found about this subject like this one . The problem is that in most situations programmers are doing something that the webserver already can do for you. Not...
The && and the & operators
Today a collegue had me flabbergasted by using the & operator in a boolean comparison like the following example. return x & y; Both x and y were booleans and I said "Hey you just forgot an &! A single & is a bitwise operator.". And he...
Failed for 70-300 exam
I failed for the Microsoft 70-300 examen this afternoon. I am disappointed in the result because I expected to pass. When I saw the score it felt very weird to see I had failed. I really don't have a clue which questions I did wrong.... so it is almost...
Game studio express and XNA
Yesterday I posted about a news scoop at Ars-Technica referring Game studio express . Microsoft already posted a press bulletin about this at their site ( here ). But I wasn't aware of this. Rob Tillie mentioned in the comments that he doesn't think that...
NDepend 2.0 beta
I just received a notification that NDepend 2.0 beta is released by Patrick Smacchie. NDepend analyzes your dotnet 1.x assemblies and outputs a huge set of code metrics based on the IL. It can also create a nice dependancy chart of your assemblies where...
WS-Addressing and routing is a pain in the ass
The problems I am having with the WS-Addressing specs....
Kids programming language reminds me of Amos
My view on the kids programming language (KPL) and what it is all about....
HttpHandler to format csharp, xml, vb.net, etc.
So wouldn't it be handy if you have a HttpHandler that formats sourcecode like csharp, vb.net, xml (related) and html? So I started googling but could find one! So that left me with some work!...
More Posts Next page »