- Posted by Ian Suttle on February 21, 2009
- Filed under .NET 3.5 | ASP.Net MVC
This post details an ASP.NET MVC Action Filter to assist with localized site development. If you've got or want a site which supports multiple cultures using ASP.NET MVC localization you need to be familiar with setting CultureInfo values for the current thread and UI. The .NET Framework uses this info to do a few key things. First, if you're using resource files the framework knows which to pick up because the resource file name specifies the culture. Secondly the culture is used as a formatter argument for various methods such as ToString()..
[More]
- Posted by Ian Suttle on February 9, 2009
- Filed under General | Process
Programmers are paid to create, fix, and innovate. How you go about these tasks comes in two flavors - the quick and dirty method or doing it right. The typical reaction of a programmer is to strike down the quick and dirty route with eyeball laser beams because they want to have the time to do it right. Who can blame them? Nobody wants to write code they're not going to be proud of..
[More]