-
The importance of Trim()

Today we’ll focus on the importance of Trim() action in your code. As you know, Trim() will remove empty spaces from the beginning and end of any string of text. Consider what we’ve discussed in our last article about validation. I’ve shown that you should always validate inputs before storing records in database. While you… Continue reading
-
Validation is Golden Rule

In this article I’ll explain why you should always validate inputs and never assume anything. Please consider that we need to create a database table to store contacts. The requirements say that we only need to record Name, Email Address and Phone Number, but only the Name is required. Based on the requirements we ended… Continue reading
-
CRUD Pattern – Alert nr. 1

Let’s start with a common pattern used in our database entities and consider the following table definition: I’m expecting that MyEntity was created in a Core Service module and would be defined as Public and Exposed as Read Only.If so, then you might have created an action to Create or Update a record in that… Continue reading