Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Overview of razor syntax


Published on

Quick overview of Razor syntax...

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Overview of razor syntax

  1. 1. About Me Lohith G N Developer Evangelist, Telerik Microsoft MVP – ASP.NET/IIS @kashyapa
  2. 2. AgendaRazor(1 Hr)ASP.NETMVC(2 Hr)BreakWeb API(1 Hr)MVCMobileFeatures(1 Hr)Q & A(1 Hr)
  3. 3. Telerik at a Glance• Established in 2002• Telerik is now a leading vendor of productivity tools & solutions• 11 global offices, 700+ people, 100,000+ loyal customers in over 90countries• 880,000 Registered users in the Telerik Online Community• True global vendor – no vertical or geographical focus• Numerous business awards, hundreds of technology awards“Deliver More Than Expected”
  5. 5. End to End ProviderSolutions for all aspects of Software DevelopmentAutomated Functional &Performance UI TestingUnit TestingLoad/Stress TestingExploratry TestingTestingRequirements GatheringProject ManagementDefect ManagementTeam and CustomerCollaborationPlanningMulti-platform UI toolsCode quality and performancetoolsData access and reporting toolsConstruction
  6. 6. Overview of RazorSyntaxLAP AROUND RAZOR
  7. 7. What is Razor View Engine in ASP.NET Design Goals Compact, Expressive, Fluid Easy to Learn Is not a new language Works with any text editor
  8. 8. 1. Add Code using @ character
  9. 9. 2. Enclose code blocks in braces
  10. 10. 3. Inside a block, semicolon endsthe statement
  11. 11. 4. Use Variables to store values
  12. 12. 5. Enclose literal string values indouble quotation marks
  13. 13. 6. Code is Case Sensitive
  14. 14. 7. Using Objects
  15. 15. 8. Decision Making Code
  16. 16. Thank You.
  17. 17. Q & A