SlideShare une entreprise Scribd logo
1  sur  34
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>
Database
Migrations
Demo: Database
Migrations with EF
Why Web APIs?
Build Richer Apps
Reach 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 Web
API from JavaScript
Demo: Unit Testing
   a Web API
Mobile Web
Adaptive   Display    Mobile
Rendering   Modes     Template
Demo: Mobile Web
https://github.com/signalr/
Client – JavaScript                              Server - .NET
var 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 immersion
program focused on building businesses that take advantage of the cloud. Through this program, Microsoft and TechStars will
help entrepreneurs, engineers and innovators bring to life a range of business ideas that leverage the possibilities enabled by
Windows Azure’s cloud platform.
Program Dates:               August 27 to November 29
Program Venue:               Seattle, Washington, USA
Application Deadline:                  June 29, 2012

Every 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 influentials
The Microsoft Accelerator for Windows Azure is being powered by TechStars using
the same mentor driven methodology pioneered and proven by them in New York,
Boulder, Seattle and Boston.

Startups - Apply Now:
aka.ms/azureaccelerator
Questions

Contenu connexe

Tendances

Tendances (20)

Wix Automation - DIY - Testing BI Events
Wix Automation - DIY - Testing BI EventsWix Automation - DIY - Testing BI Events
Wix Automation - DIY - Testing BI Events
 
Android HttpClient - new slide!
Android HttpClient - new slide!Android HttpClient - new slide!
Android HttpClient - new slide!
 
Wix Automation - Core
Wix Automation - CoreWix Automation - Core
Wix Automation - Core
 
Azure Mobile Services .NET Backend
Azure Mobile Services .NET BackendAzure Mobile Services .NET Backend
Azure Mobile Services .NET Backend
 
Into to Node.js: Building Fast, Scaleable Network Applications
Into to Node.js: Building Fast, Scaleable Network ApplicationsInto to Node.js: Building Fast, Scaleable Network Applications
Into to Node.js: Building Fast, Scaleable Network Applications
 
JS Fest 2018. Martin Chaov. SSE vs WebSockets vs Long Polling
JS Fest 2018. Martin Chaov. SSE vs WebSockets vs Long PollingJS Fest 2018. Martin Chaov. SSE vs WebSockets vs Long Polling
JS Fest 2018. Martin Chaov. SSE vs WebSockets vs Long Polling
 
Inspiring conference - Automation & external service integration
Inspiring conference -  Automation & external service integrationInspiring conference -  Automation & external service integration
Inspiring conference - Automation & external service integration
 
API Days Paris - Automatic Testing of (RESTful) API Documentation
API Days Paris - Automatic Testing of (RESTful) API DocumentationAPI Days Paris - Automatic Testing of (RESTful) API Documentation
API Days Paris - Automatic Testing of (RESTful) API Documentation
 
Android httpclient php_mysql
Android httpclient php_mysqlAndroid httpclient php_mysql
Android httpclient php_mysql
 
How I Became a WordPress Hacker
How I Became a WordPress HackerHow I Became a WordPress Hacker
How I Became a WordPress Hacker
 
Client Web
Client WebClient Web
Client Web
 
Javascript #8 : événements
Javascript #8 : événementsJavascript #8 : événements
Javascript #8 : événements
 
IndexedDB and Push Notifications in Progressive Web Apps
IndexedDB and Push Notifications in Progressive Web AppsIndexedDB and Push Notifications in Progressive Web Apps
IndexedDB and Push Notifications in Progressive Web Apps
 
Sbt for mere mortals
Sbt for mere mortalsSbt for mere mortals
Sbt for mere mortals
 
Starting Vert.x in Eclipse
Starting Vert.x in EclipseStarting Vert.x in Eclipse
Starting Vert.x in Eclipse
 
JavaScript - Chapter 11 - Events
 JavaScript - Chapter 11 - Events  JavaScript - Chapter 11 - Events
JavaScript - Chapter 11 - Events
 
Web view
Web viewWeb view
Web view
 
Whirlwind tour of Activiti 7 by Ryan Dawson
Whirlwind tour of Activiti 7 by Ryan DawsonWhirlwind tour of Activiti 7 by Ryan Dawson
Whirlwind tour of Activiti 7 by Ryan Dawson
 
Microservices Manchester: Highly Scalable, and Reliable Microservices with Mi...
Microservices Manchester: Highly Scalable, and Reliable Microservices with Mi...Microservices Manchester: Highly Scalable, and Reliable Microservices with Mi...
Microservices Manchester: Highly Scalable, and Reliable Microservices with Mi...
 
How lagom helps to build real world microservice systems
How lagom helps to build real world microservice systemsHow lagom helps to build real world microservice systems
How lagom helps to build real world microservice systems
 

En vedette

En vedette (7)

A brief history of seattle startups
A brief history of seattle startupsA brief history of seattle startups
A brief history of seattle startups
 
Building a Startup in .NET
Building a Startup in .NETBuilding a Startup in .NET
Building a Startup in .NET
 
Six Lessons to build YOUR Market
Six Lessons to build YOUR MarketSix Lessons to build YOUR Market
Six Lessons to build YOUR Market
 
Using Request Queues for Enhancing the Performance of Operations in Smart Homes
Using Request Queues for Enhancing the Performance of Operations in Smart HomesUsing Request Queues for Enhancing the Performance of Operations in Smart Homes
Using Request Queues for Enhancing the Performance of Operations in Smart Homes
 
Exploring the Use of DNS as a Search Engine for the Web of Things
Exploring the Use of DNS as a Search Engine for the Web of ThingsExploring the Use of DNS as a Search Engine for the Web of Things
Exploring the Use of DNS as a Search Engine for the Web of Things
 
Validating your early stage idea
Validating your early stage ideaValidating your early stage idea
Validating your early stage idea
 
Energy Conservation through Social Competitions in Blocks of Flats
Energy Conservation through Social Competitions in Blocks of FlatsEnergy Conservation through Social Competitions in Blocks of Flats
Energy Conservation through Social Competitions in Blocks of Flats
 

Similaire à Scott Guthrie at Dot Net Startup meetup

A Microsoft Silverlight User Group Starter Kit Made Available for Everyone to...
A Microsoft Silverlight User Group Starter Kit Made Available for Everyone to...A Microsoft Silverlight User Group Starter Kit Made Available for Everyone to...
A Microsoft Silverlight User Group Starter Kit Made Available for Everyone to...
DataLeader.io
 

Similaire à Scott Guthrie at Dot Net Startup meetup (20)

Asp.net mvc 4
Asp.net mvc 4Asp.net mvc 4
Asp.net mvc 4
 
Building interactivity with websockets
Building interactivity with websocketsBuilding interactivity with websockets
Building interactivity with websockets
 
The Future of Responsive Design Standards
The Future of Responsive Design StandardsThe Future of Responsive Design Standards
The Future of Responsive Design Standards
 
A Microsoft Silverlight User Group Starter Kit Made Available for Everyone to...
A Microsoft Silverlight User Group Starter Kit Made Available for Everyone to...A Microsoft Silverlight User Group Starter Kit Made Available for Everyone to...
A Microsoft Silverlight User Group Starter Kit Made Available for Everyone to...
 
Going Serverless with Azure Functions
Going Serverless with Azure FunctionsGoing Serverless with Azure Functions
Going Serverless with Azure Functions
 
VMWorld 2017 Hackathon training: Getting Started with Clarity
VMWorld 2017 Hackathon training: Getting Started with ClarityVMWorld 2017 Hackathon training: Getting Started with Clarity
VMWorld 2017 Hackathon training: Getting Started with Clarity
 
MSFT Dumaguete 061616 - Building High Performance Apps
MSFT Dumaguete 061616 - Building High Performance AppsMSFT Dumaguete 061616 - Building High Performance Apps
MSFT Dumaguete 061616 - Building High Performance Apps
 
A To-do Web App on Google App Engine
A To-do Web App on Google App EngineA To-do Web App on Google App Engine
A To-do Web App on Google App Engine
 
SharePoint Conference 2018 - Build an intelligent application by connecting i...
SharePoint Conference 2018 - Build an intelligent application by connecting i...SharePoint Conference 2018 - Build an intelligent application by connecting i...
SharePoint Conference 2018 - Build an intelligent application by connecting i...
 
AngularJS in large applications - AE NV
AngularJS in large applications - AE NVAngularJS in large applications - AE NV
AngularJS in large applications - AE NV
 
softshake 2014 - Java EE
softshake 2014 - Java EEsoftshake 2014 - Java EE
softshake 2014 - Java EE
 
A test framework out of the box - Geb for Web and mobile
A test framework out of the box - Geb for Web and mobileA test framework out of the box - Geb for Web and mobile
A test framework out of the box - Geb for Web and mobile
 
SharePoint Conference 2018 - APIs, APIs everywhere!
SharePoint Conference 2018 - APIs, APIs everywhere!SharePoint Conference 2018 - APIs, APIs everywhere!
SharePoint Conference 2018 - APIs, APIs everywhere!
 
Soaring through the Clouds - Oracle Fusion Middleware Partner Forum 2016
Soaring through the Clouds - Oracle Fusion Middleware Partner Forum 2016 Soaring through the Clouds - Oracle Fusion Middleware Partner Forum 2016
Soaring through the Clouds - Oracle Fusion Middleware Partner Forum 2016
 
JavaCro'14 - Building interactive web applications with Vaadin – Peter Lehto
JavaCro'14 - Building interactive web applications with Vaadin – Peter LehtoJavaCro'14 - Building interactive web applications with Vaadin – Peter Lehto
JavaCro'14 - Building interactive web applications with Vaadin – Peter Lehto
 
Windows Azure: Connecting the Dots for a Mobile Workforce
Windows Azure: Connecting the Dots for a Mobile WorkforceWindows Azure: Connecting the Dots for a Mobile Workforce
Windows Azure: Connecting the Dots for a Mobile Workforce
 
SharePoint Saturday Belgium 2018 - APIs, APIs everywhere!
SharePoint Saturday Belgium 2018 - APIs, APIs everywhere!SharePoint Saturday Belgium 2018 - APIs, APIs everywhere!
SharePoint Saturday Belgium 2018 - APIs, APIs everywhere!
 
APIs, APIs Everywhere!
APIs, APIs Everywhere!APIs, APIs Everywhere!
APIs, APIs Everywhere!
 
European SharePoint Conference 2018 - Build an intelligent application by con...
European SharePoint Conference 2018 - Build an intelligent application by con...European SharePoint Conference 2018 - Build an intelligent application by con...
European SharePoint Conference 2018 - Build an intelligent application by con...
 
Advanced #2 networking
Advanced #2   networkingAdvanced #2   networking
Advanced #2 networking
 

Dernier

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Dernier (20)

TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 

Scott Guthrie at Dot Net Startup meetup

  • 1.
  • 2.
  • 4.
  • 7. @{ string myClass = null; if (someCondition) { myClass = ”shinyFancy”; } } <div @{if (myClass != null) { <text>class=”@myClass”</text> } }>Content</div>
  • 8. @{ string myClass = null; if (someCondition) { myClass = ”shinyFancy”; } } <div class=”@myClass”>Content</div>
  • 10.
  • 13. Build Richer Apps Reach More Clients
  • 14. + 100% + 50% + 3400% + 235% + 71% + 86% + 46% + 63% Source: www.programmableweb.com – current APIs: 4535
  • 16. Demo: Building a Web API
  • 17. Demo: Calling a Web API from JavaScript
  • 18.
  • 19. Demo: Unit Testing a Web API
  • 20.
  • 22. Adaptive Display Mobile Rendering Modes Template
  • 23.
  • 26. Client – JavaScript Server - .NET var 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()); }); });
  • 29. public class public void WebClient new WebClient “result" new Uri "http://www.bing.com/" public ActionResult return
  • 30. public class public async Task ActionResult WebClient new WebClient await "www.bing.com/" return
  • 31.
  • 32.
  • 33. The Microsoft® Accelerator for Windows Azure will host ten companies for a three month, on site, deep immersion program focused on building businesses that take advantage of the cloud. Through this program, Microsoft and TechStars will help entrepreneurs, engineers and innovators bring to life a range of business ideas that leverage the possibilities enabled by Windows Azure’s cloud platform. Program Dates: August 27 to November 29 Program Venue: Seattle, Washington, USA Application Deadline: June 29, 2012 Every 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 influentials The Microsoft Accelerator for Windows Azure is being powered by TechStars using the same mentor driven methodology pioneered and proven by them in New York, Boulder, Seattle and Boston. Startups - Apply Now: aka.ms/azureaccelerator

Notes de l'éditeur

  1. Modern Web Development
  2. Use HTTP as an Application Protocol – not a Transport Protocol
  3. Add Implement Get() for all and Get() for singleShow Content NegotiationShow Odata SupportShow using Post()Content-Type: application/json{ &quot;Name&quot;:&quot;blah4&quot;, &quot;UnitPrice&quot;:45.56}// POST /api/productspublic HttpResponseMessage&lt;Product&gt; Post(Product product){db.Products.Add(product);db.SaveChanges();var result = new HttpResponseMessage&lt;Product&gt;(product, HttpStatusCode.Created);result.Headers.Location = new Uri(Request.RequestUri, &quot;/api/products/&quot; + product.ID.ToString());return result;}