Archives
-
Detecting Chrome Browser in ASP.NET
ASP.NET comes with a browser capabilities database (BCD), which describes the capabilities of known browsers. This database is usefull for control developers that want to take advantage on different browser capabilities. Of course, more recent browsers are not listed on that database, simply because they did not exist at the time ASP.NET 2.0 was released (versions 3.0, 3.5 and 3.5 SP1 don't add anything new), and, specifically, Chrome is not on that list.
-
Data Annotations Property Validator for ASP.NET
Entity Framework, LINQ to SQL and ASP.NET MVC support Microsoft's new validation API, which you can find on System.ComponentModel.DataAnnotations. It basically consists on attribute classes, inherited from System.ComponentModel.DataAnnotations.ValidationAttribute. It is very easy to define your own, although Enterprise Library, xVal and Spring.NET validations are considerably power powerfull.
-
INotifyPropertyChang{ed,ing} and NHibernate
(Updated: thanks, Tom!)
-
NHibernate Image User Type
Supose you want to have in your domain model a property which is of type System.Drawing.Image. On SQL Server, you would map this as a column of type IMAGE, and on your domain model you would define it like this:
-
AntiXSS 3.1 Released
New version, 3.1, was released yesterday. You can get it from here.
-
Thread Synchronization in .NET
This comes after my last post Multi-threading in .NET. There are several synchronization mechanisms you can use in your .NET applications, so choosing among them must be done wisely.
-
Multi-threading in .NET
In .NET 2.0+, if you want to have something run on another thread, you have a number of choices:
-
Developing SharePoint Applications Guidance Released
August release is available at http://www.microsoft.com/downloads/details.aspx?FamilyId=91f3c22c-8be7-4721-9449-84f699337d55&displaylang=en.
-
Set Default Interceptor Unity Extension
With Unity, it is quite easy to implement an extension that automatically sets the appropriate interceptor for each registered type.