Post on 16-Feb-2017
Deploying On
To
Glenn BlockSplunk
https://github.com/glennblockhttps://twitter.com/gblock
Who am I“I should be tweeting"
I actually know CSharp!
3
Clint Sharp
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
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
Things have surely changed in .NET!
6
We have a new, lighter, cross platform .NET
7
With new tools
8
.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
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
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
ASP.NET 5
New tooling that simplifies modern web development
Cross-platform, supports Windows, Mac and Linux!
Open source and community focused
12
13
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
How do containers differ from VMs
15
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
More Information
https://dotnet.github.io/getting-started/
https://get.asp.net/
https://www.docker.com
https://blogs.msdn.microsoft.com/webdev/2015/01/14/running-asp-net-5-applications-in-linux-containers-with-docker/
http://docs.asp.net/en/latest/conceptual-overview/aspnet.html
17
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
19