Contents tagged with Tips
-
ASP.NET hosting with lifetime 50% off
It's that time of the year again when you can get web hosting with lifetime 50% off.
-
50% off ASP.NET hosting
I haven't blogged for a long time because I'm busy working on an exciting new project. It's too early to tell you more. I'll provide details in a few months.
-
PropertyOf and INotifyPropertyChanged.PropertyChanged without strings
When coding applications using design patterns such as MVP (Model-View-Presenter) or MVVM (Model-View-ViewModel), you'll find yourself using data binding and the INotifyPropertyChanged interface all over the place. This means referencing properties quite a lot.
-
Code signing certificates
If you need to sign a piece of code - eg. a Silverlight application, like I did with Sesame, an EXE, a DLL, an AIR application, a JAR applet - you need a code signing certificate.
-
VS 2010 tabs appearance improvements
As a follow-up to my post about Visual Studio Pro Power Tools, I advise you to take a look at the following post from the VS team: Document Well 2010 Plus: Hidden Options.
It provides great options for further improving the appearance of tabs in Visual Studio 2010. -
Best ASP.NET hosting: easier, faster, cheaper
After seven years with webhost4life, it was time to move on. Especially because of all the troubles with webhost4life due to their internal migration to a new hosting environment (the company has been bought out).
I've just moved all my websites elsewhere. I'm now using Arvixe and OrcsWeb. -
Memory leaks with Infragistics NetAdvantage Windows Forms edition
When I finalized my article about memory leaks, I removed a part about Infragistics NetAdvantage. Here it is. It may be useful to some of you. Warning: It's based on NetAdvantage 7.3, and may or may not apply to recent versions.
-
New article: How to detect and avoid memory and resources leaks in .NET applications
My new article, which I've been preparing over the last few months, is now available. It's about memory and resources leaks in .NET.
You'll find it in English on MSDN and in French on my site. It's also available in PDF in English and in French. -
XMLAuto version 2010
Ten years ago, I played with OLE Automation so we can write things such as the following, where Document represents an XML document:
-
Forcing event unsubscription
Given my own experience, I'd say that events are the main source of leaks in .NET. They deserve double- and even triple-checks. Each time you add a subscription to an event in your code, most likely with +=, you should worry about the consequences and ask yourself whether you need to add a -= somewhere to unsubscribe from the event. If you have to, do it immediately before you forget about it. Often, you'll do that in a Dispose method.