Razor is a syntax used in Microsoft .NET technologies to develop web pages and application that let us embed the server based code (like C# and Visual Basic) into the web pages.
Server based content help us in creating dynamic content on the fly and can perform some complex logic as well. All the server side code in Razor starts with @{ and ends with }. We can mix the html and server based code inside the Razor block and that is the beauty of the Razor markup.
Views: 23579 | Post Order: 9