The most used commands in Git console which are used by me in projects. The reference is often overwhelmed with information which hinders me to use it in practice. This text is the place
The best practice is that all POST request has AntiForgeryToken to prevent XSS attack. If you don’t know what it is, please, read materials in the bottom of the article.
From time to time it’s required to clean up log file, but Managment Studio does not offer straightforward command to do that. This script will help in cleaning up.
You might get the following message when trying to serialize a JSON response from a REST service with DataContractJsonSerializer : End element 'XXX' from namespace 'XXX' is expected. Found element 'XXX'
Not obvious issues in configuration of EF Code FirstNot obvious issues in configuration of EF Code First
This post describes my own issues which I bumped into while setting up EF Code First. This is not a complete list of all possible issues and any input would be
Error: DbArithmeticExpression arguments must have a numeric common type.Error: DbArithmeticExpression arguments must have a numeric common type.
From time to time you need to filter data by difference between two dates. For instance, you wanna take a difference between date from a record and Today.
Error: Unable to determine the principal end of an association between the typesError: Unable to determine the principal end of an association between the types
You may get this error if you have entities related to itself. For example, you have a tree hierarchy.
Add or update URL query parameter with respect to number of parameters and its position.
QR code authentication, or type less, be more secureQR code authentication, or type less, be more secure
The idea of using a private phone to secure web sites take off with the solution of BenjaminSoulier.