Contents tagged with .NET
-
So I Created Another Utils Library
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 any feedback out there, in the meantime I will continue my work on it.
You can find the project on GitHub @ http://github.com/stefansedich/YetAnotherUtilsLib
Cheers
Stefan -
Mammoth VPS launches Backups, DNS Management and more!!!
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 can purchase more slots which are available in daily, weekly and monthly schedules.
- DNS hosting has been made available and will be free for all customers. You can find the new interface in your mPanel.
- A cleanup of the menu system has been done to make it easier to navigate around both the site and mPanel.
- You will find new sections on site, we now have more information about our services and have included things like a Knowledge Base, which will provide information on howto setup various applications on your VPS.
- Added the ability to change the kernel your VPS is running on.
So head on over to MammothVPS and check it out. -
Mammoth VPS Signup Video
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
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 for the winner.
-
ASP.NET Ajax using a custom ViewManager to render paged data without updatepanels
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 not use viewstate or postbacks but would like to get a result set of data that can be paged and you would like this totally client driven and to use the least ammount of overhead.
Following on from Scott Guthries ViewManager (thanks Scott), and some ideas I have had lately to do alot more things client side and maybe stop using updatepanels. I have made a more generic ViewManager which I blogged about earlier, basically is just allows you to set properties of your control alot easier and can set any properties the control may have before you go ahead and render it. Don't flame for writing something already done, I find my version of the ViewManager easier to use, so thought I would share. -
Output Cache With Usercontrol on Masterpage and Multiple VaryByCustom
-
Enum With String Values In C#
Hello again,
-
A Generic ViewManager Helper Class
Hi All,
-
Different SQL between VB.NET and C# LINQ to SQL SOLVED!!
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 not do this. So finally I have my VB.NET sql comming out exactly the same as in C# simply by turning off allow nulls on my database column... Still seems like odd behaivour to me but for now it all works fine.
Thanks
Stefan -
UserControl OutputCache and VaryByParam not working with postback!!
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 for help on the asp.net forums, I then found this post which showed me it is an issue, following this I think I came up with a solution. That is to add a hidden field to my page with the name MenuID and populate that. Now on postback it seems to work fine, as VaryByParam="MenuID" seems to read the form var MenuID and gets the correct value hence fixing caching.