Hello to everybody,

it has been a long time since my last post about coding and I excuse for this… I hope you find the piece of code I’m gonna to write quite usefull….. consider this scenario :

  • You’re using localized resource placed inside .resx files
  • You’re under release and so you code a lot and hate (as me) to remember all the items that need to be placed inside the .resx
  • You can’t simply use the GetLocalResourceObject since if it there’s no entry you’ll come across an empty string…

If you’re facing all this points and you’re using .NET Framework 3.5… here’s the solution for you with a simple extension method :

He’re the PageExtension.cs code

public static class PageExtension


public static object GetLocalResourceEnhanced(this System.Web.UI.Page page, string resource)


object result = HttpContext.GetLocalResourceObject(page.AppRelativeVirtualPath, resource);

return result ?? resource;



and here’s the .aspx file :

<form id=”form1″ runat=”server”>
<label><% =this.GetLocalResourceEnhanced(“gino”)%></label>

With this if you put you label in uppercase as for example LBLWELLCOMETEXT you’ll see immediatly when some string are not present inside your .resx.

Hope it helped


Posted by: advapi | February 2, 2009

Come sputtanarsi x sempre……eh vabbè XD

… so già che me ne pentirò!

Posted by: advapi | January 29, 2009

Visual Studio Tips

I know it has been a long time since I wrote last post… but I’m quite busy at work and when I’m not in the office  I prefer to spend my time with Monica (or Fallout3 otherwise 😀 ), but this nigth I want to share with you this site, it contains suggestion about Visual Studio tips/features..

Posted by: monizzuola | January 5, 2009

And a happy new year!!!


I picture you in the sun wondering what went wrong
And falling down on your knees asking for sympathy
And being caught in between all you wish for and all you seen
And trying to find anything you can feel that you can believe in

May God’s love be with you
May God’s love be with you

I know i would apologize if i could see your eyes
‘Cause when you showed me myself i became someone else
But i was caught in between all you wish for and all you need
I picture you fast asleep
A nightmare comes
You can’t keep awake

May God’s love be with you
May God’s love be with you

‘Cause if i find
If i find my own way
How much will i find
If i find
If i find my own way
How much will i find

I don’t know anymore
What it’s for
I’m not even sure
If there is anyone who is in the sun
Will you help me to understand
‘Cause i been caught in between all I wish for and all I need
Maybe you’re not even sure what it’s for
Any more than me

May God’s love be with you
May God’s love be with you

Posted by: advapi | November 24, 2008

Spazio belle donne…

AAAAAUUUUUUUUUUUUUUUU! (questa è per Mario che mi ha avvisato di contenuti nocivi al pubblico non pagante!)


Posted by: monizzuola | November 24, 2008

Ecco….giusto perchè non c’è abbastanza sport in questo blog…..ho pensato di inserire un giocatore svedese…alza il livello di bellezza nella nazionale del suo paese (ibra è tanto bravo quanto orrendo!)                                                                 



Posted by: advapi | November 21, 2008

Gears of War 2 Finished

Yesterday night I finished Gears of War 2 for XBox360…. Epic Games has done a great job, I really enjoyed it…. and what to say about riding a brumak?

Posted by: advapi | November 7, 2008

My first article on CodeProject

In last days I was able to refactor a portion of the project I was working on and I decided to write an article …. what better place of CodeProject in order to exchange my knowledge with the others?

Here’s the link

Posted by: advapi | November 3, 2008

News about me…

It have been quite a long time I wrote on this blog… I’ve really been busy in this period… but the efforts have been payed.

As many of you know I’m a software dev, and from May I’ve covered the role of Project Manager of a .NET solution for Domain Parking. This project took a part into Zanox 1.000.000€ contest and… I won… better to say my company, my team and I won….this won’t change my life a lot (more or less nothing but since May I was a simple developer…and It’s awesome for me…)

You can check the context winner here, I’m currently working for triboo (following the link you can go to the project website)

Now the can’t-miss-picture (I’m the 4°th from rigth)

I wish to dedicate this goal to my Family, my girlfriend Monica, my Team (for having followed me in my rape to DB, code) and a very very special thank to Mario Cannistrà (my previous Project Manager when I was working on IRB projects), he taught me how to face problems in coding and how to manage resources… he’s not an extraordinary person, a splendid colleague but also a true friend… Thanks Mario!

« Newer Posts - Older Posts »