<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Owin on Strathweb. A free flowing tech monologue.</title>
    <link>https://www.strathweb.com/categories/owin/</link>
    <description>Recent content in Owin on Strathweb. A free flowing tech monologue.</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Wed, 23 Apr 2014 14:32:08 +0000</lastBuildDate><atom:link href="https://www.strathweb.com/categories/owin/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Ignoring routes in ASP.NET Web API</title>
      <link>https://www.strathweb.com/2014/04/ignoring-routes-asp-net-web-api/</link>
      <pubDate>Wed, 23 Apr 2014 14:32:08 +0000</pubDate>
      
      <guid>https://www.strathweb.com/2014/04/ignoring-routes-asp-net-web-api/</guid>
      <description>&lt;p&gt;If you use centralized routing, it is occasionally needed to ignore a greedy Web API route so that the request can be processed by some other component or handler.&lt;/p&gt;
&lt;p&gt;One of the tiny overlooked features of Web API 2.1 was that it finally shipped with a cross-host way to ignore routes. It&amp;rsquo;s not too exciting, as it&amp;rsquo;s something that&amp;rsquo;s been in MVC for ages, but it&amp;rsquo;s nice to finally have an easy way to do it in Web API.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>OWIN/Katana in-memory integration testing</title>
      <link>https://www.strathweb.com/2013/12/owin-memory-integration-testing/</link>
      <pubDate>Mon, 30 Dec 2013 09:40:47 +0000</pubDate>
      
      <guid>https://www.strathweb.com/2013/12/owin-memory-integration-testing/</guid>
      <description>&lt;p&gt;A while ago we looked at testing the ASP.NET Web API pipeline using its &lt;a href=&#34;https://www.strathweb.com/2012/06/asp-net-web-api-integration-testing-with-in-memory-hosting/&#34;&gt;in-memory hosting capabilities&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The advantages of such approach to end-to-end testing are unquestionable.&lt;/p&gt;
&lt;p&gt;Now, with the emergence of OWIN as the primary hosting option for a wide array of web frameworks, it makes sense to explore how you could to the same, except in the OWIN (or rather &lt;a href=&#34;http://katanaproject.codeplex.com&#34;&gt;Katana&lt;/a&gt;, since all the things shown here are Katana specific) context - so not just against Web API, but against any framework of your choice (running on top of OWIN &amp;amp; Katana).&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Owin middleware, ASP.NET Web API and client’s IP address</title>
      <link>https://www.strathweb.com/2013/07/owin-middleware-asp-net-web-api-and-clients-ip-address/</link>
      <pubDate>Wed, 31 Jul 2013 20:03:18 +0000</pubDate>
      
      <guid>https://www.strathweb.com/2013/07/owin-middleware-asp-net-web-api-and-clients-ip-address/</guid>
      <description>&lt;p&gt;Not so long ago, &lt;a href=&#34;https://www.strathweb.com/2013/05/retrieving-the-clients-ip-address-in-asp-net-web-api/&#34;&gt;we discussed&lt;/a&gt; on this blog the possible ways of retrieving the client&amp;rsquo;s IP address in ASP.NET Web API.&lt;/p&gt;
&lt;p&gt;With the latest changes in the Web API 2 infrastructure, and the emergence of Owin and the &lt;a href=&#34;http://katanaproject.codeplex.com&#34;&gt;Katana project&lt;/a&gt; as the common glue between the underlying host and the web framework(s) running on it, it&amp;rsquo;s becoming natural to move these types of application-wide concerns (security, logging etc) to Owin middleware.&lt;/p&gt;
&lt;p&gt;Let&amp;rsquo;s have a look at how you could - as an introductory example - obtain client&amp;rsquo;s IP address at the Owin middleware level, and why is it beneficial.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>The future is now – OWIN and multi-hosting ASP.NET web applications</title>
      <link>https://www.strathweb.com/2013/05/the-future-is-now-owin-and-multi-hosting-asp-net-web-applications/</link>
      <pubDate>Sun, 05 May 2013 15:16:47 +0000</pubDate>
      
      <guid>https://www.strathweb.com/2013/05/the-future-is-now-owin-and-multi-hosting-asp-net-web-applications/</guid>
      <description>&lt;p&gt;As you probably know, the ASP.NET team is publishing the latest ASP.NET Web API on a nightly MyGet feed, and you can grab them from there and play with the latest stuff without having to deal with all the hassle related to building from the source.&lt;/p&gt;
&lt;p&gt;The same applies to Katana, a Microsoft generic Owin host, which also has its own MyGet nightly feed.&lt;/p&gt;
&lt;p&gt;Let&amp;rsquo;s glimpse into the near future and have a look at putting the latest Katana bits to play with ASP.NET Web API and other frameworks.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Running ASP.NET Web API with OWIN and Katana</title>
      <link>https://www.strathweb.com/2012/12/running-aspnet-web-api-with-owin-and-katana/</link>
      <pubDate>Tue, 18 Dec 2012 04:06:59 +0000</pubDate>
      
      <guid>https://www.strathweb.com/2012/12/running-aspnet-web-api-with-owin-and-katana/</guid>
      <description>&lt;p&gt;One of the often repeated, and frankly, somewhat unfair, arguments against using .NET based technologies is that by doing so, you handcuff yourself to all kinds of various Microsoft tools and products.&lt;/p&gt;
&lt;p&gt;If you choose to use ASP.NET Web API, by no means you are tied to IIS. Of course, one of the options is to self host it (and run the web service using the hardened WCF core), but if you want a true web host flexibility and independence, you can very easily host Web API using OWIN and Katana.&lt;/p&gt;
&lt;p&gt;More after the jump.&lt;/p&gt;</description>
    </item>
    
  </channel>
</rss>
