title: i want to convert my aspx.cs to dll
body: <p>i have a default.aspx page:</p>
  
  <pre><code>&lt;%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %&gt;
  
  &lt;!DOCTYPE html&gt;
  
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  &lt;head runat="server"&gt;
      &lt;title&gt;&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;form id="form1" runat="server"&gt;
      &lt;div&gt;
      &lt;asp:Button ID="btn" runat="server" Text="clicke here" OnClick="btn_Click"/&gt;
          &lt;asp:TextBox ID="txt" runat="server"&gt;&lt;/asp:TextBox&gt;
             &lt;asp:Label runat="server" ID="lbl"&gt;&lt;/asp:Label&gt;
      &lt;/div&gt;  
      &lt;/div&gt;
      &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>and default.aspx.cs :</p>
  
  <pre><code>public partial class _Default : System.Web.UI.Page
  {
      string test;
  
      protected void Page_Load(object sender, EventArgs e)
      {
  
      }
      protected void btn_Click(object sender, EventArgs e)
      {
  
          test = txt.Text;
          lbl.Text = test;
  
      }
  }
  </code></pre>
  
  <p>now i want to make the dll of my default.aspx.cs file and remove it from the website and give the reference of it.</p>
  
  <p>so how can i do this??</p>