• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Scott Guthrie at Dot Net Startup meetup
 

Scott Guthrie at Dot Net Startup meetup

on

  • 3,686 views

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 ...

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.

Statistics

Views

Total Views
3,686
Views on SlideShare
3,677
Embed Views
9

Actions

Likes
1
Downloads
16
Comments
0

2 Embeds 9

http://www.linkedin.com 5
http://us-w1.rockmelt.com 4

Accessibility

Categories

Upload Details

Uploaded via SlideShare as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • Modern Web Development
  • Use HTTP as an Application Protocol – not a Transport Protocol
  • Add Implement Get() for all and Get() for singleShow Content NegotiationShow Odata SupportShow using Post()Content-Type: application/json{ "Name":"blah4", "UnitPrice":45.56}// POST /api/productspublic HttpResponseMessage Post(Product product){db.Products.Add(product);db.SaveChanges();var result = new HttpResponseMessage(product, HttpStatusCode.Created);result.Headers.Location = new Uri(Request.RequestUri, "/api/products/" + product.ID.ToString());return result;}

Scott Guthrie at Dot Net Startup meetup Scott Guthrie at Dot Net Startup meetup Presentation Transcript

  • Demo:File->New Project
  • Demo: Bundling &Minification
  • <script src=”@Url.Content(“~/Scripts/Site.js”)”></script><script src=”~/Scripts/Site.js”></script>
  • @{ string myClass = null; if (someCondition) { myClass = ”shinyFancy”; }}<div @{if (myClass != null) { <text>class=”@myClass”</text> } }>Content</div>
  • @{ string myClass = null; if (someCondition) { myClass = ”shinyFancy”; }}<div class=”@myClass”>Content</div>
  • DatabaseMigrations
  • Demo: DatabaseMigrations with EF
  • Why Web APIs?
  • Build Richer AppsReach More Clients
  • + 100% + 50% + 3400% + 235% + 71% + 86% + 46% + 63% Source: www.programmableweb.com – current APIs: 4535
  • Embrace HTTP
  • Demo: Building a Web API
  • Demo: Calling a WebAPI from JavaScript
  • Demo: Unit Testing a Web API
  • Mobile Web
  • Adaptive Display MobileRendering Modes Template
  • Demo: Mobile Web
  • https://github.com/signalr/
  • 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()); });});
  • Demo: SignalR
  • http://myserver.com/products
  • public class public void WebClient new WebClient “result" new Uri "http://www.bing.com/" public ActionResult return
  • public class public async Task ActionResult WebClient new WebClient await "www.bing.com/" return
  • 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
  • Questions