ASP.NET Web Pages - Publishing the Website

Publish Your Application Without Using WebMatrix

An ASP.NET Web Pages application can be published to a remote server by using
the Publish commands in WebMatrix (or Visual Studio).

This function copies all your application files, cshtml pages, images, and all the
required DLL files
for Web Pages, for Razor, for Helpers, and for SQL Server Compact (if a database is
used).

Sometimes you don't want to use this option. Maybe your hosting provider only
supports FTP? Maybe you already have a web site based on classic ASP? Maybe you
want to copy the files yourself? Maybe you want to use Front Page, Expression
Web, or some other publishing software?

Will you get a problem? Yes, you will. But you can solve it.

To perform a web copy, you have to know how to include the right files, what DDL
files to copy, and where store them.

Follow these steps:

1.
Use the Latest Version of ASP.NET

Before you continue, make sure your hosting computer runs the latest version
of ASP.NET (4.0 or 4.5).

Web Certificates

W3Schools is optimized for learning, testing, and training. Examples might be simplified to improve reading and basic understanding.
Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content.
While using this site, you agree to have read and accepted our terms of use,
cookie and privacy policy.
Copyright 1999-2015 by Refsnes Data. All Rights Reserved.