locked
Site Design Suggestions - Any experts here?? RRS feed

  • Question

  • User1856468055 posted

    I have a design like this:
    Asp.net, c#, WCF

    //DataLibrary (C# Class Library)
    //(I use Microsft's Enterprise library Data access block here)
      
    public static class DataObjects
      { //My data objects  }
    
    //BusinessLibrary (c# Class Libarary)
    
    public class BusinessClass
    {
       void GetData()
       { 
         //DataObjects.ExecuteNonQuery();
         (Makes calls to DataLibrary)
       }
    }
    
    
    //ServiceLibrary (C# class Library)
    //(Here I define my WCF service contract, datacontract, interface etc)
    
    public class ServiceImplementation : BusinessClass, InterfaceLibrary
    {
       public void GetServiceData()
       {
          //Makes calls to Business class GetData() method
       }
    }
    
    //WebUI
    //Service.svc
    //(This is my wcf client)
    
     public class Service: IService
     {
       //Makes calls to ServiceLibrary GetServiceData() method
     }

     

    Any suggestions for the above design.

    My main issue is everything is currently defined as public.

    Thanks

    Friday, July 27, 2012 4:53 AM

All replies

  • User-661350001 posted

    as this are different project and multi tier it should be public to be accessible then only issue is why are the dataObjects static ?

    Friday, July 27, 2012 6:58 AM
  • User1856468055 posted

    Is this design structure correct?

    Any inputs you could provide in terms of scalability, security.

    Friday, July 27, 2012 7:10 AM