Visual Studio 2008 Shortcuts

Keyboard Shortcuts 1. Ctrl-L to Cut Line to Clipboard It’s not necessary to highlight an entire line and then hit the delete key. Just hit “Ctrl-L” and the line the cursor is currently on will be removed and copied to the clipboard. “Ctrl-x” performs the same operation by default.   …

Silverlight to WCF Cross Domain SecurityException

In debugging a fairly simple Silverlight control that calls into a WCF service I ran into an often encountered security exception having to do with cross-domain policy. Silverlight generally does not allow cross domain access unless that access is explicitly granted via a clientaccesspolicy.xml file. Given that I had to …

Adding ELMAH to your ASP.NET Web Site

There’s already a lot of posts out there on how to set up ELMAH (see References below). Still, as I went through the process of adding ELMAH to my own site, I found myself pulling information from multiple posts and even ran into a couple of surprises during deployment. So, …