Using Flex with .NET

Flex 1.5 is a J2EE system and cannot be installed to run with .NET or IIS. This is unfortunate if you are a .NET shop.

But you do have some alternatives.

  • Install an instance of a J2EE server and deploy Flex in it. The Flex proxies can talk to .NET web services or access XML docs coming from the the ASP.NET pages.
  • Use the MXMLC compiler to create standalone SWFs that call web services or XML streams directly, by passing the proxy.

In either case, the licensing is per CPU to which the SWFs are deployed.

And before you ask: we are working on a .NET solution. No date has been set as to when this will happen.

For more information, see Chris Wigginton’s comment below. Thanks, Chris!

3 Responses to Using Flex with .NET

  1. Christopher Wigginton says:

    Peter,

    Just thought I’d clarify the Flex IIS issue.

    Reference Macromedia Tech Note:
    How to configure IIS to access MXML pages under the web server root when Flex is deployed on JRun or ColdFusion
    http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=96611248

  2. You can use a Flash Remoting solution for .NET to use remoteObjects aswell using the endPoint property.

  3. siva krishna says:

    how i access the method written in .cs(dotnet) file in flex
    ————–
    Peter: You need to use LiveCycle DataServices.