Tuesday, April 14, 2009

Getting your ASP.NET website online for free with ASP Spider

I'm currently working on a little sideproject. It's a pretty small project, but it has some challenges: implementing the ASP.NET Membership provider, a Silverlight control, LinqToSql.. One of the other challenges is trying to keep it as cheap as possible.

My client asked me if he could see a sneak-preview of the site, but his current webhosting company doesn't support ASP.NET. And I do not want to spend money on ASP.NET hosting until one month before the go-live, so I searched for a temporarily FREE ASP.NET host.

The Free ASP.NET host I found was ASPSpider.net. In this small tutorial I will explain how to get your site and MSSQL database online. It's pretty simple but there are a few gotcha's..

Step 1: New registration

Create a new account on Aspspider.com.

Step 2: Create a new Web site

When you first login to ASPSpider, you get redirected to the Account Manager. Here you can change your personal information, and here you need to create your website.



Step 3: Take a look at the Control Panel

After you created a new website, you can take a look at the Control Panel.

The Control Panel has 3 sections:
1. File Manager
2. Database Manager
3. Profile Manager



Step 4: Upload your MSSQL database

This must be done using the Database Manager.

The first thing you need to do is upload your database. ASPSpider expects an MDF file, so you need to detach your database locally, copy it and upload it. After you upload your database (using the File Manager), you need to attach it and give it a name (using the Express Manager).



Step 5: Upload your website

This must be done using the File Manager.

It's the same principle as uploading your database. Zip your website, upload the zip file to the webroot and extract them. Make sure to change your connection string to 'Data Source=.\SQLExpress;Persist Security Info=True;Integrated Security=SSPI;Initial Catalog=UserName_DbName'



And that's it. Your website should be online now. You can find the url to your website in the Profile Manager.

3 comments:

  1. Thanks, very usefull, will look into it!

    ReplyDelete
  2. No problem. I'm glad you found it helpful :)

    ReplyDelete
    Replies
    1. This comment has been removed by the author.

      Delete