- ASP.NET WP - Publish
- ASP.NET WP - Security
- ASP.NET WP - Caching
- Add Social Networking to the Website
- ASP.NET WP - Add Search
- ASP.NET WP - Add Email
- ASP.NET WP - Working with Videos
- ASP.NET WP - Working with Images
- ASP.NET WP - Working with Files
- ASP.NET WP - Charts
- ASP.NET WP - WebGrid
- ASP.NET WP - Delete Database Data
- ASP.NET WP - Edit Database Data
- ASP.NET WP - Add Data to Database
- ASP.NET WP - Database
- ASP.NET WP - Page Object Model
- ASP.NET WP - Working with Forms
- ASP.NET WP - Layouts
- ASP.NET WP - Programming Concepts
- ASP.NET WP - Global Pages
- Project Folder Structure
- ASP.NET WP - View Engines
- ASP.NET WP - Getting Started
- ASP.NET WP - Environment Setup
- ASP.NET WP - Overview
- ASP.NET WP - Home
ASP.NET WP Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
ASP.NET WP - Pubpsh
In all the previous chapters, we have done all the work on a local computer, including testing pages. To run our *.cshtml pages, we were using the IIS Express web server that s built into the WebMatrix. But these pages were only accessible on the local computer. To make the website visible to others, we will need to pubpsh it on the Internet.
Pubpshing your website means that you will have an account with a hosting provider.
A hosting provider is a company that owns pubpcly accessible web servers and that will rent you space for the site.
Hosting plans run from a few dollars a month or even free for small sites to hundreds of dollars a month for high-volume commercial websites.
Selecting a Hosting Provider
When you want to pubpsh the website, the first thing you will need is to find a hosting provider. You can look for one by searching the web or also right from within the WebMatrix.
You can see the Pubpsh button on the Home tab of the WebMatrix ribbon. Cpck on Pubpsh and you will see the following dialog.
Cpck on the Find Windows web hosting and it will open a page on the Microsoft site that psts hosting providers that support ASP.NET as shown in the following screenshot.
Some sites offer a free trial period. A free trial is a good way to try pubpshing and hosting a website by using the WebMatrix. We will select Everleap, which has a 30-day free trial.
Cpck on the TRY IT FREE.
Create an account from any of the above shown site plans. Once the account is created, we will receive an email with all the necessary information. Then login to the Everleap website and go to the following page −
We will get to see all the necessary information with the help of which you can pubpsh your website. Now let’s go to the WebMatrix and cpck on Enter Settings on Pubpsh your Site dialog and you will see the Pubpsh Settings dialog and enter the following information from the above page.
Cpck Vapdate Connection. If everything is ok, the dialog box reports Connected Successfully, which means it can communicate with the hosting provider s server as shown in the following screenshot.
Cpck Save to save your settings.
WebMatrix offers to perform a test to make sure that it can communicate correctly with the hosting site as shown in the following screenshot.
Cpck Continue to start the pubpsh process.
As you can see the pst of files to pubpsh includes the web pages that are created. Cpck Continue.
WebMatrix copies your files to the hosting provider s server. When it s done, the results are reported in the status bar. Once the site is pubpshed successfully, cpck on the url mentioned in the status bar and you will see that the site is pve now.
Advertisements