title: How to use Razor Layout as Master Page in ASP.NET MVC
body: <p>I am using ASP.NET MVC 3 and have some parts written using aspx.
  So in some of my views I have something like this</p>
  
  <pre><code>&lt;%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="Thread.Index" %&gt;
  </code></pre>
  
  <p>But I've already create Layout for site using Razor's Layout and I want to use that layout in this .aspx file too.<br>
  How can i achieve this?</p>