Skip to main content

Disclaimer

Disclaimer for c-sharp corner

If you require any more information or have any questions about our site's disclaimer, please feel free to contact us by email at patitlt035@gmail.com.

Disclaimers for c-sharp corner

All the information on this website - https://c-sharpwarriror.blogspot.com/ - is published in good faith and for general information purpose only. c-sharp corner does not make any warranties about the completeness, reliability and accuracy of this information. Any action you take upon the information you find on this website (c-sharp corner), is strictly at your own risk. c-sharp corner will not be liable for any losses and/or damages in connection with the use of our website.

From our website, you can visit other websites by following hyperlinks to such external sites. While we strive to provide only quality links to useful and ethical websites, we have no control over the content and nature of these sites. These links to other websites do not imply a recommendation for all the content found on these sites. Site owners and content may change without notice and may occur before we have the opportunity to remove a link which may have gone 'bad'.

Please be also aware that when you leave our website, other sites may have different privacy policies and terms which are beyond our control. Please be sure to check the Privacy Policies of these sites as well as their "Terms of Service" before engaging in any business or uploading any information.

Consent

By using our website, you hereby consent to our disclaimer and agree to its terms.

Update

Should we update, amend or make any changes to this document, those changes will be prominently posted here.

Comments

Popular posts from this blog

☁️ Azure Key vault Short Notes

🟢 What is Azure Key Vault? A cloud service for securely storing and accessing secrets, keys, and certificates . Removes the need to keep secrets (like connection strings, passwords, API keys) inside code or config files. Provides centralized secret management, encryption, and access control . 👉 Think of it like a secure password manager but for your applications. 🟢 Key Features Secrets → store text values (e.g., DB connection string, API key). Keys → store cryptographic keys (RSA, EC) for encryption, signing. Certificates → store/manage SSL/TLS certificates. Access Control → Access Policies (older model). Azure RBAC (modern, preferred). Integration → works with App Service, Functions, AKS, VMs, SQL DB, etc. Logging → audit who accessed secrets via Azure Monitor / Diagnostic Logs. 🟢 Why Use Key Vault? Security → secrets are encrypted with HSM (Hardware Security Modules). Compliance → meet industry standards (PCI-DSS, ISO, GDPR). Automation → aut...

🗑️ Garbage Collection & Resource Management in .NET (C#) — Beginner Friendly Guide

When you start working with .NET and C#, one of the biggest advantages is that you don’t need to manually manage memory like in C or C++. The Garbage Collector (GC) does most of the work for you. But here’s the catch — not everything is managed automatically. Some resources like files, database connections, sockets, and native memory still need special handling. This blog will help you understand: ✔ How the GC works ✔ What are managed vs unmanaged resources ✔ The difference between Dispose , Finalize , and using ✔ The Dispose pattern with examples ✔ Best practices every C# developer should know 1) How Garbage Collection Works in .NET Managed resources → Normal .NET objects (string, List, etc.). GC frees them automatically. Unmanaged resources → External resources like file handles, database connections, sockets, native memory. GC cannot clean them up — you must do it. 👉 GC uses a Generational Model for performance: Gen 0 : Short-lived objects (local variables, t...

🚀 Onboard a New API in Microsoft Entra and Consume It — with Full Examples

This article shows how to: Register your API in Microsoft Entra (Azure AD) and expose a scope. Register clients (daemon and web client) and grant permissions. Protect a .NET Web API (ASP.NET Core) using Microsoft.Identity.Web . Call the API from: a daemon/service using client credentials a backend that performs On-Behalf-Of (OBO) to call a downstream API Replace placeholders like YOUR_TENANT_ID , API_CLIENT_ID , CLIENT_APP_ID , and CLIENT_SECRET with actual values from the portal. ✳️ Portal steps (brief) Register API ( MyProductApi ) Azure Portal → Microsoft Entra ID → App registrations → New registration → MyProductApi Note: Application (client) ID → API_CLIENT_ID , Directory (tenant) ID → YOUR_TENANT_ID Expose an API App → Expose an API → Set Application ID URI to api://{API_CLIENT_ID} (default) or https://contoso.com/my-api Add a scope : Scope name: access_as_user Admin consent display name: Access MyProductApi as user Who can consent: Admins a...