overview of razor syntax
DESCRIPTION
Quick overview of Razor syntax...TRANSCRIPT
About Me
Lohith G N Developer Evangelist, Telerik
Microsoft MVP – ASP.NET/IIS
www.telerikhelper.net
www.kashyapas.com
@kashyapa
Agenda
Razor (1 Hr)
ASP.NET MVC
(2 Hr)Break
Web API(1 Hr)
MVC Mobile Feature
s(1 Hr)
Q & A(1 Hr)
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 90
countries• 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”
IMPROVING DEVELOPER PRODUCTIVITY
HOW ABOUT SOME FREE HOURS FOR LEISURE ?
End to End ProviderSolutions for all aspects of Software Development
Automated Functional & Performance UI TestingUnit TestingLoad/Stress TestingExploratry Testing
Testing
Requirements GatheringProject ManagementDefect ManagementTeam and Customer
Collaboration
Planning
Multi-platform UI toolsCode quality and performance toolsData access and reporting tools
Construction
Overview of Razor SyntaxLAP AROUND RAZOR
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
1. Add Code using @ character
2. Enclose code blocks in braces
3. Inside a block, semicolon ends the statement
4. Use Variables to store values
5. Enclose literal string values in double quotation marks
6. Code is Case Sensitive
7. Using Objects
8. Decision Making Code
Thank You.
Q & A