Created by the Community for the Community BizTalk 2009 Webcast Series.
-
Upload
bryce-york -
Category
Documents
-
view
216 -
download
0
Transcript of Created by the Community for the Community BizTalk 2009 Webcast Series.
Created by the Communityfor the Community
BizTalk 2009 Webcast Series
LIGHT AND EASY
Created by the Communityfor the Community
Implementing BizTalk RFID Mobile Solutions
Mick BadranMVP – Microsoft Virtual TS + Super dad!Breeze – http://breeze.net
BizTalk Light and Easy Webcast Series
Created by the Communityfor the Community
Session Agenda
BizTalk RFID Mobile Architecture
RFID Mobile Prerequisites
Getting Started with BizTalk RFID Mobile
Major Components and Code Snippets (Demo)
Summary
Created by the Communityfor the Community
BizTalk RFID Mobile Architecture
Created by the Communityfor the Community
BizTalk RFID Mobile Architecture
Created by the Communityfor the Community
BizTalk RFID Mobile ArchitectureBizTalk RFID Mobile applications:
Are a standard Windows Mobile Application typically built out of VS.NET2005/2008+ (x86/x64). RFID Mobile extensions are .NETCF assemblies.Same RFID classes exist in RFID Mobile as in RFID Server (cut-down though)*Difference* - no ‘RFID Processes’ exist in RFID Mobile. Your application is the ‘Process space’Can run in Standalone Mode – no need for Server connectivity. E.g. building maintenance inventory tracking.Can forward events back to RFID Server through a durable store/forward technique.Can read Tags in Sync/Async mode (Provider dependant)RFID Mobile can use Storage Cards for Database locations.
Created by the Communityfor the Community
BizTalk RFID Mobile Architecture…
BizTalk RFID Mobile Framework:Installed onto the Device (approx 2MB) under \Program Files\BizTalkRfidMobileAllows for Provider/Device Metadata Management through a Configuration DB (SqlCe)Logging.Main functional areas:
RFID Mobile Management – Stop/Start Providers/DevicesCustom Provider creationSync/Async Tag Commands – gettags()…Tag Data Translation(TDT) – EPC standards based library allowing for manipulation of TagIDs and their data.Local Event Storage or Store/Forward back to RFID Server.
Created by the Communityfor the Community
BizTalk RFID Mobile Architecture…
If you are building your own Mobile Provider:
BizTalk RFID Mobile comes with its own Mobile Provider Certification Tool (PCT)Installs onto the Windows Mobile Device and executed from there.PCT runs a set of comprehensive tests on your custom Provider. E.g Property/Metadata management, Tag Reads, No Tag Reads, Exception handling etc.Produces a report which can be analyzed.Great troubleshooting tool enabling more robust Provider Development.
Created by the Communityfor the Community
BizTalk RFID Mobile Prerequisites
Created by the Communityfor the Community
BizTalk RFID PrerequistesO/S - Windows CE 5.0+
.NETCF 2.0+ (on ‘most’ newer devices tends to be in firmware)
SqlCe 3.5 sp1 for Event Storage. SqlCe has 3 main components:
SqlCe Runtime – requiredSqlCe Developer lib – Query Analyzer & Detailed Error MessagesSqlCe Replication lib – SqlCe Merge Replication
http://www.microsoft.com/sqlserver/2008/en/us/compact.aspx
Created by the Communityfor the Community
BizTalk RFID PrerequistesRFID Mobile .NETCF Framework – approx 2MB
Destkop Install – BizTalk RFID Mobile Installation extracts out the required files to be deployed down to the device. No ‘desktop/server’ applications installed...\BizTalk RFID Mobile\x86 (or x64)\Setup.exe
After ‘Desktop Install’ RFID Mobile Files can be found here:C:\Program Files\Microsoft BizTalk RFID\SDK\
Mobile\v1.1
..\Bin – assemblies to reference in VS.NET
..\Bin\WCE500 – mobile runtime, runtime with extra pieces e.g. sample tag read application, custom Provider...\Documentation – Handy
Created by the Communityfor the Community
Getting Started with BizTalk RFID Mobile
Created by the Communityfor the Community
Getting Started Steps1. Create a SmartDevice Windows Application
Project in Visual Studio.NET2. Reference the BizTalk RFID Mobile dlls from:
C:\Program Files\Microsoft BizTalk RFID\SDK\Mobile\v1.1\bin
3. Reference the appropriate Mobile Provider dlls4. Build Out your application5. Attach (& cradle) your Physical Windows Mobile
Device – if you’re using one.6. Deploy your compiled application to either the
Windows Mobile Emulator or Physical Device7. Test/Debug as appropriate.
Created by the Communityfor the Community
Major Components and Code Snippets Time…
Created by the Communityfor the Community
Major Components
1. ProviderManagerProxy2. DeviceConnection3. Tag Data Translation (TDT)
Library4. NotificationStorage5. RfidServerConnector
Created by the Communityfor the Community
Major Components and Code1. ProviderManagerProxy – used to
Stop/Start/Register/Unregister Providers + Discover Devices.
Created by the Communityfor the Community
Major Components and Code -II1. DeviceConnection – used to the ‘Device’ to
Set/Get Properties; Read/Write Tags
Created by the Communityfor the Community
Major Components and Code -III1. Tag Data Translation (TDT) – library used for
easy manipulation of Tags and their data. E.g. look a the ‘Sgtin96Encoding’ section
Created by the Communityfor the Community
Major Components and Code -IV1. NotificationStorage – used for storing Tag Reads
locally. Will automatically create the SqlCe DB + Schema if needed.Can be used with existing Application DBs too.
Created by the Communityfor the Community
Major Components and Code -V1. RfidServerConnector – Store/Forward used for
sending Tag Reads back to the RFID Server. Uses a local DB if the device is not connected and will automatically send Tags when connected.
Created by the Communityfor the Community
SummaryBizTalk RFID Mobile allows for greater flexibility within systems, while reducing infrastructure setup costs.Can build RFID capabilities into an existing application.Easy transition for existing .NET Developers.Tag Events can still be processed centrallyMonitoring and Management of Mobile Devices is done centrally through System Center.
Created by the Communityfor the Community
Building your first RFID Mobile Application
DEMO…
Created by the Communityfor the Community
SummaryBizTalk RFID Mobile is exposed as .NETCF assemblies.Mobile DSPI Provider Model structure.Easy skill up for .NET Developer.Apps can be standalone.Apps can be tightly integrated with BizTalk RFID Server.Easily integrate into *your* applications.
© 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.
BizTalk Light and Easy Webcast Series
Created by the Community for the CommunityMeet the team….