mastodon.ie is one of the many independent Mastodon servers you can use to participate in the fediverse.
Irish Mastodon - run from Ireland, we welcome all who respect the community rules and members.

Administered by:

Server stats:

1.6K
active users

#minimalapis

0 posts0 participants0 posts today
João Antunes<p>Kind of sad that the linked issue, about being able to tailor a nice 400 response with actionable information for the API client, doesn't seem to even come close to be a priority.</p><p>Does nobody care about providing information about what went wrong when handling an API request? I'd think this should be a must from the get go, but given its complete absence from the framework and lack of folks asking for it, maybe I'm the minority here.</p><p><a href="https://mastodon.social/tags/DotNet" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DotNet</span></a> <a href="https://mastodon.social/tags/CSharp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CSharp</span></a> <a href="https://mastodon.social/tags/MinimalApis" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MinimalApis</span></a></p><p><a href="https://github.com/dotnet/aspnetcore/issues/57337" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/dotnet/aspnetcore/i</span><span class="invisible">ssues/57337</span></a></p>
robrich<p>I'm excited to present Minimal <a href="https://hachyderm.io/tags/APIs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>APIs</span></a> in <a href="https://hachyderm.io/tags/ASPnet" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ASPnet</span></a> at <a href="https://hachyderm.io/tags/SLC" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SLC</span></a> <a href="https://hachyderm.io/tags/dotNET" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dotNET</span></a> tonight. It's a <a href="https://hachyderm.io/tags/NoSlides" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NoSlides</span></a>, <a href="https://hachyderm.io/tags/Demo" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Demo</span></a> only trip through <a href="https://hachyderm.io/tags/MinimalAPIs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MinimalAPIs</span></a> and upgrading a project to the latest .NET features. Join us for the <a href="https://hachyderm.io/tags/virtual" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>virtual</span></a> group: <a href="https://www.meetup.com/the-slc-net-user-group/events/306051064/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">meetup.com/the-slc-net-user-gr</span><span class="invisible">oup/events/306051064/</span></a> and grab the code at <a href="https://github.com/robrich/minimal-apis-aspnet" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/robrich/minimal-api</span><span class="invisible">s-aspnet</span></a></p>
João Antunes<p><a href="https://mastodon.social/tags/DotNet" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DotNet</span></a> <a href="https://mastodon.social/tags/AspNetCore" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AspNetCore</span></a> folks using <a href="https://mastodon.social/tags/MinimalApis" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MinimalApis</span></a>, anyone has any idea if I can somehow intercept parameter binding/deserialization errors, in order to provide a more complete error response, rather than an empty 400?</p>
robrich<p><a href="https://wildermuth.com/2022/04/04/query-strings-optional-arguments-minimal-apis-aspnetcore/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">wildermuth.com/2022/04/04/quer</span><span class="invisible">y-strings-optional-arguments-minimal-apis-aspnetcore/</span></a> - parsing query strings in <a href="https://hachyderm.io/tags/dotNET" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dotNET</span></a> <a href="https://hachyderm.io/tags/MinimalAPIs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MinimalAPIs</span></a>. spoiler: you can't have default parameters in lambda functions. Nice solution <a href="https://www.linkedin.com/in/shawnwildermuth/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">linkedin.com/in/shawnwildermut</span><span class="invisible">h/</span></a>.</p>
Shawn Wildermuth (🇺🇦++)<p>Still thinking about upgrading your skills to <a href="https://fosstodon.org/tags/aspnetcore" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>aspnetcore</span></a>. My newly updated Pluralsight course covers <a href="https://fosstodon.org/tags/dotnet8" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dotnet8</span></a>, Razor Pages, <a href="https://fosstodon.org/tags/rest" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rest</span></a> APIs, <a href="https://fosstodon.org/tags/minimalApis" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>minimalApis</span></a>, <a href="https://fosstodon.org/tags/fluentvalidation" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>fluentvalidation</span></a>, <a href="https://fosstodon.org/tags/entityframework" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>entityframework</span></a>, and <a href="https://fosstodon.org/tags/vue" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vue</span></a>! Watch it here:</p><p><a href="https://shawnl.ink/ps-endtoend" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">shawnl.ink/ps-endtoend</span><span class="invisible"></span></a></p>
Tomas Ekeli<p><span>i see how </span><a href="https://plud.re/tags/minimalAPIs" rel="nofollow noopener" target="_blank">#minimalAPIs</a><span> are great for "smaller" </span><a href="https://plud.re/tags/services" rel="nofollow noopener" target="_blank">#services</a><span>, or if your style is to eschew indirection in favour of clarity.<br><br>but, when we start using </span><a href="https://plud.re/tags/reflection" rel="nofollow noopener" target="_blank">#reflection</a><span> and the </span><a href="https://plud.re/tags/ioc" rel="nofollow noopener" target="_blank">#ioc</a><span> container to register the endpoints, i wonder if it's just re-implementing the controller pattern.<br><br>which is fine, i guess, but why not just use </span><a href="https://plud.re/tags/mvc" rel="nofollow noopener" target="_blank">#mvc</a><span> in </span><a href="https://plud.re/tags/aspnetcore" rel="nofollow noopener" target="_blank">#aspnetcore</a><span>, then? to me this looks more controller-y than extension-methods.<br><br></span><a href="https://www.milanjovanovic.tech/blog/automatically-register-minimal-apis-in-aspnetcore" rel="nofollow noopener" target="_blank">https://www.milanjovanovic.tech/blog/automatically-register-minimal-apis-in-aspnetcore</a><span><br><br></span><a href="https://plud.re/tags/dotnet" rel="nofollow noopener" target="_blank">#dotnet</a><span> </span><a href="https://plud.re/tags/dev" rel="nofollow noopener" target="_blank">#dev</a></p>
robrich<p>I'm so excited I get to teach <a href="https://hachyderm.io/tags/Minimal" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Minimal</span></a> <a href="https://hachyderm.io/tags/APIs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>APIs</span></a> with <a href="https://hachyderm.io/tags/ASPnet" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ASPnet</span></a> today on <a href="https://hachyderm.io/tags/VisualStudio" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VisualStudio</span></a> Toolbox. It's a <a href="https://hachyderm.io/tags/NoSlides" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NoSlides</span></a> talk about <a href="https://hachyderm.io/tags/MVC" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MVC</span></a>, <a href="https://hachyderm.io/tags/WebAPI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebAPI</span></a>, <a href="https://hachyderm.io/tags/RazorPages" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RazorPages</span></a>, and now <a href="https://hachyderm.io/tags/MinimalAPIs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MinimalAPIs</span></a>. We'll look at C# 10-12 features too. Join us live at <a href="https://dotnet.microsoft.com/en-us/live" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">dotnet.microsoft.com/en-us/liv</span><span class="invisible">e</span></a> and grab the code at <a href="https://github.com/robrich/minimal-apis-aspnet" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/robrich/minimal-api</span><span class="invisible">s-aspnet</span></a></p>
robrich<p><a href="https://hachyderm.io/tags/Minimal" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Minimal</span></a> <a href="https://hachyderm.io/tags/APIs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>APIs</span></a> in <a href="https://hachyderm.io/tags/ASPnet" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ASPnet</span></a>. Join us at <a href="https://hachyderm.io/tags/HotTopics" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HotTopics</span></a> for this <a href="https://hachyderm.io/tags/NoSlides" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NoSlides</span></a> talk. We upgrade a <a href="https://hachyderm.io/tags/dotNET" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dotNET</span></a> project from 5 to 8, add <a href="https://hachyderm.io/tags/MinimalAPIs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MinimalAPIs</span></a>, add <a href="https://hachyderm.io/tags/testing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>testing</span></a>, and find the perfect fit. Join us for the <a href="https://hachyderm.io/tags/virtual" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>virtual</span></a> group: <a href="https://www.meetup.com/hot-topics-developer-group/events/298030677/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">meetup.com/hot-topics-develope</span><span class="invisible">r-group/events/298030677/</span></a> and grab the code at <a href="https://github.com/robrich/minimal-apis-aspnet" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/robrich/minimal-api</span><span class="invisible">s-aspnet</span></a>.</p>
robrich<p>Minimal <a href="https://hachyderm.io/tags/APIs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>APIs</span></a> in <a href="https://hachyderm.io/tags/ASPnet" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ASPnet</span></a>, a <a href="https://hachyderm.io/tags/NoSlides" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NoSlides</span></a> talk where we upgrade a <a href="https://hachyderm.io/tags/dotNET" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dotNET</span></a> project to .NET 8, use new C# features, and add <a href="https://hachyderm.io/tags/MinimalAPIs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MinimalAPIs</span></a>. It's such a fun talk. Join us <a href="https://hachyderm.io/tags/InPerson" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>InPerson</span></a> at <a href="https://hachyderm.io/tags/PriaireDevCon" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PriaireDevCon</span></a> <a href="https://hachyderm.io/tags/Calgary" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Calgary</span></a>. <a href="https://www.prairiedevcon.com/calgary" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">prairiedevcon.com/calgary</span><span class="invisible"></span></a>, code: <a href="https://github.com/robrich/minimal-apis-aspnet" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/robrich/minimal-api</span><span class="invisible">s-aspnet</span></a>.</p>
robrich<p><a href="https://hachyderm.io/tags/Minimal" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Minimal</span></a> <a href="https://hachyderm.io/tags/APIs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>APIs</span></a> in <a href="https://hachyderm.io/tags/ASPnet" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ASPnet</span></a>. This <a href="https://hachyderm.io/tags/NoSlides" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NoSlides</span></a> talk upgrades a project to <a href="https://hachyderm.io/tags/dotNET" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dotNET</span></a> 7 and adds <a href="https://hachyderm.io/tags/MinimalAPIs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MinimalAPIs</span></a> and <a href="https://hachyderm.io/tags/Tests" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Tests</span></a>. I'm excited to teach at <a href="https://hachyderm.io/tags/ICSCon" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ICSCon</span></a> today. Grab the code for each step at <a href="https://github.com/robrich/minimal-apis-aspnet" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/robrich/minimal-api</span><span class="invisible">s-aspnet</span></a>.</p>
robrich<p>What is <a href="https://hachyderm.io/tags/Minimal" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Minimal</span></a> <a href="https://hachyderm.io/tags/APIs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>APIs</span></a> in <a href="https://hachyderm.io/tags/ASPnet" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ASPnet</span></a> and why would I use it? Join us for <a href="https://hachyderm.io/tags/NoSlides" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NoSlides</span></a> demo of upgrading <a href="https://hachyderm.io/tags/dotNET" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dotNET</span></a> 5 to 7 and adding <a href="https://hachyderm.io/tags/MinimalAPIs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MinimalAPIs</span></a> at <a href="https://hachyderm.io/tags/SLC" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SLC</span></a> <a href="https://hachyderm.io/tags/dotNET" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dotNET</span></a> <a href="https://hachyderm.io/tags/UserGroup" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>UserGroup</span></a>. <a href="https://www.meetup.com/the-slc-net-user-group/events/295770646/" rel="nofollow noopener" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">meetup.com/the-slc-net-user-gr</span><span class="invisible">oup/events/295770646/</span></a> and grab the code at <a href="https://github.com/robrich/minimal-apis-aspnet" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/robrich/minimal-api</span><span class="invisible">s-aspnet</span></a>.</p>
David Pine :dotnet: :verified:<p>📢 Hot off the press, I wrote a blog!! <br>I detail how to use :dotnet: :csharp: :blazor: and <a href="https://dotnet.social/tags/MinimalAPIs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MinimalAPIs</span></a> streaming endpoints on the client with a <a href="https://dotnet.social/tags/blazor" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>blazor</span></a> app consuming these in real-time, updating the UI seamlessly 🔥:</p><p><a href="https://davidpine.net/blog/dotnet-async-enumerable" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">davidpine.net/blog/dotnet-asyn</span><span class="invisible">c-enumerable</span></a></p>
InfoQ<p>Several features have been added to <a href="https://techhub.social/tags/MinimalAPIs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MinimalAPIs</span></a> with the <a href="https://techhub.social/tags/dotnet7" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dotnet7</span></a> release. This tutorial shows how they are now almost as powerful as traditional controller-based APIs while being far less verbose.</p><p><a href="https://techhub.social/tags/InfoQ" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>InfoQ</span></a> article by Fiodar Sazanavets: <a href="http://bit.ly/3yRd2a2" rel="nofollow noopener" target="_blank"><span class="invisible">http://</span><span class="">bit.ly/3yRd2a2</span><span class="invisible"></span></a></p><p><a href="https://techhub.social/tags/dotnet" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dotnet</span></a> <a href="https://techhub.social/tags/ASPNETCore" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ASPNETCore</span></a> <a href="https://techhub.social/tags/API" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>API</span></a></p>
Shawn Wildermuth (🇺🇦++)<p>For anyone not watching the Superbowl, I just released a new library for discovery-based method of mapping Minimal APIs. Please tell me if you disagree with the approach: </p><p><a href="https://fosstodon.org/tags/csharp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>csharp</span></a> <a href="https://fosstodon.org/tags/dotnet" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dotnet</span></a> <a href="https://fosstodon.org/tags/aspnetcore" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>aspnetcore</span></a> <a href="https://fosstodon.org/tags/minimalApis" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>minimalApis</span></a></p><p><a href="https://github.com/wilder-minds/minimalapidiscovery" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/wilder-minds/minima</span><span class="invisible">lapidiscovery</span></a></p>
Layla<p>I'll be streaming my exploration into <a href="https://mastodon.social/tags/dotnet" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dotnet</span></a> <a href="https://mastodon.social/tags/minimalAPIs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>minimalAPIs</span></a> this Thursday at 2pm GMT.<br>Get notified of my go live and come hang out!</p><p><a href="https://youtu.be/FMraL2IyDRY" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="">youtu.be/FMraL2IyDRY</span><span class="invisible"></span></a></p>
Ben<p>Blogged: Automatic validation of requests in <a href="https://fosstodon.org/tags/aspnet7" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>aspnet7</span></a> using endpoint filters <a href="https://fosstodon.org/tags/minimalapis" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>minimalapis</span></a> <a href="https://fosstodon.org/tags/dotnet" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dotnet</span></a></p><p><a href="https://benfoster.io/blog/minimal-api-validation-endpoint-filters/" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">benfoster.io/blog/minimal-api-</span><span class="invisible">validation-endpoint-filters/</span></a></p>