Integrating Adobe Flex Application inside ASP.NET application
I have been working a little bit with Adobe Flex Builder to create flex applications. I really found the UI very rich and lots of functionalities can be developed using flex. Most powerful feature i used is to allow the .NET webservice to communicate with my flex application. As i'm a .NET developer, i used the power of webservices to retrieve data from SQL in which this webmethod will be called from my flex application and display the data in a flex grid.
After you finish building the flex application, you will realize that an html file is created which embeds the swf file. The nice thing about flex application is it can be hosted under IIS. So first create a virtual directory in IIS and map it to your flex application. Now you can access it for example like (http://localhost/Flex/Inbox.html).
In your .NET web application now you can create an iframe, set its source to the location of your flex application (Easy Right?) that's all you need to implement this integration between these two technologies
Below is the HTML code
<iframe src="http://localhost/Flex/Inbox.html" width="50%" height="50%"/>
Another way to do it, is to put the swf file generated by Flex inside your application folder and in your HTML code add an Object tag set its source to the switch file (swf).
HC