Sending data to a Silverlight application from outside

Asked By Niron Kag
07-Sep-10 08:05 AM
Earn up to 0 extra points for answering this tough question.

Hi,

I want to develop a multiplayer game.

The game will provide communication between Silverlight application (internet application) and android cellular (client application – like Windows Forms Application).

So actually a user can be a Silverlight application (internet application) or a cellular client application.

The users will send each other XML in order to communicate.

Is it possible to send a data (XML) to a Silverlight application from outside (through IP and Port or any other way)?

I know the Silverlight application can ask the server any X seconds – "Do you have something for me?" – But I do not want to use this approach, because it adds burden on the communication.

Any help will be appreciated.

  re: Sending data to a Silverlight application from outside

Peter Bromberg replied to Niron Kag
07-Sep-10 08:25 AM
I think your best bet for something like this is to have your applications use the Silverlight polling duplex feature, which is quite efficient. If you do not use a central service through which to send and receive messages, it will be very hard to do it otherwise as the IP Addresess may change.

  re: Sending data to a Silverlight application from outside

Niron Kag replied to Peter Bromberg
07-Sep-10 10:23 AM


Hi Peter,

First, thanks a lot for your quick and helpful answer!

I thought to use a central service which will handle the communication between the users
 ((1) Silverlight to Android and (2) Android to Android).

The service will be implemented using WCF.

I read a little about Silverlight polling duplex feature, and I understood that it might have problems (like speed, latency) when used by a medium number of concurrent users.

I read pushing data (XML) to the Silverlight user can be done also using web socket.

Do you think Silverlight polling duplex feature is better in my case? Can you explain why?

Thanks in advance.

Create New Account
silverlight and wpf difference if one person has gain master in silverlight than wiil this help him in learning wpf Hi Malik, WPF has a more advanced and mature XAML support than Silverlight. Silverlight used to be called (WPF / E) and is a subset of the WPF XAML design. Therefore, it doesn't support all of the support all of the bindings as well and other items. WPF is hardware accelerated and supports things like GPU shaders which
book? can any one suggest me some books for WCF WPF Silverlight. for free download HI refer these links For wcf http: / / www.wcftutorial.net / For WPF http: / / www.wpftutorial.net / For silverlight http: / / www.silverlight.net / learn / tutorials / silverlight-4 / http: / / www.learn-silverlight-tutorial.com / See the following links http: / / www.free-ebooks-download.org / free-ebook / dotnet / Framework / programming-wpf.php http: / / www.free-ebooks-download.org / free-ebook / dotnet
Silverlight / WPF Architecture MVP Summit Presentation Wanted to make the download of as the general public. It includes a bunch of sample WPF, WCF, Silverlight code for architecting a Silverlight application that is also made available offline as a WPF application. For those of you that attended the presentation, my of Daytona Beach. Microsoft MVP Create New Account Article Discussion: Silverlight / WPF Architecture MVP Summit Presentation Robbe Morris posted at Monday, March 02, 2009 1:29 PM Original Article reply keywords: silverilght, wpf, architecture, microsoft mvp description: Wanted to make the download of
books iam starting working on some upgraded technologies like silverlight, wcf, wpf. . . . . . can any one suggest me books for free download on
Silverlight Line Of Business Applications With Offline WPF Versions Here are my top 10 thoughts on building line of business applications deployed both as a Silverlight and a WPF application. 1 Silverlight assemblies cannot reference standard .NET assemblies. You'll notice in Visual Studio that Silverlight has its own project types. These project types also have If you are building components to be deployed with a Silverlight application and some other .NET application such as WCF or WPF, I suggest creating a single folder with both the standard NET project file and the Silverlight project file stored in it. Then, you can simply include
WPF / C# / Agile / Domain Driven Design to build Algo Trading System area. I work on state of the art roles involving WPF, WCF, Silverlight, Linq, etc. I am currently conducting a search for a senior level role in WPF to build state of the art Algorithmic Trading System from scratch in WPF / C# focused on UI / Agile / Best Practices / TDD / Domain Driven product will be built in all .NET specifically with C# / WPF technologies. The ability to lead, mentor a staff, and be
how is silverlight related to WCF i am working on wcf and i want to know is it must to learn silverlight for user interface design ? how good its related to each other? HI, Yes you are right. The WCF Data Services client library for Silverlight generates HTTP requests to a data service that supports the see Using a Data Service in a .NET Framework Application (WCF Data Services) . For a live example of an application that a feed from the Northwind sample data service, see the WCF Data Services QuickStart for Silverlight To get started fire up Visual Studio and start a new Silverlight 3.0 project. In order to use Silverlight 3.0
Where can i download free tutorials on WCF / WPF and silverlights fr fre Hi . . Post some usefull links dudes http: / / www.wpftutorial.net / Also you can try video tutorial WCF is for enabling .NET Framework applications to exchange messages with for serializing the messages to and from .NET Framework objects. WCF can automatically generate metadata to describe applications built using the generating clients for those applications from the WSDL. Purpose of WCF Web services are just one technology that you can use to switch later if you need to? The purpose of WCF is to provide a unified programming model for many of being used to connect services and applications together (note that WCF applies as much to services operating in non-Web environments and Close() methods of ServiceHost. Is easy to debug: Debugging WCF services that are hosted in a self-hosted environment provides to deploy a simple Windows application that serves as a WCF ServiceHost. DisAdvantages: Limited availability: The service is reachable only when aspx http: / / www.wcftutorial.net / Hope this helps you. . . Microsoft Silverlight is a web application framework that provides functionalities similar to