Signalr Programming in Microsoft ASP.NET

Total Page:16

File Type:pdf, Size:1020Kb

Signalr Programming in Microsoft ASP.NET SignalR Programming in Microsoft ASP.NET Professional José M. Aguilar PUBLISHED BY Microsoft Press A Division of Microsoft Corporation One Microsoft Way Redmond, Washington 98052-6399 Copyright © 2014 by Krasis Consulting S.L. All rights reserved. No part of the contents of this book may be reproduced or transmitted in any form or by any means without the written permission of the publisher. Library of Congress Control Number: 2014930486 ISBN: 978-0-7356-8388-4 Printed and bound in the United States of America. First Printing Microsoft Press books are available through booksellers and distributors worldwide. If you need support related to this book, email Microsoft Press Book Support at [email protected]. Please tell us what you think of this book at http://www.microsoft.com/learning/booksurvey. Microsoft and the trademarks listed at http://www.microsoft.com/about/legal/en/us/IntellectualProperty /Trademarks/EN-US.aspx are trademarks of the Microsoft group of companies. All other marks are property of their respective owners. The example companies, organizations, products, domain names, email addresses, logos, people, places, and events depicted herein are fictitious. No association with any real company, organization, product, domain name, email address, logo, person, place, or event is intended or should be inferred. This book expresses the author’s views and opinions. The information contained in this book is provided without any express, statutory, or implied warranties. Neither the authors, Microsoft Corporation, nor its resellers, or distributors will be held liable for any damages caused or alleged to be caused either directly or indirectly by this book. Acquisitions Editor: Devon Musgrave Developmental Editor: Devon Musgrave Project Editor: Carol Dillingham Editorial Production: nSight, Inc. Technical Reviewer: Todd Meister; Technical Review services provided by Content Master, a member of CM Group, Ltd. Copyeditor: Richard Carey Indexer: Lucie Haskins Cover: Twist Creative • Seattle and Joel Panchot To my parents, for all the love and unconditional support you gave that kid who only liked computers. And to my three girls, Inma, Inmita, and María, for putting up with me daily and yet being able to give me so much love and happiness. —JOSÉ M. AGUILAR Contents at a Glance Introduction xiii CHAPTER 1 Internet, asynchrony, multiuser…wow! 1 CHAPTER 2 HTTP: You are the client, and you are the boss 5 CHAPTER 3 Introducing SignalR 17 CHAPTER 4 Persistent connections 27 CHAPTER 5 Hubs 57 CHAPTER 6 Persistent connections and hubs from other threads 103 CHAPTER 7 Real-time multiplatform applications 117 CHAPTER 8 Deploying and scaling SignalR 151 CHAPTER 9 Advanced topics 181 Index 233 Contents Introduction .................................................... xiii Chapter 1 Internet, asynchrony, multiuser…wow! 1 Chapter 2 HTTP: You are the client, and you are the boss 5 HTTP operations ..................................................5 Polling: The answer?. 7 Push: The server takes the initiative ..................................8 WebSockets .................................................9 Server-Sent Events (API Event Source) .........................11 Push today. 12 The world needs more than just push .........................15 Chapter 3 Introducing SignalR 17 What does SignalR offer? .........................................18 Two levels of abstraction ..........................................19 Supported platforms .............................................20 OWIN and Katana: The new kids on the block .......................21 Installing SignalR .................................................25 Chapter 4 Persistent connections 27 Implementation on the server side .................................28 Mapping and configuring persistent connections ...............28 Events of a persistent connection .............................30 What do you think of this book? We want to hear from you! Microsoft is interested in hearing your feedback so we can continually improve our books and learning resources for you. To participate in a brief online survey, please visit: microsoft.com/learning/booksurvey vii Sending messages to clients .................................32 Asynchronous event processing ..............................34 Connection groups .........................................35 The OWIN startup class ......................................37 Implementation on the client side ..................................38 Initiating the connection by using the JavaScript client ..........38 Support for older browsers ..................................41 Support for cross-domain connections ........................41 Sending messages ..........................................43 Receiving messages .........................................45 Sending additional information to the server. 46 Other events available at the client ...........................47 Transport negotiation ............................................48 Adjusting SignalR configuration parameters. 50 Complete example: Tracking visitors ................................51 Project creation and setup ...................................52 Implementation on the client side ............................53 Implementation on the server side ............................54 Chapter 5 Hubs 57 Server implementation ...........................................58 Hub registration and configuration ...........................58 Creating hubs ..............................................59 Receiving messages .........................................60 Sending messages to clients .................................64 Sending messages to specific users ...........................68 State maintenance. .69 Accessing information about the request context ...............71 Notification of connections and disconnections ................72 Managing groups ...........................................72 Maintaining state at the server ...............................73 Client implementation ............................................78 viii Contents JavaScript clients. .79 Generating the proxy .......................................79 Manual generation of JavaScript proxies .......................81 Establishing the connection ..................................83 Sending messages to the server ..............................86 Sending additional information ...............................89 Receiving messages sent from the server ......................90 Logging ...................................................91 State maintenance. .92 Implementing the client without a proxy ......................93 Complete example: Shared drawing board ..........................96 Project creation and setup ...................................97 Implementation on the client side ............................98 Implementation on the server side ...........................100 Chapter 6 Persistent connections and hubs from other threads 103 Access from other threads. .103 External access using persistent connections ..................105 Complete example: Monitoring connections at the server ......106 Project creation and setup ..................................107 Implementing the website ..................................108 System for tracing requests (server side) ......................109 System for tracing requests (client side) .......................111 External access using hubs .......................................111 Complete example: Progress bar. 113 Project creation and setup ..................................113 Implementation on the client side ...........................114 Implementation on the server side ...........................115 Chapter 7 Real-time multiplatform applications 117 Multiplatform SignalR servers .....................................117 SignalR hosting in non-web applications. .118 SignalR hosting in platforms other than Windows .............126 Contents ix Multiplatform SignalR clients .....................................129 Accessing services from .NET non-web clients .................130 Consumption of services from other platforms ................149 Chapter 8 Deploying and scaling SignalR 151 Growing pains ..................................................152 Scalability in SignalR .............................................155 Scaling on backplanes ...........................................159 Windows Azure Service Bus .................................159 SQL Server ................................................165 Redis .....................................................167 Custom backplanes ..............................................170 Improving performance in SignalR services. 173 Server configuration .......................................174 Monitoring performance ...................................175 Chapter 9 Advanced topics 181 Authorization in SignalR .........................................181 Access control in persistent connections ......................181 Access control in hubs. .182 Client authentication .......................................184 An extensible framework .........................................191 Dependency injection ...........................................196 Manual dependency injection ...............................198 Releasing dependencies ....................................200 Inversion of Control containers ..............................200 Unit testing with SignalR .........................................205 Unit testing of hubs. .211 Unit testing persistent connections ..........................215
Recommended publications
  • Logview Studio Linux Preparation with Mono
    LogView Studio Linux Preparation with Mono 2014 by Dominik Schmidt [email protected] © 2014 Dominik Schmidt / Holger Hemmecke I LogView Studio Table of Contents Part I Linux Prepare 1 1 SSH Co..n..n..e..c..t. ........................................................................................................................ 1 2 Raspbe..r.r.y.. .P..i. ......................................................................................................................... 4 System Prepar..a..t.i.o...n.. ............................................................................................................................................... 5 Mono .......................................................................................................................................................... 6 Install Mono......................................................................................................................................................... 7 Compile Mon..o.. .f.r..o..m.. .T..A...R....................................................................................................................................... 8 Compile Mon..o.. .f.r..o..m.. .G...I.T........................................................................................................................................ 9 Testing ......................................................................................................................................................... 10 3 Cubie.t.r.u..c..k.. .........................................................................................................................
    [Show full text]
  • NET-Microservices-Architecture-For-Containerized-NET-Applications
    i EDITION v2.2.1 DOWNLOAD available at: https://aka.ms/microservicesebook PUBLISHED BY Microsoft Developer Division, .NET and Visual Studio product teams A division of Microsoft Corporation One Microsoft Way Redmond, Washington 98052-6399 Copyright © 2019 by Microsoft Corporation All rights reserved. No part of the contents of this book may be reproduced or transmitted in any form or by any means without the written permission of the publisher. This book is provided “as-is” and expresses the author’s views and opinions. The views, opinions and information expressed in this book, including URL and other Internet website references, may change without notice. Some examples depicted herein are provided for illustration only and are fictitious. No real association or connection is intended or should be inferred. Microsoft and the trademarks listed at http://www.microsoft.com on the “Trademarks” webpage are trademarks of the Microsoft group of companies. Mac and macOS are trademarks of Apple Inc. The Docker whale logo is a registered trademark of Docker, Inc. Used by permission. All other marks and logos are property of their respective owners. Co-Authors: Editors: Cesar de la Torre, Sr. PM, .NET product team, Microsoft Corp. Mike Pope Bill Wagner, Sr. Content Developer, C+E, Microsoft Corp. Steve Hoag Mike Rousos, Principal Software Engineer, DevDiv CAT team, Microsoft Participants and reviewers: Jeffrey Richter, Partner Software Eng, Azure team, Microsoft Steve “ardalis” Smith - Software Architect and Trainer - Ardalis.com Jimmy Bogard, Chief Architect at Headspring Ian Cooper, Coding Architect at Brighter Udi Dahan, Founder & CEO, Particular Software Unai Zorrilla, Architect and Dev Lead at Plain Concepts Jimmy Nilsson, Co-founder and CEO of Factor10 Eduard Tomas, Dev Lead at Plain Concepts Glenn Condron, Sr.
    [Show full text]
  • Real-Time Web Application Development Real-Time Web Development Application
    Vemula FOR PROFESSIONALS BY PROFESSIONALS® Real-Time Web Application Development Application Development Web Real-Time Design, develop, and deploy a real-world web application by leveraging modern open source technologies. This book shows you how to use ASP.NET Core to build cross-platform web applications along with SignalR to enrich the application by enabling real-time communication between server and clients. You will use Docker to containerize your application, integrate with GitHub to package the application, and provide continuous deployment to Azure’s IaaS platform. Along the way, Real-Time Web Application Development covers topics including designing a Materialize CSS theme, using a test-driven development approach with xUnit.net, and securing your application with the OAuth 2.0 protocol. To further your understanding of the technology, you will learn logging and exception handling; navigation using view components; and how to work with forms and validations. The rich code samples from this book can be used to retrofit or upgrade existing ASP.NET Core applications. Real-Time Web You will: • Design and develop a real-world web application • Implement security and data storage with OAuth2 and Azure Table Storage • Orchestrate real-time notifications through SignalR Application • Use GitHub and Travis CI for continuous integration of code • Master Docker containerization and continuous deployment with Docker Cloud to Azure Linux virtual machines Development With ASP.NET Core, SignalR, Docker, and Azure — US $44.99 Rami Vemula ISBN 978-1-4842-3269-9 54499 Shelve in: .NET User Level: Beginning–Intermediate 9781484 232699 SOURCE CODE ONLINE www.apress.com Real-Time Web Application Development With ASP.NET Core, SignalR, Docker, and Azure Rami Vemula Real-Time Web Application Development Rami Vemula Visakhapatnam, Andhra Pradesh, India ISBN-13 (pbk): 978-1-4842-3269-9 ISBN-13 (electronic): 978-1-4842-3270-5 https://doi.org/10.1007/978-1-4842-3270-5 Library of Congress Control Number: 2017960937 Copyright © 2017 by Rami Vemula This work is subject to copyright.
    [Show full text]
  • (DNC) Magazine
    EDITOR’S NOTE @suprotimagarwal Editor in Chief Developers! Developers! Developers! A decade ago, bathed in sweat, Editor In Chief : yelled the one and only Steve Balmer as if he was addressing a sect Suprotim Agarwal that's unlike any other. (suprotimagarwal@ dotnetcurry.com) But why am I bringing this up now? Art Director : Minal Agarwal In the Software ecosystem, change has always been disruptive and has occured more frequently than ever. Contributing Authors : Yacoub Massad Organizations have had the best of intentions while adapting to these Gouri Sohoni frequent changes and have often pondered seriously accelerating their Darren Gillis Daniel Jimenez Garcia digital transformation journey. The actual transformation though has Damir Arh been quite slow due to restraints like time and budget. Benjamin Jakobus That is, until now. Technical Reviewers : Damir Arh The pandemic that began in 2020 forced companies to reformulate Daniel Jimenez Garcia their plans and pivot by setting up remote working environments. Years’ Gouri Sohoni Subodh Sohoni worth of digital transformation, happened in just a matter of months! Suprotim Agarwal And at the center of this were the Developers and IT staff, playing Yacoub Massad a crucial role in this transformation. Sitting in remote locations, and dealing with unprecedented challenges, developers have been working Next Edition : asynchronously to skill, reskill and upskill themselves, and make their April 2021 organizations more agile. Windows, Visual Studio, ASP.NET, Azure, TFS & other Microsoft products & technologies are trademarks of Nobody knows for sure what 2021 and the coming years has in store the Microsoft group of companies. for us. I sincerelly hope it's good for everyone.
    [Show full text]
  • ENERGY EFFICIENCY in RESIDENTIAL BUILDINGS in MOZAMBIQUE Measurements and Simulations
    Report TABK-1027 BZ info: TABK-1027 GABRIEL AUZIANE Rygg: 13,22 = 187 sidor Setup (bxh): 369,22 x 252 Upplaga: 120 Mellanblad: grå and Simulations ENERGY EFFICIENCY IN RESIDENTIAL BUI DINGS MOZAMBIQUE - Measurements Färgsidor: ingen begränsn. ENERGY EFFICIENCY IN RESIDENTIAL BUILDINGS IN MOZAMBIQUE Measurements and Simulations GABRIEL AUZIANE Building Doctoral Thesis Science DEPARTMENT OF CONSTRUCTION SCIENCES DIVISION OF BUILDING SCIENCE ISRN LUTVDG/TABK--15/1027--SE (1-176) | ISSN 1103-4467 ISBN 978-91-7623-159-3 (print) | ISBN 978-91-7623-160-9 (pdf) DOCTORAL THESIS ENERGY EFFICIENCY IN RESIDENTIAL BUILDINGS IN MOZAMBIQUE Measurements and Simulations GABRIEL AUZIANE Copyright © Gabriel Auziane 2015. Printed by Media-Tryck LU, Lund, Sweden, April 2015 (Pl). For information, address: Division of Building Science, LTH, Lund University, Box 118, SE-221 00 Lund, Sweden. Homepage: http://www.bkl.lth.se Acknowledgements I am deeply thankful to my main supervisors, Professor Bertil Fredlund and Associate Professor Susanne Heyden, my co-supervisors Dr. Kurt Källblad, Dr. Daniel Baloi, and the former Head of the Department of Construction Sciences, Professor Göran Sandberg and Professor Anne Landin for offering me the possibility of working in this project and also for support, encouragement, inspiration and patience over the years, without their help and advice this thesis work would never have been successful. Furthermore, I would like to thank the Head of the Division of Structural Mechanics, Professor Erik Serrano and Professors Jesper Arfvidsson and Petter Wallentén, for their supervision of the work and great help in the overall process of this research. I thank Asdi/SAREC for this research receiving financial support through Lund University and Eduardo Mondlane University under the coordination of Prof.
    [Show full text]
  • NET Technology Guide for Business Applications // 1
    .NET Technology Guide for Business Applications Professional Cesar de la Torre David Carmona Visit us today at microsoftpressstore.com • Hundreds of titles available – Books, eBooks, and online resources from industry experts • Free U.S. shipping • eBooks in multiple formats – Read on your computer, tablet, mobile device, or e-reader • Print & eBook Best Value Packs • eBook Deal of the Week – Save up to 60% on featured titles • Newsletter and special offers – Be the first to hear about new releases, specials, and more • Register your book – Get additional benefits Hear about it first. Get the latest news from Microsoft Press sent to your inbox. • New and upcoming books • Special offers • Free eBooks • How-to articles Sign up today at MicrosoftPressStore.com/Newsletters Wait, there’s more... Find more great content and resources in the Microsoft Press Guided Tours app. The Microsoft Press Guided Tours app provides insightful tours by Microsoft Press authors of new and evolving Microsoft technologies. • Share text, code, illustrations, videos, and links with peers and friends • Create and manage highlights and notes • View resources and download code samples • Tag resources as favorites or to read later • Watch explanatory videos • Copy complete code listings and scripts Download from Windows Store Free ebooks From technical overviews to drilldowns on special topics, get free ebooks from Microsoft Press at: www.microsoftvirtualacademy.com/ebooks Download your free ebooks in PDF, EPUB, and/or Mobi for Kindle formats. Look for other great resources at Microsoft Virtual Academy, where you can learn new skills and help advance your career with free Microsoft training delivered by experts.
    [Show full text]
  • KEMPER PROFILER Addendum 8.6 Legal Notice
    KEMPER PROFILER Addendum 8.6 Legal Notice This manual, as well as the software and hardware described in it, is furnished under license and may be used or copied only in accordance with the terms of such license. The content of this manual is furnished for informational use only, is subject to change without notice and should not be construed as a commitment by Kemper GmbH. Kemper GmbH assumes no responsibility or liability for any errors or inaccuracies that may appear in this book. Except as permitted by such license, no part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, recording, by smoke signals or otherwise without the prior written permission of Kemper GmbH. KEMPER™, PROFILER™, PROFILE™, PROFILING™, PROFILER PowerHead™, PROFILER PowerRack™, PROFILER Stage™, PROFILER Remote™, KEMPER Kone™, KEMPER Kabinet™, KEMPER Power Kabinet™, KEMPER Rig Exchange™, KEMPER Rig Manager™, PURE CABINET™, and CabDriver™ are trademarks of Kemper GmbH. All features and specifications are subject to change without notice. (Rev. September 2021). © Copyright 2021 Kemper GmbH. All rights reserved. www.kemper-amps.com Table of Contents What is new? 1 What is new in version 8.6? 2 Double Tracker 2 Acoustic Simulator Enhancements 3 Auto Swell Sensitivity 3 PROFILER Stage Wi-Fi Enhancement 4 What is new in version 8.5? 5 Important Hints for Users of KEMPER Power Kabinet 5 KEMPER Rig Manager for iOS®* 6 Wi-Fi with PROFILER Stage 9 What is new in version 8.2? 11 Power Amp
    [Show full text]
  • Practical Migration to Linux on System Z
    Front cover Practical Migration to Linux on System z Overview and migration methodology Migration analysis Hands-on migration case study Lydia Parziale Joseph Apuzzo Saulo Augusto M Martins da Silva Louis Henderson Manoj Srinivasan Pattabhiraman Richard Sewell ibm.com/redbooks International Technical Support Organization Practical Migration to Linux on System z October 2009 SG24-7727-00 Note: Before using this information and the product it supports, read the information in “Notices” on page xi. First Edition (October 2009) This edition applies to z/VM Version 5.3 and Version 5.4, Novell SUSE Linux Enterprise Server Version 10 and Version 11, and Red Hat Enterprise Linux Version 5.3. © Copyright International Business Machines Corporation 2009. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Notices . xi Trademarks . xii Preface . xv The team who wrote this book . xv Become a published author . xviii Comments welcome. xviii Part 1. Overview and migration methodology . 1 Chapter 1. Migration considerations . 3 1.1 Reason to migrate systems. 4 1.1.1 How green is your data center . 4 1.1.2 The IBM Big Green server consolidation . 7 1.2 Benefits of migrating to Linux on System z . 7 1.3 Reasons to select Linux on System z . 9 1.3.1 System z strengths . 10 1.3.2 Value of Linux on System z. 12 1.3.3 Choosing workloads to migrate to IBM System z . 13 1.4 z/VM virtualization for Linux on IBM System z .
    [Show full text]
  • Pipenightdreams Osgcal-Doc Mumudvb Mpg123-Alsa Tbb
    pipenightdreams osgcal-doc mumudvb mpg123-alsa tbb-examples libgammu4-dbg gcc-4.1-doc snort-rules-default davical cutmp3 libevolution5.0-cil aspell-am python-gobject-doc openoffice.org-l10n-mn libc6-xen xserver-xorg trophy-data t38modem pioneers-console libnb-platform10-java libgtkglext1-ruby libboost-wave1.39-dev drgenius bfbtester libchromexvmcpro1 isdnutils-xtools ubuntuone-client openoffice.org2-math openoffice.org-l10n-lt lsb-cxx-ia32 kdeartwork-emoticons-kde4 wmpuzzle trafshow python-plplot lx-gdb link-monitor-applet libscm-dev liblog-agent-logger-perl libccrtp-doc libclass-throwable-perl kde-i18n-csb jack-jconv hamradio-menus coinor-libvol-doc msx-emulator bitbake nabi language-pack-gnome-zh libpaperg popularity-contest xracer-tools xfont-nexus opendrim-lmp-baseserver libvorbisfile-ruby liblinebreak-doc libgfcui-2.0-0c2a-dbg libblacs-mpi-dev dict-freedict-spa-eng blender-ogrexml aspell-da x11-apps openoffice.org-l10n-lv openoffice.org-l10n-nl pnmtopng libodbcinstq1 libhsqldb-java-doc libmono-addins-gui0.2-cil sg3-utils linux-backports-modules-alsa-2.6.31-19-generic yorick-yeti-gsl python-pymssql plasma-widget-cpuload mcpp gpsim-lcd cl-csv libhtml-clean-perl asterisk-dbg apt-dater-dbg libgnome-mag1-dev language-pack-gnome-yo python-crypto svn-autoreleasedeb sugar-terminal-activity mii-diag maria-doc libplexus-component-api-java-doc libhugs-hgl-bundled libchipcard-libgwenhywfar47-plugins libghc6-random-dev freefem3d ezmlm cakephp-scripts aspell-ar ara-byte not+sparc openoffice.org-l10n-nn linux-backports-modules-karmic-generic-pae
    [Show full text]
  • What Every Engineer Should Know About Developing Real-Time
    Contents What Every Engineer Should Know: Series Statement................ xv Preface. ................................................................. xvii Author. ................................................................. xix Acknowledgments . ................................................... xx List of Abbreviations................................................... xxi 1 Development Processes . ......................................... 1 1.1 Introduction ............................................... 1 1.2 Concept and Market ...................................... 5 1.3 People and Disciplines . .................................. 7 1.4 Architecting and Architecture . ......................... 8 1.5 Phases of a Project . ....................................... 16 1.6 Scheduling. ................................................ 19 1.7 Documentation . ........................................... 21 1.8 Requirements and Standards ............................. 24 1.9 Analysis . ................................................ 30 1.10 Design Trade-Offs. ....................................... 31 1.11 Tests . .................................................... 38 1.12 Integration. ................................................ 42 1.13 Manufacturing. ........................................... 44 1.14 Support .................................................... 45 1.15 Disposal . ................................................ 47 1.16 Liability.................................................... 48 1.17 Priorities. ...............................................
    [Show full text]
  • Redhat and Microsoft
    Liens Présentation : http://bit.ly/14juin2018 GitHub des démonstrations : https://github.com/mathieu-benoit/RedHatOpenShiftAndMicrosoftAzureWorkshop Vers OpenShift sur Azure Multiplateforme Windows, Linux and macOS. Rapide Une des technologies web la plus rapide selon les tests de TechEmpower Léger Aucun déploiement d'impact et un modèle de développement modulaire parfait pour les conteneurs Open source Runtime, bibliothèques, compilateur, langues et outils développés dans GitHub Données provenant des tests officiels disponibles àTechEmpower Round 14. “En utilisant le serveur de même taille, nous avons pu passer de 1 000 demandes par seconde par noeud avec Node. js à 20 000 requêtes par seconde avec .Net Core. "— Raygun https://www.microsoft.com/net/customers IdentityManager ASP.NET Core MEF .NET Core Mailkit Kudu Mono Cecil Microsoft Azure SDK for .NET Cake Xamarin.Auth xUnit.net Open Live Writer Mimekit WCF Nancy Couchbase Lite for .NET ASP.NET Web Pages Umbraco LLILC Orchard CMS System.Drawing Open XML SDK IdentityServer ASP.NET MVC OWIN Authentication Middleware NuGet Polly Orleans Microsoft Azure WebJobs SDK Prism Xamarin.Mobile Salesforce Toolkits for .NET ASP.NET SignalR ASP.NET Web API .NET SDK for Hadoop Xamarin SDK WorldWide Telescope Entity Framework Benchmark.NET MVVM Light Toolkit .NET Compiler Platform ("Roslyn") MSBuild ASP.NET AJAX Control Toolkit ProtoBuild eSHOP Référence d’application e onCONTAINERS microservices avec .Net Core Explorez et fournissez vos commentaires: http://aka.ms/MicroservicesArchitecture Shopping Cart Service Catalog Service Inventory Service WEB APP Shipping Service Account Service Azure Container Registry (ACR) Gérer un registre privé de Docker en tant que ressource Azure de première classe Gérer des images pour Utilisez des outils CLI de Geo-réplication du tous les types de Docker familiers et registre de conteneurs conteneurs ouverts Azure Démo ACR - L’expérience du portail Azure Visual Studio Team Services Team Foundation Server DevOps Value cspkg Measure Kubernetes… Service 2.
    [Show full text]
  • Autofac Documentation Release 6.0.0
    Autofac Documentation Release 6.0.0 Autofac Project Jul 11, 2021 Contents 1 Getting Started 3 1.1 Structuring the Application.......................................3 1.2 Add Autofac References.........................................5 1.3 Application Startup............................................5 1.4 Application Execution..........................................6 1.5 Going Further..............................................8 1.6 Need Help?................................................8 1.7 Building from Source..........................................8 2 What’s New 9 2.1 Release Notes..............................................9 2.2 Upgrading from Autofac 5.x to 6.x................................... 10 2.3 Upgrading from Autofac 3.x to 4.x................................... 12 3 Registering Components 15 3.1 Registration Concepts.......................................... 15 3.1.1 Reflection Components..................................... 16 3.1.2 Instance Components...................................... 17 3.1.3 Lambda Expression Components................................ 17 3.1.4 Open Generic Components................................... 19 3.1.5 Services vs. Components.................................... 19 3.1.6 Default Registrations...................................... 20 3.1.7 Conditional Registration.................................... 20 3.1.8 Configuration of Registrations................................. 22 3.1.9 Dynamically-Provided Registrations.............................. 22 3.2 Passing Parameters to Register.....................................
    [Show full text]