<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>.NET on runaho.dev</title><link>https://19785411.runaho-dev.pages.dev/tags/.net/</link><description>Recent content in .NET on runaho.dev</description><generator>Hugo</generator><language>en</language><lastBuildDate>Mon, 19 Jun 2023 00:00:00 +0000</lastBuildDate><atom:link href="https://19785411.runaho-dev.pages.dev/tags/.net/index.xml" rel="self" type="application/rss+xml"/><item><title>Unveiling the Challenges of Blazor Development: Navigating Through Insufficient Libraries and Unstable Experiences</title><link>https://19785411.runaho-dev.pages.dev/engineering/blazor-development-challenges/</link><pubDate>Mon, 19 Jun 2023 00:00:00 +0000</pubDate><guid>https://19785411.runaho-dev.pages.dev/engineering/blazor-development-challenges/</guid><description>&lt;p&gt;Hello, first of all, I should tell you that I have been developing projects for more than 7 years and I really enjoyed blazor.
2 server product, 2 wasm product, 2 maui product i developed.
I would like to share the problems I have experienced in general.&lt;/p&gt;
&lt;h2 id="begining" class="relative group"&gt;Begining &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="#begining" aria-label="Anchor"&gt;#&lt;/a&gt;&lt;/span&gt;&lt;/h2&gt;&lt;p&gt;Initial impression may be positive, but as development progresses, serious problems can arise. I&amp;rsquo;ve developed two applications using Blazor Server, Blazor WASM, and Blazor MAUI.&lt;/p&gt;</description></item><item><title>I Developed/Published Application with .NET MAUI Blazor</title><link>https://19785411.runaho-dev.pages.dev/engineering/maui-blazor-app-published/</link><pubDate>Tue, 06 Dec 2022 00:00:00 +0000</pubDate><guid>https://19785411.runaho-dev.pages.dev/engineering/maui-blazor-app-published/</guid><description>&lt;p&gt;Hello, first of all, I would like to tell you why I entered this challenging process.&lt;/p&gt;
&lt;p&gt;For those who don’t want to read the article, I will give you the link to the application directly, but I prefer you to read it first and then click on it.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://play.google.com/store/apps/details?id=com.runaho.afup.mauiblazor" target="_blank" rel="noreferrer"&gt;AFUP Google Play&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://dotnet.microsoft.com/en-us/apps/aspnet/web-apps/blazor" target="_blank" rel="noreferrer"&gt;Blazor&lt;/a&gt; has always struck me as a great technology.&lt;br&gt;
The idea of publishing native &lt;a href="https://learn.microsoft.com/en-us/aspnet/core/blazor/hybrid/tutorials/maui?view=aspnetcore-7.0&amp;amp;pivots=windows" target="_blank" rel="noreferrer"&gt;Blazor applications with MAUI&lt;/a&gt; is incredible.I immediately said I had to learn this technology and started researching. I wrote small applications, to-do app etc. But then I asked myself why don’t I write an application that people will use. The plan was now ready, I was going to write an app, submit it to all the stores, create a reference for myself and literally take over every stage of an app development from start to finish.&lt;/p&gt;</description></item><item><title>How to access files in the backend on .NET Core?</title><link>https://19785411.runaho-dev.pages.dev/engineering/dotnet-backend-file-access/</link><pubDate>Fri, 26 Nov 2021 00:00:00 +0000</pubDate><guid>https://19785411.runaho-dev.pages.dev/engineering/dotnet-backend-file-access/</guid><description>&lt;p&gt;Hi, in this article, we will look at how we can access files when we want to do operations such as reading, writing, etc. with .NET Core.&lt;/p&gt;
&lt;h2 id="how-to-access-a-file-in-wwwroot" class="relative group"&gt;How to access a file in wwwroot? &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="#how-to-access-a-file-in-wwwroot" aria-label="Anchor"&gt;#&lt;/a&gt;&lt;/span&gt;&lt;/h2&gt;&lt;p&gt;The first thing you need to do is to set the IWebHostEnvironment interface as a parameter to the construction field of your page or class and set it as private readonly. In this way, we can use it wherever we want after the page is initialized.&lt;/p&gt;</description></item><item><title>I left the Web Form and switched to Razor Pages.</title><link>https://19785411.runaho-dev.pages.dev/engineering/webforms-to-razor-pages/</link><pubDate>Tue, 23 Nov 2021 00:00:00 +0000</pubDate><guid>https://19785411.runaho-dev.pages.dev/engineering/webforms-to-razor-pages/</guid><description>&lt;p&gt;Hi, in this article, I will talk about my thoughts about .NET Core Razor Pages, its pros, cons and what it adds to me, and I wish you a pleasant reading.&lt;/p&gt;
&lt;p&gt;If you are in the process of change like me or are wondering about my change, it will be a long article.&lt;/p&gt;
&lt;p&gt;If I have to talk about myself, I have been developing web applications with Web Forms technology since 2015. Time and time, I was looking at MVC and finding it too complex for the projects I developed, so I was used in one or two projects and walked away. If you don’t have an old but incredibly large project as an ORM, I would establish my database relations with the LINQ 2 Data Context, which does not cause problems and even saves a lot of time, I would develop Procedure-based database architecture and separate SQL from C# as much as possible.&lt;/p&gt;</description></item><item><title>Using Native Prompt with .NET MAUI Blazor</title><link>https://19785411.runaho-dev.pages.dev/engineering/using-native-prompt-with-net-maui-blazor/</link><pubDate>Sat, 20 Nov 2021 00:00:00 +0000</pubDate><guid>https://19785411.runaho-dev.pages.dev/engineering/using-native-prompt-with-net-maui-blazor/</guid><description>&lt;p&gt;.NET MAUI Blazor Native Prompt&lt;/p&gt;
&lt;p&gt;Hi all, welcome to this short but I think it will be useful for you.&lt;br&gt;
I will show how we can use alerts and prompts in a simple native way when developing applications for Cross Platform.&lt;/p&gt;
&lt;p&gt;This is what we trying to achive:&lt;/p&gt;
&lt;p&gt;






 
 
&lt;figure&gt;&lt;img src="https://miro.medium.com/v2/resize:fit:1388/1*E7_xPLraB_iXonXOyf0z3w.png" alt="example" class="mx-auto my-0 rounded-md" /&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;First of all we need the create an interface for using all the platform’s named as : IPromptService&lt;/p&gt;</description></item></channel></rss>