Apr 20, 2017 03:43 PM|deepalgorithm|LINK
I spoke to my one of my team mate, he told..i need to upload .aspx file on Web Server & .cs file on Application Server, how is that possible?
Just to be clear, a Web Server exclusively handles HTTP requests, whereas an Application Server serves business logic to application programs through any number of protocols. That being said, an Application Server
can contain a Web Server. An Application server just has a couple more additions/extensions to it than standard Web Servers.
In your case - ASPX files (markup) are for Web Forms and rendered on the server and having underlying class files (.cs) - they need to run together on a Web Server.
However, you can have .NET services running on an Application Server that your Web Forms pages can consume.