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
1 answer

How to access domain with www

I am facing problem www URL I can't access URL with www .I want to access URL with www my domain name is http://test.com but I need to access http://www.test.com
0
votes
1 answer

Aggregate Root calling other aggregate root domain service.

I have an Aggregate Root (AR1) that references another Aggregate Root (AR2) by Identity. i.e. as discussed here http://www.informit.com/articles/article.aspx?p=2020371&seqNum=4 Now in one of my methods in AR1 I need to access the full object of AR2…
0
votes
1 answer

How to notify EntityChangeSet in DomainServices Silverlight

First at all, my English is weak, hope you can understad! I'm developing a silverlight application using DomainServices(DomainContext Class - Namespace: System.ServiceModel.DomainServices.Client) to retrieve and update data. I have some…
MasterLuV
  • 396
  • 1
  • 17
0
votes
1 answer

How do I do a batch operation with RIA?

Most of the operations in my silverlight client are things that add/update/insert/delete multiple entities in one go. E.g: CreateStandardCustomer adds a Customer, Address, Person and Contract record. CreateEnterpriseCustomer adds a Customer,…
Kurren
  • 827
  • 1
  • 9
  • 18
0
votes
1 answer

How to pass a parameter to WCF RIA Service query through URI

I have a custom WCF RIA Service query that accepts one parameter. I can access the method via URI by calling: /WCF_RIA_ServiceData.svc/GetJobDataByEmployee but because my query is dependant upon the parameter being passed, nothing is…
Landon Hammond
  • 138
  • 2
  • 11
0
votes
1 answer

How to redirect my web in EC2 to my domain

I have a web site on EC2 running with tomcat(8080), and in the same instance I have apache2 (80) to give statical files (image) to a android app. I need both, but it's not neccesary that it collaborate. Well, my question is if I have this url :…
0
votes
2 answers

Domain services

We have started our projects with DDD design principles, I heard that any business logic needs two or more domain objects interaction should be written as domain services. My question is: Since my business logic includes saving of more than one…
0
votes
1 answer

Mapped domain and a blog on a dedicated IP

Is it possible to have www.mydomain.com mapped to a service, and a subdomain blog.mydomain.com on a dedicated IP for my blog or will the subdomain also be mapped?
Malka S
  • 133
  • 1
  • 9
0
votes
1 answer

301 Redirect Confusion

I had a redirect from www.sixteenbynine.co.uk to a tumblr-hosted blog, but then wanted to point it towards a slightly jazzier www.sixteenbynine.ohyeahmetoo.co.uk. I did a 301 redirect in CPanel, I deleted the A records in CPanel, but I'm blowed if I…
0
votes
1 answer

New domain redirected to wrong website

I registered a new domain with domain4me.in. But when i visit, it redirected to wrong website. I have assigned the name servers (50webs.com), which is not related to this wrong website. Any help would be greatly appreciated.
shebi
  • 707
  • 2
  • 14
  • 23
0
votes
2 answers

What are the advantages and disadvantages of single/multiple domainservices in RIA

When using the RIA services in Silverlight, I am wondering what is the best solution for numbers and organization of domainservices? I have read some articles about this With many different statements, and found that some prefer: One domainservice…
Peaceman71
  • 202
  • 3
  • 11
0
votes
1 answer

How can i use one connection string in multi Domain Services?

How can i change this.ObjectContext.Connection in Domain Service Constructor? I use multi Datamodel and Multi Domain Service. ...
0
votes
1 answer

The entity (function results) in DomainService does not have a key defined

In the project I am working currently, there are many table-valued functions within Meter.dbml. For a week ago, I had no problem working with these function. But after I got new working laptop and checked out the project using Tortoise SVN, the…
Pawich S.
  • 375
  • 6
  • 20
0
votes
1 answer

Insert with Domain Service Object in server side project

I got a basic Silverlight Ria Services solution with 2 projects (Silverlight Client and Asp.net Host) with a Domain Service Class in the Host project. I can create a new Domain Service object in another class inside the host project, and use the…
0
votes
1 answer

DbDomainService and IValidatableObject

I have a POCO object that implements IValidatableObject. public class Documentation : IValidatableObject { [Key] public int DocumentationId { get; set; } [ForeignKey("Project")] public int ProjectId { get; set; } public virtual…
Chui Tey
  • 5,436
  • 2
  • 35
  • 44
1 2 3
11
12