Articles : Page 1 of 1
-
Rebuilding CoasterBuzz, Part III: The architecture using the "Web stack of love"
Apr 1203This is the third post in a series about rebuilding one of my Web sites, which has been around for 12 years. I hope to relaunch in the next month or two. More: Part I: Evolution, and death to WCF Part II: Hot data objects I finally hit a point in the re-do of CoasterBuzz where I feel like the major pieces are in place... rewritten, ported and what not, so that I can focus now on front-end design and more interesting creative problems. I've been asked on more than one occasion (OK, just...
-
ASP.NET MVC + Selenium + IISExpress
Dec 1122The goal of this blog entry is to explain how you can create integration tests for ASP.NET MVC applications by using a combination of Selenium WebDriver and IISExpress. Integration tests are useful when you want to test an entire user story. For example, you might want to test whether a user can successfully add an item to a shopping cart. Adding an item to a shopping cart might require the execution of C# code, database code, and JavaScript code. Using an integration test, you can verify t...
-
Repaving your PC: the easier way
Nov 1128It"s been a while since I had to repave my laptop. I have a Windows Home Server (WHS) at home which images my PC almost daily and allows restoring it to a given point in time in less than 30 minutes. Which is awesome! And which is how I usually restore my PC into a stable state. Over the past year some hardware changes have been made of which the most noteworthy is the replacement of the existing hard drive with an SSD. A great addition, and it was easy to restore as well: swap the disks and r...
-
New Bundling and Minification Support (ASP.NET 4.5 Series)
Nov 1128This is the sixth in a series of blog posts I'm doing on ASP.NET 4.5. The next release of .NET and Visual Studio include a ton of great new features and capabilities. With ASP.NET 4.5 you'll see a bunch of really nice improvements with both Web Forms and MVC - as well as in the core ASP.NET base foundation that both are built upon. Today’s post covers some of the work we are doing to add built-in support for bundling and minification into ASP.NET - which makes it easy to improve the perfor...
-
How we do Internationalization
Feb 1104Reading Josh’s post on helpful Date/Time/TimeZone handling methods inspired me to write about how we deal with the complexities of internationalization and localization in our app. When we started, we set out some principles for our framework, application, and any related code: Data flowing into our system from external sources (human users, integrations, import, etc) will be normalized into a single unit to the maximum extent possible. External recipients receiving data from our system w...
-
Hosting Razor outside of ASP.Net (Revised for MVC3 RC!)
Nov 1016We recently released the latest preview release of MVC 3, including an updated version of Razor. One of the things we did in this release is simplify the hosting APIs dramatically. I did a demo of these new APIs in a pre-recorded PDC10 talk I did with Scott Hunter, which is available to stream here: http://bit.ly/ac7B0P. As I promised in that talk (and a few others before and after it ), I'm finally blogging about the sample I showed in that talk! The hosting APIs center around two classe...
-
Hosting Razor outside of ASP.Net (Revised for MVC3 RC!)
Nov 1016We recently released the latest preview release of MVC 3, including an updated version of Razor. One of the things we did in this release is simplify the hosting APIs dramatically. I did a demo of these new APIs in a pre-recorded PDC10 talk I did with Scott Hunter, which is available to stream here: http://bit.ly/ac7B0P. As I promised in that talk (and a few others before and after it ), I'm finally blogging about the sample I showed in that talk! The hosting APIs center around two classe...
- 1

