"Peter and the case of the ASP.NET developer"
Solving the mysteries of ASP.NET web control development and discussing the products of PeterBlum.com.
-
Reflection on a method with an out parameter
As I code my commercial Dynamic Data libraries for ASP.NET 4 support, I’ve elected to deliver one assembly compiled under .net 3.5 SP 1 that also supports new features of ASP.NET 4. 3.5SP1 is the initial release of Dynamic Data. To interact with the new properties and methods in ASP.NET 4, I am using .net Reflection.
-
The CategoryAttribute and Dynamic Data
The System.ComponentModel.CategoryAttribute has long been around. It’s generally used for annotating properties on web controls so that design mode’s Property Editor can organize your properties.
-
The CustomValidationAttribute
.net 4 introduces the CustomValidationAttribute, a member of System.ComponentModel.DataAnnotations that supports validation of your business logic. Until now, validation rules were limited based on the available attributes (required, stringlength, regex, and range) plus those you created by subclassing System.ComponentModel.DataAnnotations.ValidationAttribute. CustomValidationAttribute lets you define new validation rules directly on your Entity class (or the class of your choice) without having to subclass from ValidationAttribute.
-
Validating CheckBoxLists when using ClientIDMode=Predictable
A common question on the www.asp.net forums asks how to validate a CheckBoxList control. There are two cases:
-
The impact of ClientIDMode=Predictable
ASP.NET 4 introduces a new property on all controls: ClientIDMode. It lets web form developers minimize the size of the id= attribute written into HTML tags. It also helps them dictate the actual form of the ID, avoiding the mangled naming of previous versions when controls are inside of naming containers.
-
Where does this go? Applying SoC to dynamic data – Part 3
Since a major goal of Dynamic Data is to separate the business logic from the user interface, let’s look at a few areas where these concepts still blend and their alternatives.
-
Where does this go? Applying SoC to dynamic data – Part 2
Since a major goal of Dynamic Data is to separate the business logic from the user interface, let’s look at a few areas where these concepts still blend and their alternatives.
-
Peter's Polling Package 1.1.4 Service Release is available
Peter's Polling Package has been updated to v1.1.4.
-
Where does this go? Applying SoC to dynamic data – Part 1
Since a major goal of Dynamic Data is to separate the business logic from the user interface, let’s look at a few areas where these concepts still blend and their alternatives.
-
Give us more control of Intellisense
This is part of a series of postings asking for improvements to Visual Studio and ASP.NET.