filmov
tv
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#!
📚 Or do you like to learn through BOOKS more? Our TINY C# PROJECTS BOOK!
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
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.
📚 Or do you like to learn through BOOKS more? Our TINY C# PROJECTS BOOK!
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
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.
Комментарии