The list below has all web sites which I found with free test plans for programming tests. Please, suggest your web site in comments if you cannot find someone. Free tests for developers TestDome – a bunch of tests for different languages and subjects HackerRank – excerpt from the website: “Compete in challenges and codesprints and see how […]
This article is about pitfalls which should be considered when you’re implementing an Ajax grid with jQuery and ASP.NET MVC. The sample in the article can be used as a starting point to more complicated version of any grid since it provides a complete set of required features: create, edit, delete, filtering, sorting and pagination. […]
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 MVC 3.5 there is a special attribute which can be applied to controller actions ValidateAntiForgeryTokenAttribute. It works in pair with HtmlHelper method Html.AntiForgeryToken(). The value […]
- April 17, 2014
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.
- January 6, 2014
You might get the following message when trying to serialize a JSON response from a REST service with
End element 'XXX' from namespace 'XXX' is expected. Found element 'XXX' from namespace 'XXX'
If your message looks similar to this example you should check your data contract classes. It’s possible that some property has an invalid type association. For example, the REST service could return complex type Person with […]
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 appreciated. Connection String In web project it may be not obvious why is database not created. The error message may tell about the null reference […]
The links to descriptions of the approach. It is strongly required to use App_GlobalResources and place resource files with localized strings in it.
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.
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.