Presentation is loading. Please wait.

Presentation is loading. Please wait.

Instructions You must bring your own laptop, your presentation and a power supply Technical staff is present in all to assist with network, audio and video.

Similar presentations


Presentation on theme: "Instructions You must bring your own laptop, your presentation and a power supply Technical staff is present in all to assist with network, audio and video."— Presentation transcript:

1 Instructions You must bring your own laptop, your presentation and a power supply Technical staff is present in all to assist with network, audio and video setup Speakers are responsible for presentation computer and demo equipment Please make sure your PC have correct video drivers installed. Be at your session no later than 30 min. Prior to your timeslot to setup your equipment Evaluation-slide will be send to you prior to Campus Days, which should replace the current Evaluation-slide Technical details All presentations should be 16:9 widescreen format Output connectors provided in all session rooms are: DVI, HDM, Micro HDMI, VGA For NON-Microsoft speakers: Own company logo is allowed on the Session Title slide only Sessions are non commercial – Please do NOT sell own products or services

2

3 Stud.MSc. Mathematical Modelling and Computation BSc. Software Technology from DTU Work : Private : https://twitter.com/pksorensen https://about.me/pksorensen https://www.linkedin.com/in/pksorensen

4 Introdution til OWIN og Katana Projektet OWIN Demo ( Get Started with OWIN and Middlewares ) Demo ( Lets do a Hello OWIN self hosted app ) Demo ( Lets add a WebAPI, Signalr, DI - and create a Chat Server on Azure ) Demo ( VS 2013 SPA Template – Katana Security)

5 OWIN Open Web Interface for.NET The goal of OWIN is to decouple server and application and, by being an open standard, stimulate the open source ecosystem of.NET web development tools.

6 Interfacing webservers for web applications. Simpler Web Development app.MapSignalR () app.UseWebApi(config);

7 Specification IDictionary "owin.RequestBody“ : stream "owin.RequestHeaders“ : dic and so forth Func, Task>; I/O Friendly and chainable. Middleware / Applications Func, Task>; Host / Server IIS / OwinHost.exe Microsoft.Owin.Host.SystemWeb Microsoft.Owin.Host.HttpListener

8 Web Application – A specific application, possibly built on top of a Web Framework, which is run using OWIN compatible Servers. Middleware – Pass through components that form a pipeline between a server and application to inspect, route, or modify request and response messages for a specific purpose.

9 Demo Get Started with OWIN and Middlewares https://gist.github.com/s093294/ https://gist.github.com/s093294/ (only show page between 12:00 and 14:00) public class Startup { public void Configuration(IAppBuilder app) { app.UseWelcomePage(); }

10 Demo Lets do a Hello OWIN self hosted app. app.Use( (context, next) => { context.Response.ContentType = "text/html"; return context.Response.WriteAsync("Hello Owin World"); });

11 VS201x – Tools > Library Package Manager > Package Manager Settings MyGet Katana: MyGet Owin: Package Manager Console: Get-Package -ListAvailable -pre

12 Demo Lets add a WebAPI. ///api/channel9?url=http://channel9.msdn.com/Events/Micr osoft-Campus-Days/Microsoft-Campus-Days-2013/RSS [RoutePrefix("api/channel9")] public class Channel9Controller : ApiController { [HttpGet("")] public IHttpActionResult GetEvents(string url) { return new Channel9ActionResult(Request, url); } https://gist.github.com/s093294/

13 Demo Lets do a SignalR ChatServer

14 Demo Last Demo, VS 2013 SPA Template – Katana Security

15 © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

16 Evaluation Create a Text message on your phone and send it to 1919 with the content: AZ I liked it a lot Session Code Poul Performance (1 to 5) Match of technical Level (1 to 5) Relevance (1 to 5) Comments (optional) Evaluation Scale: 1 = Very bad 2 = Bad 3 = Relevant 4 = Good 5 = Very Good! Questions: Speaker Performance Relevance according to your work Match of technical level according to published level Comments


Download ppt "Instructions You must bring your own laptop, your presentation and a power supply Technical staff is present in all to assist with network, audio and video."

Similar presentations


Ads by Google