Compartilhar via


Projetos Web e Locais

There are several factors to consider when you decide whether to use a local or Web project model for your application.

First, installation strategy should play a part in your overall decision. If you need a quick-deploying application on a server with minimal client configuration, the Web project model is best. You can install and run this project on the server without installing support files on each client, and make upgrades only on the server. However, for projects that have little server involvement or for stand-alone applications, a local project model is the better choice. In this scenario, upgrades can be completed on each individual client computer.

Another factor is the division of workload. When analyzing your application's framework, you need to consider where the bulk of the work is going to be done. Web projects offer a server-based strategy where the majority of operations are conducted on the server. The client computer uses a Web browser to send information to and display information from the server-side application. If your server resources are limited, then consider using a local project model for your application. The work can be done on the client computer without consuming precious server time.

The following table gives a side-by-side comparison of Web projects and local projects in both the design and working environments:

Consideration

Web project

Local project

Build model when developing

Para projetos de aplicativo da Web, o código do aplicativo é compilado como uma DLL e executar no servidor. Para projetos de site da Web, o código do aplicativo é normalmente implantado no servidor e compilado no servidor. Results are seen on the client computer.

Code is compiled and run on the client computer.

Deployment method

The project is deployed to a Web server.

Project files are installed on the client computer with required support files.

Workload

Client computers run the application remotely with a Web browser. Processing is done primarily on the server.

The application is run locally on the client computer.

Upgrading

Application changes are made at the server level without installation of support files on client computers.

The application upgrades are installed on client computers.

Consulte também

Outros recursos

Projetos da Web do ASP.NET

Modelos de projeto padrão no Visual Studio