A set of technologies in .NET for building web applications and web services. Miscellaneous topics that do not fit into specific categories.
Yes, ASP.Net Razor pages support compilation. Refer this
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
We currently have a large website using asp.net webforms framework 4 C# and it was easy and quick to upload a single modified cs file to production server because of asp.net's dynamic compilation. Is there dynamic compilation for ASP.NET Core 5 Razor Pages as I don't see it in the MS document?
We don't want to recompile the whole website files as it results in a long compile time which in turn results in a very large dll which in turn takes forever to upload to production server. Any solution is welcome.
A set of technologies in .NET for building web applications and web services. Miscellaneous topics that do not fit into specific categories.
Yes, ASP.Net Razor pages support compilation. Refer this
Old asp.net used app domains to host the web application, and each view was compiled to an individual dll, that was dynamically loaded. After a set number of recompiles a new domain was created, and the old domain unloaded.
For startup performance, view recompile was added.
.net core does not support app domains. And was designed for view precompile at the start. Currently there is no support for individual view recompile, it’s always the whole site.
@Bruce (SqlWork.com) The doc doesn't say how to avoid compiling the whole website when a single file with the extension .cs is modified.