Configure entity tags (ETags) on IIS7
YSlow: "Entity tags (ETags) are a mechanism web servers and the browser use to determine whether a component in the browser's cache matches one on the origin server. Since ETags are typically constructed using attributes that make them unique to a specific server hosting a site, the tags will not match when a browser gets the original component from one server and later tries to validate that component on a different server." More…
Read more...
Custom Role Provider for MVC
In previous article I explain how to create Custom Membership Provider to authorize user and protect controls and pages. But what if you want to show or protect some area, controller or page for specific group of users? For example allow access to Admin Panel only for admins.
Read more...
Tool to upgrade SQL CE database to SQL Server Compact 4.0
I wrote simple console application (based on "HOW TO: Upgrade a version 3.x database file to SQL Server Compact 4.0") to upgrade (convert) CE databases with previous verions to SQL Server Compact 4.0 There is the code: or you can download whole project of the tool.
Read more...
ASP .NET, SQL Server Compact 4.0 and Entity Framework
As you all know, SQL Server Compact Edition now can be used in ASP .NET for small database. I have a small website (phonebook for one city) and decide convert data source from Excel sheet to SQL CE DB. And have got 2 problems.
Read more...