Archive for the ‘Flex’ Category

Use Custom Value Objects with Web Services in Flex 3 Beta 2 !

Friday, October 5th, 2007

Flex 3 Beta 3 has some great new features that have been very well promoted like the new WSDL import tool and data wizard. But there’s also a wonderful hidden gem that greatly improves interoperability with Web Services–SchemaTypeRegistry. This class allows you to communicate with a server via web services and still retrieve data as your own custom value objects.

In the old days (last week), you could have a Student class on client and server, send Student from client to server, but when sending it back, you retrieved only Object. No more! Now you can send custom classes both ways.
(more…)

Uploading Files from Flex to Your .NET Server

Wednesday, August 1st, 2007

When writing RIAs in Flex, you may find it useful to allow users to upload files to the server. While Flex simplifies this functionality with the FileReference class (a part of the Flash Player), there is not much documentation on how to handle the upload request on the server. This article will show you how to do exactly that if you have a .NET back end, using an ASHX handler file.

(more…)