I have been using Webmatrix / WebPages / Razor for a while and love it. Some time has passed since I used Classic ASP, but for me WebPages feels like a real successor to classic ASP and what ASP.net should have been from the very beginning. I actually move most of my small sites to WebPages from WebForms. Here are some things I've come across.
I'm not sure if this is a question or not, but I thought I wanted to mention that using WebPages the scope of your variables can behave differently. I know many classic ASP sites that were used to include files to run snippets of code. Many of them depended on global variables set in the parent document. In WebPages, if you use RenderPage or Helpers to replace, they run mostly outside the Parent scope. If you used Server.Execute instead of including, you may not notice much of a difference, but if you really used include and many global variables, you may notice this.
Another possible error in ClassicASP <% =%> does not encode output, but in WebPages the Razor @ syntax encodes output by default.
Another thing worth considering is to use C # vs VB.net with web pages. While vb.net works, you will find that most samples, tutorials, and people on forums use C #.
Finally, what bothers me is that it is called a web page map. It was difficult for me to do a good Google search using the term โweb pagesโ. Even โasp.net web pagesโ return mostly web form results. I have more success using "webmatrix" or "razor".
source share