World aPIfication with

AZURE API MANAGEMENT

nano vazquez @nanovazquez87

.NETConf CO 2017

Today's Agenda

#1

HOW TO SHARE your API

#2

WHY Azure API MANAGEMENT SERVICE

#3

CONFIGURE YOUR APIs WITH zero lines of code

#4

NEXT STEPS

YOU CAN FIND EVERYTHING @

the manager’s function is not to make people work, but to make it possible for people to work.

Overview

HOW TO SHARE YOUR API

Where are we

What is an API

?

.NETConf API

What is an API

.NETConf API

How many APIs are out there

+18000 APIs

~2000 per year

~40 per week

With so many APIs out there, how can i know about them?

API SPECIFICATION

3.0

SWAGGER

openapi: "3.0.0"
info:
  version: 1.0.0
  title: Swagger Petstore
  license:
    name: MIT
paths:
  /pets:
    get:
      summary: List all pets
      responses:
        '200':
          description: An paged array of pets
    post:
      summary: Create a pet
      responses:
        '201':
          description: Null response
  /pets/{petId}:
    get:
      summary: Info for a specific pet
      parameters:
        - name: petId
          in: path
          required: true
          description: The id of the pet to retrieve
          schema:
            type: string
      responses:
        '200':
          description: Expected response to a valid request

SWAGGER + ASP.NET WEB API ❤

DEMO 1

Add swagger to our asp.net web api

WHY azure API MANAGEMENT SERVICE

Where are we

Challenges to solve

Reuse & support legacy apis

#1

provide API discovery & Access without headaches

Security, protect against rogue use and/or overuse

Visibility, measure usage (and everything else)

#2

#3

#4

Support All Your APIs by Decoupling and Presenting Facades

API GATEWAY

  • Accepts API calls and routes them to your backends.
  • Transforms your API on the fly without code modifications.
  • Verifies credentials (API keys, JWT tokens, certificates, etc)
  • Enforces usage quotas and rate limits.
  • Caches backend responses where set up.
  • Logs call metadata for analytics purposes.

But not only that

A Developer Portal to get developers up and running fast:

  • Read API documentation.
  • Try out an API via the interactive console.
  • Create an account and subscribe to a pricing plan.
  • Submit issues to APIs and ask for help.

But not only that

A Publisher Portal to set up your API program the way you want to:

  • Define or import API schemas.
  • Package APIs into Products.
  • Set up Policies like quotas or transformations on the APIs.
  • Manage everything: users, groups, security and your content.

And ALSO, analytics!

  • Overall usage: top devs, products, APIs, operations, etc. 
  • In-depth look at API calls and bandwidth, including a geographical representation.
  • Focus on status codes, cache success rates, response times, and API and service response times.
  • Analyze activity reports by developer, product, API, and operation.

DEMO 2

ASP.NET WEB API +

API MANAGEMENT SERVICE

CONFIGURE YOUR APIS

Where are we

API MANAGEMENT CONCEPTS

#1

PRODUCTS

API MANAGEMENT CONCEPTS

#1

PRODUCTS

#2

GROUPS

API MANAGEMENT CONCEPTS

#1

PRODUCTS

#2

GROUPS

#3

POLICIES

API MANAGEMENT CONCEPTS

#1

PRODUCTS

#2

GROUPS

#3

POLICIES

DEMO 3

SET RATE LIMIT & QUOTAS

NEXT STEPS

COMPLETE THE WORKSHOP

READ THE DOCumentation

START PLAYING WITH THE SERVICE

#1

#2

#3

(IF YOU NEED ANYTHING, contact me @NANOVAZQUEZ87)

Thanks!

World APIfication with Azure API Management

By Mariano Vazquez

World APIfication with Azure API Management

Today, all big players like Amazon, Google and Azure provide us an API Management solution that we can use to productize our data and services within minutes, removing the friction of integrating all our services deployed in the (public) cloud or on-premise. Not only that, these solutions also help us to decide how to manage each part of the ecosystem, allowing developers of a company (or not) to discover and use all available tools in a secure and unified way. In this talk, we are going to talk about the use cases that require an API Management solution, which will help you to create and maintain consistent API ecosystem for your company or integrated with the rest of the world.

  • 659

More from Mariano Vazquez