<!--#include file="../stuff/foo/box.aspx"-->
1.可以用
<%: Html.Partial("~/Views/foo/box.ascx") %> OR <% Html.RenderPartial("~/Views/foo/box.ascx"); %>
2.
@Html.Raw(File.ReadAllText(Server.MapPath("~/html/test.html")))
<!--#include file="../stuff/foo/box.aspx"-->
1.可以用
<%: Html.Partial("~/Views/foo/box.ascx") %> OR <% Html.RenderPartial("~/Views/foo/box.ascx"); %>
2.
@Html.Raw(File.ReadAllText(Server.MapPath("~/html/test.html")))