<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Net Core on runaho.dev</title><link>https://52b71935.runaho-dev.pages.dev/tags/net-core/</link><description>Recent content in Net Core on runaho.dev</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sat, 07 Oct 2023 00:00:00 +0000</lastBuildDate><atom:link href="https://52b71935.runaho-dev.pages.dev/tags/net-core/index.xml" rel="self" type="application/rss+xml"/><item><title>Using HttpResults.Results for Minimal API Methods with MiniValidator in .NET Core</title><link>https://52b71935.runaho-dev.pages.dev/engineering/minimal-api-minivalidator-dotnet/</link><pubDate>Sat, 07 Oct 2023 00:00:00 +0000</pubDate><guid>https://52b71935.runaho-dev.pages.dev/engineering/minimal-api-minivalidator-dotnet/</guid><description>&lt;h1 id="about-the-post" class="relative group"&gt;About the post &lt;span class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100"&gt;&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700" style="text-decoration-line: none !important;" href="#about-the-post" aria-label="Anchor"&gt;#&lt;/a&gt;&lt;/span&gt;&lt;/h1&gt;&lt;p&gt;In this blog post, I will show you how to use HttpResults.Results for Minimal API Methods in &lt;code&gt;.NET Core HttpResults.Results&lt;/code&gt; is a class that provides a set of typed results for common scenarios, such as Ok, BadRequest, Problem, ValidationProblem, etc. These results can be used to return consistent and meaningful responses from your API methods, without having to write a lot of boilerplate code.&lt;/p&gt;</description></item><item><title>How to Use Session in .NET Core?</title><link>https://52b71935.runaho-dev.pages.dev/engineering/dotnet-core-session/</link><pubDate>Thu, 25 Nov 2021 00:00:00 +0000</pubDate><guid>https://52b71935.runaho-dev.pages.dev/engineering/dotnet-core-session/</guid><description>&lt;p&gt;Hello, in this article we will look at how we can use session with .net core.&lt;/p&gt;
&lt;p&gt;If you, like me, have spent a lot of time with the .net framework for a long time, and a session is a must.&lt;/p&gt;
&lt;h2 id="so-lets-see-how-to-implement-session-in-net-core" class="relative group"&gt;So let’s see how to implement Session in Net Core &lt;span class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100"&gt;&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700" style="text-decoration-line: none !important;" href="#so-lets-see-how-to-implement-session-in-net-core" aria-label="Anchor"&gt;#&lt;/a&gt;&lt;/span&gt;&lt;/h2&gt;&lt;p&gt;To use Session in .Net Core, we first need to go to Startup.cs and find the ConfigureServices Method.&lt;/p&gt;</description></item></channel></rss>