Caching in ASP.NET C# – Memory Caching is AMAZING



Caching in ASP.NET C# – Memory Caching is AMAZING

Caching in ASP.NET C# - Memory Caching is AMAZING

๐Ÿ”ฅ Want to 50x your application’s performance? Then you NEED to learn about Memory Caching in ASP.NET and C#!

๐Ÿš€ SKYROCKET your C# skills and become a sought-after C# web developer with our C# Progress Academy: https://academy-tutorials.eu/csharp-progress-academy-organic?utm_source=yt_small

๐Ÿ“š Or do you like to learn through BOOKS more? Our TINY C# PROJECTS BOOK!
http://mng.bz/M5an

We’ll make sure to turn you into a true developer in no time!

TIMESTAMPS
00:00 Intro
00:16 Our database and results of caching
02:04 This one is for you!
02:38 Letยดs talk about caching
06:56 What are our cache options?
10:09 Testing our application with and without caching
11:54 Thanks for watching!

Caching in ASP.NET C# – Memory Caching is AMAZING

So, what is C#?
C# (pronounced “See Sharp”) is a modern, object-oriented, and type-safe programming language. C# enables developers to build many types of secure and robust applications that run in .NET. C# has its roots in the C family of languages and will be immediately familiar to C, C++, Java, and JavaScript programmers. This tour provides an overview of the major components of the language in C# 8 and earlier. If you want to explore the language through interactive examples, try the introduction to C# tutorials.

And ASP?
ASP.NET is an open-source, server-side web-application framework designed for web development to produce dynamic web pages. It was developed by Microsoft to allow programmers to build dynamic web sites, applications and services. The name stands for Active Server Pages Network Enabled Technologies

And what is Memory caching?
Caching can significantly improve the performance and scalability of an app by reducing the work required to generate content. Caching works best with data that changes infrequently and is expensive to generate. Caching makes a copy of data that can be returned much faster than from the source. Apps should be written and tested to never depend on cached data.

ASP.NET Core supports several different caches. The simplest cache is based on the IMemoryCache. IMemoryCache represents a cache stored in the memory of the web server. Apps running on a server farm (multiple servers) should ensure sessions are sticky when using the in-memory cache. Sticky sessions ensure that requests from a client all go to the same server. For example, Azure Web apps use Application Request Routing (ARR) to route all requests to the same server.

Non-sticky sessions in a web farm require a distributed cache to avoid cache consistency problems. For some apps, a distributed cache can support higher scale-out than an in-memory cache. Using a distributed cache offloads the cache memory to an external process.

The in-memory cache can store any object. The distributed cache interface is limited to byte[]. The in-memory and distributed cache store cache items as key-value pairs.

To learn more, make sure to watch the video, and we promise you that you’ll become a better developer by the end of the video! Have fun!

#csharp #coding #tutorial #learn #microsoft #net #memory #caching #performance #aspnet

TAGS
Tutorials,Tutorial,Programming,Course,Step by step,development,programmer,learn how to,c#,.net,.net core,dotnet,core,asp,asp net,c sharp,csharp,memory caching asp,caching asp.net core,asp.net core web api caching,response cache asp.net core,cache in asp.net core,distributed caching,distributed cache,caching in asp.net,caching in asp.net mvc,cache in asp.net c#,visual studio,web api caching c#,dot net,how to code,caching,cache,in-memory distributed cache

TutorialsEU offers you free video tutorials about programming and development for complete beginners up to experienced programmers.
This includes C#, Unity, Python, Android, Kotlin, Machine Learning, etc.
Stay tuned and subscribe to tutorialsEU: https://goo.gl/rBFh3x

C#: https://www.youtube.com/channel/UCqCnjtxdlG9qEgFJIUeLJNg
Facebook: https://www.facebook.com/TutorialsEU-109380204093233
LinkedIn: https://www.linkedin.com/company/tutorialseu
Discord: https://discord.gg/zwbrpCNB2M

Comments are closed.