I have one confusion, i made .net website code in c# (.aspx & .cs)
Now I have 3 server,
1. Database server - In which i will put my database
2. Application Server
3. Web Server
Now my confusion is, why we need Application Server and Web Server, where i should upload by website source code. what does application server & Web server do?
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?
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.
Member
12 Points
70 Posts
Keep .aspx & .cs files on seprate Server
Apr 20, 2017 02:22 PM|rajesh.s.singh|LINK
Dear Experts,
I have one confusion, i made .net website code in c# (.aspx & .cs)
Now I have 3 server,
1. Database server - In which i will put my database
2. Application Server
3. Web Server
Now my confusion is, why we need Application Server and Web Server, where i should upload by website source code. what does application server & Web server do?
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?
Waiting for your quick reply,
Thanks
Rajesh Singh,
Asp.Net Developer
| Company i work | My blog
Participant
1230 Points
419 Posts
Re: Keep .aspx & .cs files on seprate Server
Apr 20, 2017 03:43 PM|deepalgorithm|LINK
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.