title: ASP.NET - I do not want use master page for a page
body: <p>My problem is that I cannot release my page without master page. I have a master page but I want to redesign my sign-up page, so I do not want to use the master page for the sign-up page.</p>
  
  <p>If I delete master page string from register.aspx page get an error.</p>
  
  <pre><code>&lt;%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="Register.aspx.cs" Inherits="Hackerdot.Register" %&gt;
  </code></pre>
  
  <p>I tried deleting <code>MasterPageFile="~/Main.Master"</code> but then the page did not compile.</p>
  
  <p>P.S: I don't have the source code, I am just doing a redesign of this website.</p>
  
  <p><a href="https://i.stack.imgur.com/NGwpc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NGwpc.png" alt="enter image description here"></a></p>