.NET Technology

  • Store Sensitive Data Using Environment Variables in .NET 8

    Storing Confidential Keys in Environment Variables in .NET 8

    .

    In modern application development, security is not optional—it is essential. If you are building a .NET 8 application, you will likely deal with sensitive data such as API keys, encryption keys, database credentials, or authentication tokens. Storing these values directly in your source code is risky. Anyone with access to your repository can see them.…

  • ,

    Top 20 VS Code Shortcuts Every .NET Developer Should Know

    .

    When you work as a .NET developer, productivity matters as much as clean code. Visual Studio Code has become a preferred editor for many .NET professionals because it is lightweight, extensible, and developer-friendly. To get the most out of it, you must learn the right keyboard shortcuts. These shortcuts help you write code faster, switch…

  • ,

    Native AOT Enhancements in .NET 9: What You Need to Know

    .

    As .NET continues to evolve, one feature that has been gaining traction is Native AOT (Ahead-of-Time) compilation. With the release of .NET 9, Native AOT sees major improvements, making it more practical, powerful, and production-ready than ever. But what exactly is Native AOT? And why should you care, especially if you’re building fast, lightweight, or…

  • ,

    .NET 8 vs .NET 9: What’s New and Why You Should Upgrade

    .

    With the tech world constantly evolving, Microsoft continues to enhance its .NET platform to keep up with modern application development needs. The release of .NET 9 is just around the corner, and it’s packed with exciting improvements. But how does it compare to .NET 8, and why should you consider switching? In this article, we’ll…

  • Swagger Vs OpenAPI

    Swagger Vs OpenAPI

    .

    In .NET 9, the ASP.NET Core team has removed the default inclusion of Swagger (Swashbuckle) from Web API templates due to maintenance concerns and the desire for a more integrated solution. Instead, .NET 9 introduces built-in support for OpenAPI documentation through the Microsoft.AspNetCore.OpenApi package. This allows developers to generate OpenAPI documents natively without relying on…

  • .NET 8 Features and The Best Practices for High-Performance Application

    .

    In this article, we are going to cover about .NET 8 features and will also see the best practices for building high-performance applications. You may like this article: Data Validation and Annotation in .NET MVC .NET 8 Overview .NET 8 is the successor to .NET 7. Microsoft released this version of .NET in November 2023. Microsoft announces…

  • Policy Based Authorization in .NET Core

    Policy-Based Authorization in .NET Core With Example

    .

    In this article, we will learn Policy-Based Authorization in .NET Core With Example. We will implement this authorization in .NET Core application. There are many ways to apply authorization in .NET Core, however, in this article, we will focus on Policy-based authorization. So let’s start. Overview of Authorization in Web Applications The process of determining…

  • Minimal API Concept in .NET Core

    .NET Core Minimal API with Example

    .

    In this article, we will learn about the minimal API concept in .NET Core. What is a Minimal API? A Minimal API is a simplified approach to building APIs in .NET, introduced in .NET 6. It streamlines the process of creating HTTP services by reducing boilerplate code and configuration, making it easier to set up…

  • Solved: Only the invariant culture is supported in globalization-invariant mode

    .

    Recently, I was developing web API in .NET 8 and found the error saying the below statement with status code 500. Below is the error screenshot. Reason for the Error – The error message indicates that you attempted to use a culture identifier that is not the invariant culture. When enabling the invariant mode, all…

  • Performance Boosts and Enhancements: What’s New in .NET 7

    .

    After the official release of .NET 6 in 2021, Microsoft has released another new version of .NET 7 in November 2022. What’s New in .NET 7 Features and Updates Microsoft has launched .NET version 7 with an STS (standard-term support) providing only 18 months of support. Considering the new .NET 7 features and updates, it…

  • Token-based and Cookie-based Authentication

    .

    For any web application or website, controlling user access is very important. Generally, there are 2 important ways to authenticate users, they are – Token-based and Cookie-based Authentication. In this article, we will see about Token-based and Cookie-based Authentication and the basic flow. Types of Authentications   Cookie Based Authentication It is a stateful authentication…

  • Data Protection in ASP.NET Core

    .

    In this article, we are going to learn about Data Protection in ASP.NET Core: what it is, why we need it and how to implement it in .NET Core-based applications. What is Data Protection? Let’s first understand the concept of data protection. It is a mechanism to apply security level to any data from unauthorized…


RSS
YouTube
YouTube
Instagram