development of skype for business and knowledge of

54
Development of Skype for Business and Knowledge of SharePoint By : Aye Myat Moe Office servers and services MVP 2017 March 4

Upload: ayemyatmoe069

Post on 14-Apr-2017

37 views

Category:

Education


5 download

TRANSCRIPT

Page 1: Development of skype for business and knowledge of

Development of Skype for Business and Knowledge of SharePoint

By : Aye Myat MoeOffice servers and services MVP

2017 March 4

Page 2: Development of skype for business and knowledge of

Today Contents Opening My Profile About SharePoint Basic Knowledge of SharePoint Development Answer the Questions About Skype for Business Development of Skype for Business Coffee Break Time Demo for Development of Skype for Business Answer the Questions Closing

Page 3: Development of skype for business and knowledge of

My ProfileAye Myat Moe

Blog ayemmoe.blogspot.comEmail [email protected] 095100694

Award Lync MVP (2014) Skype for Business MVP (2015) Office Servers and Services (2016)

Developing Skype for Business and SharePoint Applications iOS Application, Desktop Application

Language Objective C, C#.Net, Java, PHP ,HTML, JavaScript, Json

Page 4: Development of skype for business and knowledge of

About the SharePoint• Introduction to SharePoint• SharePoint Versions• Difference Between SharePoint Server vs Online

Page 5: Development of skype for business and knowledge of

Introduction to SharePointWhat Is SharePoint? SharePoint is a Popular Content Management Tool developed by

Microsoft that allows users to share data (like word documents, Excel etc.) in a web-based collaborative environment.

Allows individuals in an organization to easily create and manage their own collaborative Web sites.

Simplifies how people find and share information across boundaries, and enabling better informed decisions

Using the word “Microsoft SharePoint” is like using the word “Microsoft Office”

SharePoint was Introduced by Microsoft in early 2001 and it has since gone through various versions; the latest being SharePoint 2013, and has also Improved in terms of Collaboration and Integration with other LOB Tools.

Page 6: Development of skype for business and knowledge of

Introduction to SharePoint The site structure of Sharepoint.

*

Page 7: Development of skype for business and knowledge of

Introduction to SharePoint Apps you can add.

Page 8: Development of skype for business and knowledge of

Introduction to SharePoint

Page 9: Development of skype for business and knowledge of

SharePoint VersionsSharePoint On premises(SharePoint Server)

• SharePoint Foundation is available for free on-premises deployment.

• It was called Windows SharePoint Services in previous versions.

SharePoint Foundation

• Organizations can deploy and manage SharePoint Server on premises.

• It includes all the features of SharePoint Foundation plus additional features and capabilities, such as Enterprise Content Management, business intelligence, enterprise search, personal sites, etc.

SharePoint Server

(Standard or Ent.)

Page 10: Development of skype for business and knowledge of

SharePoint Versions

SharePoint Online (In-Cloud)

• SharePoint Online is a cloud-based service, hosted by Microsoft, for businesses.

• Any company can simply subscribe to a service offering such as Office 365 and their employees can use SharePoint Online to share documents and information with colleagues.

SharePoint

Online

Page 11: Development of skype for business and knowledge of

SharePoint Versions SharePoint On premises - This is a Server deployment that is

deployed and managed generally by a Company's IT department. SharePoint can be Licensed from Microsoft for installation purposes. The latest version is SharePoint Server 2016.

SharePoint Online (In-Cloud) - SharePoint Online is cloud solution which is a part of Office 365 package. Office 365 is a subscription based Cloud service deployed and maintained by Microsoft. The basic options are same to SharePoint Server.

Page 12: Development of skype for business and knowledge of

Difference Between SharePoint Server vs Online

SharePoint Server SP farm hosted locally IT team responsible for farm, patching and change control On-premise AD(Active Directory) is required Maintain and update by IT team

SharePoint Online SP farm resides within the Microsoft Data Center Network MS host and patch the environment Anywhere access Update automatically by Microsoft

Page 13: Development of skype for business and knowledge of

Basic Knowledge of SharePoint Development

https://msdn.microsoft.com/en-us/library/office/fp179930%28v=office.15%29?f=255&MSPPError=-2147217396

Page 14: Development of skype for business and knowledge of

Basic Knowledge of SharePoint Development

Other Development APIs Soap Services Web Services SharePoint Designer

Page 15: Development of skype for business and knowledge of

Demo Applications ShareOfficehttps://www.youtube.com/watch?v=Avxx8SZ38DY

Share Reporthttps://www.youtube.com/watch?v=-aD_u8GmbRA

Page 16: Development of skype for business and knowledge of

Answer the questions.

Page 17: Development of skype for business and knowledge of

About Skype for Business Core Features of Skype for Business Demonstration of Skype for Business Skype vs Skype for Business: What’s the Difference? Skype for Business Version Difference Between Skype for Business Server vs Online

Page 18: Development of skype for business and knowledge of

Core Features of Skype for Business Instant messaging & presence VoIP (Voice Over IP) and video Audio, video and web conferencing Presentations Share the Desktop, PowerPoint , Whiteboard, Poll, Q&A, Programs Recording a Meeting/Presentation/Audio Call Connectivity to others through the Skype network Client developer platform Available on AndroidTM, iOS, Mac, Windows and web clients

Page 19: Development of skype for business and knowledge of

Demonstration of Skype for Business

Skype for Business 2016 Preview

Page 20: Development of skype for business and knowledge of

Skype vs Skype for Business: What’s the Difference?

Page 21: Development of skype for business and knowledge of

Skype for Business VersionSkype for Business Client MS Office Communicator 2007 Lync 2010 Lync 2013 Basic and Full Client Skype for Business 2015 Skype for Business 2016

Skype for Business Server Office Communications Server 2007 Lync Server 2010 Lync Server 2013 Skype for Business Server 2015

Page 22: Development of skype for business and knowledge of

Difference Between Skype for Business Server vs Online

Lync Server Lync Online

On-premises version Cloud-based version (Office 365)Maintained directly on Windows servers in their data centers

Hosted at the servers and does not require the user to know aboutthe technical details of the hosting

Offers a full service VoIP, PSTN calling,interoperation with PBX and Call Admissions Control (CAC)

Does not have all the features of the Lync Server

Persistent Group ChatLync skill search

-

Lync Archiving and Monitoring Report Office 365 Admin Center : in-place eDiscovery & hold / Security & Compliance

For large Enterprise businesses (typically 5000+ users)

For small businesses that focus more on internal communication

Page 23: Development of skype for business and knowledge of

Development of Skype for Business1. Skype for Business (Lync) Client SDK2. Skype for Business (Lync) Server SDK3. Unified Communications Managed API (UCMA)4. Unified Communications Web API (UCWA)5. Skype Web SDK

Page 24: Development of skype for business and knowledge of

Development of Skype for Business1. Skype for Business (Lync) Client SDK2. Skype for Business (Lync) Server SDK3. Unified Communications Managed API (UCMA)4. Unified Communications Web API (UCWA)5. Skype Web SDK

Page 25: Development of skype for business and knowledge of

Skype for Business (Lync) Client SDKWhat is this SDK? Latest Client-side SDK Stand-alone application Image/Location/File Sharing Instant messaging (IM), voice, video, application sharing, and

meeting session functionality Microsoft Lync 2013 SDK gives you the ability to add a wide

range of Lync features to your Windows Forms, WPF, or Silverlight application

The Lync Controls requires that Microsoft Lync 2013 is installed and running on each computer that runs your application

Page 26: Development of skype for business and knowledge of

Skype for Business (Lync) Client SDKSystem Requirements Skype for Business Server or Office 365 .NET Framework 4.0 and later versions of .NET Framework Silverlight 5 SDK Silverlight 5 Tools For Visual Studio Visual Studio 2012 Premium Version Skype for Business Client Lync 2013 SDK Platform Windows Presentation Foundation,Silverlight,Windows Form Development Language C#.Net、 VB.Net

Page 27: Development of skype for business and knowledge of

Skype for Business (Lync) Client SDKLync Client Development Style Add Lync function to applications Build the Lync client yourself Add custom function in Lync client

Page 28: Development of skype for business and knowledge of

Skype for Business (Lync) Client SDKLync Client Development Style Add Lync function to applications Build the Lync client yourself Add custom function in Lync client

Page 29: Development of skype for business and knowledge of

Skype for Business (Lync) Client SDKThe references you’ll need to add are: Microsoft.Lync.Controls.dll Microsoft.Lync.Controls.Framework.dll Microsoft.Lync.Model.dll Microsoft.Lync.Utilities.dll

Lync Client SDK Controls https://msdn.microsoft.com/en-us/library/office/jj937261.aspxP.S, Windows Form application cannot use Lync Client SDK Controls

Lync Client SDK Class Libraries https://msdn.microsoft.com/en-us/library/office/jj933088.aspx

Page 30: Development of skype for business and knowledge of

Skype for Business (Lync) Client SDKCode Sample for Lync Client SDK Control The following sample code is for Microsoft Silverlight and

Microsoft Windows Presentation Foundation (WPF).

<StackPanel> <controls:PresenceIndicator Source="sip:[email protected]"/> </StackPanel>

Page 31: Development of skype for business and knowledge of

Skype for Business (Lync) Client SDKLync Object Model

Conversation

IDictionary<ModalityTypes, Modality>

InstantMessageModality class

ModalityTypes.InstantMessage

ModalityTypes.AudioVideoAVModality class

Modalitiesproperty

IList<Participant>Participantsproperty

e.g.BeginSendMessage methodInstantMessageReceived eventIsTyping property

e.g.AudioChannel propertyVideoChannel property

Page 32: Development of skype for business and knowledge of

Skype for Business (Lync) Client SDKLync Client Development Style Add Lync function to applications Build the Lync client yourself Add custom function in Lync client

Page 33: Development of skype for business and knowledge of

Skype for Business (Lync) Client SDKImplement your own communication client based on Lync, but you do not want to use Lync's UI?

How to turn on UI Suppression Mode?☆☆☆ Registry Key ☆☆☆

UI Suppression Mode

[HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Lync]"UISuppressionMode"=dword:00000001

Page 34: Development of skype for business and knowledge of

Skype for Business (Lync) Client SDKUI Suppression Mode Application Start and Stop Lync can not be started from the [Start] menu LyncClient.BeginInitialize Method

var lyncClient = LyncClient.GetClient();if (lyncClient.State == ClientState.Uninitialized){ lyncClient.BeginInitialize(ar => { var client = ar.AsyncState as LyncClient; client.EndInitialize(ar); }, lyncClient);}

Page 35: Development of skype for business and knowledge of

Skype for Business (Lync) Client SDKUI Suppression Mode Application Start and Stop

Lync Client Sign in and Shutdown From APIif (lyncClient.State != ClientState.SignedIn){ lyncClient.BeginSignIn( @“sip:[email protected]", @"sip:[email protected] ", "password", ar => { var client = ar.AsyncState as LyncClient; client.EndSignIn(ar); }, lyncClient);}

Page 36: Development of skype for business and knowledge of

Skype for Business (Lync) Client SDKUI Suppression Mode Attention Points

Cannot use Automation ClassCannot use Lync SDK ControlsShould not be able to start other custom Lync client

application LyncClient.InSuppressedMode プロパティif (LyncClient.GetClient().InSuppressedMode){ MessageBox.Show( "Lync is configured for full user interface suppression"); return;}

Page 37: Development of skype for business and knowledge of

Skype for Business (Lync) Client SDKLync Client Development Style Add Lync function to applications Build the Lync client yourself Add custom function in Lync client

Page 38: Development of skype for business and knowledge of

Skype for Business (Lync) Client SDK CWE (Conversation Window Extension)

In the right pane of the conversation windowProvide custom application

  HTML Base , Silverlight  ex) ・ Web Server ・ Shared Folders ・ Windows Azure

Lync Conversation Window

Page 39: Development of skype for business and knowledge of

Skype for Business (Lync) Client SDK CWE (Conversation Window Extension)

Create Silverlight applicationVisual Studio [Tool] - [GUID Create] → Create new GUID Install registration

☆☆☆If you register the registry, you can call it at any time

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Communicator\ContextPackages\{12345678-9ABC-DEF0-1234-56789ABC}]"Name"="Sample CWE Application 1""ExtensibilityWindowSize"=dword:00000001"ExternalURL"="http://sample.net/CWESample.html""InternalURL"="http://sample.net/CWESample.html"

GUID

ExtensibilityWindowSize0: 300 x 200 px1: 600 x 400 px2: 800 x 600 px

Application URL

Page 40: Development of skype for business and knowledge of

Skype for Business (Lync) Client SDK CWE (Conversation Window Extension)

Create Silverlight applicationVisual Studio [Tool] - [GUID Create] → Create new GUIDRun-Time Registration

☆☆☆Only while the user is signed in to Lync

var registration = LyncClient.GetClient().CreateApplicationRegistration( "{12345678-9ABC-DEF0-1234-56789ABC}", "Run-Time Registration Test");

registration.SetExtensibilityWindowProperties( "http://sample.net/CWESample.html", "http://sample.net/CWESample.html", ConversationWindowExtensionSize.Medium);

registration.AddRegistration();

Page 41: Development of skype for business and knowledge of

Demonstration of Skype for Business (Lync) Client SDK Application

Page 42: Development of skype for business and knowledge of

Skype for Business (Lync) Server SDKWhat is this SDK? Server-side SDK Can be used to create Session Initiation Protocol (SIP) server applications Customize and extend the functionality of Microsoft Lync Server 2013 Three Lync Server 2013 SIP Application API references:

1. SIP application manifest2. Microsoft SIP Processing Language (MSPL)3. Microsoft.Rtc.Sip namespace

The audiences:1. Developers who want to use application manifests and MSPL scripts to

implement simple custom SIP message filtering and routing on computers in a Lync Server 2013 deployment.

2. Experienced SIP developers who want to create SIP-based managed code server applications that implement real-time content delivery or instant messaging infrastructure. This includes applications that work directly with SIP transaction objects or support multithreaded transactions.

Page 43: Development of skype for business and knowledge of

Skype for Business (Lync) Server SDKSystem Requirements Microsoft Lync Server 2013 or Office 365 Managed code applications require the Lync Server 2013 SIP

Application API ServerAgent.dll Microsoft Windows Server 2008 operating system Active Directory Domain Services Development Language Microsoft SIP Processing Language (MSPL) scripting language

Page 44: Development of skype for business and knowledge of

Unified Communications Managed API (UCMA)What is this SDK? Latest server-side SDK Allows you to build applications that register to Lync as endpoints Key features : https://msdn.microsoft.com/en-us/library/office/dn465947.aspx The back-to-back user agent concept ★essential for call center/helpdesk applications Provide automatic responses (IVR or chat bots), record

conversations UCMA is not available for Skype for Business Online (Office 365)

Page 45: Development of skype for business and knowledge of

Unified Communications Managed API (UCMA)System Requirements UCMA 4.0 SDK is available only in a 64-bit version Windows XP and Windows Server 2008 are not supported Development is supported only in 64-bit environments Media Foundation is required on Windows Server 2012 Microsoft .NET Framework 4.5 Development Language C#.Net

Demo for back-to-back calls using UCMAhttps://www.youtube.com/watch?v=5onvhIU87Ps

Page 46: Development of skype for business and knowledge of

Unified Communications Web API (UCWA)What is this SDK? Skype for Business Server or Office 365 RESTful Web API UCWA applications for Skype for Business Online is on Azure and

complicated Authentication Core Features https://ucwa.skype.com/documentation/core-features Platform for Mobile and Web Development

Page 47: Development of skype for business and knowledge of

Unified Communications Web API (UCWA)Bot Application with UCWA

Page 48: Development of skype for business and knowledge of

Unified Communications Web API (UCWA)System Requirements Microsoft Lync Server 2013 or Office 365 Development Language HTTP, HTML, CSS, JSON, and JavaScript

Demo for UCWAhttps://ucwa.skype.com/login/terms

Page 49: Development of skype for business and knowledge of

Skype Web SDKWhat is this SDK? Skype for Business Server or Office 365 A set of JavaScript Web APIs and HTML controls  Stand-alone web client Applications for Skype for Business Online is on Azure but

authentication flows and other function are more easier than UCWA

You do not have to install it Can add Skype for Business functionality to your web

applications simply by adding a <script/> tag to your HTML file<script

src="https://swx.cdn.skype.com/shared/v/1.2.15/SkypeBootstrap.min.js"></script>

Page 50: Development of skype for business and knowledge of

Skype Web SDKSystem Requirements Microsoft Lync Server 2013 or Office 365 Development Language JavaScript Web APIs and HTML

Demo for Skype Web SDKhttps://ucwa.skype.com/websdk

Code Samples for Skype Web SDKhttps://github.com/OfficeDev/skype-web-sdk-samples

Page 51: Development of skype for business and knowledge of

Desktop

Development Platform

Lync SDK

Mobile Web

Core Server

UCMA Lync Server SDK

UCWA , Skype Web SDK

Client Platform

Page 52: Development of skype for business and knowledge of

ReferenceCode Samples

Windows Presentation Foundation (WPF) Applicationhttp://lyncwpfdemo.codeplex.com/

Silverlight Applicationhttp://lyncsilverlightdemo.codeplex.com/

Windows Form Applicationhttp://lyncwindowsformdemo.codeplex.com/

Page 53: Development of skype for business and knowledge of

Answer the questions.

Page 54: Development of skype for business and knowledge of

Thank You!

By : Aye Myat MoeOffice servers and services MVP

2017 march 4