LA.NET [EN]

July, 2008Archive

Jul 31

It''s official: I''m on vacations!

Posted in Trivia       Comments Off on It''s official: I''m on vacations!

So, don”t expect too many updates on the next month :,,)

Read the rest of this entry »

Jul 31

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. […]

Read the rest of this entry »

Jul 31

The MVC framework – the TempData property

Posted in ASP.NET, MVC       Comments Off on The MVC framework – the TempData property

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 […]

Read the rest of this entry »

Jul 31

The MVC framework – the Controller lifecycle

Posted in ASP.NET, MVC       Comments Off on The MVC framework – the Controller lifecycle

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 […]

Read the rest of this entry »

Jul 30

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 […]

Read the rest of this entry »

Jul 30

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 […]

Read the rest of this entry »

Jul 28

Protected: More C# style trivia

Posted in C#, Trivia       Comments Off on Protected: More C# style trivia

There is no excerpt because this is a protected post.

Read the rest of this entry »

Jul 28

Book review: Powershell pocket reference

Posted in Books       Comments Off on Book review: Powershell pocket reference

[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 […]

Read the rest of this entry »

Jul 24

Still on getting info about the current Route

Posted in ASP.NET, MVC       Comments Off on Still on getting info about the current Route

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 […]

Read the rest of this entry »

Jul 24

The MVC framework – the MvcHandler, the IControllerFactory and the ControllerBuilder types

Posted in ASP.NET, MVC       Comments Off on The MVC framework – the MvcHandler, the IControllerFactory and the ControllerBuilder types

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 […]

Read the rest of this entry »

Jul 24

Getting information about the current Route

Posted in ASP.NET, MVC       Comments Off on Getting information about the current Route

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, […]

Read the rest of this entry »

Jul 23

Book review: Professional IIS 7 and ASP.NET Integrated Programming

Posted in Books       Comments Off on Book review: Professional IIS 7 and ASP.NET Integrated Programming

[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 […]

Read the rest of this entry »

Jul 23

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 […]

Read the rest of this entry »

Jul 17

Loads cannot pass other loads…or can they?

Posted in Trivia       Comments Off on Loads cannot pass other loads…or can they?

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!

Read the rest of this entry »

Jul 16

ASP.NET MVC Preview 4 is out

Posted in ASP.NET, MVC       Comments Off on ASP.NET MVC Preview 4 is out

And you can get it from codeplex.

Read the rest of this entry »

Jul 15

Opera 9.5: finally with a good enough debugger for JS

Posted in Trivia       Comments Off on Opera 9.5: finally with a good enough debugger for JS

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 […]

Read the rest of this entry »

Jul 15

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 […]

Read the rest of this entry »

Jul 15

Scott Gu on MVC Preview 4

Posted in ASP.NET, MVC       Comments Off on Scott Gu on MVC Preview 4

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.

Read the rest of this entry »

Jul 09

Simply because you can only buy it (officially) from a mobile phone operator. Simply a no-no to me…

Read the rest of this entry »

Jul 08

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 […]

Read the rest of this entry »

Jul 08

2011-01-12 10:34:08

Read the rest of this entry »

Jul 07

Book review: Professional Engine Optimization with ASP.NET: a Developer''s Guide to SEO

Posted in Books       Comments Off on Book review: Professional Engine Optimization with ASP.NET: a Developer''s Guide to SEO

[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 […]

Read the rest of this entry »

Jul 04

The MVC framework – getting started

Posted in ASP.NET, MVC       Comments Off on The MVC framework – getting started

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 […]

Read the rest of this entry »

Jul 04

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 […]

Read the rest of this entry »

Jul 03

Protected: Book review: Professional Community Server

Posted in Books       Enter your password to view comments.

There is no excerpt because this is a protected post.

Read the rest of this entry »