<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Zaw Htut Aung on Medium]]></title>
        <description><![CDATA[Stories by Zaw Htut Aung on Medium]]></description>
        <link>https://medium.com/@zawhtut0010zha?source=rss-b2f31d31cfaf------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*6vku7420koTyTs7OMb7Jsw.png</url>
            <title>Stories by Zaw Htut Aung on Medium</title>
            <link>https://medium.com/@zawhtut0010zha?source=rss-b2f31d31cfaf------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 01 Jun 2026 05:58:36 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@zawhtut0010zha/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com" rel="hub"/>
        <item>
            <title><![CDATA[   .]]></title>
            <link>https://medium.com/@zawhtut0010zha/-b8b2a353d409?source=rss-b2f31d31cfaf------2</link>
            <guid isPermaLink="false">https://medium.com/p/b8b2a353d409</guid>
            <dc:creator><![CDATA[Zaw Htut Aung]]></dc:creator>
            <pubDate>Fri, 31 Oct 2025 02:24:51 GMT</pubDate>
            <atom:updated>2025-10-31T02:24:51.180Z</atom:updated>
            <content:encoded><![CDATA[<p>𝗠𝗼𝘀𝘁 𝗙𝗿𝗲𝗾𝘂𝗲𝗻𝘁𝗹𝘆 𝗔𝘀𝗸𝗲𝗱 .𝗡𝗘𝗧 𝗙𝘂𝗹𝗹 𝗦𝘁𝗮𝗰𝗸 𝗜𝗻𝘁𝗲𝗿𝘃𝗶𝗲𝘄 𝗤𝘂𝗲𝘀𝘁𝗶𝗼𝗻𝘀<br>(Covering .NET MVC | .NET Core | Web API | EF Core | SQL Server | Angular)</p><p>Whether you’re preparing for interviews or brushing up on concepts, here’s a curated list of the most commonly asked questions in .NET Full Stack roles:</p><p>🔹 .𝗡𝗘𝗧 / 𝗖# 𝗖𝗼𝗿𝗲 𝗖𝗼𝗻𝗰𝗲𝗽𝘁𝘀<br>1️⃣ .NET Framework vs .NET Core vs .NET 5/6/7<br>2️⃣ CLR, CTS, CLS<br>3️⃣ Value Types vs Reference Types<br>4️⃣ Boxing &amp; Unboxing<br>5️⃣ async/await, Task vs ValueTask vs IAsyncEnumerable<br>6️⃣ Delegates, Func, Action, Predicate<br>7️⃣ Abstract Class vs Interface<br>8️⃣ Dependency Injection (DI) in .NET Core<br>9️⃣ Generics in C# (benefits)<br>🔟 IEnumerable vs IQueryable vs ICollection vs List</p><p>🔹 𝗔𝗦𝗣.𝗡𝗘𝗧 𝗠𝗩𝗖 / 𝗪𝗲𝗯 𝗔𝗣𝗜<br>1️⃣ Controller vs ControllerBase<br>2️⃣ Action Filters, Result Filters, Exception Filters<br>3️⃣ TempData vs ViewData vs ViewBag<br>4️⃣ Routing in MVC vs .NET Core<br>5️⃣ Model Binding &amp; Validation<br>6️⃣ Middleware in <a href="http://asp.net/">ASP.NET</a> Core<br>7️⃣ Authentication vs Authorization<br>8️⃣ JWT Authentication &amp; Authorization Flow<br>9️⃣ Caching (In-Memory, Distributed, Redis)<br>🔟 API Versioning strategies</p><p>🔹 𝗘𝗻𝘁𝗶𝘁𝘆 𝗙𝗿𝗮𝗺𝗲𝘄𝗼𝗿𝗸 𝗖𝗼𝗿𝗲<br>1️⃣ What is DbContext?<br>2️⃣ Code-First vs Database-First<br>3️⃣ EF Core Migrations<br>4️⃣ Eager vs Lazy vs Explicit Loading<br>5️⃣ Change Tracking<br>6️⃣ AsNoTracking() vs Tracking Queries<br>7️⃣ EF Core Transactions<br>8️⃣ Concurrency Handling in EF Core</p><p>🔹 𝗦𝗤𝗟 𝗦𝗲𝗿𝘃𝗲𝗿<br>1️⃣ ACID Properties of a Transaction<br>2️⃣ Clustered vs Non-Clustered Index<br>3️⃣ Stored Procedure vs Function<br>4️⃣ Inner Join vs Left Join vs Right Join vs Cross Join<br>5️⃣ Common Table Expression (CTE)<br>6️⃣ Indexes &amp; Performance<br>7️⃣ Normalization vs Denormalization<br>8️⃣ Transactions &amp; Isolation Levels<br>9️⃣ SQL Query Optimization<br>🔟 Deadlock &amp; Handling</p><p>🔹 𝗔𝗻𝗴𝘂𝗹𝗮𝗿<br>1️⃣ AngularJS vs Angular<br>2️⃣ Components, Directives, Modules, Services<br>3️⃣ Data Binding (Interpolation, Property, Event, Two-way)<br>4️⃣ ngIf vs hidden<br>5️⃣ Dependency Injection in Angular<br>6️⃣ RxJS (Observable, Subject, BehaviorSubject)<br>7️⃣ Routing &amp; Route Guards (AuthGuard, CanActivate, CanDeactivate)<br>8️⃣ Pipes: Pure vs Impure<br>9️⃣ Change Detection in Angular<br>🔟 Template-driven Forms vs Reactive Forms</p><p>💡 These questions are repeatedly asked across interviews for .NET Full Stack Developer roles.<br>👉 Save this list for revision.<br>👉 Share with someone who’s preparing for interviews.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b8b2a353d409" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Stop Hard-Coding Everything: How Metadata-Driven Architecture Builds Flexible Software]]></title>
            <link>https://medium.com/@zawhtut0010zha/stop-hard-coding-everything-how-metadata-driven-architecture-builds-flexible-software-47c217b7c3fe?source=rss-b2f31d31cfaf------2</link>
            <guid isPermaLink="false">https://medium.com/p/47c217b7c3fe</guid>
            <dc:creator><![CDATA[Zaw Htut Aung]]></dc:creator>
            <pubDate>Wed, 10 Sep 2025 09:38:56 GMT</pubDate>
            <atom:updated>2025-09-10T14:24:50.239Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4-cfem75sBtw6rWak04yqA.png" /></figure><p>It’s a design approach where <strong>the system’s behavior, UI, or logic is not hard-coded but instead comes from metadata (data about data)</strong> stored in configuration tables, files, or services.</p><p>👉 Instead of developers writing new code for every form, workflow, or report, the system <strong>reads metadata</strong> to know:</p><ul><li>What fields to show</li><li>What types of inputs (textbox, dropdown, checkbox)</li><li>Which validations to apply</li><li>Which database table/column to bind</li><li>Which workflows to follow</li></ul><p>So the application is <strong>driven by configuration (metadata)</strong>, not by rigid code.</p><h3>🔹 Example</h3><p>Imagine a system for registering customers.</p><ul><li><strong>Hardcoded way</strong>: You write a form with Name, Age, Email fields in code.</li><li><strong>Metadata-driven way</strong>: A metadata table says:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/782/1*zrxvGhMZBaGfo-Hh51V5Ow.png" /></figure><p>The UI engine reads this table and automatically generates the form with correct fields, validations, and database binding.</p><p>If tomorrow you want to add <strong>Phone Number</strong> → just insert a row into the metadata table.<br> ✅ No need to redeploy code.<br> ✅ The UI + validation + DB save all work automatically.</p><h3>🔹 Where It’s Used</h3><ul><li><strong>Low-code / No-code platforms</strong> (e.g., PowerApps, Mendix)</li><li><strong>Enterprise applications</strong> (ERP, CRM, HRMS)</li><li><strong>Form builders</strong></li><li><strong>Workflow engines</strong></li></ul><h3>🔹 Benefits</h3><ul><li>🚀 <strong>Flexibility</strong> — Change behavior without code changes.</li><li>🛠 <strong>Reusability</strong> — Same engine works for many screens.</li><li>📈 <strong>Faster delivery</strong> — Add fields/workflows quickly.</li><li>👨‍💼 <strong>Business empowerment</strong> — Non-developers can configure system.</li></ul><h3>🔹 Challenges</h3><ul><li>🧩 <strong>Complexity</strong> — You need a solid metadata model, otherwise it becomes confusing.</li><li>🐌 <strong>Performance</strong> — Reading metadata dynamically can slow down execution.</li><li>🔍 <strong>Debugging</strong> — Errors may be harder to trace because logic comes from config, not code.</li><li>📖 <strong>Learning curve</strong> — Developers must understand metadata structure well.</li></ul><h3>🔹 Real-World Example</h3><p>Think of <strong>Salesforce</strong>:</p><ul><li>You don’t code every new field in CRM.</li><li>You go to setup → add a field → instantly shows in UI, validates, saves to DB.</li><li>That’s metadata-driven at scale.</li></ul><p>👉 So in short:<br> <strong>Metadata-driven architecture shifts application logic from code to data, making systems more flexible, configurable, and faster to evolve.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=47c217b7c3fe" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Redis ကို ဘာကြောင့် သုံးသင့်တာလဲ?????]]></title>
            <link>https://medium.com/@zawhtut0010zha/redis-%E1%80%80%E1%80%AD%E1%80%AF-%E1%80%98%E1%80%AC%E1%80%80%E1%80%BC%E1%80%B1%E1%80%AC%E1%80%84%E1%80%B7%E1%80%BA-%E1%80%9E%E1%80%AF%E1%80%B6%E1%80%B8%E1%80%9E%E1%80%84%E1%80%B7%E1%80%BA%E1%80%90%E1%80%AC%E1%80%9C%E1%80%B2-e403f1eec3e5?source=rss-b2f31d31cfaf------2</link>
            <guid isPermaLink="false">https://medium.com/p/e403f1eec3e5</guid>
            <dc:creator><![CDATA[Zaw Htut Aung]]></dc:creator>
            <pubDate>Thu, 27 Mar 2025 15:23:26 GMT</pubDate>
            <atom:updated>2025-03-27T15:23:26.877Z</atom:updated>
            <content:encoded><![CDATA[<p>ခုနောက်ပိုင်း website , app or software တွေမှာ User experience ကောင်းရဖို့အလွန် အရေးကြီးပါတယ် အဲ့အတွက် ကျွန်တော်တို့ သိထားရမဲ့အချက်တွေ အများကြီး ရှိပါတယ်</p><p>အသုံးပြုရတာလွယ်ကူဖို့ နှင့် မြန်ဆန်ဖို့က အရေးကြီးတဲ့အပိုင်းမှာ ရှိနေတယ်</p><p>Redis ကိုသုံးရတဲ့ ရည်ရွယ်ချက်က လဲ အဲ့ထဲက အချက်တချက်ဖြစ်တဲ့ မြန်ဆန်ဖို့ဘဲ ဖြစ်ပါတယ်</p><p>ကျွန်တော်တို့မှာ ရှာချင်တဲ့အချက်တဲ့အချက်လက်တွေကများနေတယ် ဆိုပါစို့</p><p>တူညီတဲ့အချက်အလက်တွေကို ခနခန ရှာနေမယ်ဆိုရင် မလိုအပ်ဘဲ data တွေအများကြီးခေါ်နေတဲ့အတွက် ကျွန်တော်တို့ရဲ့ server က လေး လာနိုင်ပါတယ်</p><p>အဲ့လို တူညီတဲ့ အချက်အလက်တွေကို ခနခန ခေါ်နေပေမဲ့ ထပ်ခါထပ်ခါ database ထဲက data ကိုဆွဲမထုတ်ချင်ရင် cache တခု အနေနဲ့ပထမ တခါခေါ်ပီးသားကို သိမ်းထားပီး နောက်တခါ အဲ့တာကို ဘဲ ပြန်ခေါ်ရင် database ထဲကနေ ဆွဲမထုတ်ဘဲနဲ့ cache ကို ဆွဲထုတ်ပြလိုက်ရင် ကျွန်တော်တို့ရဲ့ server load က ကျသွားနိုင်မည်</p><p>အဲ့လိုသုံးချင်ရင် Eg အနေနဲ့ Redis ကို asp.net core web api နဲ့ ဘယ်လိုသုံးလဲ ဆိုတာကို အောက်ပါ တဆင့်ချင်းစီ လေ့လာနိုင်ပါတယ်</p><p>Step 1 : download and install Redis for window</p><p>Step 2 : run redis.exe. If so will display CMD with port 6379</p><p>Step 3 : install require package for asp.net core web api like below</p><p>dotnet add package Microsoft.EntityFrameworkCore.SqlServer<br>dotnet add package StackExchange.Redis</p><p>အပေါ်က ဟာတွေ ပီးပီဆိုရင် အောက် မှာ တဆင့်ချင်းစီကို ဆက်လုပ်ပေးပါ</p><p>အရင်ဆုံး appsetting ထဲမှာ “RedisURL”: “127.0.0.1:6379” ကိုထည့်ပါ</p><p>အတိုချုံးအနေနဲ့ ပြောရရင် သူ့မှာ သုံးခုရှိတယ်</p><ol><li>cache ကို ရှာမည်</li></ol><p>getCache()</p><p>2.မရှိရင် သိမ်းမည်</p><p>setCache(data, cacheData, expiredTime)</p><p>3. data အသစ် (သို့မဟုတ်) update ရိုက်ရင် removeCache လုပ်မည်</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e403f1eec3e5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exception and Logging]]></title>
            <link>https://medium.com/@zawhtut0010zha/exception-and-logging-6a4792a9f976?source=rss-b2f31d31cfaf------2</link>
            <guid isPermaLink="false">https://medium.com/p/6a4792a9f976</guid>
            <dc:creator><![CDATA[Zaw Htut Aung]]></dc:creator>
            <pubDate>Wed, 15 Jan 2025 04:24:11 GMT</pubDate>
            <atom:updated>2025-01-15T04:24:11.427Z</atom:updated>
            <content:encoded><![CDATA[<p>Throwing exceptions helps propagate errors up the call stack</p><p>Logging provides a persistent record of what happened, which is crucial for debugging, monitoring and auditing.</p><h3>Real-World Example: E-Commerce Payment System</h3><p>Imagine you’re building an e-commerce platform, and a customer tries to make a payment. The payment process involves multiple steps:</p><ol><li>Validate the payment details.</li><li>Save the transaction to the database.</li><li>Update the order status to “Paid.”</li></ol><p>If something goes wrong during this process, you need to:</p><ul><li><strong>Inform the user</strong> (via an exception).</li><li><strong>Log the error</strong> for later analysis.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6a4792a9f976" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Solid Development Life Cycle ( SDLC )]]></title>
            <link>https://medium.com/@zawhtut0010zha/solid-development-life-cycle-sdlc-f0767eb09341?source=rss-b2f31d31cfaf------2</link>
            <guid isPermaLink="false">https://medium.com/p/f0767eb09341</guid>
            <dc:creator><![CDATA[Zaw Htut Aung]]></dc:creator>
            <pubDate>Mon, 06 Jan 2025 11:25:55 GMT</pubDate>
            <atom:updated>2025-01-06T11:25:55.149Z</atom:updated>
            <content:encoded><![CDATA[<p>Investigate =&gt; data or information that want to give to user</p><p>Plan =&gt; planning what should we do for project</p><p>Define =&gt; define actual information</p><p>Analyze =&gt; analyzing the process is usable or not</p><p>Development Process =&gt; start development process</p><p>Testing =&gt; testing with api testing tools like postman</p><p>Deploy =&gt; publish and deploy project into the network</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f0767eb09341" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploy Asp.Net Core Project using IIS for begineer]]></title>
            <link>https://medium.com/@zawhtut0010zha/deploy-asp-net-core-project-using-iis-for-begineer-a9b7adfa78df?source=rss-b2f31d31cfaf------2</link>
            <guid isPermaLink="false">https://medium.com/p/a9b7adfa78df</guid>
            <dc:creator><![CDATA[Zaw Htut Aung]]></dc:creator>
            <pubDate>Wed, 01 Jan 2025 14:29:55 GMT</pubDate>
            <atom:updated>2025-01-01T14:32:39.941Z</atom:updated>
            <content:encoded><![CDATA[<p>1. Check IIS have or not<br>2. Type ‘ Win + R ‘ and ‘appwiz.cpl’<br>3. Go to Internet Information Services<br>4. Tick Every tick, but note ‘World wide web service’ is important<br>5. Go to asp.net core offical documentation and find runtime depend on your project .net version (eg : version 6 ) <br>6. Download ‘Hosting Bundle’ and install it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a9b7adfa78df" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Most of the Angular Interview Question]]></title>
            <link>https://medium.com/@zawhtut0010zha/most-of-the-angular-interview-question-fd1975e57035?source=rss-b2f31d31cfaf------2</link>
            <guid isPermaLink="false">https://medium.com/p/fd1975e57035</guid>
            <dc:creator><![CDATA[Zaw Htut Aung]]></dc:creator>
            <pubDate>Tue, 10 Sep 2024 04:02:27 GMT</pubDate>
            <atom:updated>2024-09-10T04:02:27.847Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*8hD4eYuELoWAbQLNnjQ4mA.jpeg" /></figure><p>I am sharing some Important Angular Interview questions.<br> <br>1. What are the key components of Angular?<br>2. Please explain the Life Cycle Hooks in Angular.<br>3. What is the use of Constructor in Angular?<br>4. What is Metadata in Angular?<br>5. What is Dependency injection in Angular?<br>6. What is pipe and how many pipes are there in Angular?<br>7. Please explain the difference between Pure pipe and Impure pipe in Angular.<br>8. How do you append tokens to each HTTP request?<br>9. What is the type of compiler in Angular?<br>10. How do you add Dynamic Script to Angular?<br>11. What are the class decorators in Angular?<br>12. What is the Subject in Angular and What type of it?<br>13. How many Types of validators in Angular?<br>14. What are the types of Injector hirarchy in Angular?<br>15. In which scenario change detection works? <br>16. What is Interceptor in Angular?<br>17. Types of data binding in Angular?<br>18. What is Lazy loading in Angular?<br>19. What is wild card routes?<br>20. What is directives in angular and how many types of it?<br>21. What is EventEmitter in Angular?<br>22. How to share data between parent and child components in Angular?<br>23. What is the use of Double Exclamation(!!)?<br>24. What is Angular material?<br>25. How to improve performance in Angular Application?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fd1975e57035" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Angular Lifecycle Hook]]></title>
            <link>https://medium.com/@zawhtut0010zha/angular-lifecycle-hook-6a7e6f4532be?source=rss-b2f31d31cfaf------2</link>
            <guid isPermaLink="false">https://medium.com/p/6a7e6f4532be</guid>
            <dc:creator><![CDATA[Zaw Htut Aung]]></dc:creator>
            <pubDate>Tue, 10 Sep 2024 03:36:18 GMT</pubDate>
            <atom:updated>2024-09-10T03:36:18.964Z</atom:updated>
            <content:encoded><![CDATA[<h3>Real-World Example: The Lifecycle of a Movie Theater Experience</h3><p>Imagine you are going to watch a movie at a theater. The lifecycle of the movie-going experience can be compared to the lifecycle hooks in Angular. Here’s how:</p><p><strong>ngOnChanges (Change Detection)</strong></p><ul><li><strong>Real World:</strong> You decide to go to the movies, but you change your mind about which movie to watch.</li><li><strong>Angular:</strong> This hook is called when any of the component’s input properties change. It helps Angular detect and respond to changes in data.</li></ul><p><strong>ngOnInit (Initialization)</strong></p><ul><li><strong>Real World:</strong> You arrive at the movie theater, buy your ticket, and find your seat. This is the start of your movie experience.</li><li><strong>Angular:</strong> This hook is called once when the component is initialized. It’s a good place to set up initial data or fetch information from a server. Think of it as setting everything up before the movie starts.</li></ul><p><strong>ngDoCheck (Custom Change Detection)</strong></p><ul><li><strong>Real World:</strong> During the movie, you check your phone or make sure you have your popcorn. You’re making sure everything is going smoothly during the movie.</li><li><strong>Angular:</strong> This hook is triggered when Angular runs change detection. You can use it to implement custom change detection logic, checking whether something has changed that Angular might not have detected on its own.</li></ul><p><strong>ngAfterContentInit (Content Initialization)</strong></p><ul><li><strong>Real World:</strong> The previews and trailers start before the main movie begins.</li><li><strong>Angular:</strong> This hook is called after Angular projects external content (like ng-content) into the component’s view for the first time.</li></ul><p><strong>ngAfterContentChecked (Content Check)</strong></p><ul><li><strong>Real World:</strong> During the previews, you might check if you like the upcoming movies or adjust your seat for better viewing.</li><li><strong>Angular:</strong> This hook runs after every check of the projected content, ensuring that the content displayed is as expected.</li></ul><p><strong>ngAfterViewInit (View Initialization)</strong></p><ul><li><strong>Real World:</strong> The movie finally starts, and you begin watching it.</li><li><strong>Angular:</strong> This hook is called after Angular has fully initialized the component’s view and its child views. It’s a good place to interact with or manipulate DOM elements.</li></ul><ol><li><strong>ngAfterViewChecked (View Check)</strong></li></ol><ul><li><strong>Real World:</strong> During the movie, you might glance around to make sure the sound is good, the screen is clear, and everything is in order.</li><li><strong>Angular:</strong> This hook is called after Angular checks the component’s view and its child views. You can use it to ensure that the view has been updated correctly.</li></ul><p><strong>ngOnDestroy (Cleanup)</strong></p><ul><li><strong>Real World:</strong> The movie ends, and you leave the theater, taking your belongings with you.</li><li><strong>Angular:</strong> This hook is called just before the component is destroyed. It’s a good place to clean up resources, unsubscribe from observables, or detach event listeners.</li></ul><h3>In Code</h3><p>Here is an example of how these lifecycle hooks might look in an Angular component:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/445/1*6-eaggkDQ_jJmjUQbryRiQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6a7e6f4532be" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[UTF 8]]></title>
            <link>https://medium.com/@zawhtut0010zha/utf-8-3ce388b61571?source=rss-b2f31d31cfaf------2</link>
            <guid isPermaLink="false">https://medium.com/p/3ce388b61571</guid>
            <dc:creator><![CDATA[Zaw Htut Aung]]></dc:creator>
            <pubDate>Tue, 27 Aug 2024 11:21:06 GMT</pubDate>
            <atom:updated>2024-08-27T11:21:06.587Z</atom:updated>
            <content:encoded><![CDATA[<p>UTF-8 (Unicode Transformation Format — 8-bit) is a character encoding standard that can represent every character in the Unicode character set. It’s widely used because it can handle all characters from different languages and symbols while being efficient in terms of space for common characters (like those in the English alphabet).</p><p>In UTF-8:</p><ul><li><strong>Common characters</strong> (e.g., English letters) use only <strong>1 byte</strong>.</li><li><strong>Less common characters</strong> (e.g., special symbols or characters from other languages) may use <strong>2, 3, or 4 bytes</strong>.</li></ul><h3>Why Use UTF-8?</h3><ol><li><strong>Compatibility:</strong> UTF-8 is backward-compatible with ASCII, so any ASCII text is also valid UTF-8. This makes it easy to work with English text and other basic symbols without extra overhead.</li><li><strong>Universal:</strong> It supports all characters, so you can work with text in any language (e.g., Chinese, Arabic, emojis).</li><li><strong>Efficiency:</strong> For common characters, it uses only 1 byte, saving space compared to other encodings like UTF-16.</li></ol><p>when i want to sent data to server, need to change from text to utf8</p><p>string text= “Hello”;</p><p>var utf8Example = Encoding.UTF8.GetBytes(text)</p><p>Result : 72 101 108 108 111</p><p>Here, each byte corresponds to the ASCII value of the characters &quot;H&quot;, &quot;e&quot;, &quot;l&quot;, &quot;l&quot;, &quot;o&quot;</p><h3>Why Use UTF-8 in Web APIs?</h3><p>When you send or receive text data in web applications, you often work with various languages and symbols. Using UTF-8 ensures that the text is encoded in a way that supports all characters and symbols, making it ideal for JSON data in HTTP requests.</p><p>For example, in this code snippet:</p><p>var data = new StringContent(json, Encoding.UTF8, “application/json”);</p><ul><li><strong>Encoding.UTF8</strong> ensures that the JSON string can include any character (e.g., special symbols, non-English characters) without issues.</li><li>If you had text with special characters like &quot;name&quot;: &quot;José&quot; or &quot;greeting&quot;: &quot;你好&quot;, UTF-8 encoding would correctly handle them.</li></ul><h3>Key Takeaway:</h3><p>UTF-8 is a flexible and efficient encoding standard that allows your application to work with text from any language or symbol set, making it the best choice for modern web applications.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3ce388b61571" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Fixing not able to bind data the related each ot]]></title>
            <link>https://medium.com/@zawhtut0010zha/fixing-not-able-to-bind-data-the-related-each-ot-a4fba597edd2?source=rss-b2f31d31cfaf------2</link>
            <guid isPermaLink="false">https://medium.com/p/a4fba597edd2</guid>
            <dc:creator><![CDATA[Zaw Htut Aung]]></dc:creator>
            <pubDate>Tue, 27 Aug 2024 04:41:01 GMT</pubDate>
            <atom:updated>2024-08-27T04:41:01.214Z</atom:updated>
            <content:encoded><![CDATA[<h3>Fixing not able to bind data the related each other…..</h3><p>builder.Services.AddControllers()</p><p>.AddJsonOptions(opt =&gt;</p><p>{</p><p>opt.JsonSerializerOptions.ReferenceHandler = System.Text.Json.Serialization.ReferenceHandler.IgnoreCycles;</p><p>});</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a4fba597edd2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>