This is a migrated thread and some comments may be shown as answers.

Data Services And Business Logic

2 Answers 158 Views
Web Services
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Hesham Desouky
Top achievements
Rank 2
Hesham Desouky asked on 14 Oct 2010, 12:03 AM
I just examined the new OpenAccess Data Services wizard for .NET 3.5 SP1 version 1

First: Everything was working great, but I would like to add a new method to the data service to be used by this client.

Is this can be in the web service project or it should be inside the OpenAccess Entities project?

Second: What I am trying to test is how to use the WCF data services to implement the N Tier using
- Entities
- Service
- WCF Data Service
- Service Wrapper (to add validation codes to the entity classes to be used in client side)
- Client

Is this achievable through OpenAccess ORM? How?

Third: Is there any code generation templates simplify NTier work?




2 Answers, 1 is accepted

Sort by
0
Accepted
A.Alexandrov
Telerik team
answered on 19 Oct 2010, 12:44 PM
Hi Hesham Desouky,

1. The new method should be added to the generated service. For example, in the generated 'SampleServiceName.svc.cs' file.
2. For NTier application purposes you can download the latest internal build. There we have added a checkbox "Separate the service in a class library". This option will help you to divide the generated files in a separate class library, different from your hosting web project/application. Doing that will help you to separate the layers.
3. In fact there is a code generation template which you may find useful, although it generates proxy objects for plain WCF services. You can find the template and more details about how to use it in this article.

Kind regards,
A.Alexandrov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
testing
Top achievements
Rank 1
answered on 26 Jul 2011, 10:09 AM
Hi,
Typically refers to a telecommunications service that transmits high-speed data rather than voice. Internet access is the most common data service, which may be provided by the telephone and cable companies as well as cellular carriers. Text messaging is a cellular data service.



SQA serviceshttp://testing-whiz.com/
Tags
Web Services
Asked by
Hesham Desouky
Top achievements
Rank 2
Answers by
A.Alexandrov
Telerik team
testing
Top achievements
Rank 1
Share this question
or