How to make a WPF Desktop application accessible over a network

c# desktop-application entity-framework-6 network-programming wpf

Accepted Answer

Three-tier architecture is the name of this method. It may be put into practice using WCF TCP/IP hosted on a window. Your database interaction business logic will be hosted on another server, and clients will use those APIs there.

You require the flow:

  • Utilizing WCF, create a service (Window).
  • the host.
  • Make a proxy (interface or contract).
  • Distribute this proxy to client applications that require access to and use of the aforementioned APIs.

You can design your application's architecture as follows:

  • On the server computer, deployed:

    Data base Access layer (a) (Interact with database). Business Logic Layer (BLL) (It will methods of Data base Access layer). Service layer c (Create WCF Services and call business logic methods here). d) Place them on the server machine.

  • Create a proxy class on the client machine using.svcutil Tool B uses the Client Machine as a Proxy to Consume Services (APIs)

Reference:

Organize a WCF Service

1
6/19/2015 2:52:57 AM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow