Tag Archives: .NET
Translating route names in ASP NET MVC
One of the web applications we develop has support for multiple languages, and we got the request to have also the route names translated. As such, a user visiting the site in english and navigating to the stores page should be redirected to example.com/stores, whereas a spanish customer should see example.com/comercios in the URL bar. … more
Gettext C# Utilities
The Gettext C# Utilities GNU project, containing convenient classes, templates, scripts and tools for easily implementing gettext i18n support for C# and ASP NET applications, has been polished up and version 1.0 is ready for download. I’ve written walkthroughs in the wiki pages detailing how to add gettext support for a simple console project, using … more
Gettext i18n strings in ASP.NET controls
In the last post I blogged about using gettext to internationalize strings in C#. However, using the Messages.T("Hello world") syntax in ASP.NET can be a little cumbersome. Luckily, ASP.NET controls can work as a solution for this issue. Adding a simple control which we will name just âtâ (and place it in namespace âtâ as … more
Using GNU Gettext for i18n in C# and ASP.NET
We are in the process of dealing with the internationalization and localization of one of our open source web applications, which is fully developed using C# and ASP.NET MVC. Although ASP.NET already provides easy support for i18n via the usage of resx resource files, these are not very user friendly for translators. A resx file … more
Silverlight Xaml Guidelines
One of the key components of any Silverlight (or WPF) application is XAML, as it serves as the definition for every visual element. Being a markup language intended to replace a bunch of UI-creating-code (remember WinForms?), it can quickly get out of control if not properly organized. After doing some research on the web and … more
Internationalization in ASP.NET MVC
Anyone who is starting almost any kind of software nowadays should be thinking on internationalization, even more if it is web-based. The effort required to prepare a system for localization (the difference between internationalization and localization is subtle, you can find it on Wikipedia) from the very beginning is minimum and the payoff is huge. … more
Adding e-mail verification on ASP.NET MVC using Membership Framework.
Since last week I have been learning and working with ASP.NET MVC Beta. I found a lot of interesting and easy-to-use things which convinced me that it is a good choice for web development. The Membership Framework is one of those. Unfortunately a more-than-common feature like user e-mail verification is not built-in so I had … more
PDC2008 at Buenos Aires
Last Tuesday we had a resume of the PDC2008 here in Buenos Aires. I had the opportunity to present, together with my friend and coworker Brian Cardiff, the roadmap for ASP.NET 4.0. All the downloadable stuff is already available (mostly in Spanish) here: http://blogs.msdn.com/gardel/archive/2008/11/20/pdc-buenos-aires-materiales-y-links.aspx. My friends Kzu and Vga were also presenting a nice preview … more
Controls Contract
An interesting feature of Silverlight is how the interaction between visuals and logic (this is, between designers and developers) is handled. It uses a so-called Parts and States Model, which is ensured by a contract specified with attributes in the control class. Jesse Liberty has made an excellent short post on this subject, which I … more
Saturation variable function for treemaps
For those of you not familiar with a treemap, it is simply a bunch of boxes somehow arranged inside a bigger box; each of them also contains its own set of smaller boxes, and so on. Each box has an associated weight that determines its size. Take this one as an example from another blog… … more