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.

DDD Sydney 20111 Razor Session


Published on

Published in: Technology
  • Follow the link, new dating source: ♥♥♥ ♥♥♥
    Are you sure you want to  Yes  No
    Your message goes here
  • Dating for everyone is here: ♥♥♥ ♥♥♥
    Are you sure you want to  Yes  No
    Your message goes here

DDD Sydney 20111 Razor Session

  1. 1. Mohamed Meligy ( @ @Meligy) Senior Developer, Readify
  2. 2. We would like to thank our sponsors and supporters for helping us bring you this event
  3. 3. <footer> By Mohamed Meligy ( @Twitter.Avatar( “@Meligy” ) ) </footer> @model RazorSession @using(Html.BeginSession()) { @Html.DisplayModel() }
  4. 4. <ul><li>View Engines </li></ul><ul><li>Razor Syntax </li></ul><ul><ul><ul><li>Basic Syntax Elements </li></ul></ul></ul><ul><ul><ul><li>Helpers </li></ul></ul></ul><ul><ul><ul><li>Functions </li></ul></ul></ul><ul><li>Tips & Tricks </li></ul><ul><ul><ul><li>Razor JavaScript </li></ul></ul></ul><ul><ul><ul><li>Themes </li></ul></ul></ul><ul><ul><ul><li>Compiled Views </li></ul></ul></ul>
  5. 5. <ul><li>Developing .NET Since 2004 </li></ul><ul><ul><li>Developing Web Since 2002 </li></ul></ul><ul><li>Loveing International Customerbase </li></ul><ul><ul><li>Egypt, KSA, USA, Azerbaijan, UAE, Australia </li></ul></ul><ul><li>Frequent Speaker In Egypt </li></ul><ul><ul><li>SilverKey DemoDay, DotNetWork UG, ITWorx TechClub, CairoCodeCamp Conference, … </li></ul></ul><ul><ul><li>Scrum, Design Patterns, Coding Practices, MVC, DDD, … </li></ul></ul><ul><li>Bloggeing Since 2004 </li></ul><ul><ul><li>GeeksWithBlogs, ASP.NET Weblogs, </li></ul></ul><ul><ul><li>Currently GuruStop.NET (Thanks, @Shanselman Blog-Suck-Less) </li></ul></ul>
  6. 6. <ul><li>VS 2010 SP1 </li></ul><ul><ul><ul><li> </li></ul></ul></ul><ul><li>ASP.NET MVC 3 + April 2011 Tools Update </li></ul><ul><ul><ul><li> </li></ul></ul></ul><ul><li>NuGet </li></ul><ul><ul><ul><li> </li></ul></ul></ul><ul><li>WebMatrix </li></ul><ul><ul><ul><li> </li></ul></ul></ul>
  7. 8. <ul><li>Webforms </li></ul><ul><li>Spark </li></ul><ul><li>NHAML </li></ul><ul><li>Razor </li></ul><ul><li>... </li></ul>
  8. 9. <ul><li>We know it already </li></ul>
  9. 10. <ul><li>Markup Oriented </li></ul>
  10. 12. <ul><li>Comes from Rails </li></ul><ul><li>Not HTML </li></ul>
  11. 14. <ul><li>Code Oriented </li></ul><ul><li>Automatic Encoding </li></ul>
  12. 16. <ul><li>It’s up to you </li></ul>
  13. 17. <ul><li>It’s up to you </li></ul><ul><li>NHAML </li></ul><ul><ul><ul><li>If you do Ruby a lot, or really hate XMLness of HTML </li></ul></ul></ul><ul><li>Webforms </li></ul><ul><ul><ul><li>Legacy Code </li></ul></ul></ul><ul><ul><ul><li>Custom Controls (Not Recommended) </li></ul></ul></ul><ul><li>Spark </li></ul><ul><ul><ul><li>Client & Server Templates </li></ul></ul></ul><ul><ul><ul><li>If non-developers will write the markup </li></ul></ul></ul><ul><li>Razor </li></ul><ul><ul><ul><li>Use By Default </li></ul></ul></ul>
  14. 22. <ul><li>ASP.NET Helpers </li></ul><ul><ul><ul><li>http:// </li></ul></ul></ul>
  15. 25. <ul><li>Kazi Rashid Theming PoC http:// </li></ul><ul><li>Pre-compiled Views </li></ul>
  16. 26. <ul><li>Razor syntax is nice, but that’s not all </li></ul><ul><li>The opportunities in having templates and packing them easily for project or for masses is the big bit </li></ul><ul><li>It is one option that Microsoft is pushing, which doesn’t suck enough to look elsewhere… </li></ul>
  17. 27. Please complete the feedback form in your delegate pack for a chance to win some great prizes. Please remember to return the form before you enter the lock note, or leave the event.
  18. 28. <ul><li>Compile Razor To Separate DLL http:// </li></ul><ul><li>Some Tips http:// </li></ul><ul><li>Sample App / </li></ul><ul><li>Compile Razor Views As Part of Build http:// </li></ul><ul><li>Andrew Nurse / (Who wrote Razor syntax parser) </li></ul><ul><ul><ul><li>Ch9 video: deep-dive into Razor http :// </li></ul></ul></ul><ul><ul><ul><li>“ use Razor outside ASP.NET” sample http:// </li></ul></ul></ul><ul><li>Phil Haack (ASP.NET MVC PM) </li></ul><ul><li>David Ebbo http:// (Maintains NuGet, has VERY useful ASP.NET packages) </li></ul><ul><ul><ul><li>Razor Generator http :// - http:// </li></ul></ul></ul><ul><ul><ul><ul><li>Compile Razor In Design Time http:// </li></ul></ul></ul></ul><ul><li>Convert ASPX Views To Razor </li></ul><ul><li>Me! - </li></ul>