Under the Hood on Extending the My Namespace Joe Binder TLN414 Program Manager Microsoft Corporation.

Slides:



Advertisements
Similar presentations
DEV392: Extending SharePoint Products And Technologies Through Web Parts And ASP.NET Clint Covington, Program Manager Data And Developer Services - Office.
Advertisements

Building Enterprise Applications Using Visual Studio ®.NET Enterprise Architect.
IIS7: Building New Core Server Modules Michael Volodarsky COM406 Program Manager Microsoft Corporation.
What’s New for Smart Client Developers in Visual Studio 2005? Mike Pelton Systems Engineer Microsoft Ltd
IIS 7: The Next Generation Web Application Server Platform Michael Volodarsky Program Manager Web Platform and Tools Team Microsoft Corporation.
Understanding Active Directory
Connect with life Praveen Srvatsa Director | AsthraSoft Consulting Microsoft Regional Director, Bangalore Microsoft MVP, ASP.NET.
Future Directions for Leveraging Advanced XML Tools and Building Custom XML Solutions Denise Draper DAT321 Microsoft Corporation.
Punit Shah Technical Lead | Microsoft
1 Developing Rules Driven Workflows in Windows Workflow Foundation Jurgen Willis COM318 Program Manager Microsoft Corporation.
McGraw-Hill© 2007 The McGraw-Hill Companies, Inc. All rights reserved. 1-1.
Introducing Visual Studio ® LightSwitch™ Andrew Coates Microsoft DEV201 #auteched #dev201.
Deploying PKI Inside Microsoft The experience of Microsoft in deploying its own corporate PKI Published: December 2003.
Future Directions: Building Customizable Applications using.NET Eric Schnepp TLN205 Lead Program Manager Microsoft Corporation.
Anand Raman, Group Manager David Wright, Lead SDE Developer Division March 15, 2007.
Microsoft Dynamics AX 2009 Integration and Development with the.NET Framework Introduction to the Course.
WEB 304 An Overview of ASP.NET and Windows Workflow Foundation Kashif Alam Program Manager Developer Division Microsoft Corporation.
DAT305 Boost Your Data-Driven Application Development Using SQL Server Centric.NET Code Generator Pascal Belaud Microsoft France.
DEV325 Deploying Visual Studio.NET Applications Billy Hollis Author / Consultant.
Upgrading Applications to VB.NET Leveraging Your Visual Basic 6 Investments with VB 2005 & the Interop Forms Toolkit 2.0 Jonathan Aneja Program Manager.
Slide 1.NET Development for Project 2003 Samples from the Project 2003 SDK Jim Corbin Programmer Writer Office Developer Documentation Microsoft Corporation.
Visual Studio 2005 Team System Winning the testing space with advanced testing tools Eric Adams Program Manager Visual Studio 2005 Team System Microsoft.
DEV333 Instrumenting Applications for Manageability with the Enterprise Instrumentation Framework David Keogh Program Manager Visual Studio Enterprise.
Separating the Interface from the Engine: Creating Custom Add-in Tasks for SAS Enterprise Guide ® Peter Eberhardt Fernwood Consulting Group Inc.
Web Services Error Handling and Debugging. Agenda Simple SOAP faults Advanced SOAP faults SOAP headers and faults Error handling From a Service Perspective.
Rahul Garg National Technology Specialist Microsoft Australia SOA303.
Connect with life Vedant Kulshreshtha Technology Solutions Professional – SharePoint | Microsoft India
MSG331 Exchange Server 2000/2003 Software Development Kit Susan Hill Lead Programmer Writer Microsoft Corporation.
DBA331 Managing a Microsoft SQL Server 2000 Reporting Services Implementation Brian Welcker Group Program Manager SQL Server Microsoft Corporation.
Windows Forms in Visual Studio 2005: An in-depth look at key features Name: Joe Stegman Title: Lead Program Manager Session code.
Longhorn Search and Organize User And Developer Experience Paul Cutsinger – Lead Program Manager Kerem Karatal – Lead Program Manager Microsoft Corporation.
1 Visual Basic “Whidbey”: RAD for the Visual Basic Developer Jay Schmelzer and Shamez Rajan Program Manager Microsoft Corporation Jay Schmelzer and Shamez.
Microsoft Visual Studio 2005 Tools for the Office System: Building Office Solutions Using Visual Studio 2005 Tools for Office Andrew Coates Developer Evangelist.
Making The Most Of RFID In Your Applications Anush Kumar DATL01 Program Manager Microsoft Corporation
EMEA Beat Schwegler Architect Microsoft EMEA HQ Ingo Rammer Principal Consultant thinktecture
Ken Casada Developer Evangelist Microsoft Switzerland Visual Studio LightSwitch.
ASP.NET 2.0 Security Alex Mackman CM Group Ltd
Developing Custom ASP.NET Providers For Membership And Role Manager Stefan Schackow PRS404 Program Manager – Web Platform and Tools Microsoft Corporation.
 Cloud Computing technology basics Platform Evolution Advantages  Microsoft Windows Azure technology basics Windows Azure – A Lap around the platform.
Advanced Windows Mobile Application Development
Microsoft Ignite /10/2018 3:38 AM
About Bill Bill Baer (ˈbɛər)
Microsoft Ignite /4/2018 8:46 AM
Deployment Planning Services
Managing the Solution Lifecycle for xRM Applications
Visual Studio Tools for Office 2005
Enterprise Library Overview
Excel Services Deployment and Administration
ADO.NET Entity Framework Marcus Tillett
Module 1: Getting Started
Overview of Social Computing in Microsoft SharePoint 2010
DotnetConf 11/14/2018 3:27 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE.
Working with different JavaScript frameworks and libraries
12/9/2018 Desktop Virtualization Corey Hynes Kyle Rosenthal President Technical Lead HynesITe Inc Spider Consulting @windowspcguy.
Tech Ed North America /1/ :36 AM Required Slide
Intro to Workflow Services and Windows Server AppFabric
What's New in Visual Studio 2005
Visual Studio 2005 Tools For Office: Creating A Multi-tier Application
Jochen Seemann Program Manager Enterprise Tools Microsoft Corporation
Microsoft SharePoint Conference 2009 Jon Flanders
Visual Studio 2010 SharePoint Development Tools Overview
2010 Microsoft BI Conference
Office 365 Development.
Delivering great hardware solutions for Windows
Service Template Creation from the Ground Up
How and When to Use MEF: Too Much Is Never Enough
Service Template Creation from the Ground Up
Build /20/2019 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Windows Forms in Visual Studio 2005: An in-depth look at key features
Microsoft Virtual Academy
Presentation transcript:

Under the Hood on Extending the My Namespace Joe Binder TLN414 Program Manager Microsoft Corporation

Agenda Design goals My and the.NET Framework Extensibility Model Customizing My, Step-by-Step Deploying My Extensions and Customizations Questions

The My Namespace Vision … To provide a highly approachable, unified runtime environment for Visual Basic developers.

Design Pillars Task-based APIs Default configurations for extensible components Promote best-practice usage patterns Use.NET Framework constructs directly

Example Interaction Model My.Application.Log.NET Framework 2.0 contains powerful and extensible tracing architecture Highly factored design Enterprise scenarios require extension to existing services Configuration is hard! My.Application.Log provides a simple entry point and default configuration

My.Application.Log

Inside The My Namespace Extensibility Points My Application Computer User Resources Settings Forms WebServices — Customize application model, events, … — Add device support, hardware events, … — Custom authorization and authentication — Use external store (e.g., settings) for settings Devices — Add new top-level properties

Inside The My Namespace Architectural Overview WindowsApplication1 Namespace My ReadOnly Property Application As MyApplication ReadOnly Property Application As MyApplication Class MyApplication Class MyApplication Inherits ApplicationServices.ApplicationBase Inherits ApplicationServices.ApplicationBase End Class End Class End Namespace Microsoft.VisualBasic.dll Namespace ApplicationServices Public Class ApplicationBase Public Class ApplicationBase ReadOnly Property Log As Log ReadOnly Property Log As Log … End Class End Class End Namespace

Extending My at the Root-Level Adding My.Devices to the Hierarchy

Application Model Architectural Overview Shared Sub Main(ByVal Args As String()) My.Application.Run(Args) End Sub Namespace My Partial Friend Class MyApplication Partial Friend Class MyApplication Inherits WindowsFormsApplicationBase Inherits WindowsFormsApplicationBase End Class End Class End Namespace Namespace Microsoft.VisualBasic.ApplicationServices Class WindowsFormsApplicationBase Class WindowsFormsApplicationBase Inherits ConsoleApplicationBase Inherits ConsoleApplicationBase End Class End Class End Namespace Startup NetStatusChanged …

Extending the Application Model

My.Settings Architectural Overview SettingsBase ApplicationSettingsBase My.Settings Property FavoriteColor As Color Property LastLoggedIn As Date … SettingsProvider LocalFileSettingsProvider <userSettings> 0, 192, 0 0, 192, 0 </userSettings>

Implementing a Custom Settings Provider

Customizing My.User Thin wrapper atop IPrincipal/IIdentity WindowsPrincipal used as default Custom Authentication and Authorization are wired in through IPrincipal/IIdentity My.User IPrincipal IIdentity WindowsPrincipal WindowsIdentity

Customizing My.User Leveraging ASP.NET Personalization in Windows Forms

Extending the My Namespace Design Guidelines Stateless APIs when appropriate Global Instances. Simple Parameter Types Factory Methods Thread-safe.NET Framework Guidelines still apply!

Extending the My Namespace Deployment Class libraries factored into standalone assemblies Extensibility code factored into Visual Studio Template All components packaged and deployed as.VSI CustomTypes.dll MyAppExtension.vb.vstemplate.vsi

Where to go from here? Attend HOL TLN023! Stop by Tools & Language Track Lounge! Additional resources: /07/My/default.aspx /07/My/default.aspx ?pull=/library/en-us/dnvs05/html/vbmy.asp ?pull=/library/en-us/dnvs05/html/vbmy.asp

Questions

Two ways to access Online Evaluation Forms: 1.CommNet stations located throughout conference venues 2.From any wired or wireless connection to: For more information please refer to your Pocket Guide Please Complete An Evaluation Form Your Input Is Important!

© 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.