Month: April 2010

  • Unit Test Authorize Attribute

    Technorati Tags: Unit Testing,ASP.NET,MVC,VS 2010 Story: I want to write a unit test to ensure that the Authorize attribute is applied to a controller ActionResult or ViewResult so that security is tested. Here is the test: Unit Test [TestMethod] public void PreviousSiteUserConversion_Authorization_Attributes_Have_Been_Applied() {     // Arrange     MethodInfo varietalMethod = typeof(AdminController).GetMethod("PreviousSiteUserConversion", new Type[] { });       //…

  • dbboon and proxy.php broke my GoDaddy site?

    Technorati Tags: Hosting Headline: I deleted the folder and now my site works fine. I’ve seen other posts on this, but the word I got from GoDaddy today is that this file is required for some features involving “widgets”. Since I don’t use any of those features, this file was breaking my site. I honestly…

  • Impressed with CrystalTech for .NET 4.0

    Technorati Tags: .NET 4.0,Hosting,ASP.NET I’ve used CrystalTech for years. They seemed to be falling behind a bit when I started to work with the MVC (Model-View-Controller) pattern. That works MUCH better with IIS 7 than with IIS 6, but CrystalTech only had IIS 6 servers. That’s all changed! I now have no excuses for not…