Articles : Page 1 of 1
- Filter:
- BCL
-
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...
-
Unix Fight! - Sed, Grep, Awk, Cut and Pulling Groups out of a PowerShell Regular Expression Capture
Aug 1101There's a wonderful old programmers joke I've told for years: You've got a problem, and you've decided to use regular expressions to solve it. Ok, now you've got two problems... A friend of mine was talking on a social network and said something like: That decade I spent in the Windows world stunted my growth. one teeny-tiny unix command grabbed certain values from an XML doc for me. Now, of course, I took this immediately as a personal challenge and rose up in a rit of fealous ...
-
Mix 11 Videos - Download them all with RSS
Apr 1118Such a fun time was had at Mix 11 this last week in Vegas. I only saw a few talks as I was busy presenting, but now as I sit at home on my first day back, I say to myself, Self, how can I get all the Mix videos at once? First, you can watch all the videos online at http://channel9.msdn.com/Events/MIX/MIX11 Second, you can get them via RSS. Most major browsers are hiding the RSS button these days, but the discovery metadata is all still there. In IE9, for example, if you show the Command B...
-
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...
-
Fun with Noun Pluralization libraries and the .NET Framework
Feb 1102There was interesting discussion about noun pluralization on a mailing list today. One of the fun demos I throw into some talks is the automatic pluralization (taking something singular and making it plural) that's built into the Entity Framework design time tooling. For example, look at the screenshot to the right where a table of type Goose is called Geese as a set. Dmitry released a nice Simple English Noun Pluralizer a few years back. His code is fun to read and clever for under 400 li...
-
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

