Browse by Tags

All Tags » .NET (RSS)

So I Created Another Utils Library by stefan.sedich

Thought it was time I start my own Utils library (why not everyone else seems to have one), I have things like a UnitOfWork implementation, base Repository class, and plan to add more things as I go. This is still a work in progress and I would appreciate...

Mammoth VPS launches Backups, DNS Management and more!!! by stefan.sedich

Yesterday we launched a bunch of new features over at MammothVPS, - All VPS' now have an on-site, off-server backup facility available to them. By default all customers will have 1 free weekly backup made available to them, and should you wish to you...

Mammoth VPS Signup Video by stefan.sedich

We have posted a video showing the process involved in signing up for a VPS at check it out below. As a special offer if you use the voucher code 'VIDEO' you can signup and receive 10% off for the first 12 months of your service. Cheers Stefan

Extension Method Competition by stefan.sedich

I plan on holding an extension method competition, basically the idea is that you submit your favourite most useful/elegant/sexy extension method and these will be judged by a selection of judges (to be picked) and there will also be some form of reward...

ASP.NET Ajax using a custom ViewManager to render paged data without updatepanels by stefan.sedich

Sometimes you do not want the overhead of using an updatepanel, as each time you make a request it is posting more back than you might need, sure it can be powerful and easy to use but not always the most effective way Say you would like to be able to...

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: , , , , , ,

Enum With String Values In C# by stefan.sedich

Hello again, I am currently making a Virtual Earth asp.net ajax server control and came to the point where I had to replicate the enums in my classes, but the issue with them is that the enums do not use integer values but string ones. In C# you cannot...

A Generic ViewManager Helper Class by stefan.sedich

Hi All, Following on from something I saw from Scott Guthrie, a ViewManager which allows you to render a usercontrol and return the generated HTML. I decided to implement a more generic approach which allowed you to set any properties of your custom usercontrol...

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...
More Posts Next page »