While running one or more ASP.NET websites, it is valuable to have a system where errors encountered by your users are automatically reported so that you can fix them. It is bad practice to let the user’s see the error and it is horribly evil to force them to report the errors themselves. The answer: an automatic exception handler. I developed this handler for use in websites so that any error encountered would be e-mailed to a list of developers as well as recorded to the server logs if desired.
Have you ever been working with an object in managed code and thought “Boy, it would be nice if this object did this…”. Well, With extension methods, you can sort of append functionality to an existing type without having to use inheritance to create your own object. Now, there are a few caveats to this functionality that you should be aware of.
1. Extension methods must be static.
2. They must be methods. No properties here.
All techies love easter eggs, and Windows 7 does not disappoint. Godmode is a feature that grants you a shortcut to a plethora of administrative features for Windows 7 or Server 2008. Whether or not this list is useful is a debate for another day, but it is pretty cool, nonetheless.
For a while now, I’ve been working on projects with a distributed team in-house. When we first moved in house for a client, it was the first in-house project our company had taken (at least since I had been there) with a team this large and this spread out. A majority of the team resided in the main office, but we had one person in Atlanta, and the other in Phoenix.
We decided to set up a VPN server, and because it was my choice and because, at the time, it was for that project only, we chose to use Microsoft’s RAS Server. Thus far, it’s worked pretty well, but as anyone who uses a VPN will tell you, it can be a PITA sometimes.
I thought it would be fun to share my thoughts, discoveries, and frustrations with all who cared or bothered to read them. I think it’s important for developers to share information, even little tips that can make our lives easier. In the name of sanity, sometimes bitching about something ludacris that goes on in your project with people who have felt your pain is reassuring. It’s nice to know that others have experienced that project that brought them to tears on a daily – and sometimes hourly – basis.