Reputation: 9024
Need to decide about architecture and design of one Silverlight application i'm building.
App is for requirements/issue tracking.
Requirements:
I would like to have:
So, command side isn't a problem, but can't figure out how to use RavenDb, shared hosting, and some easy REST-style for querying data from Silverlight app. Does RavenDb supports something like that out-of-the-box?
As Ayende answered, RavenDb can be run in asp.net, and queryed from Silverlight. Question is now, is this good approach, at least for read side? Db is exposed to client app, without any server side logic (service/app layer), so anybody can modify data (if it's authenticated).
Do I execute command (write) from Silverlight, or transfer Command DTO objects (DelegateToOtherMemberCommand) to server, and execute it there, on domain object (Ticket.AssignTo(member))?
Upvotes: 2
Views: 554
Reputation: 22956
Hrvoje, You can use RavenDB with shared hosting. You usually setup RavenDB as a virtual directory inside your app, and you setup it up in IIS as shown here: http://ravendb.net/documentation/docs-deployment-iis
You can then expose RavenDB to your SL client and just use the Raven.Client.Silverlight assembly
Upvotes: 2