Category: C# – Misc

Query Strings in C#

Here’s a complete, copyright-free guide to Query Strings in C# / ASP.NET, including definition, examples, use cases, limitations, performance, and security. You can freely copy-paste this on your blog or Facebook page. 🔗 Query String in C# ASP.NET – Complete Guide 📘 Definition A query string is a part of the URL that carries data …

Continue reading

Cookies in C#

By AI: Here’s a clear, blog- and Facebook-ready explanation of Cookies in C# (ASP.NET) with their pros and cons, including examples. You can freely copy, share, or repost it anywhere. 🍪 Cookies in C# ASP.NET – Pros and Cons In web development with ASP.NET, cookies are used to store small pieces of data on the …

Continue reading

Data Types in Application and Session State Variables with examples

Here’s a clear and blog/Facebook-ready answer to: ❓ What Type of Data Can You Store in Application State and Session State Variables in ASP.NET? In ASP.NET, both Application State and Session State are used to store data on the server side — but they serve different purposes and scopes. Below is a breakdown of the …

Continue reading

Application State Variables in C#.net

Here’s a clear, copyright-free explanation of Application State Variables in C#.NET, ideal for blogs, Facebook pages, or classroom notes. 🌐 Application State Variables in C#/.NET Application State in ASP.NET is a way to store global data that is shared by all users across the entire web application. It is commonly used to store settings, counters, …

Continue reading

Modes of Session State Management

By AI: Here are the 5 modes to store Session State in ASP.NET, each with its own storage location and behavior. This is especially useful for configuring ASP.NET (Framework) Web Forms or MVC applications — though some modes also apply to ASP.NET Core with slight differences. You can copy and share this content freely on …

Continue reading

Client and Server Side State Management in C# (ASP.Net)

By AI: Here’s a copyright-free, blog/Facebook-friendly explanation of Client-side and Server-side State Management in C#/.NET, along with techniques under each category. You can freely copy and use it. 🌍 Client-side vs Server-side State Management in C#/.NET In C# and .NET applications—especially in web development like ASP.NET—state management helps maintain data across user requests. Since HTTP …

Continue reading

State in .Net (C#, ASP.Net)

From AI: Certainly! Here’s a copyright-free, blog and Facebook-ready version of the explanation on State Management in C#/.NET. You can copy, paste, and share this freely on your blog, website, or social media. No attribution is required (but you’re welcome to add your name or page if you like). 🌐 State Management in C# and …

Continue reading

Misc. Short Notes on Visual Studio and C#

Download Visual Studio Community Edition: https://visualstudio.microsoft.com/vs/community Compare Different Versions of Visual Studio: https://visualstudio.microsoft.com/vs/compare IPO Diagram for Your Code (Application) IPO Diagram visually shows/describes key inputs, Processes/Operations, and resulting outputs from those operations. Ref: https://www.youtube.com/watch?v=a10a11oxjrA&pp=0gcJCdgAo7VqN5tD For UML class diagram Concepts, please check: https://www.visual-paradigm.com/guide/uml-unified-modeling-language/uml-class-diagram-tutorial An example from the URL above: In Object Oriented Design: Ref: https://www.visual-paradigm.com/guide/uml-unified-modeling-language/uml-aggregation-vs-composition/ Associations are …

Continue reading

Visual Studio C#

C# Thread-Safe Concurrent Collections

C# Concurrent classes are provided through System.Collections.Concurrent Concurrent classes: for thread-safe operations i. e. Now multiple threads can access the Collections without creating problems Concurrent classes: BlockingCollection ConcurrentBag ConcurrentStack ConcurrentQueue ConcurrentDictionary Partitioner Partitioner OrderablePartitioner