Hi,
So, in a nutshell, i want to implement some methods visible in the internet.
I think WCF, will be the best way, but i'm a little confused about how to host it.
I'm thinking about two ways:
1. Host by IIS, on www server.
2. Host by Windows Service, running on my computer, ofc connected to the internet.
edit:
Sorry, I have to improve my question, i don't want to start new one:
Which way will be better, in that situation:
- most of my WCF's methods will be used only in intranet - private computer network. For egzample - function - send email. So my network with have connection to global internet.
- when connection is lost, and someone want to send email - this email will be saved in DB as a tast to do in future.
- there will be a web page - with a log, with information about sent emails. So my web need to use probablly a WCF function "getLog" or sth like that.
I think: Windows service, which will be checking if there is a task to do in DB (there will be a lot of task - not only a 'future' email). the same windows service will host a WCF functions such as "send email" for local machines.. and "show log" for my web site.
That is why I thought hosting by windows service will be better. It is (in that situation) ?