Questions tagged [domainservices]

Domain services are Windows Communication Foundation (WCF) services that encapsulate the business logic of a WCF RIA Services application. A domain service exposes a set of related operations in the form of a service layer. When you define a domain service, you specify the data operations that are permitted through the domain service.

When designing a domain service, you should think of the domain service as a set of related tasks that you expect users to perform in your application. Typically, such tasks involve a small group of closely-related entities. For example, in an expense reporting application, you might expose entities for expense reports, line items, and details. You might, then, place entities for accounts and payments in a separate domain service.

180 questions
0
votes
2 answers

silverlight domain service don't allow return a generic object

I have a domain service running smooth, some expose functions that return generic lists of defined entity, but for some reason, I had add some common information so I created a generic object to wrap the collection with the extra information that I…
Zach dev
  • 1,610
  • 8
  • 15
0
votes
1 answer

LightSwitch - bulk-loading all requests into one using a domain service

I need to group some data from a SQL Server database and since LightSwitch doesn't support that out-of-the-box I use a Domain Service according to Eric Erhardt's guide. However my table contains several foreign keys and of course I want the correct…
0
votes
1 answer

Heroku Custom domains : Error NOT FREE?

I am on the Cedar stack and it seems that heroku domains:add myDomainName is not working : ! Dev apps cannot have custom domains. Upgrade to Basic or Production to continue. And the Basic pack is 18$/m...whereas everywhere people are saying…
Remi Marenco
  • 169
  • 4
0
votes
1 answer

Merging Multiple IQueryables together - Silverlight

Peeps, Im a born again virgin to Silverlight so please bear with me. I have two seperate DomainServices, pointing to two different SQL Database Servers. Within these Domain Services I have setup some IQueryables in each Domain Service. I need to…
0
votes
1 answer

DbGeography + entity framework 5 + Silverlight + DomainService

I have create Entity with DbGeography and add it to my Domainservice. But my SL app didn't see this filed. How can I use DbGeography in SL5 app?
Std_Net
  • 1,076
  • 3
  • 12
  • 25
0
votes
1 answer

Point/Send domain name to website on Windows Server 2008 R2

Okay, can't seem to find a great article or info on this. My client purchased a domain for his company (domain.com) through Network Solutions. He has a local server running Windows 2008 R2 that he wants to host his company's website on. I've created…
Brady
  • 355
  • 1
  • 4
  • 10
0
votes
0 answers

Cross-table validation in ASP .NET MVC

I'm peforming validation using DataAnnotations and Validation Attributes. I'm using ADO NET Entity Model, Domain Services, RIA Services, Silverlight and my projet has a server side that's in ASP .NET. I want to perform cross-table validation, how…
0
votes
1 answer

SL: Why my DomainService returns my result queries as null?

I'm working right now with Silverlight and RIA Services. In my project I have a DomainService and a AuthenticationService. When I authenticate, I realized that if I debug my ObjectContext I can see all the records from my database. But when I use my…
Darf Zon
  • 6,268
  • 20
  • 90
  • 149
0
votes
1 answer

How do I add a Domain Services class to a Silverlight app or RIA Services library?

I have tried several guides I find online, and nothing seems to work. I am trying to follow this guide, Setting up a new Silverlight 4 Project with WCF RIA Services, but when I try and add a Domain Services class to the RIA x.Web project, I get an…
ProfK
  • 49,207
  • 121
  • 399
  • 775
0
votes
1 answer

How to Load items in comobox inside a datagrid Silverlight?

App: Silvelight 4 Business app template + RIA services + C#. I combined the aspnet membership db into my database. I'm able to register user, login and logout. I need to be able to assign users roles from the application/client-side UI. There are 3…
Searching
  • 2,269
  • 1
  • 17
  • 28
0
votes
2 answers

Problems with IValueConverter and asynch DomainService Invoke in C#

In my searching the common solution to this problem is to add an event handler to handle once the invoke operation has completed. Unfortunately, my IValueConverter needs to return a value so having the handler is not much help. I have also tried a…
xhedgepigx
  • 340
  • 1
  • 2
  • 19
0
votes
0 answers

Binding ComboBox to Secondary Object

My page's data context is set to an Instance of a Project class and all of the other fields in the page are working properly. Each project has another class associated with it as a property. This represents data from another company that we are…
0
votes
3 answers

LinqToEntities code for Query needing one entity returned foreach root node?

I think I have got myself into a muddle with this one. My database looks like: Locations [root] Inspections [level1] InspectionItems [level2] InspectionReadings [level3] Areas [level1] Inspections [level2] …
-1
votes
1 answer

can I use generic services in domain service with different business or not?

I have problem in create generic domain service or not?? I have "BaseEntity" that inherit any entity from it and has been every moment set value when update or insert method called in repository .my domain service layer that implements every entity…
-3
votes
1 answer

I need to get a list of all domains registered in a specific country

I need to get a list of all domains registered in a specific country like all domain has same domain extension example : domains of Saudia Arabia usually end with : .sa .com.sa .gov.sa .edu.sa .org.sa so is there any way to get domain list for one…
Bandit
  • 11
  • 2
1 2 3
11
12