How to implement Generic Attributes in C# 11 and .NET 7
Автор: DotNet Core Central
Загружено: 2022-12-11
Просмотров: 2448
Описание:
In this video, I will cover generic attributes introduced as a part of C# 11.
#csharp #csharp11 #dotnet #dotnet7
00:00 - Introduction
00:16 - Attribute definition
00:40 - An example of where we use attributes
01:20 - Why do we need a Generic attribute
01:46 - Custom attribute using a type parameter
03:01 - Using custom attribute on a type
03:20 - Using reflection to read custom attribute
05:18 - How to create a generic attribute
06:00 - Using reflection to read generic attributes
06:25 - Advantage of generic attribute
08:00 - Things that are not allowed with generic attributes
My video on reflection: • Reflection introduction for .NET Core (C#)
Some of my popular videos:
Elasticsearch with .NET and introduction: • An Introduction to Elasticsearch (Building...
Hangfire Scheduling an introduction: • Scheduling recurring jobs with Hangfire (I...
ASP.NET Core Authentication with JWT (JSON Web Token): • ASP.NET Core Authentication with JWT (JSO...
Running Background tasks using IHostedService and BackgroundService (In ASP.NET Core 3.1): • Running Background tasks using IHostedServ...
How to build an API Gateway in ASP.NET Core using Ocelot (Build API Gateway in a few minutes): • How to build an API Gateway in ASP.NET Cor...
My blog site: https://dotnetcorecentral.com
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: