Click here to Skip to main content
15,867,973 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello

I have develop a n-tiers desktop application using wcf for communicaion between User layer and my business layer. My problem is that in development phase all the project are in the same solution so i can test and consume my service. Now the development phase is finish and I need to deploy my application. The solution contains theses project

Data_layer
Business_Layer
ServiceRSI(Iservice.cs and Service.cs)
ClientHostService(Containing reference of ServiceRsi and etablishing communication between Businnes_Layer and user_Layer)
Interface_Layer.


How to separate the project in deployement phase in order to only install the Interface_Layer on the client machine and the rest on the server machine.

Thanks for you help. Notice that it is my first time i work on n-tiers architecture. I don't know if I use the good proceudre. Any help will be welcome.
Posted
Comments
Sergey Alexandrovich Kryukov 29-Apr-11 11:25am    
As you did not share with us what is the value of "n" in "n-tiers", it looks like you implemented the solution with configurable number of tiers.

My respect!

Are tired added in your configuration or they can be added dynamically?
If you have acheived such remarkable flexibility, I guess nobody could help you.

--SA

1 solution

You would need to separate your solution into different projects, compile them separately and then deploy only the relevant parts on the relevant machines. For example the WCF Service (and most likely the Data Access layer) could be a separate project, which would be installed on the server. Then your Interface layer would be another project, which would be compiled and installed on the client machines.

Hope this helps
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900