We plan to develop a Silverlight Crosslight application that is expected to run on both Windows and Mac with higher resolutions. Mono alone is not an option, as the application requires special Silverlight features, supported only in SL 4.0
So, here are some considerations.
- 1 - "Application" should interact with the local database (outside the isolated storage).
- 2 - The application should be able to talk with native libraries to perform some DVD I / O.
- 3 - It must be installed through the user installer, like a desktop application
We are trying to determine the best way to satisfy the requirements, if possible, with a common code base, possibly using SQLLite for the database.
On Windows, everything is straightforward. You can use sllauncher to install XAP with higher permissions, and you can access SQLLite and other operations at the system level, possibly using the COM level. Not so hot thing.
But how to interact with SQLLite and system-level libraries on a Mac? Is there a documented / undocumented way to interact with Mac libraries from Silverlight (Mac)? I think no. One option would be to use the Mono XSP web server and start the ASP.NET site from the local machine, as well as the local XAP host, and then implement a handshake with ASP.NET code running through Mono / XSP, and then interact from there.
Another option would be to place Silverlight in the Mono Winforms browser (I still need to see if this is possible), and then talk between the Mono Winforms browser and Silverlight via the HTML DOM.
Both options are not direct on a Mac.
I appreciate any materials you can provide to achieve your goals in the best possible way.
amazedsaint
source share