Skip to main content
Home Forums General Silverlight Getting Started Silverlight or WPF ???
3 replies. Latest Post by Krasshirsch on July 1, 2009.
(0)
Dado
Member
0 points
2 Posts
07-01-2009 3:50 PM |
Hi,
I Have a new project and i need to decide whether i want to go with Silverlight or WPF, and frankly, i don't know enough about either...
The project requires operations to be done on client computers, and i plan to have a WCF Service installed on the client computer, that will expose the required interfaces, however, there will also be server side operations, and i plan to have server side services to handle those.
The complexity gets harder since not all my clients use Windows, i have a small but important client base that use linux, and i really dont want to write my client UI twice...
I assume that Silverlight along with Mono will satisfy the requirement to run on linux, but i dont know if silverlight can do everything WPF can on the client side.
PLEASE HELP
Krasshirsch
Participant
1042 points
300 Posts
07-01-2009 3:58 PM |
Silverlight runs sandboxed. You have only limited access to the hardware or the OS.Since you plan to install a webservices on the client side, Silverlight could be sufficient but please keep in mind you'd have to run a webserver on all client machines to access those services.
WPF runs only on Windows and requires the .NET 3.0 Framework installed.
If you plan to support Linux, WPF is not your choice.
07-01-2009 4:12 PM |
Hi Alexander
Thanks for the quick reply...
Actually i'm planning to have my own host process for the client side services, and not install a web server on all client machines...
The question is, when you say "Silverlight runs sandboxed", does this mean it can or can't access services on the client side? what if these services expose sensitive info (current user, domain, ...)
07-01-2009 5:27 PM |
Silverlight services use web requests to communicate with the client. It doesn't matter where the server is, as long as it is accessible by web request.