Author: fonx | Posted on: 9/19/2010 6:27:34 AM | Views : 869

Hi guys,
In my current personal project with ASP.NET 3.5 with C#. I´m using extensively MasterPages and nested MasterPages because most of the pages have parts in common.
The problem that I find is that in the MP I have to use an specific class to get some data from the db, but in the child page I need to access to the same data to do more things so I have to create again an object of the same class with the exact same information so I have to create twice an object to access the same information. In fact it´s not just a class it´s maybe 2 or 3

Do you think this is going to have problems of performance? How could I optimize this?
Thanks in advance guys :)

...

Go to the complete details ...