How efficient WebMatrix is?
I couldn't find any information on this. I know it's used for basic pages but compared to MVC or WebForms 开发者_JAVA技巧how efficient WebMatrix is? Or is there any good advantage of using it over MVC/WebForms for basic pages besides Razor syntax?
WebMatrix is an editor.
It has no effect on the efficiency of the pages it creates.
EDIT: Razor pages are pre-compiled, just like ASPX pages.
They should not be noticeably slower.
In addition, they are likely to be more efficient than WebForms server-side controls, since there's no ViewState.
WebMatrix is not a replacement for MVC or WebForms, it's a development environment that contains light weight versions of IIS and SQL Server.
You can develop web applications in it, but you still need a Windows server if you want to deploy the application.
精彩评论