Tag Archives: Web

Serializing Objects in JSON format

Serializing data/objects using XML is quite a standard way over the Web. But, XML has it’s own set of disadvantages owing to which I tried serializing objects in JSON format. It seems .NET has in-built support for doing the same. One simply needs to use the JavaScriptSerializer class available within ‘System.Web.Script.Serialization’ namespace. using System; using […]

0  

Possible Concurrency solution in n-tier Web Applications

Concurrency is one of the major issues during development of n-tier Web Applications since Client-side & Server-side work independently. Concurrency is typically handled on the Server-side. We can either keep a version number or maintain a timestamp for every record. Handle Concurrency by maintaining a timestamp (Shown visually below) Handle Concurrency by maintaining a version […]

0