19
Deploying On To Glenn Block Splunk

Deploying web apis on core clr to docker

Embed Size (px)

Citation preview

Page 1: Deploying web apis on core clr to docker

Deploying On

To

Glenn BlockSplunk

Page 2: Deploying web apis on core clr to docker

https://github.com/glennblockhttps://twitter.com/gblock

Who am I“I should be tweeting"

Page 3: Deploying web apis on core clr to docker

I actually know CSharp!

3

Clint Sharp

Page 4: Deploying web apis on core clr to docker

What is Splunk?Any Machine Data

HA Indexes and Storage

Search and Investigation

Proactive Monitoring

Operational Visibility

Real-time Business Insights

CommodityServers

Online Services Web

Services

ServersSecurity GPS

Location

StorageDesktops

Networks

Packaged Applications

CustomApplicationsMessaging

TelecomsOnline

Shopping Cart

Web Clickstreams

Databases

Energy Meters

Call Detail Records

Smartphones and Devices

RFID

Page 5: Deploying web apis on core clr to docker

THE SPLUNK DEVELOPER PLATFORM

5

REST API

Build Splunk Apps Extend and Integrate Splunk

Simple XML

HTML5

JavaScript

Web Framework

JavaJavaScriptPython

RubyC#PHP

Data Models

Search Extensibility

Modular Inputs

SDKs

Page 6: Deploying web apis on core clr to docker

Things have surely changed in .NET!

6

Page 7: Deploying web apis on core clr to docker

We have a new, lighter, cross platform .NET

7

Page 8: Deploying web apis on core clr to docker

With new tools

8

Page 9: Deploying web apis on core clr to docker

.NET Core CLI tools

dnvm – install and manage .NET versions

dnu – restore packages and build

dnx – execute code, work with EF

dotnet – build a console based app.

9

Page 10: Deploying web apis on core clr to docker

ASP.NET 5New light-weight and modular HTTP request pipeline

Ability to host on IIS or self-host in your own process

Built on .NET Core, which supports true side-by-side app

versioning

Ships entirely as NuGet packages

Integrated support for creating and using NuGet packages

10

Page 11: Deploying web apis on core clr to docker

ASP.NET 5

Single aligned web stack for Web UI and Web APIs

Cloud-ready environment-based configuration

Built-in support for dependency injection

11

Page 12: Deploying web apis on core clr to docker

ASP.NET 5

New tooling that simplifies modern web development

Cross-platform, supports Windows, Mac and Linux!

Open source and community focused

12

Page 13: Deploying web apis on core clr to docker

13

Page 14: Deploying web apis on core clr to docker

What is Docker?

14

Docker allows you to package an application

with all of its dependencies

into a standardized unit for software development.

https://flic.kr/p/3JFA3

Page 15: Deploying web apis on core clr to docker

How do containers differ from VMs

15

Page 16: Deploying web apis on core clr to docker

Core conceptsDocker Engine – Docker software which hosts containers

Container – A lightweight and isolated environment where applications run.

Image – A package of software which is loaded into a container.

Hub – A place where images are hosted.

16

Page 18: Deploying web apis on core clr to docker

Contact manager API

https://github.com/glennblock/contacts-api-coreclr

Hypermedia-based contacts API

Uses ASP.NET 5 Web API, CoreCLR, EF 7 and sqlite

Docker-ready

18

Page 19: Deploying web apis on core clr to docker

19