ASP.NET AJAX Beta / CTP Release

 The ASP.NET AJAX Beta is now live.  This release includes a number of significant changes: 1) An update to and to support the release 2) A comprehensive whitepaper detailing changes between the CTP’s and Beta 3) A simple to follow migration guide to help developers 4) Updated documentation 5) A revised ASP.NET AJAX…


Why and how would I Mock a Web Service? (In VS 2005)?

Well, in my current project, this question appeared very early on. Since, I am doing Test-Driven Development, I need to test my web service data layer, but I don’t need it all of the time. I used a pattern called Constructor based Dependency Injection. This allows you to replace the service with a different implementation….


Geek Speak: Testing Tip with VSTS

Situation:  I am testing some code that had a constructor that using the configuration file. public XmlBase() { if (ConfigurationManager.ConnectionStrings != null) { connectionString = ConfigurationManager.ConnectionStrings[“dbConnectionString”].ConnectionString; con = new SqlConnection(connectionString); } } While testing it may seem that you need to override the constructorto pass in some other information for testing. But, with VSTS youyou…