<p>How can I get a ASP.NET (inc MVC) application talking to a Flex UI over AMF.  I am wanting to push approx 100+ records around at a time and AMF would appear to be the way forward, but there doesn't appear to be anything obvious.</p>

[{'answer_id': 78821, 'author': 'Cameron A. Ellis', 'author_id': 1748529, 'author_profile': 'https://Stackoverflow.com/users/1748529', 'pm_score': 4, 'selected': True, 'text': '<p>If you\'re pressed for time, you can just use the RemoteObject to hit a compiled DLL  (like WebORB - its free for .NET, but you need a VS copy above Express to compile your classes that you want to expose to Flex)</p>\n\n<p>and Retrieve the object that way...</p>\n\n<p>Obviously your objects should have a DAL in place or be generated so you can communicate with your database.</p>\n\n<p>But i suggest using Cairngorm for any data intensive Flex application. It isn\'t simple and development won\'t feel as fast, but once you understand it, things go alot smoother and it just feels right. I could go into the details, but there are people that are much smarter than I am that have already explained it, in depth. Someone like yourself should be able to grasp the concepts pretty quickly.</p>\n\n<p>here are the links to learning WebORB and Cairngorm:</p>\n\n<ul>\n<li>weborb : <a href="http://www.themidnightcoders.com/weborb/" rel="noreferrer">http://www.themidnightcoders.com/weborb/</a></li>\n<li>cairngorm : <a href="http://opensource.adobe.com/wiki/display/cairngorm/Cairngorm" rel="noreferrer">http://opensource.adobe.com/wiki/display/cairngorm/Cairngorm</a></li>\n<li>learning Cairngorm : <a href="http://www.adobe.com/devnet/flex/articles/cairngorm_pt1.html" rel="noreferrer">http://www.adobe.com/devnet/flex/articles/cairngorm_pt1.html</a></li>\n</ul>\n'}, {'answer_id': 99616, 'author': 'user10440', 'author_id': 10440, 'author_profile': 'https://Stackoverflow.com/users/10440', 'pm_score': 0, 'selected': False, 'text': '<p>One minor correction to the answer above: you can actually use the Express edition to compile your assembly. With WebORB you can simply deploy your DLLs into the /bin folder of the virtual directory and it will take care of enabling your classes as Flex Remoting services. You do not need to implement any special interfaces or use any special attributes. Just create a class that returns the data you want to deliver to the client, deploy that class into weborb and use the RemoteObject API on the client side. Here\'s a link to the getting started article:</p>\n\n<p><a href="http://www.themidnightcoders.com/articles/flextodotnet.htm" rel="nofollow noreferrer">http://www.themidnightcoders.com/articles/flextodotnet.htm</a></p>\n'}, {'answer_id': 106881, 'author': 'marstonstudio', 'author_id': 19447, 'author_profile': 'https://Stackoverflow.com/users/19447', 'pm_score': 2, 'selected': False, 'text': '<p>An alternative to WebORB for .Net AMF remoting is <a href="http://www.fluorinefx.com/" rel="nofollow noreferrer">FlourineFx</a>. I haven\'t used it, but it looks interesting. I have used WebORB which is quite powerful. It has some great code generation tools which speed up the process of building a database driven application. </p>\n'}, {'answer_id': 215073, 'author': 'Lieven Cardoen', 'author_id': 26521, 'author_profile': 'https://Stackoverflow.com/users/26521', 'pm_score': 0, 'selected': False, 'text': '<p>I would definetely check WebORB and the MSMQ support (FluorineFX has the same functionality. Both are free). You could let WebORB listen to a certain queue in MSMQ. On the flex side you would need to create a Consumer and suscribe it to that queue. WebORB will then push every message in the queue to all the Consumers created in the swf. Other applications like your ASP.NET application could put messages in that queue (serialized objects or xml for instance) and will be delivered to your Flex GUI.</p>\n\n<p>I wrote some posts on the subect on <a href="http://blog.johlero.eu" rel="nofollow noreferrer">http://blog.johlero.eu</a>.</p>\n\n<p>Another very good example is at <a href="http://www.themidnightcoders.com/articles/msmqtoflexdatapush.shtm" rel="nofollow noreferrer">http://www.themidnightcoders.com/articles/msmqtoflexdatapush.shtm</a> where they use a Windows Form Application to send messages to a flex Gui.</p>\n\n<p>Lieven Cardoen aka Johlero</p>\n'}]
['https://Stackoverflow.com/questions/78477', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/4787/']