Data Services And Business Logic

3 posts, 1 answers
  1. Hesham Desouky
    Hesham Desouky avatar
    27 posts
    Member since:
    Oct 2012

    Posted 13 Oct 2010 Link to this post

    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. Answer
    A.Alexandrov avatar
    25 posts

    Posted 19 Oct 2010 Link to this post

    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,
    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
  3. DevCraft banner
  4. testing
    testing avatar
    1 posts
    Member since:
    Jul 2011

    Posted 26 Jul 2011 Link to this post

    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 services
Back to Top