Let's consider the following example:
I have a solution made with C# on Visual Studio, it has a multi-tier architecture, the different layers are the following:
Data Model (Library)
Data Access (Library)
Business Logic (Library)
---------- services --------
Rest Service (ASP.NET Web API)
WCF Service (WCF Service Library)
They can access the Business Logic and have been published on IIS
- Proxy (Library): it uses the services mentioned above and connects to the IIS
- Web Application (ASP .NET MVC 5). It uses the Proxy to access the Business Logic
All of them are on the same machine.
Referring to the scenario and components mentioned above, can you explain to me the difference between the web server (IIS) and the server?
More specifically, I refer to IIS as the webserver. Which is considered to be the server, is it different?
When I browse the pages (Razor Views) of the web application from Visual Studio, a segment of the URL is "Localhost": is it correct to say that it refers to the server and it means that every project and folder I need is in the current machine?
And when I browse the Rest and WCF services from IIS instead, does the "localhost" in the URL refers to the IIS Web Server or does it refer to the Server?