views:

188

answers:

2

Hi All,

I am a Java developer with knowledge and experience in classic ASP 2.0.

In our organization we have couple of products in Classic ASP 2.0 built some 6 years ago. We want to have new functions & modules built in Flex 3.0 (making use of rich UI) with in the existing classic ASP 2.0 Application. such that we dont reenginre the entire existing product into Flex.

SO my basic query is can we use Flex 3.0 in ASP 2.0, if so how. What plugins do we need to make it work, any document with example would be utmost help.

Thanks & Regards, Sai Kirshna.

A: 

I know this does not exactly get you back to classic ASP 2.0 but there is a .Net flavor of WebOrb which can be used to connect Flex to a .Net back-end might be helpful enough.

http://www.themidnightcoders.com/products/weborb-for-net/overview.html

Adam Haskell
A: 

You could check Adobe: http://learn.adobe.com/wiki/display/Flex/Flex+and+ASP.NET

If you treat ASP as the server-side and Flex as the client-side, then you just need to sort out what the api will be. Flex has a number of ways to get data from the server. I use HTTP to get JSON data from the server.

If you want to still use the client-pieces of ASP, then you probably want to pass data around using the flash ExternalInterface. This allows you to pass data back and forth between the browser JavaScript and the Flash Object.

You're short on details, so you'll have to do some reading, but I've outlined the two basic strategies available (fetch data from server, fetch data from client). No plugins necessary so far.


EDIT: Here's some additional links to see if they help:

Flexcontainer project -- "Bi-directional messaging between ASP.NET and Flex is fully supported". I never tried this. It just came up in a search.

ExternalInterface example. This is your best bet. This is the communication between Flex and the browser I mentioned earlier. I don't have any simple code examples for you.

Glenn