<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments on: Flex + JSON + .Net Sample Application / Tutorial</title>
	<atom:link href="http://blog.shrefler.net/?feed=rss2&#038;p=5" rel="self" type="application/rss+xml" />
	<link>http://blog.shrefler.net/?p=5</link>
	<description>Deuce is Wild</description>
	<pubDate>Sun,  5 Sep 2010 03:52:09 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Veena</title>
		<link>http://blog.shrefler.net/?p=5&cpage=1#comment-118486</link>
		<dc:creator>Veena</dc:creator>
		<pubDate>Mon, 19 Oct 2009 13:59:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shrefler.net/?p=5#comment-118486</guid>
		<description>Hi ,
I have a method

public static string Serialize(this object dataToSerialize)
		{
			var jsonSerializer = new JsonSerializer();
			var stringWriter = new StringWriter();
			var writer = new JsonTextWriter(stringWriter) { Formatting = Formatting.Indented };
			jsonSerializer.Converters.Add(new UtcDateConverter());
			jsonSerializer.Serialize(writer, dataToSerialize);
			return stringWriter.ToString();
		}

if a photoFile which a property of object is 172 kb, then after serialization it becomes very large, which takes too much time to upload to server. Is there any way, I can optimize serialization in terms of data size.

Thanks,
Veena</description>
		<content:encoded><![CDATA[<p>Hi ,<br />
I have a method</p>
<p>public static string Serialize(this object dataToSerialize)<br />
		{<br />
			var jsonSerializer = new JsonSerializer();<br />
			var stringWriter = new StringWriter();<br />
			var writer = new JsonTextWriter(stringWriter) { Formatting = Formatting.Indented };<br />
			jsonSerializer.Converters.Add(new UtcDateConverter());<br />
			jsonSerializer.Serialize(writer, dataToSerialize);<br />
			return stringWriter.ToString();<br />
		}</p>
<p>if a photoFile which a property of object is 172 kb, then after serialization it becomes very large, which takes too much time to upload to server. Is there any way, I can optimize serialization in terms of data size.</p>
<p>Thanks,<br />
Veena</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Balaji</title>
		<link>http://blog.shrefler.net/?p=5&cpage=1#comment-115410</link>
		<dc:creator>Balaji</dc:creator>
		<pubDate>Tue, 18 Aug 2009 06:09:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shrefler.net/?p=5#comment-115410</guid>
		<description>Hi Vinitha
You dont need to open a aspx dialog box in Flex. The file open dialig box is available in the Flex too</description>
		<content:encoded><![CDATA[<p>Hi Vinitha<br />
You dont need to open a aspx dialog box in Flex. The file open dialig box is available in the Flex too</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kunal Sidhpura</title>
		<link>http://blog.shrefler.net/?p=5&cpage=1#comment-111979</link>
		<dc:creator>Kunal Sidhpura</dc:creator>
		<pubDate>Mon, 01 Jun 2009 07:07:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shrefler.net/?p=5#comment-111979</guid>
		<description>Hi,
    can you tell me how to send a arraycollection from flex and handle it in .NET using JSON</description>
		<content:encoded><![CDATA[<p>Hi,<br />
    can you tell me how to send a arraycollection from flex and handle it in .NET using JSON</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Priyobrata S. K.</title>
		<link>http://blog.shrefler.net/?p=5&cpage=1#comment-106656</link>
		<dc:creator>Priyobrata S. K.</dc:creator>
		<pubDate>Wed, 04 Mar 2009 10:28:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shrefler.net/?p=5#comment-106656</guid>
		<description>I was going through the whole conversations. I was just wondering why JSON serialization in the SOAP message as Ricardo has exactly pointed out correctly. Besides all, Flex can directly work with .NET Web Services itself.

I have a differrent idea what if we could directly talk with ADO.NET Data Service with REST? Anybody tried that? What about security implementation? Please suggest...</description>
		<content:encoded><![CDATA[<p>I was going through the whole conversations. I was just wondering why JSON serialization in the SOAP message as Ricardo has exactly pointed out correctly. Besides all, Flex can directly work with .NET Web Services itself.</p>
<p>I have a differrent idea what if we could directly talk with ADO.NET Data Service with REST? Anybody tried that? What about security implementation? Please suggest&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ken Larkin</title>
		<link>http://blog.shrefler.net/?p=5&cpage=1#comment-72233</link>
		<dc:creator>Ken Larkin</dc:creator>
		<pubDate>Wed, 11 Jun 2008 11:27:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shrefler.net/?p=5#comment-72233</guid>
		<description>Rohit,
any workaround for the date issues from .NET into Flex JSON.  I change the code to encode dates as new Date(12873548273548) but not sure what to do for the decode side of things.

Ken</description>
		<content:encoded><![CDATA[<p>Rohit,<br />
any workaround for the date issues from .NET into Flex JSON.  I change the code to encode dates as new Date(12873548273548) but not sure what to do for the decode side of things.</p>
<p>Ken</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pradeep</title>
		<link>http://blog.shrefler.net/?p=5&cpage=1#comment-71058</link>
		<dc:creator>Pradeep</dc:creator>
		<pubDate>Wed, 04 Jun 2008 08:03:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shrefler.net/?p=5#comment-71058</guid>
		<description>Hi,

i have the following error while using JSON even after i have added in to project buildpath libraries in FLEX Builder 2 ,

1120: Access of undefined property JSON.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>i have the following error while using JSON even after i have added in to project buildpath libraries in FLEX Builder 2 ,</p>
<p>1120: Access of undefined property JSON.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Billy</title>
		<link>http://blog.shrefler.net/?p=5&cpage=1#comment-70967</link>
		<dc:creator>Billy</dc:creator>
		<pubDate>Tue, 03 Jun 2008 19:25:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shrefler.net/?p=5#comment-70967</guid>
		<description>Thanks. This a good start and I plan to look at your other articles that deal with the whole Flash/Flex working with .net.</description>
		<content:encoded><![CDATA[<p>Thanks. This a good start and I plan to look at your other articles that deal with the whole Flash/Flex working with .net.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charlie</title>
		<link>http://blog.shrefler.net/?p=5&cpage=1#comment-69714</link>
		<dc:creator>Charlie</dc:creator>
		<pubDate>Tue, 27 May 2008 22:09:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shrefler.net/?p=5#comment-69714</guid>
		<description>I got your tutorial to work.  My test data for the webservice


{"id":12345,"firstName":"Charlie","lastName":"Nguyen","address":"2802 N. Ave."}


when I am trying to put the employee info in a loop it renders this:


{"id":12346,"firstName":"Jean","lastName":"Gray","address":"NYC, NC"}
{"id":12347,"firstName":"Scott","lastName":"Summers","address":"NYC, NC"}


and when the datagrid populars the data....it only shows scott summers and not 2 separate rows.  

does the webservices need to populate it like this?  If so, how can I do that?


{"id":12347,"firstName":"Scott","lastName":"Summers","address":"NYC, NC"}


{"id":12346,"firstName":"Jean","lastName":"Gray","address":"NYC, NC"}


Thanks a lot!!</description>
		<content:encoded><![CDATA[<p>I got your tutorial to work.  My test data for the webservice</p>
<p>{&#8221;id&#8221;:12345,&#8221;firstName&#8221;:&#8221;Charlie&#8221;,&#8221;lastName&#8221;:&#8221;Nguyen&#8221;,&#8221;address&#8221;:&#8221;2802 N. Ave.&#8221;}</p>
<p>when I am trying to put the employee info in a loop it renders this:</p>
<p>{&#8221;id&#8221;:12346,&#8221;firstName&#8221;:&#8221;Jean&#8221;,&#8221;lastName&#8221;:&#8221;Gray&#8221;,&#8221;address&#8221;:&#8221;NYC, NC&#8221;}<br />
{&#8221;id&#8221;:12347,&#8221;firstName&#8221;:&#8221;Scott&#8221;,&#8221;lastName&#8221;:&#8221;Summers&#8221;,&#8221;address&#8221;:&#8221;NYC, NC&#8221;}</p>
<p>and when the datagrid populars the data&#8230;.it only shows scott summers and not 2 separate rows.  </p>
<p>does the webservices need to populate it like this?  If so, how can I do that?</p>
<p>{&#8221;id&#8221;:12347,&#8221;firstName&#8221;:&#8221;Scott&#8221;,&#8221;lastName&#8221;:&#8221;Summers&#8221;,&#8221;address&#8221;:&#8221;NYC, NC&#8221;}</p>
<p>{&#8221;id&#8221;:12346,&#8221;firstName&#8221;:&#8221;Jean&#8221;,&#8221;lastName&#8221;:&#8221;Gray&#8221;,&#8221;address&#8221;:&#8221;NYC, NC&#8221;}</p>
<p>Thanks a lot!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charlie</title>
		<link>http://blog.shrefler.net/?p=5&cpage=1#comment-68082</link>
		<dc:creator>Charlie</dc:creator>
		<pubDate>Mon, 19 May 2008 01:44:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shrefler.net/?p=5#comment-68082</guid>
		<description>Hi....I am very interesting with the ability to use .NET and Flex 3 together.  Where can I obtain the "Newtonsoft.Json.dll" and "Newtonsoft.Json.XML"  you mentioned?

Thanks for your help.</description>
		<content:encoded><![CDATA[<p>Hi&#8230;.I am very interesting with the ability to use .NET and Flex 3 together.  Where can I obtain the &#8220;Newtonsoft.Json.dll&#8221; and &#8220;Newtonsoft.Json.XML&#8221;  you mentioned?</p>
<p>Thanks for your help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vinitha</title>
		<link>http://blog.shrefler.net/?p=5&cpage=1#comment-63155</link>
		<dc:creator>vinitha</dc:creator>
		<pubDate>Fri, 18 Apr 2008 11:36:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shrefler.net/?p=5#comment-63155</guid>
		<description>Hi,

I am using Flex application with .Net. I want to open an aspx page (modal dialog box) on click of the button which is in flex application. How can i acheive this?

Thanks in advance</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am using Flex application with .Net. I want to open an aspx page (modal dialog box) on click of the button which is in flex application. How can i acheive this?</p>
<p>Thanks in advance</p>
]]></content:encoded>
	</item>
</channel>
</rss>
