We have Asp.net .aspx and MVC Co-existing project, Codebehind/Codefile are still existing inside .aspx files after project published, it needes a lot of effort to get rid of these after deployment: we have to manually change every .aspx file
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/xxx.master"
AutoEventWireup="true" Inherits="xxx.Login" Codebehind="Default.aspx.cs" %>
To
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/xxx.master"
AutoEventWireup="true" Inherits="xxx.Login" %>
it is ton of work to do that anyone can help? Thanks