Monday, October 9, 2006

ASP.NET 2.0 : Server hangups

While testing a new site I ran into a very annoying problem. The site kept locking up after something bad happened. I was unable to figure out exactly what was going on but this post gave me the golden tip. It describes how asserts (which I use for trapping potential errors during development) can cause the IIS worker process to hang(!) because they pop-up a dialog on the server. I've implemented the solution and it looks like the problem is solved. For future reference this is the fix:
<configuration>
   <system.diagnostics>
      <assert logfilename="c:\log.txt" assertuienabled="false">
   </SYSTEM.DIAGNOSTICS>
</configuration>
Serves me right though for running debug builds on a production server... :(

Friday, October 6, 2006

ResxEditor 1.0

It's not exactly easy to get customers to supply localized text in a usable format. Copy/pasting text from Word to Visual Studio is not exactly one of my favorite activities. So, I've decided to make life a bit easier for me and my customers.

Presenting the ResxEditor for .NET 2.0.
This tool allows you to edit resource files side by side. It recognizes the .NET convention of postfixing the locale to the file name. Though similar to PeopleWords ResxEditor , there is one major difference. This tool shows multiple resource files side by side. Allowing both me and my customers to manage resources and translate text in one easy tool.

Download
ResxEditor is available for download now. You're free to do with it as you please though I would appreciate some credits if you decide to use it. Please feel free to contact me if you think the tool can be improved or you'd like to get the source code.

Tuesday, October 3, 2006

First Post

This is the first post of what I hope are many to come. This blog will be my online notebook. I'll post about the technical stuff that bothers me in everyday development as well as cool stuff that I'm looking forward to. I've got plenty of stuff to write about from the last project I've worked on. So hopefully I'll be able to help some other developers out there struggling with similar problems.