<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Mvc Core on Strathweb. A free flowing tech monologue.</title>
    <link>https://www.strathweb.com/categories/mvc-core/</link>
    <description>Recent content in Mvc Core on Strathweb. A free flowing tech monologue.</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Thu, 29 Aug 2019 16:03:51 +0000</lastBuildDate><atom:link href="https://www.strathweb.com/categories/mvc-core/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Dynamic controller routing in ASP.NET Core 3.0</title>
      <link>https://www.strathweb.com/2019/08/dynamic-controller-routing-in-asp-net-core-3-0/</link>
      <pubDate>Thu, 29 Aug 2019 16:03:51 +0000</pubDate>
      
      <guid>https://www.strathweb.com/2019/08/dynamic-controller-routing-in-asp-net-core-3-0/</guid>
      <description>&lt;p&gt;One of the great extensibility points in the routing feature of the older versions of the ASP.NET MVC and ASP.NET Core MVC frameworks was the ability to pick up any route and dynamically point it at a given controller/action.&lt;/p&gt;
&lt;p&gt;This had a lot of excellent use cases - as we will briefly see - and since ASP.NET Core 3.0 Preview 7, the feature is actually finally available in ASP.NET Core 3.0 (despite not being mentioned in the &lt;a href=&#34;https://devblogs.microsoft.com/aspnet/asp-net-core-and-blazor-updates-in-net-core-3-0-preview-7/&#34;&gt;official release blog post&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;So, let&amp;rsquo;s have a look at dynamic routing in ASP.NET Core 3.0 together!&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Using MessagePack with ASP.NET Core MVC</title>
      <link>https://www.strathweb.com/2017/06/using-messagepack-with-asp-net-core-mvc/</link>
      <pubDate>Wed, 28 Jun 2017 13:25:49 +0000</pubDate>
      
      <guid>https://www.strathweb.com/2017/06/using-messagepack-with-asp-net-core-mvc/</guid>
      <description>&lt;p&gt;Some time ago (actually, almost 5 years ago), I blogged about using &lt;a href=&#34;https://www.strathweb.com/2012/09/boost-up-your-asp-net-web-api-with-messagepack/&#34;&gt;MessagePack with ASP.NET Web API&lt;/a&gt; in order to improve your API&amp;rsquo;s efficiency over JSON - both in terms of serialization speed and in message payload size.&lt;/p&gt;
&lt;p&gt;That code later made it to the &lt;a href=&#34;https://github.com/WebApiContrib&#34;&gt;WebApiContrib&lt;/a&gt; project, where it was released as an &lt;a href=&#34;https://github.com/WebApiContrib/WebApiContrib.Formatting.MsgPack&#34;&gt;add-on&lt;/a&gt; to ASP.NET Web API.&lt;/p&gt;
&lt;p&gt;I recently had a thought - since we now have &lt;a href=&#34;https://github.com/WebApiContrib/WebAPIContrib.Core&#34;&gt;WebApiContrib.Core&lt;/a&gt; for ASP.NET Core, why not revisit the idea, and create a MessagePack add-on for that too?&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>FormatFilter and MediaTypeMappings in ASP.NET Core 1.0 MVC</title>
      <link>https://www.strathweb.com/2016/02/formatfilter-and-mediatypemappings-in-asp-net-core-1-0-mvc/</link>
      <pubDate>Fri, 05 Feb 2016 20:13:34 +0000</pubDate>
      
      <guid>https://www.strathweb.com/2016/02/formatfilter-and-mediatypemappings-in-asp-net-core-1-0-mvc/</guid>
      <description>&lt;p&gt;In the earlier posts, we looked at how &lt;a href=&#34;https://www.strathweb.com/2014/11/formatters-asp-net-mvc-6/&#34;&gt;formatters work in general&lt;/a&gt; in the upcoming MVC Core 1.0 (although at that time it was still being referred to as MVC 6) and how &lt;a href=&#34;https://www.strathweb.com/2015/04/asp-net-mvc-6-formatters-xml-browser-requests/&#34;&gt;XML formatters&lt;/a&gt; can be enabled in your ASP.NET Core application.&lt;/p&gt;
&lt;p&gt;This time around, I thought it would be interesting to follow up on that, and discuss another topic that should be very familiar to folks with ASP.NET Web API experience - &lt;em&gt;MediaTypeMappings&lt;/em&gt;. They were quite commonly used in Web API, and they have been ported over to MVC Core, and can be enabled via a &lt;em&gt;FormatFilter&lt;/em&gt;.&lt;/p&gt;</description>
    </item>
    
  </channel>
</rss>
