Can’t open a Visual Studio test project
The test tools in Visual Studio can help you stress test your application. The only problem is that they are not included with the regular developer edition of Visual Studio. So if have the wrong...
View ArticleSo you want to blog on asp.net
When I first started blogging I wanted to blog on asp.net. I have a friend who already blog’s on asp.net (David Mccollough) and I asked him what the steps were (because they are not on asp.net). Here...
View ArticleTFS 2008 get latest version automatically
When using the Visual Studio integration for TFS 2008, you will notice that the latest version will not be retrieved when you start making changes to a file. There is an option that you need to have...
View ArticleVisual Studio 2008 web test recorder not working on 64-bit
The load test in Visual Studio are a great help to stress/performance test you applications. With the web test you “should” be able to record actions as you use your application. When you add a web...
View ArticleWhere to find where you click once app is deployed.
Click once applications have many advantages and disadvantages. One of the disadvantages is that it hides where the application gets installed. So if need to double check something like a connection...
View ArticleTernary operator
The .NET framework has a cool feature called the Ternary Operator. It’s basically a shortcut for an if/then/else statement. Here’s the format: condition ? first_expression : second_expression; The...
View ArticleGeneric Send mail method
Here is a generic send mail method. You just need to pass in a subject and body. In your web.config you need a key for the from (notification_from), To (notification_to) and mail server (mail_server)....
View ArticleGeneric handle error method
Here is a generic handle error method I put in my catches. It will send an email with the inner exception unless it’s null then you get the exception message. The stack trace is included. You should...
View ArticleHow to get a reference to the control that caused a post back
Here is some old code I found (in VB.NET) the will tell you what control caused the post back. ' Return a reference to the control that caused the last postback, ' even from the Page_Load event! ' It...
View Article