Category Archives: Uncategorized

Twitter contest thanks to Apress


Hi all.

Thanks to the wonderful people of Apress I have 5 coupons worth each for a free copy of the ebook:


If you want one just need you to do 3 simple tasks:

  1. Follow me on Twitter: @jrguay (this is mandatory because I will DM you the code if you are selected as winner)
  2. Tweet: “@Apress books rock because…” (complete the phrase with your thoughts).
  3. Include in your tweet the tag #APRESSGUAY so I can look for the tweets later.

The rules are simple, I will randomly select the winners on Tuesday 29th at 12PM (CST) and will DM the winners the respective code. You can use the code to purchase the ebook in the Apress website and you’ll get a 100% discount.

[UPDATE]: The winners of the contest are: @gersonmayen, @ddurose, @rgreen, @EdvL & @gromer. Thank you!

Stay tune for more contests to come.


The ASP.NET Capsule #24: Examine Output Compression

Hi all.

After an interesting discussion with Cristian Prieto (ASP.NET MVP) he pointed me in the right direction of a problem I was having.

The issue was with a web application I recently published to IIS. A new page I added was throwing an exception but instead of showing the error as I would expect, it was throwing a lot of garbage:


Now, the problem was that I didn’t have a way to find what the real problem was until he said that the output was probably being compressed, so after following his advice I checked with Firebug and the results were:


If you see the header Content-Encoding the value is gzip. That was a clear indicator of the output being compressed.

I checked the IIS7 settings and compression was not enabled, so I checked the Global.asax file and this is what I found:

   1: protected void Application_BeginRequest(object sender, EventArgs e)

   2: {

   3:     if (Request.RawUrl.Contains(".aspx") && (Request.Headers["Accept-Encoding"] != null))

   4:     {

   5:         if (Request.Headers["Accept-Encoding"].ToLower().Contains("gzip"))

   6:         {

   7:             Response.Filter = new System.IO.Compression.GZipStream(Response.Filter, CompressionMode.Compress, true);

   8:             Response.AppendHeader("Content-Encoding", "gzip");

   9:         }

  10:     }

  11: }

After a couple of small refactorings thanks to ReSharper:

   1: protected void Application_BeginRequest(object sender, EventArgs e)

   2: {

   3:     if (!Request.RawUrl.Contains(".aspx") || (Request.Headers["Accept-Encoding"] == null)) return;

   4:     if (!Request.Headers["Accept-Encoding"].ToLower().Contains("gzip")) return;

   5:     Response.Filter = new System.IO.Compression.GZipStream(Response.Filter, CompressionMode.Compress, true);

   6:     Response.AppendHeader("Content-Encoding", "gzip");

   7: }

I was now able to disable output compression and see what the issue was. After solving the problem I enabled it again and things work as expected.

Checkout Cristian’s blog post about output compression (in Spanish).


News: New Free Tools from Telerik


TFS Work Item Manager & TFS Project Dashboard in a Nutshell

These two free applications have been designed to make working with Microsoft’s Team Foundation Server faster and easier. By promoting robust yet flexible project management practices, TFS Work Item Manager Beta and TFS Project Dashboard Beta allow for rapid delivery of high-quality software. Both applications have been built by Imaginet Resources using RadControls for WPF and are available for free download.

How Does TFS Work Item Manager Add Greater Value?

If you are using Visual Studio Team Foundation Server to manage your work items, you’ll simply love this tool! TFS Work Item Manager provides a unified platform to support those of you who want to take advantage of the Team Foundation Server without the need to switch from MS Team Explorer to MS Excel, to MS Project to find a certain work item. Its seamless integration with TFS allows you to add and edit work items, or save queries in real-time, along with the advantage of better work item visualization and improved team collaboration. The TFS Work Item Manager helps free up more developer time to actually write code, not manage what development teams have to do.

Read more.

Video: Webcast JetBrains ReSharper en Español

Hola a todos.

El día 31 de Agosto tuvimos un webcast sobre JetBrains ReSharper. Acá está el video para quienes no pudieron asistir.

Adjunto también la presentación de PowerPoint debido a que por un problema técnico no se visualiza.

Descargar la presentación aquí y el video aquí.

Felicitaciones a Jorge Albergo Gamba Porras de Colombia por haberse sido el afortunado ganador de la licencia personal de ReSharper.


News: JetBrains YouTRACK (Formerly ‘Charisma’) Enters Beta Phase

YouTrack (previously code-named Charisma) is a keyboard-centric bug and issue tracker web application. Whatever you do with your issues, you can do it much faster because most of your actions involve two simple controls:

  • Search for issues by typing queries in the search box using query completion. Read more »
    Search for issues using YouTrack search box 


  • Modify multiple issues at once using the Command window. Read more »
    Apply any commands to selected issues 


  • Commands syntax is similar to that of YouTrack search queries, so you can get started in no time!

YouTrack offers even more ways to minimize the time you spend on reporting and/or processing issues:

  • Create new issues by simply pressing Alt+Ins from anywhere within YouTrack. Read more »
  • Use extensive keyboard support to create, edit, and navigate between issues — all major actions have easy-to-learn shortcuts. For example, to close an issue, you type fixed, and press Ctrl+Enter. Read more »
  • Assign tags to group issues the way you like, regardless of their attributes. For example, you can create a tag like fix it today and associate it with issues from different projects, subsystems, etc. Read more »

YouTrack is distributed as either a JAR or a WAR file, ready to run as a standalone Java process or to be deployed at any of today’s popular application servers, including Apache Tomcat 5+, Apache Geronimo, Mortbay Jetty, Caucho Resin, and JBoss.

YouTrack is being developed with JetBrains MPS and is used to track issues in our own products, including TeamCity, dotTrace, MPS, and Web IDE.

News: JetBrains new product “Charisma” now in Early Access Program

Hi all.

The JetBrains team have created a new product codename “Charisma”.

What is Charisma?

Charisma is a web-based issue tracker. Charisma’s key features include:

  • Query-based issue search as an alternative to traditional issue filters.
  • Lightweight AJAX-based user interface to allow working with issues really fast.
  • Extensive keyboard support to make it easy to create, edit, and navigate between issues using keyboard.
  • Commands to quickly execute batch operations upon selected queries.

Charisma is being developed using JetBrains MPS and is used for tracking JetBrains TeamCity issues.

Supported Browsers

  • Mozilla Firefox 3+
  • Apple Safari 3+
  • Microsoft Internet Explorer 7+
  • Google Chrome 1+
  • Opera 9+

Where to Send Feedback?

Would you like to try it? Just click here to get access to the EAP version.


The ASP.NET Capsule #23: Telerik RadControls for Silverlight 3

Hi all.

The guys from Telerik are very busy this days. Now they have just launched SP1 of their RadControls for Silverlight Q2 2009 with Silverlight 3 Support.

Acording to Hristo Maradjiev the service pack not only includes the official supported controls for Silverlight 3, but also a bunch of bug fixes and enhancements. The bad news is that Telerik will discontinue the future support for the Silverlight 2 controls. The dlls for SL2 will still be included in this release, but not in the installation files and the demos. 

But that’s not the end of the story, The RadControls for Silverlight 3 also supports .NET RIA Services:

You’ll get:

  • Completely codeless binding to .NET RIA Services
  • Simple access to server-side data
  • Impressive validation support on the client and on the server
  • Patterns for dealing with common Line of Business scenarios
  • Automatic data paging by using the pager control
  • Easy re-use the ASP.NET authorization and authentication
  • Faster server-side sorting, filtering and paging for all data

So I hope you can take advantage of this important milestone in RadControls for Silverlight. Here are some links:


The ASP.NET Capsule #22: Official Support for ASP.NET MVC by DevExpress

Hi all.

So, the guys from Developer Express can’t be far behind, actually today they also announced officially the support for ASP.NET MVC in a blog post by Mehul Harry (DevExpress Technical Evangelist).

The post also announces the inmediate availability of a FREE demo application with source code included called DevExpress Mail Demo.

The post states the following regarding the demo application:

The MVC Mail demo is an online mail application similar in basic features to or So have fun playing around with it. And don’t worry about breaking the database because there isn’t one. Instead, this demo uses session state to persist the tiny amount of data. This allows you to tweak and bend the demo without us having to reset some database.

Check out the sample here:

Stay tuned for more on DevExpress and ASP.NET MVC. They are catching up and comming very strong.


The ASP.NET Capsule #21: Telerik Extensions for ASP.NET MVC

Hi all.

Telerik was probably the first company to offer components that supported ASP.NET MVC long before it was released. Even Scott Hanselman created some videos with Preview 2 of ASP.NET MVC and showed how to incorporate Telerik components instead of regular components.

Now, they have gone one step further. Telerik is presenting the first CTP of their Extensions for ASP.NET MVC.

This first CTP of the Telerik Extensions for ASP.NET MVC lays a foundation for the new UI extension framework, and offers a preview of its power by providing .NET wrappers for the following jQueryUI components:

The Accordion is a web control that allows you to provide multiple panes and display them one at a time. It is like having several collapsible panels where only one can be expanded at a time.

A highly configurable UI component that enables developers to quickly implement the most widely used date selection interface for web applications.

The jQueryUI progress bar allows you to display the progress of processes.


A flexible UI component that allows users to select a value from a defined range using a smooth or step-based slider.

Message Box
Displays a message box that can contain text and symbols that inform and instruct the user.

Tabs are generally used to break content into multiple sections that can be swapped to save space, much like an accordion.

Web Asset Manager
Similar to the ScriptManager available in the Microsoft Ajax suite, the Web Asset Manager combines all configured JavaScript files to reduce the number of requests made to the web server.

More information can be found in the Telerik Extensions for ASP.NET MVC page. Also on TelerikTV the videos start to show up.

One important aspect is the licensing:

Telerik Extensions for ASP.NET MVC will be offered under the Microsoft Public License (MS-PL), the OSI-approved license used in the distribution of the ASP.NET MVC framework. Under this license, developers can freely use and redistribute the Telerik ASP.NET MVC Extensions in all projects, both commercial and open source. A commercial license that includes support will also be available.

And you can find the source code on CodePlex here: 


The ASP.NET Capsule #20: Telerik Reporting Now Supports Medium Trust

Hi all.

Many of us web developers use Telerik Reporting for our reporting needs, however when it comes to medium trust environments such as shared hosting packages Telerik Reporting wasn’t of much help… until now!

There is great news from the folks of Telerik. In their blog the Telerik Reporting Team has announced the availability of Telerik Reporting Q2 2009 SP1 with Medium Trust Support. Here is the list of new things in this release.