Click here to Skip to main content
15,885,680 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Dear All,

I have facing problem to connect the web server and application server in window IIS.

My client having three sever - App Server, Web Server, DB Server.

Actually my web project in asp.net c#, When I published code the compiler create DLL for the business login.

Can I do that my all aspx file in web server and the Bin folder which contain the DLL keep at application server. Am i thinking write? Please suggest for right way.


Hoping for the prompt reply.
Posted
Comments
Bhanu Pratap Verma 9-Dec-14 7:23am    
DB server- Where database can only running, Sql sever installed here.
Web Server- Which can be handle only http request coming from client.
App Server- Where we keep the business logic.

Now the situation is that- We don't have proper 3 tier architecture so I am thinking the DLL's which makes after published the asp.net website to keep in the app server and all aspx page keep in web server. May be I am wrong, Please suggest the write way.

If I am thinking write please provide the solution how to do it?
ZurdoDev 9-Dec-14 8:10am    
Yes, all code that the web uses will have to be in the IIS folder. If you want to break out your business logic to a different server, which I don't know why you would, you'd need to build a service there which the web code could call.
Bhanu Pratap Verma 10-Dec-14 5:45am    
Hi Ryandev, Can you please explain how to communicate services from web page to web code which are in different server.
ZurdoDev 10-Dec-14 8:17am    
You would likely make a separate webservice and put it on the app server that receives the requests, does the app logic, and returns a response. It seems way overkill unless you have a specific reason.
Bhanu Pratap Verma 10-Dec-14 5:52am    
Please tell me What will the code for this purpose and how to use for the same. I am not new in web service I have have already worked over 3 years in WCF and Web service.

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