It''s official: I''m on vacations!
So, don”t expect too many updates on the next month :,,)
Ramblings about C#, .NET and Programming
So, don”t expect too many updates on the next month :,,)
Ok, since today is my last day at work before vacations, I’ve though that it would be a great time to relax and since I was talking with a friend of mine about TV series, I thought that I should publish my top 6 TV series of all time, starting from 6 to 1. 6. […]
As we’ve seen in the last post of the series, the MVC platform introduced the notion of “request associated data” by creating the TempDataDictionary which can be accessed through the Controller’s TempData property. As we’ve discussed, the data you put in that dictionary will only “survive” a single request. What this means is that the […]
In my last post,we’ve seen how the MvcRouteHandler creates an IController instance that is responsible for processing the current request. Today I’ll keep talking about the MVC platform and we’re going to step through the tipical controller lifecycle. When you build a new controller, you end up extending the System.Web.Mvc.Controller class. This class implements several […]
As I”ve said in one of my previous posts, you can have 2 controllers with the same name, but on different namespaces. The problem with this approach is that you”ll only be able to get a route by specifying its name. So, if you don”t want to use a name or if you can”t (for […]
Yes, I’ve been asking this for some time now…in fact, this is the only thing I miss from the traditional ASP.NET Web Forms model. Those clear aspx pages, with really few <%%> crap (oopss, I mean tags) springled through out my pages – the only place I did need them was inside templates. Notice that […]
[Disclaimer: I’ve received a copy of this book for review] I’m really happy to have received a copy of this book. It’s really a simple, easy to read, concise book which contains all you need to get started with PowerShell. You can easy read the book in 1 or 2 days (that is, if you’re […]
In one of my previous posts, I’ve showed how you could access the Values property of the RouteData class to get info about the current controller and action. What I forgot to mention at the time was that you should use the GetRequiredString method to get the url parameter values that must be filled when […]
As we’ve seen in the previous post, all “MVC routing requests” are handled by the MvcRouteHandler class which will simply return an instance of the MvcHandler type. The MvcHandler is an IHttpHandler which is responsible for creating other classes that end up handling the current request and processing its response. This handler doesn’t create an […]
One of the things I needed when I started playing with ASP.NET MVC is getting info about the current Route. That’s easy when you’re on the controller, but what happens when you need that info on a module? In these scenarios, the easiest way of achieving this is getting a reference to the current HttpContext, […]
[Disclaimer: I’ve received a copy of this book for review] I’ve just finished reading the Professional IIS 7 and ASP.NET integrated programming book by Dr. Shramram. If you’re trying to understand how to leverage the new IIS 7 managed features, then this book is just what you need. If you don’t know what you must […]
As we’ve seen in the previous post, by default you’ll end up using the MvcRouteHandler class for setting up the handler that will return the HTTP response to the client. As you can see (by looking at the code), the GetHttpHandler will only return a new MvcHandler and pass it the current RequestContext. If this […]
Great post by Joe Duffy (does this guy ever sleep???) which points to a somewhat disturbing fact regarding some of the conventions taken as granted today…want to know what I”m talking about? Then go read it ASAP!
In these last days I”ve finally upgraded to Opera 9.51. I”ve always been a Opera user, though when I was actively developing for the web, I”ve generally ended up using Firefox and IE only. Now, the good news is that the latest version of Opera already has a JS debugger, which means that now I […]
Yes, it”s one of those posts where you either agree or disagree completely :,,) Anyway, after having a 15 minutes discussion with my friend Paulo (which, btw and as usual, disagrees with me) yesterday at 1AM, I”ve decided to write this post. The problem: MS recommends that variable names shouldn”t have any sort of prefix […]
Great post by Scott presenting the new things one can expect to see in the next preview of ASP.NET MVC. This means that it”s time to pick up where I left and go back to the internals of the MVC platform.
Simply because you can only buy it (officially) from a mobile phone operator. Simply a no-no to me…
This is one of the things I”ve been thinking about in these last days. To be honest, I still see Flash only sites (feel free to add Silverlight to the list too) as more trouble than they”re worth it. Even though some say they”re more usable, I”d say that”s nonsense. To be honest, they aren”t […]
2011-01-12 10:34:08
[Disclaimer: I”ve received a free copy of this book for reviewing] Ok, so this is the second book I”ve got from Wrox for reviewing (and yes, I did enjoy it much more than the first). SEO is one of those things that most developers end up forgetting when building ASP.NET pages Unfortunately, that might cost […]
Today I’m going to start posting some personal rumblings about the MVC framework. In fact, I haven’t started developing real apps with it, so I’m starting this series to force me look at it since in my current job I’m no longer working with web apps. One of things you should keep in mind is […]
I’ve just noticed that I didn’t put up a resume of the routing series. Here’s the list of associated posts: The MVC routing assembly – part I The MVC routing assembly – part II The MVC routing assembly – part III The MVC routing assembly – part IV The MVC routing assembly – part V […]
There is no excerpt because this is a protected post.