Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is Application Server for ASP.NET? [closed]

I've worked on the .Net platform for last two years and now I'm moving on to .NET Web development.

I am confused about the Application server. What is it ? What are Roles? How is it different from the Web server?

In Windows is there any Application Server program like Tomcat with Apache Server? I read Wikipedia and MSDN, there is no any clear documentation regarding Application Server. So please advise me where I can clear my doubts. Is there any good link?

like image 908
Shashank Avatar asked Oct 14 '11 08:10

Shashank


People also ask

What is .NET application server?

ASP.NET is an open-source, server-side web-application framework designed for web development to produce dynamic web pages. It was developed by Microsoft to allow programmers to build dynamic web sites, applications and services. The name stands for Active Server Pages Network Enabled Technologies.

Why application server is needed?

You need Application Server as follow: It provides you useful services like automatic transaction,Authentication,Authorization,Lifecycle management. To remember large user data across pages using ejb's pertaining to a client. Load balance the user request and buisness logic.

Can ASP.NET application run without web server?

Yes it is possible to run Web application with out web. config file. However, it will not allow user to debug, even if you are running it in debug mode. Yes, we can run Asp.Net application without using Web.


2 Answers

The term application server is a bit vague - going by Wikipedia

An application server is a software framework that provides an environment in which applications can run, no matter what the applications are or what they do.1 It is dedicated to the efficient execution of procedures (programs, routines, scripts) for supporting the construction of applications.

It also explain the term for web applications saying

Later, the term took on the meaning of Web applications, but has since evolved further into that of a comprehensive service layer. An application server acts as a set of components accessible to the software developer through an API defined by the platform itself. For Web applications, these components are usually performed in the same machine where the Web server is running, and their main job is to support the construction of dynamic pages. However, present-day application servers target much more than just Web page generation: they implement services like clustering, fail-over, and load-balancing, so developers can focus on implementing the business logic.[3]

Going by these definitions and comparing with app servers from java world, .NET Framework along with infrastructure support from window server (e.g. IIS/Web Server) will be an application server.

like image 152
VinayC Avatar answered Oct 19 '22 02:10

VinayC


There are some standalone Application Servers for Windows Web based applications. Such as NeoKernal.

However, by default IIS (any version) doubles up as an Application Server and a Web Server.

This is only relevant when you get involved in complex / advanced deployments. The application server inside IIS comes into play when you set permissions and thread pools for a particular website (dedicated / non dedicated) etc.

Just relax, install Visual Studio and start building :)

like image 31
vvohra87 Avatar answered Oct 19 '22 02:10

vvohra87