Wednesday, December 25, 2013

Wish your friend with your own words and love

Hello Friend, you can wish your friend or family with special link,

just enter wishing text (for example: "Happy Birthday Krishna") in below text area. You can use Hindi text editor also.
If you select Hindi editor then English text will automatically convert to Hindi when you use space.


Click on Create Link button to create wishing URL



Monday, December 16, 2013

How to reconfigure JSON length or size in C# / ASP.Net


It is very easy to reconfigure the max JSON size, just we need to include one line code as shown below

JavaScriptSerializer js = new JavaScriptSerializer();
js.MaxJsonLength = int.MaxValue;

Int.MaxValue is 2147483647, which is equivalent to 4 GB, We can simply assign one integer value to JavaScriptSerializer.MaxJsonLength, in above case max value of integer is assigned

There is one more alternative to do this, we can configure the max length in the system.web.extensions configuration section in web.config. The example below sets the maxJsonLength value to 500000 characters


  

   
   

   

Note: Also keep in mind that the maxJsonLength in the web.config file automatically overrides the JavaScriptSerializer.MaxJsonLength property

Also see post: How to Convert Hexadecimal String to Byte Array in C#

Thursday, December 12, 2013

Encode or Decode a string


Use Encode button to encode the string or Decode button to decode the string