title: Uploading an asp.net to a host (GoDaddy)
body: <p>I have just started with asp.net and have created a Web Application which I am wanting to upload to my website so I can test it on something other than localhost. </p>
  
  <p>I have uploaded all of the files that are output when I built the application to a folder through FTP on the web server however when I try to navigate to the aspx page I made, I get the error <em>'Could not load type 'MyWebsite.MainMaster'.'</em> which I assume has something to do with the master page that the content page links to.</p>
  
  <p>I have read about something called IIS which may be required but I can't seem to find anything that explains what it is and what it does. I am using GoDaddy as a host if that helps in anyway.</p>
  
  <p>Any help as to how to actually get the website running would be great! If I have forgotten any information I will be happy to share it.
  Thanks!</p>
  
  <p>Here is the HTML for the Master Page which is where the error is popping up. The specific line is the first one beginning <em>&lt;%@ Master Language="C#"...></em>.
  I have not edited any of the C# files.</p>
  
  <pre><code>&lt;%@ Master Language="C#" AutoEventWireup="true" CodeBehind="MainMaster.master.cs" Inherits="MyWebsite.MainMaster" %&gt;
  
  &lt;!DOCTYPE html&gt;
  
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  &lt;head runat="server"&gt;
      &lt;title&gt;Master Page Test&lt;/title&gt;
      &lt;link href="main.css" rel="stylesheet" type="text/css"/&gt;
  
      &lt;asp:ContentPlaceHolder ID="head" runat="server"&gt;
      &lt;/asp:ContentPlaceHolder&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;form id="form1" runat="server"&gt;
  
          &lt;div id="headerContainer"&gt;
              &lt;div id="headerContent"&gt;
                  &lt;h1&gt;ASP.NET Test/h1&gt;
              &lt;/div&gt;
          &lt;/div&gt;
  
          &lt;div id="buttonContainer"&gt;
              &lt;div id="buttonBar"&gt;
                  &lt;ul&gt;
                    &lt;li class="buttons activeButton"&gt;         
                          &lt;a href="../"&gt;Home&lt;/a&gt;
                      &lt;/li&gt;
                      &lt;li class="buttons"&gt;         
                          &lt;a href="../about"&gt;About&lt;/a&gt;
                      &lt;/li&gt;
                      &lt;li class="buttons"&gt;
                          &lt;a href="../placeholder"&gt;Placeholder&lt;/a&gt;
                      &lt;/li&gt;
                      &lt;li class="buttons"&gt;
                          &lt;a href="../contact"&gt;Contact&lt;/a&gt;
                      &lt;/li&gt;
                  &lt;/ul&gt;
              &lt;/div&gt;
          &lt;/div&gt;
  
          &lt;div id="bodyContainer"&gt;
              &lt;asp:ContentPlaceHolder ID="bodyContent" runat="server"&gt;
  
              &lt;/asp:ContentPlaceHolder&gt;
          &lt;/div&gt;
  
      &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>And the MainMaster.Master.cs:</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Web;
  using System.Web.UI;
  using System.Web.UI.WebControls;
  
  namespace MyWebsite
  {
      public partial class MainMaster : System.Web.UI.MasterPage
      {
          protected void Page_Load(object sender, EventArgs e)
          {
  
          }
      }
  }
  </code></pre>