Browse by Tags

All Tags » VB.NET » C# (RSS)

Output Cache With Usercontrol on Masterpage and Multiple VaryByCustom by stefan.sedich

Hey All, Had an issue today where I had a masterpage which was inherited from 2 pages. On the masterpage I had a control which is using output cache to cache the control. But ran into an issue where you would visit the first page say Test.aspx and you...
Filed under: , , , , , ,

Different SQL between VB.NET and C# LINQ to SQL SOLVED!! by stefan.sedich

Hi All, Following my previous post I have solved this issue. Somehow accidently I discovered that if the field has allow nulls set on it VB.NET will add the Where Coalesce in your query hence in my case slowing it down dramatically. It seems that C# does...
Filed under: , , , , , ,

UserControl OutputCache and VaryByParam not working with postback!! by stefan.sedich

Don't know if anyone has come across this before. But if you have a usercontrol that uses VaryByParam and you have it on a page and do a postback you will get the wrong cache item. Use the below test bed to see what I mean, this is following to my post...

Different SQL between C# and vb.net using LINQ to SQL causes performance issues by stefan.sedich

Hi All, I am currently working on a project and we are using VB.NET, I am using LINQ to SQL for my data access. I have just implemented my search query and thought I would check the generated SQL's execution plan and found that the subtree cost was about...
More Posts