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.

Scott Guthrie at Dot Net Startup meetup

4,081 views

Published on

Scott Guthrie slides talking about what's new on VS 11, .NET 4.5 and MVC 4, including automatic Bundling, Minifying, Real Time updates, SignalR, Asynchronous requests, Web API, Database Migration and Open Source of MVC / ASP.NET.

Published in: Technology
  • Be the first to comment

Scott Guthrie at Dot Net Startup meetup

  1. 1. Demo:File->New Project
  2. 2. Demo: Bundling &Minification
  3. 3. <script src=”@Url.Content(“~/Scripts/Site.js”)”></script><script src=”~/Scripts/Site.js”></script>
  4. 4. @{ string myClass = null; if (someCondition) { myClass = ”shinyFancy”; }}<div @{if (myClass != null) { <text>class=”@myClass”</text> } }>Content</div>
  5. 5. @{ string myClass = null; if (someCondition) { myClass = ”shinyFancy”; }}<div class=”@myClass”>Content</div>
  6. 6. DatabaseMigrations
  7. 7. Demo: DatabaseMigrations with EF
  8. 8. Why Web APIs?
  9. 9. Build Richer AppsReach More Clients
  10. 10. + 100% + 50% + 3400% + 235% + 71% + 86% + 46% + 63% Source: www.programmableweb.com – current APIs: 4535
  11. 11. Embrace HTTP
  12. 12. Demo: Building a Web API
  13. 13. Demo: Calling a WebAPI from JavaScript
  14. 14. Demo: Unit Testing a Web API
  15. 15. Mobile Web
  16. 16. Adaptive Display MobileRendering Modes Template
  17. 17. Demo: Mobile Web
  18. 18. https://github.com/signalr/
  19. 19. Client – JavaScript Server - .NETvar hub = $.connection.chat; public class Chat : Hub {hub.addMessage = function (msg) { public void SendMessage(string message) $("#msgs").append("<li>" + msg + "</li>"); {}; Clients.addMessage(message); }$.connection.hub.start().done(function() { } $("#send").click(function() { hub.sendMessage($("#msg").text()); });});
  20. 20. Demo: SignalR
  21. 21. http://myserver.com/products
  22. 22. public class public void WebClient new WebClient “result" new Uri "http://www.bing.com/" public ActionResult return
  23. 23. public class public async Task ActionResult WebClient new WebClient await "www.bing.com/" return
  24. 24. The Microsoft® Accelerator for Windows Azure will host ten companies for a three month, on site, deep immersionprogram focused on building businesses that take advantage of the cloud. Through this program, Microsoft and TechStars willhelp entrepreneurs, engineers and innovators bring to life a range of business ideas that leverage the possibilities enabled byWindows Azure’s cloud platform.Program Dates: August 27 to November 29Program Venue: Seattle, Washington, USAApplication Deadline: June 29, 2012Every company participating in the program will receive: An investment of $20,000, managed by TechStars Development kit with the latest Windows and Windows Phone hardware $60,000 in Azure credit through Microsoft BizSpark Plus Demo Day presentation to angel investors, VCs, media, and industry influentialsThe Microsoft Accelerator for Windows Azure is being powered by TechStars usingthe same mentor driven methodology pioneered and proven by them in New York,Boulder, Seattle and Boston.Startups - Apply Now:aka.ms/azureaccelerator
  25. 25. Questions

×