Last post Jan 18, 2018 02:10 AM by Edward Z
Jan 17, 2018 09:13 AM|hardeshis|LINK
I have web application with web services, .asmx page.
I have to publish web application on intranet and I have to publish web service on internet.
So I have to create separate application in IIS having web service, .asmx page only and separate web site for web application.
How to know with .asmx page what else i need to keep in that folder. For e.g. do i need to keep web.config, bin folder and what else?
I have keep same web.config, bin folder in my other web app web site folder also.
My application and web service share common folder on server. That folder will be under application web site folder. How can I point my web service to access the same folder as my application?
Jan 17, 2018 01:54 PM|DA924|LINK
It seems that you are not doing this right. There should be only one Web service that is accessible by Internet and Intranet clients. The gateway firewall solution should be able to port forward the Internet traffic to the Web service while Intranet clients
can access the Web service too behind the gateway firewall.
Jan 18, 2018 02:10 AM|Edward Z|LINK
>> I have web application with web services, .asmx page. I have to publish web application on intranet and I have to publish web service on internet.
Do you mean web app and web service are in the same project, and you want to publish them separately?
For publishing web and project, the project will be compiled, and I am afraid your current way would not not.
I would suggest you create separate project to develop web app and web service, then you could host them separately.