Jose M. Aguilar

ASP.NET/IIS MVP

Jose M. is a well-known world expert in web technologies. He is the author of Microsoft Press SignalR Programming in Microsoft ASP.NET. He works as an independent consultant and developer, helping companies and institutions to reach their goals by using software. He also works with company development teams providing consultancy services and support in several fields. Follow Jose M on Twitter.

Author Archive | Jose M. Aguilar

Simulating a slow connection with Fiddler

Normally, we test our web developments on our own computer, where data transfer is almost instant, on test servers located in a local area network, or even on a production server that we access through a high capacity Internet connection. However, our web applications are very different when the client does not have a high […]

Continue Reading
SignalR book

How to manually create proxies of SignalR hubs

When we consume the services supplied by a SignalR hub from a JavaScript client, we typically use the automatically generated proxies, for which we include in our webpage a reference to the script “/SignalR/Js” according to the default route. However, there may be cases where we don’t want this behavior and we prefer to generate […]

Continue Reading

Extended Template for ASP.NET MVC 5 from Visual Studio 2012

Some months ago, the update for Visual Studio 2012 called “ASP.NET and Web Tools 2013.1” was launched. This update makes it possible to use MVC 5 from said version of the development environment. Well, after installing it, those of you who have tried to use ASP.NET MVC 5 from Visual Studio 2012 have probably been […]

Continue Reading
SignalR book

It’s here! SignalR Programming in Microsoft ASP.NET

Finally, the moment I had been waiting for has arrived. After many months of work and preparations, my new book ” SignalR Programming in Microsoft ASP.NET” is now available :-) Hooray! Published in English by Microsoft Press, it has been since its conception a much more ambitious project than my previous foray into the literary […]

Continue Reading

Decoupling ASP.NET MVC controllers, step by step

I wanted to write this post because it is a scenario that I usually encounter in development companies: they understand the benefits of reducing the coupling between components, but they deem it too complex to implement in their day to day work because they don’t know what tools there are to do it and how […]

Continue Reading

Generating Excel files like a pro with ClosedXML

Ok, I admit it: I too have generated HTML contents from my applications and sent them to the client in a file with the extension XLS, even changing the content-type so that it looked like a worksheet document. For years. And I’ve also told my clients that the annoying message that appears when it’s opened […]

Continue Reading

Launching the debugger from JavaScript

I guess I was the only developer in the world who didn’t know this trick, but I’ll write about it anyway in case there are any more clueless souls out there. Apparently, for many years browsers have been allowing us to interrupt the execution of a JavaScript code and launching the debugger attached to the […]

Continue Reading
slash-yesORnot

Should we add a slash at the end of URLs?

We saw that the new routing system used by MVC 4 and higher projects allowed configuring, to some extent, the format of URLs generated by the application using helpers such as Url.Action() or Html.ActionLink(), and we also explained how by using just one line of code we could make routes be generated using only lowercase letters. […]

Continue Reading

Eager loading in Entity Framework: Boosting performance in data access

We know that the uncontrolled use of deferred loading, or lazy loading, can bring down the performance of our application because requests to the database engine are generated as we try to retrieve related entities when attempting to access them. However, there are many cases in which I find that lazy loading is not being […]

Continue Reading

ASP.NET MVC 4 errors in different languages

Some messages generated by ASP.NET MVC use the language in which we have installed the framework. Let’s say we are using a Spanish operating system and we downloaded the English version of MVC 4. We may get error messages like the ones shown in the following screenshot: The texts that we see in Spanish are […]

Continue Reading