Three common types of asp: Webform,mvc,webpages
1.WebForm
Add directly under System.web/pages
2.Mvc
Create a new MVC project, copy directly
3.WebPage
Basically the same as MVC, the difference is
host factorytype,pages pagebasetype
<host factorytype= "System.Web.WebPages.Razor.WebRazorHostFactory, System.Web.WebPages.Razor, version=2.0.0.0, Culture=neutral, publickeytoken=31bf3856ad364e35 " />< pages pagebasetype= "System.Web.WebPages.WebPage">
<sectiongroup name="System.web.webPages.razor"Type="System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup, System.Web.WebPages.Razor, version=2.0.0.0, Culture=neutral, Publickeytoken=31bf3856ad364e35"> <section name="Host"Type="System.Web.WebPages.Razor.Configuration.HostSection, System.Web.WebPages.Razor, version=2.0.0.0, culture= Neutral, publickeytoken=31bf3856ad364e35"requirepermission="false"/> <section name="pages"Type="System.Web.WebPages.Razor.Configuration.RazorPagesSection, System.Web.WebPages.Razor, version=2.0.0.0, Culture=neutral, Publickeytoken=31bf3856ad364e35"requirepermission="false"/> </sectionGroup>
<system.web.webPages.razor> " System.Web.WebPages.Razor.WebRazorHostFactory, System.Web.WebPages.Razor, version=2.0.0.0, Culture=neutral, Publickeytoken=31bf3856ad364e35" /> <pages pagebasetype=" System.Web.WebPages.WebPage"> <namespaces> namespace=" FDOA.Webpages.Common"/> </namespaces> </pages> </ System.web.webpages.razor>