Category: .NET

  • Visual Studio Gallery

    Just ran into one of Bill Evjen's blog post about interesting Visual Studio Plugins and from there came across Visual Studio Gallery – Products and Extensions for Visual Studio. I don't actually mess with my Visual Studio installation (except for CoolCommands) since as we know it's critical for work but if you feel like giving…

  • Convert Enum to Collection For DataBinding

    I had a need to convert an enum to a collection for binding and I came across the solution from here In addition, I thought I'd post an method I've coded before where I needed enum values for binding to (ID and Name) but since enum names cannot contain spaces and I needed the DataTextField…

  • Fixes in .NET Framework 2.0 SP1

    For a list of problems that were fixed by .NET Framework 2.0 Service Pack 1, see link below. http://support.microsoft.com/kb/945757

  • Install .NET Windows Service with Visual Studio Setup Wizard or Project

    I've done this a couple of times but I still tend to forget at times so I might as well post here for me and hopefully someone else's reference. To create a Windows Service see this article by Ken Getz : Windows Services: New Base Classes in .NET Make Writing a Windows Service Easy There…

  • ASP.NET HttpRuntime Execution Timeout in debug mode

    Been sometime since I've posted something. We'll be moving over to another company but hopefully when things settle down I'll be able to post more. Anyways, while trying to debug a project, I tried to set the HttpRuntime ExecutionTimeout to a certain value. When a request reaches the server but takes more than the indicated…

  • Infragistics NetAdvantage for ASP.NET Issues

    Joined infragistics forums in Feb 21 2008 and I already have 5 posts, 3 of which has been unanswered. I've never really been a fan of 3rd party controls but had to use one for a project. Don't get me wrong, I'm impressed with the infragistics features in typical usage but it seems that when…

  • Cool Commands addin for Visual Studio

    The collapse/expand all project and the open containing folder (plus other features) would save time/effort so check out this addin from Gaston Milano. I've tried this out myself for sometime already and didn't get into any issue so go give it a try. http://weblogs.asp.net/gmilano/archive/2005/11/10/430240.aspx

  • Viewing email messages sent from .NET code

    There are a number of times that we need to test just the content of the email we send from code. (eg. text and formatting is correct) without actually needing to send the email. You can dot this by setting the smtp client's DeliveryMethod property to SmtpDeliveryMethod.PickupDirectoryFromIis. Of course this assumes that you use System.Net.Mail.StmpClient.…

  • HTTP 403.9 – Access Forbidden: Too many users are connected

    I was trying to test multiple connections to my local IIS server when I got the http status/error code above. This is because there is a limit to the number of concurrent connections with Keep-Alive Enabled setting ON. http://www.experts-exchange.com/Web/Web_Servers/IIS/Q_20286298.html So I unchecked "HTTP Keep-Alive enabled" and the issue was resolved. But when I run/debug from…

  • Deleting sub-directories (folders) in ASP.NET 2.0 restarts the AppDomain

    All the while I thought that the AppDomain only restarts when the web.config, global.asax, bin folder (or it’s contents) is changed and if there are considerable number of files have changed (15 is the magic number as they say but can’t verify). All the while I was wrong, by default (that is without tweaks), deleting…