Archives for Best Practises - Page 2
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond – SMTP Client
Error Message A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond…
EF Code-First Approach Vs Database First Approach
Following are some of the advantages and disadvantages on each Approaches of Entity Framework Code-First Approach Advantages No need to look at database for any changes in the tables as we can…
How to secure your entire MVC application with “Authorize” attribute ?
Scenario: If you would like to secure your admin pages, you would add “Authorize” attribute for all your admin controllers. However, you might get a situation like; you need to…
Issue: The length of the string exceeds the value set on the maxJsonLength property
Problem Statement Many people had faced with their MVC Applications with the following issue. Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the…
Do we need to use Newtonsoft.Json.JsonConvert.DeserializeObject() or Newtonsoft.Json.Linq.JToken.Parse()?
So many people got this question like to deserialize any JSON string should we need to use ()or ()method?? Let begin the explanation uses LINQ-TO-JSON API internally to loop through…





