Scott Gu didn't talk about this in his blog post. Will there be intellisense support for razor on vs 2008? MS is giving everyone a hard time by releasing major upgrades so frequently :D
Open the integrated terminal. Change to the directory ( cd ) which will contain the project. The dotnet new command creates a new Razor Pages project in the RazorPagesMovie folder. The code command opens the RazorPagesMovie folder in the current instance of Visual Studio Code.
Razor is an ASP.NET programming syntax used to create dynamic web pages with the C# or VB.NET programming languages. Razor was in development in June 2010 and was released for Microsoft Visual Studio 2010 in January 2011. Razor is a simple-syntax view engine and was released as part of MVC 3 and the WebMatrix tool set.
Razor is one of the view engines supported in ASP.NET MVC. Razor allows you to write a mix of HTML and server-side code using C# or Visual Basic.
Right click the Index. cshtml file and select View in Browser. You can also right click the Index. cshtml file and select View in Page Inspector.
No, not just Razor but MVC 3 will not be supported in VS 2008. The reason is that MVC 3 is being compiled on .NET 4.0 which is also not supported in VS 2008.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With