Questions related to validating data. It could be data in a database, user input, messages from other processes, etc...
0
votes
1answer
81 views
Why many ASP.NET websites not HTML validating friendly? [closed]
I used http://validator.w3.org to check many websites and I have noticed that the ASP.NET sites contain large number of errors. Why? and Is it possible to make it valid?
Examples:
...
-3
votes
0answers
24 views
Differents situations to validate data [closed]
I would like to know how to validate a product when it's added and to validate in a different way when I'm updating it. I tried to create two interfaces(IValidateInsert and IValidateUpdate) and ...
3
votes
1answer
144 views
How can I use Windows Workflow for validation of a Silverlight application?
I want to use Windows Workflow to provide a validation service. The validation that will be provided may have multiple tiers with chaining and redirecting to other stages of validation. The ...
2
votes
1answer
90 views
Validation and authorization in layered architecture
I know you are thinking (or maybe yelling), "not another question asking where validation belongs in a layered architecture?!?" Well, yes, but hopefully this will be a little bit of a different take ...
5
votes
5answers
485 views
Is realtime validation of username good or bad?
I have a simple form for the user to sign up to my site; with email, username and password fields. We are now trying to implement an ajax validation so the user doesn't have to post the form to find ...
3
votes
1answer
79 views
Dapper and object validation/business rules enforcement
This isn't really Dapper-specific, actually, as it relates to any XML-serializeable object.. but it came up when I was storing an object using Dapper.
Anyways, say I have a user class.
Normally, I'd ...
1
vote
3answers
141 views
Validating allowed characters or validating disallowed characters
I've always validated my user input based on a list of valid/allowed characters, rather than a list of invalid/disallowed characters (or simply no validation). It's just a habit I picked up, probably ...
2
votes
2answers
54 views
Standard way of allowing general XML data
I'm writing a data gathering and reporting application that takes XML files as input, which will then be read, processed, and stored in a strongly-typed database. For example, an XML file for a "Job" ...
1
vote
1answer
95 views
DDD and validation of aggregate root
Suppose an aggregate root : MailConfiguration (wrapping an AddressPart object). The AddressPart object is a simple immutable value object with some fields like senderAdress, recipentAddress (to make ...
2
votes
1answer
81 views
Ensure data entered by users adjusts to what actually is
This is more of a usability issue I'd say, looking of suggestions on it.
I have a system that depends on the data entered by the users to be correct, as in the address exists, the name is correct, ...
13
votes
9answers
2k views
Constructor parameter validation in C# - Best practices
What is the best practice for constructor parameter validation?
Suppose a simple bit of C#:
public class MyClass
{
public MyClass(string text)
{
if (String.IsNullOrEmpty(text))
...
0
votes
1answer
68 views
Verification & Validation books
So I need some help with Verification & Validation of software. So I know the definitions of both but ... I can't really find any real entry level books about the process from setting up the ...
7
votes
3answers
151 views
How to measure external quality of software
For my thesis, I am doing research into the characteristics of Behavior Driven Development (BDD). One of the BDD claims is that by specifying the requirements in a ubiquitous language together with ...
1
vote
1answer
71 views
validating APIs
We have a series of hardware and we have decided on a common API to be given to the customer for use. The customer will use this API in order to program the hardware.
The API includes functions for ...
2
votes
5answers
531 views
Javascript form validation - what's lacking?
I've tried out two javascript form validation frameworks - jQuery validation, and jQuery Tools validator - and I've found both of them lacking. jQuery validation lacks the clear separation between the ...