Posted on June 10, 2011 by Martin H. Normark
Share Tweet Being able to make CSS inline is something you need all the time when sending HTML e-mails. HTML E-mails simply don't render perfectly in all e-mail clients if you don't make all your styles inline. Campaign Monitor introduced …
Continue reading →
Posted on June 10, 2011 by Martin H. Normark |
Posted in C# |
Tagged C#, CSS, E-mail, HTML
Posted on February 3, 2011 by Martin H. Normark
Share Tweet Dynamic / Anonymous types in C# was a great improvement to the framework, made in version 3.0. I use it a lot when doing AJAX callbacks from JavaScript to ASP.NET MVC Controllers, not to forget the extensive use …
Continue reading →
Posted on February 3, 2011 by Martin H. Normark |
Posted in C# |
Tagged anonymous type, dynamic, serialize, xml
Posted on November 15, 2010 by Martin H. Normark
Share Tweet Any modern web application needs localization! You simply can't ignore the huge amounts of people who doesn't speak your language, or whose native language is different from yours. You're probably using resource files (.resx) in .NET, but how …
Continue reading →
Posted on November 15, 2010 by Martin H. Normark |
Posted in C#, Internationalization, JavaScript |
Tagged ASP.NET, ASP.NET MVC, C#, Internationalization, JavaScript
Posted on October 25, 2010 by Martin H. Normark
Share Tweet A long time ago, I wrote a blog post about how to translate text in C# using Google Translate. Since then, an official AJAX API has been released, which is a much better solution. Reading the comments of …
Continue reading →
Posted on October 25, 2010 by Martin H. Normark |
Posted in C#, Internationalization |
Tagged C#, Google, Internationalization
Posted on March 13, 2010 by Martin H. Normark
Share Tweet Almost a year ago, I answered a question on StackOverflow, about if there’s a better way to generate HTML e-mails in C# than using a StringBuilder and just appending strings one by one. I think that any modern …
Continue reading →
Posted on March 13, 2010 by Martin H. Normark |
Posted in C# |
Tagged C#, Hidden features of .NET
Posted on March 4, 2010 by Martin H. Normark
Share Tweet I love the new model validation features in System.ComponentModel.DataAnnotations. One thing I don’t like though, is that the ErrorMessageResourceName is loosely typed. The ErrorMessageResourceType, however, is a System.Type which will be strongly typed by assigning its value using …
Continue reading →
Posted on March 4, 2010 by Martin H. Normark |
Posted in C#, Internationalization, Unit testing |
Tagged C#, Internationalization, Unit testing
Posted on March 4, 2010 by Martin H. Normark
Share Tweet In IIS SSL sites have seemed to be limited to only one site per network interface, since you (from IIS Manager) cannot specify a host header binding on the HTTPS protocol. It turns out, that it is only …
Continue reading →
Posted on March 4, 2010 by Martin H. Normark |
Posted in C#, IIS7 |
Tagged C#, IIS7
Posted on March 16, 2009 by Martin H. Normark
Share Tweet In some applications, it could be cool to have a feature that enabled the user to quickly get a glimpse of what people are saying on Twitter about the user or their product, service, company etc. For instance, …
Continue reading →
Posted on March 16, 2009 by Martin H. Normark |
Posted in C# |
Tagged C#
Posted on March 13, 2009 by Martin H. Normark
Share Tweet Yesterday, I blogged about how you can use Google Translate to translate a string in C#. To make it more useful than just a simple translator, and because I need to translate some Global Resource files for an …
Continue reading →
Posted on March 13, 2009 by Martin H. Normark |
Posted in C#, Internationalization |
Tagged C#, Internationalization
Posted on March 12, 2009 by Martin H. Normark
Share Tweet *** This post is no longer up-to-date. Take a look at my new post, revisiting how to tranlate text in C# using Google Translate *** Sometimes, it would be great to be able to translate a text from …
Continue reading →
Posted on March 12, 2009 by Martin H. Normark |
Posted in C# |
Tagged C#