 Scott Hanselman Principal Program Manager Community Liaison Microsoft Corporation TL49.

Slides:



Advertisements
Similar presentations
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Advertisements

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Taylor Brown Test Lead Microsoft Corporation ES09.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
 Brian Peek Senior Developer ASPSOFT  Clint Rutkas Academic Evangelist Microsoft Corporation  Dan Fernandez Evangelism Manager Microsoft Corporation.
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Feature: Reprint Outstanding Transactions Report © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
 Josh Honeyman Sr. Development Lead Microsoft Corporation BB57.
Feature: Purchase Requisitions - Requester © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
 Douglas K. Olson General Manager Microsoft Corporation  Pete Blois Lead Program Manager Microsoft Corporation PC47.
MIX 09 4/15/ :14 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
 Phil Haack Senior Program Manager Microsoft Corporation PC21.
 Stephen Walther ASP.NET MVC Ninja Microsoft Corporation PV31.
 Nishant Gupta Program Manager Live Services Microsoft Corporation BB51.
Co- location Mass Market Managed Hosting ISV Hosting.
Windows 7 Training Microsoft Confidential. Windows ® 7 Compatibility Version Checking.
Feature: Purchase Order Prepayments II © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
 Alexander Malek Lead Program Manager SharePoint Microsoft Corporation BB47.
Feature: OLE Notes Migration Utility
Feature: Web Client Keyboard Shortcuts © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
 Pablo Castro Software Architect Microsoft Corporation TL08.
Feature: SmartList Usability Enhancements © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Session 1.
Built by Developers for Developers…. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
 Rico Mariani Architect Microsoft Corporation.
 Frank Savage Architect Microsoft Corporation.
 Bertrand Le Roy Senior Program Manager Lead Microsoft Corporation PC32.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Assign an Item to Multiple Sites © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
 Chaitanya Sareen Senior Program Manager Microsoft Corporation PC24.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Connect with life Connect with life
 Scott Hunter Program Manager Microsoft Corporation PC30.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Document Attachment –Replace OLE Notes © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
Feature: Customer Combiner and Modifier © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
 Paul Vick Principal Architect Microsoft Corporation  Lucian Wischik Software Engineer Microsoft Corporation.
Ian Ellison-Taylor General Manager Microsoft Corporation PC27.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
demo Instance AInstance B Read “7” Write “8”

Kenny Wolf Architect WCF and WF
customer.
demo © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
demo Demo.
Feature: Void Historical/Open Transaction Updates © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
demo QueryForeign KeyInstance /sm:body()/x:Order/x:Delivery/y:TrackingId1Z
Feature: Suggested Item Enhancements – Analysis and Assignment © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and.
projekt202 © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
The CLR CoreCLRCoreCLR © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks.
 Boris Jabes Program Manager Lead Microsoft Corporation TL13.
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.

IoCompleteRequest (Irp);... p = NULL; …f(p);
MIX 09 4/17/2018 4:41 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Возможности Excel 2010, о которых следует знать
Title of Presentation 11/22/2018 3:34 PM
Title of Presentation 12/2/2018 3:48 PM
8/04/2019 9:13 PM © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Windows 8 Security Internals
Виктор Хаджийски Катедра “Металургия на желязото и металолеене”
Title of Presentation 5/12/ :53 PM
Шитманов Дархан Қаражанұлы Тарих пәнінің
Title of Presentation 5/24/2019 1:26 PM
5/24/2019 6:44 PM 1/8/18 Bell #10 In a world governed by the gods, is there any room for human will? Do human choices make a difference? EXPLAIN © 2007.
Title of Presentation 7/24/2019 8:53 PM
Presentation transcript:

 Scott Hanselman Principal Program Manager Community Liaison Microsoft Corporation TL49

XX02 YY03 Sessions with Deeper Detail

 Scott Hanselman

Principal Program Manager Community Liaison Microsoft Corporation

 Scott Hanselman Principal Program Manager Community Liaison Microsoft Corporation

 Scott Hanselman Principal Program Manager Community Liaison Microsoft Corporation

BabySmash Client BabySmash Web BabySmash Web BabySmash Service Reporting Site w/Charts BabySmash “Big *ss Table”? BabySmash “Big *ss Table”? DB JIST: Babies smash, metrics are sent up to the server and the reporting site shows a nice histogram bell curve of what keys are being smashed. Then we take the babies’ money. PayPal FTW! BabySmash Mobile BabySmash Mobile

JIST: Babies smash, metrics are sent up to the server and the reporting site shows a nice histogram bell curve of what keys are being smashed. Then we take the babies’ money. PayPal FTW!

Get your copy at the AW Booth!

WebWeb CoreCore WorkflowWorkflow DataData CommComm ClientClient

WebWebCoreCore Work flow DataDataCommComm ClientClient

ClientClient

ClientClient

ClientClient

ClientClient PC46 PC07

ClientClient

ClientClient

ClientClient

 Scott Hanselman

CoreCore PC49 TL02

public class ExampleClass { public int ExampleMethod(int n) { CodeContract.Requires(n > 0, "n must be greater than 0"); CodeContract.Ensures( CodeContract.Result () >= 0, "Return value must be positive"); //... } public IEnumerable Contents { get; set; } [ContractInvariantMethod] protected void ObjectInvariant() { CodeContract.Invariant( CodeContract.ForAll(Contents, s => s != null)); //... } Contracts come at the beginning of methods. Precondition stating that the input parameter to the method must be greater than 0 for the method to function properly. Postcondition guaranteeing that the result of the method will be positive. Callers can count on this. Developers can provide a string to be displayed when the contract is violated. All object invariants are contained in a single method, which may contain many calls to CodeContract.ObjectInvariant and no other calls. Guarantees that all elements in the IEnumerable are not null.

CoreCore

CoreCore TL33 TL26 TL44

 Scott Hanselman

DataData

Underlying data model - Entity Data Model - Entities  Resources - Associations  Links Operation semantics - Mapping of HTTP methods - GET  retrieve resource - POST  create resource - PUT  update resource - DELETE  delete resource DataData

using (NorthwindContext context = new NorthwindContext()) { //--- EF LINQ query with POCO Product var products = from p in context.Products select p; foreach (Product product in products) { //--- Lazy load the Category Console.WriteLine(String.Format("{0}:{1}", product.ProductName, product.Category.CategoryName)); } POCO & Lazy LoadSQL Methods var people = from e in context.Employees where EdmMethods.Month(e.BirthDate) == EdmMethods.Month(NorthwindContext.MyGetUtcDate()) select e; _______________________________________________________________ _____________________ [EdmFunction("SqlServer", "GETUTCDATE")] public static System.DateTime? MyGetUtcDate() { throw new Exception(); } DataData TL20 TL07

DataData TL20 TL07

 Scott Hanselman

CommCommWorkflowWorkflow &

Host (.exe, IIS, "Dublin",.NET Services, …) WF Runtime Extensions Tracking Persistence … … Tooling VS Designer VS Debugger Rehosted Designer Workflow Activity Library

CommCommWorkflowWorkflow & TL17 TL06 TL21

= CLR+BCL

 Scott Hanselman PC10 Session with Deeper Detail

void MultiplyMatrices(int size, double[,] m1, double[,] m2, double[,] result) { for (int i = 0; i < size; i++) { for (int j = 0; j < size; j++) { result[i, j] = 0; for (int k = 0; k < size; k++) { result[i, j] += m1[i, k] * m2[k, j]; } } } } CoreCore

void MultiplyMatrices(int size, double[,] m1, double[,] m2, double[,] result) { Parallel.For(0, size, i => { for (int j = 0; j < size; j++) { result[i, j] = 0; for (int k = 0; k < size; k++) { result[i, j] += m1[i, k] * m2[k, j]; } }); } CoreCore

 Scott Hanselman

WebWeb TL54 Sessions with Deeper Detail

WebWeb

ASP.NET Web Forms Dynamic Data MVC ASP.NET Ajax

 Scott Hanselman

ScriptObject x = win.CreateInstance( "VELatLong",latitude,longitude); ScriptObject pin = (ScriptObject)map.Invoke("AddPushpin", x); pin.Invoke("SetTitle", title); pin.Invoke("SetDescription", description); map.Invoke("SetCenterAndZoom", x, 7); CoreCore

dynamic x = win.New.VELatLong(latitude, longitude); var pin = map.AddPushpin(x); pin.SetTitle(title); pin.SetDescription(description); map.SetCenterAndZoom(x, 7); CoreCore TL10 TL44 Sessions with Deeper Detail

 Scott Hanselman

JIST: Babies smash, metrics are sent up to the server and the reporting site shows a nice histogram bell curve of what keys are being smashed. Then we take the babies’ money. PayPal FTW!

DataData CommComm WebWeb CoreCore WorkflowWorkflow ClientClient

DataData CommComm WebWeb CoreCore WorkflowWorkflow ClientClient

DataData CommComm WebWeb CoreCore WorkflowWorkflow ClientClient DataData CommComm CoreCore WorkflowWorkflow ClientClient

Please fill out your evaluation for this session at: This session will be available as a recording at:

© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.