Msdnmagazine 610 Issue.Pdf

Total Page:16

File Type:pdf, Size:1020Kb

Msdnmagazine 610 Issue.Pdf THE MICROSOFT JOURNAL FOR DEVELOPERS JUNE 2010 VOL 25 NO 6 SOA TIPS COLUMNS Address Scalability Bottlenecks with Distributed Caching CUTTING EDGE Iqbal Khan . 24 C# 4.0, the Dynamic Keyword and COM Dino Esposito page 6 THREAD PERFORMANCE CLR INSIDE OUT Resource Contention Concurrency Profi ling in Visual Studio 2010 F# Fundamentals Maxim Goldin . 38 Luke Hoban page 16 TEST RUN CLOUD DIAGNOSTICS Generating Graphs with WPF Take Control of Logging and Tracing in Windows Azure James McCaffrey page 92 Mike Kelly . 50 BASIC INSTINCTS Multi-Targeting Visual Basic Applications in Visual Studio 2010 EXPRESS YOURSELF Spotty Bowles page 98 Encoding Videos Using Microsoft Expression Encoder 3 SDK THE WORKING PROGRAMMER Adam Miller . 62 Going NoSQL with MongoDB, Part 2 Ted Neward page 104 INPUT VALIDATION UI FRONTIERS Enforcing Complex Business Data Rules with WPF The Ins and Outs of ItemsControl Brian Noyes . 74 Charles Petzold page 109 DON’T GET ME STARTED We’re All in This Together PRACTICAL ODATA David Platt page 112 Building Rich Internet Apps with the Open Data Protocol Shayne Burgess . 82 This month at msdn.microsoft.com/magazine: SILVERLIGHT ONLINE Silverlight in an Occasionally Connected World Mark Bloodworth and Dave Brown APPFABRIC CACHE Real-World Usage and Integration Andrea Colaci Untitled-5 2 3/5/10 10:16 AM Sure, Visual Studio 2010 has a lot of great functionality— we’re excited that it’s only making our User Interface components even better! We’re here to help you go beyond what Visual Studio 2010 gives you so you can create Killer Apps quickly, easily and without breaking a sweat! Go to infragistics.com/beyondthebox today to expand your toolbox with the fastest, best-performing and most powerful UI controls available. You’ll be surprised by your own strength! Infragistics Sales 800 231 8588 Infragistics Europe Sales +44 (0) 800 298 9055 Infragistics India +91-80-6785-1111 twitter.com/infragistics Copyright 1996-2010 Infragistics, Inc. All rights reserved. Infragistics and the Infragistics logo and NetAdvantage are registered trademarks of Infragistics, Inc. Untitled-5 3 3/5/10 10:16 AM JUNE 2010 VOLUME 25 NUMBER 6 magazine LUCINDA ROWLEY Director DIEGO DAGUM Editorial Director/[email protected] KERI GRASSL Site Manager KEITH WARD Editor in Chief/[email protected] TERRENCE DORSEY Technical Editor DAVID RAMEL Features Editor WENDY GONCHAR Managing Editor MARTI LONGWORTH Associate Managing Editor SCOTT SHULTZ Creative Director JOSHUA GOULD Art Director ALAN TAO Senior Graphic Designer CONTRIBUTING EDITORS K. Scott Allen, Dino Esposito, Julie Lerman, Juval Lowy, Dr. James McCaffrey, Ted Neward, Charles Petzold, David S. Platt Henry Allain President, Redmond Media Group Matt Morollo Vice President, Publishing Doug Barney Vice President, Editorial Director Michele Imgrund Director, Marketing Tracy Cook Online Marketing Director ADVERTISING SALES: 508-532-1418/[email protected] Matt Morollo VP, Publishing Chris Kourtoglou Regional Sales Manager William Smith National Accounts Director Danna Vedder Microsoft Account Manager Jenny Hernandez-Asandas Director Print Production Serena Barnes Production Coordinator/[email protected] Neal Vitale President & Chief Executive Offi cer Richard Vitale Senior Vice President & Chief Financial Offi cer Michael J. Valenti Executive Vice President Abraham M. Langer Senior Vice President, Audience Development & Digital Media Christopher M. Coates Vice President, Finance & Administration Erik A. Lindgren Vice President, Information Technology & Application Development Carmel McDonagh Vice President, Attendee Marketing David F. Myers Vice President, Event Operations Jeffrey S. Klein Chairman of the Board MSDN Magazine (ISSN 1528-4859) is published monthly by 1105 Media, Inc., 9201 Oakdale Avenue, Ste. 101, Chatsworth, CA 91311. Periodicals postage paid at Chatsworth, CA 91311-9998, and at additional mailing offi ces. Annual subscription rates payable in U.S. funds: U.S. $35; Canada $45; International $60. Single copies/back issues: U.S. $10, all others $12. Send orders with payment to: MSDN Magazine, P.O. Box 3167, Carol Stream, IL 60132, e-mail [email protected] or call 847-763-9560. POSTMASTER: Send address changes to MSDN Magazine, P.O. Box 2166, Skokie, IL 60076. Canada Publications Mail Agreement No: 40612608. Return Undeliverable Canadian Addresses to Circulation Dept. or IMS/NJ. Attn: Returns, 310 Paterson Plank Road, Carlstadt, NJ 07072. Printed in the U.S.A. Reproductions in whole or part prohibited except by written permission. Mail requests to “Permissions Editor,” c/o MSDN Magazine, 16261 Laguna Canyon Road, Ste. 130, Irvine, CA 92618. Legal Disclaimer: The information in this magazine has not undergone any formal testing by 1105 Media, Inc. and is distributed without any warranty expressed or implied. Implementation or use of any information contained herein is the reader’s sole responsibility. While the information has been reviewed for accuracy, there is no guarantee that the same or similar results may be achieved in all environments. Technical inaccuracies may result from printing errors and/or new developments in the industry. Corporate Address: 1105 Media, Inc., 9201 Oakdale Ave., Ste 101, Chatsworth, CA 91311, www.1105media.com Media Kits: Direct your Media Kit requests to Matt Morollo, VP Publishing, 508-532-1418 (phone), 508-875-6622 (fax), [email protected] Reprints: For single article reprints (in minimum quantities of 250-500), e-prints, plaques and posters contact: PARS International, Phone: 212-221-9595, E-mail: [email protected], www.magreprints.com/ QuickQuote.asp List Rental: This publication’s subscriber list, as well as other lists from 1105 Media, Inc., is available for rental. For more information, please contact our list manager, Merit Direct. Phone: 914-368-1000; E-mail: [email protected]; Web: www.meritdirect.com/1105 All customer service inquiries should be sent to [email protected] or call 847-763-9560. Printed in the USA ,7·6(9(5<:+(5( &RGH,W·VXVHGWRFUHDWHWKHWKLQJVWKDWDUHDOODURXQGXV $OPRVWHYHU\ZKHUH\RXORRNLW·VWKHUH-XVWOLNHWKHSRVVLELOLWLHV \RXVHHDVDGHYHORSHU:LWK9LVXDO6WXGLR\RXFDQUHDOL]H \RXUYLVLRQZLWKQHZWRROVWKDWZLOOGUDPDWLFDOO\LPSDFWWKHZD\ \RXZRUNIURPGHVLJQWRGHYHORSPHQWWRGHSOR\PHQW /,)(581621&2'( :+$7:,//<28'2:,7+9,68$/678',2" *HWVWDUWHGDW9LVXDO6WXGLRFRP S N A P I T >6QDSWKLVWDJWRJHWWKHODWHVWQHZVRQ9LVXDO6WXGLRRU7H[W96WR @ *HWWKHIUHHDSSIRU\RXUSKRQHDWKWWSJHWWDJPREL 6WDQGDUGPHVVDJLQJDQGGDWDFKDUJHVDSSO\ Untitled-1 1 3/25/10 10:38 AM EDITOR’S NOTE KEITH WARD We’re All Ears One of the most important parts of my job as editor in chief is oft en from the minority, making that group seem larger than it listening to you. As in, You the Readers. Th is magazine’s value is is. Th e other possibility, of course, is that the response properly in presenting the kind of information that helps you better do refl ects our readers, and we do need more articles dealing with lower- your primary job; for most, that means sharpening your soft ware level topics. Again, this is something we cover in the magazine; the development skills. question is how oft en we should dip into that well. Over the past half-year or so, I’ve been talking to readers, and, especially, reading your e-mail comments about ways to improve Existing products/technologies vs. new/future products the magazine (keep those comments coming to mmeditor@ and technologies. Do you prefer more coverage of products microsoft .com). I’ve gathered enough information from various and technologies you’re using day-to-day, or more looking-ahead sources now to get an idea of what many of you are looking for. coverage so you can get an idea of what else is out there that you’d Th e next step is to ask you which of these things you’d most like to like to try out? see in the magazine. More coverage of non-C# languages. Our core coverage, at We won’t be totally upending least for the foreseeable future, will feature C#. Of course, we do have articles that use other languages like F#, where those languages are the ship if we change a the most appropriate to use for a given task. And we have regular coverage of Visual Basic through our Basic Instincts column. little rigging. A number of readers, however, have stated their desire to have more regular coverage of C# alternatives, particularly C++. Also, remember that we won’t be totally upending the ship if we What do you think: Would you like to see a regular column cover- change a little rigging. What I mean is that any changes we make ing C++ programming, or are you fi ne with the occasional C++, like in our coverage will be gradual and incremental. If we add some the one we ran in April on new C++ features in Visual Studio 2010 more C++ articles, we won’t be doing drastically fewer C# stories, (msdn.microsoft.com/magazine/ee336130)? Or do you feel we have the for example. Th is is a fi ne-tuning process, to make sure this is your right mix? must-read magazine each month. I encourage you to take a little time when you can and let us know your feelings on these topics. Articles targeted toward beginning or inexperienced To paraphrase the inimitable Frasier Crane: We’re listening. developers. Numerous readers have expressed their frustration One final note: I’ll be at Tech·Ed this June, and would love to that too much of our content is over their heads, and they’d like chat with you in person. Look for me in the 1105 Media booth, to see more coverage of basic development or coding practices. and other places. If you see me, please grab me (gently) so we Th is is a tricky problem. Th e reason is that people who are can talk a bit. I hope I get a chance to speak with many of you dissatisfi ed with something are much more likely to speak up there. If you’re unable to make it, be sure to drop me a line at than those who aren’t.
Recommended publications
  • Odata Services Company
    PUBLIC 2021-03-09 OData Services company. All rights reserved. All rights company. affiliate THE BEST RUN 2021 SAP SE or an SAP SE or an SAP SAP 2021 © Content 1 SAP Cloud for Customer OData API..............................................4 2 New Features.............................................................. 13 2.1 What's New in OData API v2 Reference.............................................13 2.2 Add Public Solution Model (PSM) Fields to Standard OData Services........................15 2.3 Transport Custom OData Services with Transport Management............................16 2.4 Compatibility Mode for READ Operations........................................... 16 2.5 Support for User-Friendly IDs in Standard OData Services................................16 2.6 Constant Values to Function Imports...............................................17 3 OData API Reference.........................................................18 3.1 OData API v2 Reference........................................................18 3.2 OData API v1 Reference (Deprecated)..............................................20 Account Contact Relationship.................................................21 Account EntityType........................................................22 Appointment Entity Type....................................................40 BusinessPartner Entity Type..................................................46 CodeList Entity Type....................................................... 47 Contextual CodeList Entity Type...............................................48
    [Show full text]
  • Lap Around the .NET Framework 4
    Lap Around the .NET Framework 4 Marc Schweigert ([email protected]) Principal Developer Evangelist DPE US Federal Government Team http://blogs.msdn.com/devkeydet http://twitter.com/devkeydet .NET Framework 4.0 User Interface Services Data Access ASP.NET Windows Windows (WebForms, Entity Presentation Data Services Communication ADO.NET MVC, Dynamic Framework Foundation Foundation Data) Windows WinForms Workflow LINQ to SQL Foundation Core Managed Dynamic Parallel Base Class Extensibility LINQ Languages Language Extensions Library Framework Runtime Common Language Runtime ASP.NET MVC 1.0 (Model View Controller) A new Web Application Project type Simply an option Not a replacement for WebForms Builds on top ASP.NET Manual vs. Automatic Transmission Supports a clear separation of concerns Supports testability Supports “close to the metal” programming experience ASP.NET MVC 2 Visual Studio 2010 Included Visual Studio 2008 (Service Pack 1) Download Both versions built against .NET 3.5 What’s New in MVC 2? Better Separation of Concerns (Maintainability) Html.RenderAction() Areas Easier Validation (Maintainability/Productivity) Data Annotations Client Validation Helper Improvements (Maintainability/Productivity) Strongly-Typed Helpers Templated Helpers ASP.NET 4 Web Forms? Support for SEO with URL Routing Cleaner HTML Client ID improvements ViewState improvements Dynamic Data Improvements Chart Controls Productivity and Extensibility Rich Client Ajax supports both MVC & Web Forms WPF 4 Calendar, Data Grid, DatePicker Ribbon (separate download)
    [Show full text]
  • Non-Invasive Software Transactional Memory on Top of the Common Language Runtime
    University of Neuchâtel Computer Science Department (IIUN) Master of Science in Computer Science Non-Invasive Software Transactional Memory on top of the Common Language Runtime Florian George Supervised by Prof. Pascal Felber Assisted by Patrick Marlier August 16, 2010 This page is intentionally left blank Table of contents 1 Abstract ................................................................................................................................................. 3 2 Introduction ........................................................................................................................................ 4 3 State of the art .................................................................................................................................... 6 4 The Common Language Infrastructure .................................................................................. 7 4.1 Overview of the Common Language Infrastructure ................................... 8 4.2 Common Language Runtime.................................................................................. 9 4.3 Virtual Execution System ........................................................................................ 9 4.4 Common Type System ........................................................................................... 10 4.5 Common Intermediate Language ..................................................................... 12 4.6 Common Language Specification.....................................................................
    [Show full text]
  • Ironpython in Action
    IronPytho IN ACTION Michael J. Foord Christian Muirhead FOREWORD BY JIM HUGUNIN MANNING IronPython in Action Download at Boykma.Com Licensed to Deborah Christiansen <[email protected]> Download at Boykma.Com Licensed to Deborah Christiansen <[email protected]> IronPython in Action MICHAEL J. FOORD CHRISTIAN MUIRHEAD MANNING Greenwich (74° w. long.) Download at Boykma.Com Licensed to Deborah Christiansen <[email protected]> For online information and ordering of this and other Manning books, please visit www.manning.com. The publisher offers discounts on this book when ordered in quantity. For more information, please contact Special Sales Department Manning Publications Co. Sound View Court 3B fax: (609) 877-8256 Greenwich, CT 06830 email: [email protected] ©2009 by Manning Publications Co. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by means electronic, mechanical, photocopying, or otherwise, without prior written permission of the publisher. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in the book, and Manning Publications was aware of a trademark claim, the designations have been printed in initial caps or all caps. Recognizing the importance of preserving what has been written, it is Manning’s policy to have the books we publish printed on acid-free paper, and we exert our best efforts to that end. Recognizing also our responsibility to conserve the resources of our planet, Manning books are printed on paper that is at least 15% recycled and processed without the use of elemental chlorine.
    [Show full text]
  • Web API and Microsoft Azure
    [ 1 ] www.it-ebooks.info Building Web Services with Microsoft Azure Quickly develop scalable, REST-based applications or services and learn how to manage them using Microsoft Azure Alex Belotserkovskiy Stephen Kaufman Nikhil Sachdeva professional expertise distilled PUBLISHING BIRMINGHAM - MUMBAI www.it-ebooks.info Building Web Services with Microsoft Azure Copyright © 2015 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews. Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the authors, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book. Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information. First published: May 2015 Production reference: 1220515 Published by Packt Publishing Ltd. Livery Place 35 Livery Street Birmingham B3 2PB, UK. ISBN 978-1-78439-837-8 www.packtpub.com www.it-ebooks.info Credits Authors Copy Editors Alex Belotserkovskiy Pranjali
    [Show full text]
  • Pyslet Documentation Release 0.6.20160201
    Pyslet Documentation Release 0.6.20160201 Steve Lay February 02, 2016 Contents 1 What’s New? 1 2 Compatibility 7 3 IMS Global Learning Consortium Specifications 13 4 The Open Data Protocol (OData) 101 5 Hypertext Transfer Protocol (RFC2616) 207 6 Other Supporting Standards 247 7 Welcome to Pyslet 357 Python Module Index 359 i ii CHAPTER 1 What’s New? As part of moving towards PEP-8 compliance a number of name changes are being made to methods and class at- tributes with each release. There is a module, pyslet.pep8, which contains a compatibility class for remapping missing class attribute names to their new forms and generating deprecation warnings, run your code with “python -Wd” to force these warnings to appear. As Pyslet makes the transition to Python 3 some of the old names will go away completely. It is still possible that some previously documented names could now fail (module level functions, function arguments, etc.) but I’ve tried to include wrappers or aliases so please raise an issue on Github if you discover a bug caused by the renaming. I’ll restore any missing old-style names to improve backwards compatibility on request. Finally, in some cases you are encouraged to derive classes from those defined by Pyslet and to override default method implementations. If you have done this using old-style names you will have to update your method names to prevent ambiguity. I have added code to automatically detect most problems and force fatal errors at runtime on construction, the error messages should explain which methods need to be renamed.
    [Show full text]
  • Ios, Android, Windows Phone Xamarin, Xamarin.Forms Mvvmcross, Mvvm Light …
    iOS, Android, Windows Phone Xamarin, Xamarin.Forms MvvmCross, Mvvm Light … Formation – Audit – Conseil – Développement XAML (Windows Store, WPF, Silverlight, Windows Phone), C# Cross-plateforme Windows / Android / iOS UX Design ALLDOT. BLOGTom e 5 3ème édition Développement Cross-Plateforme Tout Dot.Blog par thème sous la forme de livres PDF gratuits ! Reproduction, utilisation et diffusion interdites sans l’autorisation de l’auteur Olivier Dahan [email protected] P a g e 1 | 410 Table des matières Introduction .................................................................................................................. 11 Présentation de l’édition 2015 ...................................................................................... 13 Edition 2015 ................................................................................................................... 15 Les unités Mobiles – Axer correctement ses développements ............................. 15 Une infographie complète ..................................................................................... 15 La guerre tablette / PC ........................................................................................... 15 Parts de marché des OS ........................................................................................ 20 Les mobiles et les français .....................................................................................22 Unités mobiles et Web .......................................................................................... 23 Conclusion
    [Show full text]
  • ISO/IEC JTC 1 Information Technology
    ISO/IEC JTC 1 Information technology Big data Preliminary Report 2014 Our vision Our process To be the world’s leading provider of high Our standards are developed by experts quality, globally relevant International all over the world who work on a Standards through its members and volunteer or part-time basis. We sell stakeholders. International Standards to recover the costs of organizing this process and Our mission making standards widely available. ISO develops high quality voluntary Please respect our licensing terms and International Standards that facilitate copyright to ensure this system remains international exchange of goods and independent. services, support sustainable and equitable economic growth, promote If you would like to contribute to the innovation and protect health, safety development of ISO standards, please and the environment. contact the ISO Member Body in your country: www.iso.org/iso/home/about/iso_ members.htm This document has been prepared by: Copyright protected document ISO/IEC JTC 1, Information technology All rights reserved. Unless otherwise Cover photo credit: ISO/CS, 2015 be reproduced or utilized otherwise in specified,any form noor partby anyof this means, publication electronic may or mechanical, including photocopy, or posting on the internet or intranet, without prior permission. Permission can be requested from either ISO at the address below or ISO’s member body in the country of the requester: © ISO 2015, Published in Switzerland Case postale 56 • CH-1211 Geneva 20 Tel.ISO copyright+41 22
    [Show full text]
  • Mobile Compatible Websites for Educational Institutes- an Over View of Existing System and Proposed Model Balakrishna Jagadish B, Bodala Ravikumar, P.N
    International Journal of Innovative Research in Computer Science & Technology (IJIRCST) ISSN: 2347-5552, Volume-4, Issue-4, July 2016 Mobile Compatible Websites for Educational Institutes- An Over View of Existing System and Proposed Model Balakrishna Jagadish B, Bodala Ravikumar, P.N. Girija Abstract: Now a day’s for any kind of organizations having a II. LITERATURE SURVEY mobile compatible website became a must along with the We have observed present trend in educational institutes desktop version. The revolution in mobile technology made smart phone usage compulsory for any individuals, people were maintaining mobile version website. We will discuss all the giving first preference to smart phone for browsing the net, due factors that matters for mobile compatible website, which we to its compact size and portability. The major flow in mobile have summarized from previous researches work in this area. phone browsing is, websites were designed for desktop computers where as mobile screen size is very small it gives users A. Smart Phones feel uncomfortable for visit websites, so we need separate User A Smart Phone is a mobile computing device and supports interface. This paper reviews the present trends of educational almost all functionalities that a computer performs. It has the institutions maintaining mobile version website, their pros and following features. cons and finally we gave a simple proposed model for maintaining mobile version website. 1. Portable: Smart Phone was a portable device, which means one can carry or take it with them anywhere. Due to its Index Terms—Adobe Muse CC, GCM, mobile compatible small size and weight it is easy to carry.
    [Show full text]
  • Create Mobile Apps with HTML5, Javascript and Visual Studio
    Create mobile apps with HTML5, JavaScript and Visual Studio DevExtreme Mobile is a single page application (SPA) framework for your next Windows Phone, iOS and Android application, ready for online publication or packaged as a store-ready native app using Apache Cordova (PhoneGap). With DevExtreme, you can target today’s most popular mobile devices with a single codebase and create interactive solutions that will amaze. Get started today… ・ Leverage your existing Visual Studio expertise. ・ Build a real app, not just a web page. ・ Deliver a native UI and experience on all supported devices. ・ Use over 30 built-in touch optimized widgets. Learn more and download your free trial devexpress.com/mobile All trademarks or registered trademarks are property of their respective owners. Untitled-4 1 10/2/13 11:58 AM APPLICATIONS & DEVELOPMENT SPECIAL GOVERNMENT ISSUE INSIDE Choose a Cloud Network for Government-Compliant magazine Applications Geo-Visualization of SPECIAL GOVERNMENT ISSUE & DEVELOPMENT SPECIAL GOVERNMENT ISSUE APPLICATIONS Government Data Sources Harness Open Data with CKAN, OData and Windows Azure Engage Communities with Open311 THE DIGITAL GOVERNMENT ISSUE Inside the tools, technologies and APIs that are changing the way government interacts with citizens. PLUS SPECIAL GOVERNMENT ISSUE APPLICATIONS & DEVELOPMENT SPECIAL GOVERNMENT ISSUE & DEVELOPMENT SPECIAL GOVERNMENT ISSUE APPLICATIONS Enhance Services with Windows Phone 8 Wallet and NFC Leverage Web Assets as Data Sources for Apps APPLICATIONS & DEVELOPMENT SPECIAL GOVERNMENT ISSUE ISSUE GOVERNMENT SPECIAL DEVELOPMENT & APPLICATIONS Untitled-1 1 10/4/13 11:40 AM CONTENTS OCTOBER 2013/SPECIAL GOVERNMENT ISSUE OCTOBER 2013/SPECIAL GOVERNMENT ISSUE magazine FEATURES MOHAMMAD AL-SABT Editorial Director/[email protected] Geo-Visualization of Government KENT SHARKEY Site Manager Data Sources MICHAEL DESMOND Editor in Chief/[email protected] Malcolm Hyson ..........................................
    [Show full text]
  • CLS Compliance Rules
    Language Independence and Language-Independent Components https://msdn.microsoft.com/en-us/library/12a7a7h3(d=printer,v=vs.110).aspx Language Independence and Language- Independent Components .NET Framework (current version) The .NET Framework is language independent. This means that, as a developer, you can develop in one of the many languages that target the .NET Framework, such as C#, C++/CLI, Eiffel, F#, IronPython, IronRuby, PowerBuilder, Visual Basic, Visual COBOL, and Windows PowerShell. You can access the types and members of class libraries developed for the .NET Framework without having to know the language in which they were originally written and without having to follow any of the original language's conventions. If you are a component developer, your component can be accessed by any .NET Framework app regardless of its language. Note This first part of this article discusses creating language-independent components—that is, components that can be consumed by apps that are written in any language. You can also create a single component or app from source code written in multiple languages; see Cross-Language Interoperability in the second part of this article. To fully interact with other objects written in any language, objects must expose to callers only those features that are common to all languages. This common set of features is defined by the Common Language Specification (CLS), which is a set of rules that apply to generated assemblies. The Common Language Specification is defined in Partition I, Clauses 7 through 11 of the ECMA-335 Standard: Common Language Infrastructure . If your component conforms to the Common Language Specification, it is guaranteed to be CLS-compliant and can be accessed from code in assemblies written in any programming language that supports the CLS.
    [Show full text]
  • Haris Kurtagic, SL-King Jason Birch, City of Nanaimo Geoff Zeiss, Autodesk Tim Berners-Lee, in Government Data Design Issues, Proposes
    Haris Kurtagic, SL-King Jason Birch, City of Nanaimo Geoff Zeiss, Autodesk Tim Berners-Lee, in Government Data Design Issues, proposes ○ Geodata on the web in raw form. ○ Raw geodata must be searchable How do you find raw geospatial data ? Data Catalogs Wouldn’t it be nice if… And see.. Searchable Raw Geospatial Data www.georest.org Open Data Protocol “The Open Data Protocol (OData) is a Web protocol for querying and updating data that provides a way to unlock your data and free it from silos that exist in applications today.” www.odata.org ODATA HTTP Atom AtomPUB JSON HTTP://.../vancouver/libraries <feed xmlns=http://www.w3.org/2005/Atom … > <title type="text">libraries</title> <id>http://…/vancouver/libraries(10)</id> <title type="text"></title> <entry> <content type="application/xml"> <m:properties> <d:library_name>Britannia</d:library_name> <d:latitude m:type="Edm.Double">49.2756486</d:latitude> <d:longitude m:type="Edm.Double">-123.0737717</d:longitude> <d:address>1661 Napier St</d:address> </m:properties> …..</entry> <entry>…</entry></feed> HTTP://.../vancouver/libraries ?$format=JSON {"d":[{"library_name":"Britannia","latitude":" 49.2756486","longitude":"- 123.0737717","address":"1661 Napier St"} , {..}] } HTTP Header accept: application/json OData Example Live OData Service from Vancouver OData Producers SharePoint 2010, SQL Azure, IBM WebSphere, … GeoREST OData Live Services Netflix, Open Goverment Data Initiative (OGDI), Stack Overflow, Vancouver, Edmonton, … City of Nanaimo OData Consumers Browsers, Odata Explorer, Excel 2010,…
    [Show full text]