locked
Asp.net integration with Flex4.6 RRS feed

  • Question

  • User1107562751 posted

    Hi All,

    Can anybody suggest me what's the best way to integrate asp.net website with flex 4.6 application ?

    Thanks

    Ameek

    Thursday, September 20, 2012 7:54 PM

All replies

  • User477186420 posted

    Hello,

    Check Below Link it might help you into intigration of .net and Flex

    http://cookbooks.adobe.com/post_Introduction_to_Flex_4_and__NET_Integration-16930.html

    let me know if any query

    Friday, September 21, 2012 1:03 AM
  • User1107562751 posted

    Hi,

    Thanks fo replying. My question is which method is better for flex wirh .net integration?

    Thanks

    Dolly

    Friday, September 21, 2012 3:40 PM
  • User589263704 posted

    One of the first questions you might asking at this point is what is WebORB and why you need it to integrate Flex and .NET. Indeed, Flex supports several options for connecting the client-side with the server application. These options include XML/SOAP web services, integration through basic HTTP GET/POST requests and AMF Remoting. While each of these alternatives have its own pros and cons, the AMF Remoting provides the best performance as well as simplicity and speed of development. The performance factor is significant as Rich Internet Applications created with Flex require fast response times to avoid scenarios when users have to wait for a screen to update or a business transaction to be completed. (There is a  live benchmark comparing performance of AMF/Remoting and Web Services)  The speed of development is equally important as businesses strive to complete projects on time and beat the time to market.

    NET Service

    In this section you will learn about ways to expose a .NET class as a Flex remoting service. Consider the code below:

     

    using System; namespace WeatherServiceNamespace { public class WeatherService { public Weather GetWeather(String zipCode) { Random randomValue = new Random(); Weather weather = new Weather(); weather.temperature = randomValue.Next( 100 ); weather.humidity = randomValue.Next(100); weather.condition = WeatherCondition.SUNNY; return weather; } } public class Weather { public double temperature; public float humidity; public WeatherCondition condition; } public enum WeatherCondition { SUNNY, CLOUDY, RAIN, FOG } }
        
    
    
    
    
    Sunday, April 21, 2013 2:10 PM