October 2009 - Posts

3
Comments

VS 2010 ASP.NET 4.0 RedirectPermanent does a 301 and not 302 by nmarun

Hi, As I was reading a white-paper on changes in VS 2010, ASP.NET 4.0, I came across this new method that the Response object exposes – ‘RedirectPermanent’. This issues a ‘HTTP 301 – moved permanently’ as against a ‘HTTP 302 – moved temporarily’ that...
2
Comments

Essential Silverlight 3 – a must read by nmarun

Hats off to the author Ashraf Michail for his book Essential Silverlight 3 . This book is a must read for anyone who wants to delve into Silverlight programming. Here are some of my thoughts/comments/reviews regarding this book: The chapters are laid...
Filed under:
3
Comments

…more Visual Studio shortcuts by nmarun

Bumped into some shortcut keys while playing with Silverlight. I was on the .xaml page and I pointed my mouse over the ‘<Rectangle’ tag while pressing the Control key (now why did I have the control key pressed? cos my 6th (non)sense said so). Hey...
10
Comments

Custom 404 when no route matches by nmarun

Playing with MVC gets interesting every time. Q: What if a user mistypes the url path in an MVC application? A: A 404 gets displayed. Q: What if I don’t want the 404 to get displayed.. no matter what the user types in the address bar? A: Huh?? This is...
Filed under: ,
2
Comments

Silverlight + MVC = coolness by nmarun

Two blogs – one from Tim Heuer and the other from Joe Wardell inspired me to change my website to an MVC site. My site is basically a Silverlight application. One issue I always had was anytime there was an update to my site, say a new set of photos,...
Filed under: , ,
10
Comments

Multiple postbacks in an MVC page by nmarun

With my limited (but growing) experience in MVC, I’ve come up with a way to handle multiple postbacks to the same page in MVC. Here’s a simple application: User selects a category from a dropdownlist – causes postback and loads subcategories User selects...
Filed under: ,
6
Comments

Image pre-fetch using Silverlight by nmarun

Alright, this is my first blog, although I’ve been a developer for quite some time now… yeah I’m sorry for not following the ‘we share we improve’ policy. So I’ve created my blog site – ‘IBloggable – implemented’, and now.. off I go. First, some ground...
Filed under: ,
More Posts