Category Archives: 18204

WAQS: Math.Round

7 reasons to use WAQS WAQS documentation   I recently had a surprise with .NET: Math.Round(3.5) = 4 (expected) but Math.Round(2.5) = 2.   Indeed, by default, Math.Round uses MidpointRounding.ToEven option.   However, SQL Round uses the AwayFromZero mode. So … Continue reading

Posted in 16868, 18204, 7671, 7672 | Leave a comment

WAQS: Metadata definition

7 reasons to use WAQS WAQS documentation   WAQS uses edmx metadata for validation: MaxLength (for string and byte array) and Nullable. However, edmx metadata often are insufficient: no MinValue, no MaxValue, no MinLength, no Pattern and even less dynamic … Continue reading

Posted in 16868, 18204, 8708 | Leave a comment

How to use WAQS?

7 reasons to use WAQS WAQS documentation   WAQS could be used in many kinds of applications. Some of my customers already use it for these kinds ones: 3-Tiers application Web application (ASP.NET MVC) Web service In this post, I … Continue reading

Posted in 16868, 17894, 17895, 18204, 8708 | Leave a comment