DAT300 SQL Server Notification Services: Application Development Ken Henderson Technical Lead, SQL Server Support Microsoft Corporation

Slides:



Advertisements
Similar presentations
Faith Allington Program Manager Microsoft Corporation WSV322.
Advertisements

SQL Server 2000 Notification Services Bart De Smet [MVP]
Brian Alderman | MCT, CEO / Founder of MicroTechPoint Pete Harris | Microsoft Senior Content Publisher.
DEV392: Extending SharePoint Products And Technologies Through Web Parts And ASP.NET Clint Covington, Program Manager Data And Developer Services - Office.
ManageEngine TM Applications Manager 8 Monitoring Custom Applications.
Performed by:Gidi Getter Svetlana Klinovsky Supervised by:Viktor Kulikov 08/03/2009.
4/17/2017 7:07 AM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
 Andrew Bybee Principal Program Manager Microsoft Corporation  Nirav Shah Senior Development Lead Microsoft Corporation BB32.
IIS 7: The Next Generation Web Application Server Platform Michael Volodarsky Program Manager Web Platform and Tools Team Microsoft Corporation.
Virtual techdays INDIA │ august 2010 Building ASP.NET applications using SQL Server Compact Chaitanya Solapurkar │ Partner Technical Consultant,
Connect with life Praveen Srvatsa Director | AsthraSoft Consulting Microsoft Regional Director, Bangalore Microsoft MVP, ASP.NET.
Enterprise Reporting with Reporting Services SQL Server 2005 Donald Farmer Group Program Manager Microsoft Corporation.
DAT304 Leveraging XML and HTTP with Sql Server Irwin Dolobowsky Program Manager Webdata Group.
OFC302 Building Smart Document Solutions in Word & Excel Martin Sawicki Lead Program Manager.
DBA230 Introducing SQL Server 2000 Reporting Services Jason Carlson Product Unit Manager SQL Server Microsoft Corporation.
DEV317 Integrating Extensible Business Graphics into Enterprise Applications using Visio 2003 Mai-lan Tomsen Bukovec Program Manager.
OFC 322 Building Office Research Web Services: Exposing Corporate Data Through Office Brian Jones Program Manager Authoring Services Martin Sawicki Lead.
Native Support for Web Services  Native Web services access  Enables cross platform interoperability  Reduces middle-tier dependency (no IIS)  Simplifies.
OFC304 Excel 2003 Overview: XML Support Joseph Chirilov Program Manager.
DAT336 SQL Server “Yukon” – The Future of Business Intelligence Jason Carlson Product Unit Manager SQL Server Microsoft Corporation Brian Welcker Microsoft.
Developing Reporting Solutions with SQL Server
OFC293 Microsoft Office Access 2003 Overview SharePoint & XML Integration Richard Dickinson Program Manager.
DBSQL 14-1 Copyright © Genetic Computer School 2009 Chapter 14 Microsoft SQL Server.
DAT305 Boost Your Data-Driven Application Development Using SQL Server Centric.NET Code Generator Pascal Belaud Microsoft France.
OFC 303 Advanced Word XML: Customer-Defined Schemas Brian Jones Program Manager Authoring Services.
Slide 2 The Microsoft Office Project 2003 Software Development Kit Jim Corbin Programmer Writer Office Developer Documentation Microsoft Corporation Uma.
DEV325 Deploying Visual Studio.NET Applications Billy Hollis Author / Consultant.
OFC290 Information Rights Management in Microsoft Office 2003 Lauren Antonoff Group Program Manager.
OFC 308 Advanced Word XML: The WordML Schema and Bringing Everything Together Brian Jones Program Manager Authoring Services.
Demystifying MS SQL Server Notification Services Andre Dovgal Senior Technology Architect, Visiphor Corporation.
Slide 1.NET Development for Project 2003 Samples from the Project 2003 SDK Jim Corbin Programmer Writer Office Developer Documentation Microsoft Corporation.
DAT300 Notification Services Programming: Introduction DAT300 Notification Services Programming: Introduction Tete Mensa-Annan Program Manager SQL Server.
Paul Butterworth Management Technology Architect
DEV333 Instrumenting Applications for Manageability with the Enterprise Instrumentation Framework David Keogh Program Manager Visual Studio Enterprise.
Windows Role-Based Access Control Longhorn Update
MBL206 A First Look at the Microsoft Location Server (MLS) Steve Lombardi Technical Product Manager MapPoint Business Unit Microsoft Corporation.
EBZ 321 Extending CMS 2002 Publishing Processes Scott Fynn Microsoft Consulting Services National Practices.
OFC291 Microsoft® Office Word XML (part 1 of 3): Introduction Martin Sawicki Lead Program Manager.
DEV303 ASP.NET: Leveraging Visual Studio.NET For Web Projects Tony Goodhew Product Manager Microsoft Corp.
DAT 332 SQL Server 2000 Data Transformation Services (DTS) Best Practices Euan Garden Product Unit Manager SQL Server Development Microsoft Corporation.
DEV330 Visual Studio.NET IDE Tips and Tricks Billy Hollis Author / consultant.
DEV395 No Touch Deployment for Windows Forms Jamie Cool Program Manager.NET Client Microsoft Corporation.
DBA331 Managing a Microsoft SQL Server 2000 Reporting Services Implementation Brian Welcker Group Program Manager SQL Server Microsoft Corporation.
Developing SQL Server 2000 Reporting Services Applications Brian Welcker Group Program Manager SQL Server Reporting Services Microsoft Corporation.
EBIZ302 Jupiter Business Process Automation and Web Services David Fong Program Manager.
DEV332 Programming for the Middle Tier in Visual Basic.NET Billy Hollis Author / Consultant.
DAT 405 Extreme SqlXml Irwin Dolobowsky Program Manager – SqlXml Microsoft Corporation.
DEV414 Black-belt ASP.NET Tips And Tricks For Your ASP.NET Applications Rob Howard Program Manager Web Platform and Tools Team.
MSG 334 Creating Exchange Administrative Scripting for the Non-Programmer Susan Hill Lead Programmer Writer Microsoft Corporation.
OFC311 Developing Microsoft Office InfoPath 2003 Solutions: Technical Drilldown Part 1 Tudor Toma Group Program Manager Office Microsoft Corporation.
The 2007 Microsoft Office System Servers Enterprise Content Management, Workflow and Forms Martin Parry Developer and Platform Group, Microsoft Ltd
Tips and Tricks for Debugging ASP.NET Web Applications and Services Habib Heydarian TLNL05 Program Manager Microsoft Corporation.
Integrating and Extending Workflow 8 AA301 Carl Sykes Ed Heaney.
Windows Azure and iOS Chris Risner Windows Azure Technical Evangelist Microsoft
 Cloud Computing technology basics Platform Evolution Advantages  Microsoft Windows Azure technology basics Windows Azure – A Lap around the platform.
Pulling Data into the Model. Agenda Overview BI Development Studio Integration Services Solutions Integration Services Packages DTS to SSIS.
DAT 390 Advanced ADO.NET Programming Techniques Jackie Goldstein Renaissance Computer Systems
ASP.NET 2.0 Mohammed Abdelhadi Developer.NET Evangelist Microsoft Corporation.
SQL Notification Service와 SMS를 활용한 모바일 솔루션
Introducing SQL Server 2000 Reporting Services
Introduction to ASP.NET 2.0
12/9/2018 Desktop Virtualization Corey Hynes Kyle Rosenthal President Technical Lead HynesITe Inc Spider Consulting @windowspcguy.
TechEd /15/2019 8:08 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Visual Studio 2010 SharePoint Development Tools Overview
Service Template Creation from the Ground Up
Service Template Creation from the Ground Up
Windows Forms in Visual Studio 2005: An in-depth look at key features
Introduction to ASP.NET Parts 1 & 2
SharePoint 2007 Developer Overview Collaboration BI Features
Mark Quirk Head of Technology Developer & Platform Group
Presentation transcript:

DAT300 SQL Server Notification Services: Application Development Ken Henderson Technical Lead, SQL Server Support Microsoft Corporation

Development Process ASP ASP.NET VB Script C#, VB.NET VB Script T-SQL Script XML T-SQL Events Subscriptions Subscribers Notifications Match Rules Define Schemas and Rules Web Application Subscribers Subscriptions Events nscontrol create, register, update Build the SMA Load Sample Data Compile the application Extend the platformBuild the foundation XSLT C# VB.NET Event Providers, Content Formatters, Delivery Protocols Add Custom Components Operations T-SQL Perfmon SQLNS reports Integrate for end to end testing Tasks Focus Skills set

Demo Outline: Stock Quotes Notifications  More sources of events (SQL Provider)  Richer notifications (Content Formatter)  File System Watcher for events  Xslt content formatter  for notifications Define Schemas Test application using built-in features Extend the platform  Events, subscriptions, notifications  Write Match rule

NS Instance Makes it possible for two or more applications to share the same set of subscribers Multithreaded Windows Service Hosts threads for Event Providers, Generator, Distributor Multiple Instances per computer Test and production Instance may span multiple computers E.g., multiple Distributors Defined by an xml configuration file NewsStockSports Subscribers StockInstance

NS Application Defines the logic of your notification application One or more per instance Entirely defined by an application definition file Schemas for Events, Subscriptions, Notifications Match rules Content Formatters Event providers Delivery protocols

Building The Foundation: Defining Schemas and Rules Model your Events as rows in a SQL table Model your subscriptions as rows in a table Use the power of SQL to write your match rule Format the raw notification using a basic xslt

Building The Foundation: ’Compiling’ the application nscontrol create Reads config. / ADF xml files Creates supporting databases, tables, views, stored procs… nscontrol register (on every machine running the service) Specify Windows/SQL credentials/encryption key Installs a multi threaded Windows service per instance Registers perfmon counters and SQLNS keys nscontrol enable Activates EP, GP, DP Start instance Event Provider disabled Generator disabled Distributor disabled Event Provider enabled Generator enabled Distributor enabled Event Provider enabled Generator enabled Distributor enabled Config InstanceApp1 App2 App3 ADF1 ADF2 ADF3

Building The Foundation: Loading Sample Data Load sample data: Subscribers, subscriptions, events Pick data that will generate notifications! Use built-in components FileSystemWatcher, xslt, smtp How? Subscribers and subscriptions: ASP, ASP.NET (unlikely at this stage of development, unless you are a UI god!) VB Script, using our object model C++, C#, VB, VB.NET, using our object model Events: using the File System Watcher provider C++, C#, VB, VB.NET, using our object model NEVER insert data directly in the SQLNS tables!

Building The Foundation VBS scripts Data Change s ExternalDeliveryExternalDelivery Event Provider Events Subscribers Subscriber Devices Subscriptions Notifications GeneratorDistributor SQL Match Rule File System Watcher Event Provider Host XSLT CF XSLT

Building The Foundation demo demo

Extending the platform VBS scripts Data Change s ExternalDeliveryExternalDelivery Event Provider Events Subscribers Subscriber Devices Subscriptions Notifications GeneratorDistributor SQL Match Rule File System Watcher Event Provider Host XSLT CF XSLT SQL Server provider

Event Providers: Example: SQL Server Event Provider Event Providers Get data into the Events table Built-in: FileSystemWatcher, SQL Provider SQL Server Event Provider Hosted by the Event Provider Host Executes a SQL query on a schedule to retrieve changes Store changes as data in the events table Events Data Source SQL Server provider Event Provider Host Query PostQuery Schedule Changes

SQL Server Event Provider Generator

SQL Server Provider demo demo

Extending the platform VBS scripts Data Change s ExternalDeliveryExternalDelivery Event Provider Events Subscribers Subscriber Devices Subscriptions Notifications GeneratorDistributor SQL Match Rule File System Watcher Event Provider Host XSLT CF XSLT SQL Server provider Custom CF Custom EP

Content Formatter Content Formatters Transform raw notification Built-in: XSLT Content Formatter Why a custom content formatter? Beyond simple xslt formatting (complex html, external formatting dependencies, compute operations) Target multiple devices/languages within a single piece of code (vs. Multiple xslt files) Performance Managed code dll loaded by the distributor. Cached in memory (stop, disable, update, enable, start) Exposes 3 methods: Initialize, FormatContent, Close

Distributor Content Formatting Example Notifications Subscribers Subscriptions Subscriber Devices Notification Fields City: Seattle HighTemp: 54 LowTemp: 45 Recipient Info SubscriberId: patricet SubscriberLocale: en-US DeviceType: Phone

Content Formatter demo demo

Extending the platform VBS scripts Data Change s ExternalDeliveryExternalDelivery Event Provider Events Subscribers Subscriber Devices Subscriptions Notifications GeneratorDistributor SQL Match Rule File System Watcher Event Provider Host XSLT CF XSLT SQL Server provider Custom CF SMS DP Custom EP.NET Alerts * File HttpExt

What We’ve Done  More sources of events (SQL Provider)  Richer notifications (Content Formatter)  File System Watcher for events  Xslt content formatter  for notifications Define Schemas Test application using built-in features Extend the platform  Events, subscriptions, notifications  Write Match rule

Out of the box vs. What you author Subscription Management Application Data Change s ExternalDeliveryExternalDelivery Event Provider Events Subscribers Subscriber Devices Subscriptions Notifications GeneratorDistributor SQL Match Rule File System Watcher SQL Server provider Custom EP Event Provider Host XSLT CF Custom CF XSLT Custom DP .NET Alerts * File HttpExt

Summary Think of events, subscriptions and notifications as rows in SQL tables! Start building the foundation before extending it We want to hear from you: Come and talk to us about your application!

Community Resources Most Valuable Professional (MVP) Newsgroups Converse online with Microsoft Newsgroups, including Worldwide User Groups Meet and learn with your peers

evaluations evaluations

© 2003 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.