Category Archives: Uncategorized

Book Review: ASP.NET MVC 1.0 Quickly


Hi all.

I want to share my thoughts about the book ASP.NET MVC 1.0 Quickly from Packt Publishing.

The book is quite nice I think. I has provided me the great option to read about ASP.NET MVC (as the name implies) quickly. I was very entertained with it.

I have to say it up front. I’m not an MVC guy. I said it before, and I will do it again. I still don’t find any good reason (to me) to start using ASP.NET MVC, not because I don’t like it or I consider it wrong or anything. It’s a matter of taste, job role and well, I just haven’t had the need. However, that doesn’t mean I shouldn’t learn it, and because I have been doing some stuff for my own learning process, really I don’t get my head to “love” it as many of my fellow MVC friends do. (I love the webforms model… don’t ask.)

After clearing my position, I have to say a few things about this book:


  • I like the “quickly” part of it. It doesn’t goes through the same thing over and over.
  • All chapters revolve around specific implementations, thus giving the opportunity to try it in a real program.
  • Samples DO work.
  • It’s very easy to follow and concepts are very clear and not too deep.
  • I ended up with lots of ideas on things to build (still figuring how to get the time for them).
  • You can have it as a quick reference.
  • I can help you get up and running with ASP.NET MVC “quickly”.


  • As the “quickly” implies, the book is not the definite guide. If you are looking for a lot of information in one book, this is not the book for you.
  • ahh, hmmm, erm… that’s it I think…

So, hope this will help you make a decision in getting it or not.


News: Webcast de ReSharper – Agosto 31 En Español


Este lunes 31 de agosto tendremos un webcast sobre Resharper. El evento es gratuito y será impartido en español.


Estaremos rifando una licencia de R# entre todos los asistentes.

Los esperamos!

logo_jetbrains     academy

The ASP.NET Capsule #19: Examine “The located assembly’s manifest definition does not match the assembly reference”

Hi all.

Today I got reported from one of our clients that he was having problems printing a report they have. The error he was getting was:

    *  An error occurred during local report processing.

          o The definition of the report ‘Main Report’ is invalid.

                + An unexpected error occurred in Report Processing.

                      # The located assembly’s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

I have never seen this error before, and it was odd because everything was working perfectly right yesterday (or so I though).

I’m using Microsoft local reports (RDLC files). The page only has a report viewer which loads a report file with some parameters coming from the query string.

The descriptions I found on the Internet was that the problem is caused by a reference to an assembly with specific version that is not found, but another one named the same with a different version is found.

I went looking into the GAC for the missing assembly, I could not believe this could be the cause, so after checking I found that there were two versions of the Microsoft.Reporting assemblies:

Microsoft.ReportViewer.Common, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL
Microsoft.ReportViewer.Common, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL
Microsoft.ReportViewer.Design, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL
Microsoft.ReportViewer.ProcessingObjectModel, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL
Microsoft.ReportViewer.ProcessingObjectModel, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL
Microsoft.ReportViewer.WebDesign, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL
Microsoft.ReportViewer.WebForms, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL
Microsoft.ReportViewer.WebForms, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL
Microsoft.ReportViewer.WinForms, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL
Microsoft.ReportViewer.WinForms, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL

The application is using version 8 of the report viewer and reports definitions, so I was very surprised that the application was not able to find the right assembly, even with the complete definition of version and public token in the Web.Config file.

The worst came when examine a test environment, setup on the same server, connecting to the same database and here it was working.

I just could not believe it.

Well, I checked every single post I found on the Internet until something came up that I haven’t tried yet, so I did it.

I recycled the Application Pool. What?? Yes! After recycling the application pool everything went back to normal.

I’m still trying to figure it out what happened because is not clear to me how the application pool got corrupted in that way. Once I find more (if I do find more) about it I will update this post.

Hope this will help some of you. And if you know more about this error, please comment so others benefit.


The ASP.NET Capsule #18: Running C# & VB.NET in the same web application

Hi all.

You know, sometimes you just find some code on the Internet or a colleague handed out a piece of code written in a language other than the one you use.

Well, fear no more. Just modify your Web.Config file to include the other compiler and off you go.


<compiler language=c#;cs;csharp extension=.cs  type=Microsoft.CSharp.CSharpCodeProvider, System, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089 warningLevel=4>
providerOption name=CompilerVersion value=v3.5 />
providerOption name=WarnAsError value=false />

<compiler language=vb;vbs;visualbasic;vbscript extension=.vb type=Microsoft.VisualBasic.VBCodeProvider, System, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089 warningLevel=4>
providerOption name=CompilerVersion value=v3.5 />
providerOption name=OptionInfer value=
providerOption name=WarnAsError value=false />




Tips de Uso de Internet Explorer 8

Este arículo está en español / This article is in Spanish

Hola a todos.

Quiero mostrarles algunos tips que pueden ser útiles en el uso de Internet Explorer 8.

1. Personalizar la barra de título

Esta personalización se puede realizar por medio de una llave en el registro. Para ello tenemos que abrir el programa editor del registro de Windows.

Para usuarios de Windows XP: Ir al botón Inicio y seleccionar la opción ejecutar. Escribir regedit y presionar la tecla ENTER. Para usuarios de Windows Vista y Windows 7: Ir al botón Inicio y escribir regedit y presionar la tecla ENTER

Una vez en el programa del registro, expande la llave HKEY_CURRENT_USER y luego expande las llaves Software -> Microsoft -> Internet Explorer ->Main.

Luego debes presionar el click derecho en cualquier area abierta (no sobre un valor o llave) y seleccionar la opción Nuevo -> Valor de Cadena. Debes nombrar a este Nuevo valor “Window Title”. Luego presionas ENTER y listo.

Debes editar el dato del valor “Window Title” que acabas de crear y lo que escribas allí será lo que verás la próxima vez que reinicies Internet Explorer


2. Buscar más fácilmente

La mayoría de buscadores tienen facilidades para hacer las búsquedas más fácilmente. En Internet Explorer 8 puedes realizer una búsqueda con solo ingresar en la barra de direcciones un signo de interrogación seguido de un espacio en blanoc y finalizando con las palabras que deseas buscar.


3. Ahorrar tinta/toner al imprimir

Si deseas imprimir una página pero no quieres imprimir todo, por ejemplo, no quieres imprimir las imagines puedes utilizar las herramientas de desarrollador (F12). Normalmente esta opción abre una nueva ventana con varias opciones. Debes ir a la opción de Imágenes y luego seleccionar “Deshabilitar Imágenes”. Esto hará que todas las imagenes de tu página no se muestren para realizar la impresión.



4. Incrementa el límite de descargas

Por defecto, Internet Explorer 7 tiene un límite de dos descargas simultáneas pero Internet Explorer 8 cuenta con 6 descargas simultáneas. Si cuentas con una conexión de Internet lo suficientemente buena puedes aprovecharla aumentando la cantidad de descargas que puedes realizar a 10. Solo debes seguir el asistente paso a paso en esta página de soporte

5. Ejecutar Internet Explorer 8 sin Add-Ons

Si tienes problemas usando Internet Explorer 8, puede ser debido a un problema con algún Add-On. Esto puedes detectarlo ejecutando Internet Explorer sin add-ons. Para ello puedes ir al botón inicio y ejecutar el siguiente comando: iexplore.exe –extoff.


Verás que incluso Internet Explorer 8 arranca más rápido y en general corre más rápido. Luego puedes ir habilitando los add-ons uno a uno para verificar cual te está causando el problema y buscar una version actualizada o desinstalarlo.

Espero te sirva.


Características Desconocidas de Internet Explorer 8

This article is in Spanish / Este artículo esta en español

Hola a todos

Este artículo trata sobre algunas características algo desconocidas en Internet Explorer 8.

Selección de texto con el teclado

Esta opción hace tiempo que existe en Firefox pero no existía en Internet Explorer. Ahora, en la version 8, podemos utilizar la tecla F7 o la opcion del menu “Page –> Carret Browsing” para seleccionar el modo “Carret Browsing”. Esta opción permite la utilización de las flechas de navegación dentro de la página web como si fuera un document de MS Word por ejemplo, donde podemos ir a cualquier parte de la página y podemos seleccionar el texto con la tecla Shift.


Herramientas de desarrollador

Los desarrolladores web que usan Firefox están acostumbrados al plugin Firebug que les proporciona una gran cantidad de herramientas para depuración y examen de las páginas. Ahora en Internet Explorer 8 tenemos también herramientas que nos dan una funcionalidad similar, pero lo mejor de todo es que no tenemos que instalar nada adicional, ya vienen incluidas. Solo tenemos que utilizer la tecla F12 o ir a la opción del menú “Tools -> Developer Tools” para activarlas.



Vista de compatibilidad

En versiones anteriores de Internet Explorer no se seguían los estándares de la forma que ahora IE8 lo hace, entonces los sitios web desarrollados anteriormente pueden mostrarse con problemas como textos o elementos div sobrepuestos y cosas así. Afortunadamente mientras arreglamos esos detalles, podemos utilizar la vista de compatibilidad por medio del botón que está justo a la par de la barra de direcciones. Este botón hace que Internet Explorer 8 funcione como si fuera Internet Explorer 7 lo que nos ayuda a ver cuales son los detalles de nuestro website que hay que arreglar y que no se ven bien.


Navegación Privada y Filtro Privado

Ahora podemos realizer dos operaciones que se efectuan como privadas. No hay que confundirlas porque son dos cosas diferentes. Una es la navegacion privada. Esta opción nos permite visitar sitios web sin dejar rastros de nuestras visitas, es decir, no se almacenan cookies, no queda registro en la historia ni nada. En este modo se activa un ícono azul en la barra de direcciones que indica la operación privada.


La otra opcion es el filtro privado. El filtro privado nos permite deshabilitar publicidad no deseada y nos brinda la opcion de poder manejar de forma bastante granular el grado al que queremos ocultar estos mensajes publicitarios.



Mejoras de la barra de estado

La barra de estado tiene ahora mucha funcionalidad. Podemos hacer click en diferentes partes para realizar acciones como configurar las opciones de privacidad o hacer zoom de la pagina que estamos visitando.


Espero les sirva y puedan utilizar de mejor manera su Internet Explorer 8.


The ASP.NET Capsule #17: Book Recommendations from Packt Publishing with Sample Chapters

Here are some book recommendations from Packt Publishing with a sample chapter.

Learning jQuery 1.3

Sample Chapter
Chapter 4: Effects


Entity Framework Tutorial 

Sample Chapter
Chapter 2: Getting Started


ASP.NET 3.5 Application Architecture and Design

Sample Chapter
Chapter 5: Model View Controller


ASP.NET Data Presentation Controls Essentials

Sample Chapter
Chapter 4: Working with the DataList Controller


ASP.NET 3.5 Social Networking

Sample Chapter
Chapter 5: Friends


DotNetNuke Skinning Tutorial

Sample Chapter
Chapter 2: Creating Your First Skin






The ASP.NET Capsule #16: Bug in Telerik RadComboBox for ASP.NET AJAX (Workaround available)

Hi all.

I came across this bug when using Telerik RadControls for ASP.NET AJAX, more specific the RadComboBox. It’s a simple bug but might make you have a headache.


You have a RadComboBox declared in your ASP.NET Webforms Page. For example:

<telerik:RadComboBox ID="RadComboBox1" runat="server" EmptyMessage="Select a value from list…">
<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>

Note the property EmptyMessage. This property will make the RadComboBox to show the message “Select a value from list…” when no selection has been made, or the selection has been cleared.


When calling the clearSelection() client side method for clearing the current selected item in the RadComboBox without user interaction. For example:

function ClearComboSelection() {

var combo = $find("RadComboBox1");


The RadComboBox  doesn’t show the value of the property EmptyMessage. It completely clears the text shown.


Call the _applyEmptyMessage() method after calling clearSelection(). Example:

function ClearComboSelection() {

var combo = $find("RadComboBox1");



This has been confirmed to be a bug present in all versions of RadControls for ASP.NET AJAX. Support has logged into their bug tracking system and expect to get it fixed during next week.

The ASP.NET Capsule #15: Telerik FREE WebAii Test Framework for RadControls

WebAii Testing Framework helps developers build automated unit tests, functional tests and end to end scenario tests for both AJAX- and Silverlight-powered applications. From automating complex UI actions, waiting on DOM changes to imitating the complete list of UI XAML elements in Silverlight – it’s all in here for free!



Why choose

In Line with Latest Technologies: AJAX and Silverlight Support
WebAii Testing Framework facilitates the automation of ASP.NET AJAX and client-side functionality, as well as binding test steps to a data source. Telerik’s new testing tool also incorporates Silverlight Extension that will help developers build tests for Silverlight-based applications. It has a UI object model that mimics the complete list of UI XAML elements in Silverlight. This allows you to access everything as if you are sitting inside the Silverlight application by using the same object model.

Native Support for Telerik RadControls
Native Support for Telerik RadControls Besides providing support for extensive HtmlControl Suite, WebAii Testing Framework also ships with special wrappers for Telerik RadControls for ASP.NET AJAX and Silverlight. These wrappers expose rich API by numerous methods and properties that help developers save time and efforts when writing functional tests even for very complex web applications built with the Telerik controls.

Unique Browser Abstraction
Thanks to WebAii Testing Framework’s browser abstraction capabilities, you can write a single test and have it executed against multiple browsers with no additional coding required! Improve your browser compatibility testing and save loads of time at the same time!

Not Just Affordable, It’s Free
No strings attached – download your free copy of WebAii Testing Framework together with free wrappers for Telerik RadControls. If you haven’t tried Telerik web controls yet, get your free trials now:

Increasing Productivity
Telerik’s free testing tool builds on top of commonly known element identification methods and extends them to provide identification routines which save developers loads of time. What’s more, it leverages the power of LINQ to offer rich set of search methods that enable you to find elements using their names, text and type, as well as create strongly typed advanced queries with intellisense support.

News: Microsoft Silverlight 3 and Expression 3 Launch

Microsoft Silverlight and Microsoft Expression 3: See the Light.

Microsoft Silverlight 3 and Expression 3 will be unveiled at a virtual launch event on July 10, 2009. Attend the event at on July 10 to watch the keynote sessions and see new in-depth sessions. Stroll through the customer and partner pavilions in the Exhibition Hall or stop by ‘The Visual Kitchen’ TV show and watch the chefs as they dish up digital designs and development entrees as part of this exclusively produced online experience.