<p>Ok, I asked a question earlier about Flex and ADO.NET Data Services but didn't get much response so I thought I'd rephrase.  Does anyone have any experience building Adobe Flex applications with a .NET back-end?  If so, what architecture did you use and what third-party tools if any did you employ.  I've read a little about doing Flex remoting with WebORB but it seems more complicated than it should be, are web services an adequate alternative?</p>

[{'answer_id': 45094, 'author': 'Raleigh Buckner', 'author_id': 1153, 'author_profile': 'https://Stackoverflow.com/users/1153', 'pm_score': 2, 'selected': True, 'text': "<p>I've mainly used plain ASP.NET pages that return XML for situations that are mainly one-way (data from ASP.NET --> Flex/Flash) communication. The Flex side just uses a URLLoader to hit the ASP.NET page and loads the result as XML.</p>\n\n<p>If the communication needs to be a little more two-sided (sending more than a couple parameters to ASP.NET lets say), I have used standard ASP.NET webservices. </p>\n\n<p>I've never used WebOrb or Flex remoting because I've never really needed that type of interaction between the server and the SWF.</p>\n\n<p>Hope that helps.</p>\n"}, {'answer_id': 67865, 'author': 'user10440', 'author_id': 10440, 'author_profile': 'https://Stackoverflow.com/users/10440', 'pm_score': 2, 'selected': False, 'text': '<p>I believe web services is actually more complicated and more restrictive. You cannot create stateful web services, data exchange is fairly slow due to verboseness of XML. Developing with WebORB is not that hard. It basically boils down to developing an assembly and deploying it into the <code>/bin</code> folder of a weborb-enabled ASP.NET application. Once you do that you can invoke your .NET classes using Flex\'s RemoteObject API. For instance:</p>\n\n<pre><code>var ro:RemoteObject = new RemoteObject( "GenericDestination" );\nro.source = "com.bar.FooService"\nro.foo.addEventListener( ResultEvent.RESULT, gotFooResult );\nro.foo();\n\npublic function gotFooResult( evt:ResultEvent ):void\n{\n   //  evt.result contains the return value;\n}\n</code></pre>\n\n<p>It is important to compile your Flex builder project with the -service compiler argument. You can add in the Flex Builder\'s "Flex compiler" project properties:</p>\n\n<pre><code>-services c:/Inetpub/wwwroot/weborb30/web-inf/flex/services-config.xml\n</code></pre>\n\n<p>If you point to that path, then make sure to deploy your DLL into:</p>\n\n<pre><code>c:/Inetpub/wwwroot/weborb30/bin\n</code></pre>\n'}]
['https://Stackoverflow.com/questions/45078', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/4541/']