tag:blogger.com,1999:blog-24743174.post114960846164054910..comments2023-06-28T15:59:35.699+01:00Comments on The Connected Desktop: Flex 2 - What's in it for .NET developers?Graeme Harkerhttp://www.blogger.com/profile/17727861488924753301noreply@blogger.comBlogger22125tag:blogger.com,1999:blog-24743174.post-28213299433883822532010-03-01T02:36:54.154+00:002010-03-01T02:36:54.154+00:00Very nice blogpost. You said it very well. Thanks ...Very nice blogpost. You said it very well. Thanks for sharing such information. More power.Partner Portalhttp://www.channeltivity.com/noreply@blogger.comtag:blogger.com,1999:blog-24743174.post-16474436051980384852009-05-24T07:27:00.427+01:002009-05-24T07:27:00.427+01:00Very good article.You can also visit the following...Very good article.You can also visit the following URL for another good demo<br />http://portal-management.blogspot.com/2009/05/net-and-flex-integration.htmlManab Ranjan Basuhttps://www.blogger.com/profile/07661833217989277946noreply@blogger.comtag:blogger.com,1999:blog-24743174.post-87874115916297633012007-12-29T18:59:00.000+00:002007-12-29T18:59:00.000+00:00Very good site. You are doing great job.Very good site. You are doing great job.bloghttps://www.blogger.com/profile/05593747043239709042noreply@blogger.comtag:blogger.com,1999:blog-24743174.post-88523933695122776392007-12-11T12:55:00.000+00:002007-12-11T12:55:00.000+00:00hi, could any1 pls help me how to retrieve .Flv(vi...hi, could any1 pls help me how to retrieve .Flv(video) files from sqldatabase. using flex as front end and .net as backend. plz help me u any1 has the sample code for thisUnknownhttps://www.blogger.com/profile/01679583191985941076noreply@blogger.comtag:blogger.com,1999:blog-24743174.post-43363794957147275652007-12-04T23:09:00.000+00:002007-12-04T23:09:00.000+00:00I have a flex file-upload client that uploads file...I have a flex file-upload client that uploads files to an ASPX page. That page uses forms authentication to confirm the requesting user has permission to upload files. In windows (firefox and ie), everything works fine. The flex app communicates with the page as would a browser and passes the cookie-based credentials so that the forms-auth works fine. However, it doesn't work on a Mac (neither Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-24743174.post-77736806108267308332007-05-28T17:02:00.000+01:002007-05-28T17:02:00.000+01:00Interesting. Did you spot the section entitled "St...Interesting. Did you spot <A HREF="http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Parts&file=dataservices_099_30.html" REL="nofollow">the section</A> entitled "Stateful web services" in the dev guide? The doc kinda implies that Java sessions are supported. Unfortunately the documentation doesn't make it clear whether this works when you're not Graeme Harkerhttps://www.blogger.com/profile/17727861488924753301noreply@blogger.comtag:blogger.com,1999:blog-24743174.post-57141203034789131532007-05-28T16:53:00.000+01:002007-05-28T16:53:00.000+01:00Thanks for the comments. I did some experimentati...Thanks for the comments. I did some experimentation and found that the Flex 2 client does apparently make use of cookies on web service calls. I was pleasantly surprised by this. It means that *normal* Java webapp security applies - you can create a session on the server and it sticks to the flash client. So you could do a standard container login or your own login call, associating user Pat Niemeyerhttps://www.blogger.com/profile/02732672917822149627noreply@blogger.comtag:blogger.com,1999:blog-24743174.post-55405455478411466852007-05-27T19:19:00.000+01:002007-05-27T19:19:00.000+01:00Pat,While FDS certainly makes Java server-side int...Pat,<BR/>While FDS certainly makes Java server-side integration a lot easier (automatic serialization/deserialization of arguments and results on method calls on remote POJOs, JMS integration for pub-sub messaging to Flex clients, cluster, hibernate, spring and authentication support), it's certainly possible to make Java session-based authentication work with Java-based web services without FDS.Graeme Harkerhttps://www.blogger.com/profile/17727861488924753301noreply@blogger.comtag:blogger.com,1999:blog-24743174.post-65391294210646484922007-05-27T18:51:00.000+01:002007-05-27T18:51:00.000+01:00Yes. Hi. I am trying to get my feet wet with Flex...Yes. Hi. I am trying to get my feet wet with Flex 2 and a Java back end. It looks to me at the moment that the best solution would be to roll my own token with the Java session key and use it explicitly in the WS calls. Has anyone else done this?<BR/><BR/>thanks,<BR/>PatPat Niemeyerhttps://www.blogger.com/profile/02732672917822149627noreply@blogger.comtag:blogger.com,1999:blog-24743174.post-62140967741995619962007-05-27T18:23:00.000+01:002007-05-27T18:23:00.000+01:00Pat,Is that the Pat "Learning Java" Niemeyer?Graem...Pat,<BR/>Is that the Pat "Learning Java" Niemeyer?<BR/>GraemeGraeme Harkerhttps://www.blogger.com/profile/17727861488924753301noreply@blogger.comtag:blogger.com,1999:blog-24743174.post-86881969893505082322007-05-27T15:38:00.000+01:002007-05-27T15:38:00.000+01:00I too am trying to figure out what Flex 2 supports...I too am trying to figure out what Flex 2 supports for authenticating web services calls. I don't see anything about WS-security in the docs and it appears from what was written above that the client doesn't support cookies (which would allow basic session authentication). <BR/><BR/>Is this all a means to get people to buy FDS?<BR/><BR/>Any pointers would be appreciated.<BR/><BR/>thanks,<BR/>PatPat Niemeyerhttps://www.blogger.com/profile/02732672917822149627noreply@blogger.comtag:blogger.com,1999:blog-24743174.post-86242731523605224932007-04-25T12:29:00.000+01:002007-04-25T12:29:00.000+01:00Hi Graeme,I have been browsing your blog from last...Hi Graeme,<BR/><BR/>I have been browsing your blog from last 2-3 days and finding it extremely useful.<BR/><BR/>I have a doubt about authentication in a .Net based web service when using Flex as front end (very similar to Kiran's doubt).<BR/><BR/>While answering Kiran's question on accessing session, you said it is better to make web services stateless or even better is to develop the entire UI Unknownhttps://www.blogger.com/profile/11099798460632032535noreply@blogger.comtag:blogger.com,1999:blog-24743174.post-70400728288552650342007-04-13T15:03:00.000+01:002007-04-13T15:03:00.000+01:00I'd decouple the web application and the web servi...I'd decouple the web application and the web service and implement them as separate ASP.NET applications. That way the web service won't have access to the web application's session state and will be "stateless" (which is how they're supposed to be). <BR/><BR/>I'd use Flex's ExternalInterface to access the page context to get the userId for the web method call.<BR/><BR/>A better "separation of Graeme Harkerhttps://www.blogger.com/profile/17727861488924753301noreply@blogger.comtag:blogger.com,1999:blog-24743174.post-46246823482522973542007-04-13T08:57:00.000+01:002007-04-13T08:57:00.000+01:00Thanks Graeme for the quick reply. I am a bit conf...Thanks Graeme for the quick reply. I am a bit confused here. The Session in my application stores the currently logged on user, the current article he is viewing and similar "per user" information. In other words, it uses HttpContext.Current.Session. How can I make the webservice "stateless" in this context and get the user specific information and serve the appropriate content? Is there anythingUnknownhttps://www.blogger.com/profile/12461512183049705006noreply@blogger.comtag:blogger.com,1999:blog-24743174.post-50033284139658405512007-04-12T09:04:00.000+01:002007-04-12T09:04:00.000+01:00The reason it doesn't work is that in ASP.NET (lik...The reason it doesn't work is that in ASP.NET (like in Java) the client stores a key to the server-side session state in a cookie. For it to work the service needs the client to pass the ASP.NET session cookie each time a web method is called.<BR/><BR/>Having said that, you should design your services to be "stateless", in other words, you shouldn't be using session state. If your web method Graeme Harkerhttps://www.blogger.com/profile/17727861488924753301noreply@blogger.comtag:blogger.com,1999:blog-24743174.post-39254752638892648952007-04-12T07:30:00.000+01:002007-04-12T07:30:00.000+01:00Hi Graeme,I really don't know where to post my que...Hi Graeme,<BR/><BR/>I really don't know where to post my query about Flex, .NET web services and session. I have a .NET web service which returns an array of photo objects uploaded by "an user". This uses ASP.NET forms authentication and session objects. Everything works fine if I consume the web service from my c# code. But if I consume the web service from the Flex client, the SESSION IS NULL.Unknownhttps://www.blogger.com/profile/12461512183049705006noreply@blogger.comtag:blogger.com,1999:blog-24743174.post-1167336298978161092006-12-28T20:04:00.000+00:002006-12-28T20:04:00.000+00:00I posted to the Adobe Flex forum awhile back about...I posted to the Adobe Flex forum awhile back about using Flex with ASP.NET and you were kind enough to reply. I've finally found the time to read your Flex/.NET articles and they're really well written. I fully agree with you that Adobe needs to pay attention to .NET; I see it as a win-win for all involved. However, when I've asked the Flex folks about .NET during their webcasts, they're Alex Chttps://www.blogger.com/profile/04555184614131343457noreply@blogger.comtag:blogger.com,1999:blog-24743174.post-1152080263686917132006-07-05T07:17:00.000+01:002006-07-05T07:17:00.000+01:00Hey! Sorry I couldn't find your email, I just want...Hey! Sorry I couldn't find your email, I just wanted to say that you have a great site, and I want you to join our forum for flex at www.flexforum.org. I'm trying to gather som good developers, and you seems to be a great resource!<BR/><BR/>Thanks!<BR/><BR/>MattiasAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-24743174.post-1151589426883447152006-06-29T14:57:00.000+01:002006-06-29T14:57:00.000+01:00Currently I use a Flash blocker in Firefox, becaus...Currently I use a Flash blocker in Firefox, because when I go to a website I want content not some pretty display that tells me nothing about what I want and takes 2 minutes to download. Will Flex be similarly slow?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-24743174.post-1150065947927651132006-06-11T23:45:00.000+01:002006-06-11T23:45:00.000+01:00Currently we implement only RPC and FDMS subsystem...Currently we implement only RPC and FDMS subsystems of FDS. We're working on adding Messaging in one of the upcoming releases. Here's an <A HREF="http://labs.adobe.com/wiki/index.php/Flex_Enterprise_Services:overview" REL="nofollow">overview</A> of these components.<BR/><BR/>From the Flex developer's perspective, WebORB provides the same user experience as with FDS. It means that you can use Mark Pillerhttps://www.blogger.com/profile/18371158765462322166noreply@blogger.comtag:blogger.com,1999:blog-24743174.post-1150044333491850352006-06-11T17:45:00.000+01:002006-06-11T17:45:00.000+01:00Joe, Thanks for clarifying that. Does that mean th...Joe, Thanks for clarifying that. Does that mean that WebORB supports <mx:Producer> and <mx:Consumer> so that you can implement the Flex chat example described in <A HREF="http://labs.adobe.com/wiki/index.php/Flex_Enterprise_Services:resources:articles:messaging" REL="nofollow">Sean Neville's white paper</A>?<BR/>GraemeGraeme Harkerhttps://www.blogger.com/profile/17727861488924753301noreply@blogger.comtag:blogger.com,1999:blog-24743174.post-1150036907273588472006-06-11T15:41:00.000+01:002006-06-11T15:41:00.000+01:00Hi Graeme,Thanks for mentioning us in the post. I ...Hi Graeme,<BR/><BR/>Thanks for mentioning us in the post. I should note that our product - WebORB is not just a Flash Remoting implementation for .NET, it also offers an implementation of Flex Data Services for .NET. Currently we support RPC messaging and data binding the same way FDS does and we'll offer data push and integration with MSMQ shortly.<BR/><BR/>The basic Flash Remoting support for .Mark Pillerhttps://www.blogger.com/profile/18371158765462322166noreply@blogger.com