Forum Moderators: open
Can anyone give me some pointers on some of the better new features/classes in the Framework.
I see they've added support for unsigned data types which I was amazed the'd left out up until now.
FTP classes look good too, which will make it easier to integrate with remote servers.
GZip support too, which I think is great if you're accessing remote servers.
Anyone got any more pointers?
My favorite new feature is the database cache invalidation. You can cache an item...and set it to invalidate if the underlying datasource changes. Really helpful on a website where you can cache data on your pages and then if the database table changes your cache will expire and the next request to the page will get new data and then cache it until it changes.
Does anyone know if there as any real benefit to the Themes? It looks very gimmicky to me.
What benefits are there over a standard CSS based layout?
Re: Caching until database change.
What's the performance cost of this? I assume .Net has to do a lookup on the database on every page access which has to degrade performance somewhat.
Has anyone got a comparision on the time it takes to do this compared to the time it takes to look at the timestamp of a file on disk?
SQL dependency cache is a new thing in .Net and works nativly with SQL server 2005, but you can use it with 2000 also ( requires creating a trigger on watch table).
Performance will increase drastically with SQL dependency cache. Also you can improve your performance even more with asynchronous call backs another new thing in 2.0
Plus localization another new one, one site for different audiencies Engilsh, Polish etc, just one resource file for different users.