Human Factors of XR: Using Human Factors to Design XR Systems
Using Azure Search to build Office 365 search driven solutions
1. May 7th, 2016
SharePoint Saturday
Madrid
Using Azure Search to build Office 365 search
driven solutions
José Carlos Rodríguez Avilés
2. José Carlos Rodríguez Avilés
SharePoint Software Developer
UCI
http://elblogdelprogramador.wordpress.com
@jcroav
Software developer working mainly on SharePoint and very
interested in Azure and how to use services available in this platform
in my projects.
4. Raffle
Please, fill your SPS Madrid passport if
you want to participate.
You must get signature from sponsors
and complete the poll.
Give us the passport at 6:00 PM in the
Auditorium room.
You can win one Sphero BB-8 or a mini
drone:
5.
6. What are we going to see in this session?
1. What about Azure Search Service?
2. How to configure Azure Search in our subscription
3. What about indexes and how to create them?
4. How to index Office 365 content in Azure Search
5. Using all of this in a SPA
7. What about Azure Search Service?
This service recently left preview version
Based on Elastic Search
This service allow us create simple and complete search experiences
WE DON´T NEED TO KNOW ABOUT SEARCH INFRAESTRUCTURE
Available SDK.NET or API REST to work with it
8. How does Azure Search work?
Schema
Documents
1.- Creating indexes
2.- Population
3.- Consume via
API REST or SDK.NET
9.
10. What about Indexes?
Indexes are the main way to order and search content in Azure
Search
It is similar to how to order registers in tables of databases
Each index has an schema (fields, field types, properties)
Furthermore, there are other elements inside an index (such as
suggestion providers, scoring profiles, and so on…)
11. How can we create an index in Azure Search?
There are three options:
Using SDK.NET for Azure Search
Using API REST
Using Azure portal
Making a Console Application to create indexes:
1. Connect to Azure Search
2. Test if index exists and delete it (best practice)
3. Create index schema
4. Populate the index
14. How to index Office 365 content in Azure Search?
There are three important elements in Office 365 content population
New Microsoft Graph API
Azure WebJob
App-Only authentication for Office 365
15. Configuring Azure Subscription
1. Creating certificate
2. Create and configuring AAD permissions
3. Load certificate in AAD
4. Create webjob and configuring
5. Load certificate in webjob
16.
17. Populating content in Azure WebJob
Console Application to populate content iin Azure Search
1. Get authentication token
2. Call Microsoft Graph
3. Create array with content to index
4. Add information to Azure Search