views:

59

answers:

1

Hello folks,

I am thinking about porting my alpha WPF MVVM application to silverlight.

I do not use 3D its a LOB ;-)

What I promise myself from the conversion is to get more customers in the end (Mac/nix user do not pay well ;P).

1.) At the moment I am using sqlite as database. Is it possible, that I can access the sqlite file on the harddisk of my user to read/save data? (on User dir its possible but access an USB stick ?)

2.) Is there anything concerning MVVM silverlight can not handle?

3.) Does SEO work well with Silverlight 4?

+1  A: 

1.) At the moment I am using sqlite as database. Is it possible, that I can access the sqlite file on the harddisk of my user to read/save data? (on User dir its possible but access an USB stick ?)

If you want to use a local database then you'll either need to install your Silverlight application on the local machine as a full trust application or use a database that installs into Isolated Storage like SiaqoDb (as suggested by @Shawn Mclean). You won't be able to access a USB stick.

When run in a browser across the net it has limited access to the local hard drive for security reasons. If you're doing this you might as well stick with WPF.

2.) Is there anything concerning MVVM silverlight can not handle?

You can use Prism to develop MVVM applications for Silverlight as well as WPF.

3.) Does SEO work well with Silverlight 4?

I don't know a great deal about this, but Silverlight can be viewed as Microsoft's version of Flash so it will probably have the same SEO issues as Flash. The code is compiled and delivered to the client in binary form, so unless you split your application across multiple HTML/ASP.NET pages there won't be anything for Google to index. Apparently Flash does support SEO, but I haven't looked into SEO and Silverlight.

ChrisF
to 1.) does that mean I need a webhoster which allows me to install my webapp on his server with "full rights" ?
Lisa
@Lisa - no. Serving a Silverlight app across the network is like serving a Flash application. The application runs on the client machine, but has limited access to the hard drive.
ChrisF
So "I" actually the user has to install the app on his machine? (because of the full trust)?) Never tried a flash app.
Lisa
@Lisa - if you are serving the application across the internet then your users don't have to install it - just the Silverlight runtime.
ChrisF
I suggest using one of those silverlight databases that runs in IsolatedStorage. Like SiaqoDb.
Shawn Mclean
@Shawn - I didn't think of that. Thanks for the suggestion
ChrisF
@ChrisF I would like to mark your solution as OK, but would you please reread question 1.) "Is it possible, that I can access the sqlite file on the harddisk of my user to read/save data? (on User dir its possible but access an USB stick ?)" and then answer on this question?
Lisa
@Lisa - updated.
ChrisF
@ChrisF judging this link: http://www.silverlight.net/learn/whitepapers/seo-for-silverlight/ Silverlight SEO works better than flash, but anyway, when my user can not access their USB stick for the database Silverlight is a no-go for me.
Lisa