Тёмный

C# 12 "INTERCEPTORS" are a MUST - FULL C# 12 NET 8 Interceptor TUTORIAL 

tutorialsEU
Подписаться 96 тыс.
Просмотров 3,5 тыс.
50% 1

🔥 This C# 12 feature will be a REQUIREMENT for future jobs, so you better learn how to use it!
C# just got INTERCEPTORS and its a MUST - FULL C# 12 NET 8 Interceptor TUTORIAL
🚀 Master C# and .NET programming EASILY with our best-selling C# Masterclass: bit.ly/47Hk3u7
Here are the links to the sources!
Replacing method calls with Interceptors -
andrewlock.net/exploring-the-...
What's new in C# 12 -
learn.microsoft.com/en-us/dot...
How to Use Interceptors in C# 12 - code-maze.com/how-to-use-inte...
Errors and warnings associated with source generators and interceptors - learn.microsoft.com/en-us/dot...
Timestamps:
00:00 Introduction
00:25 Get the Latest Visual Studio installed!
01:33 Create a C# project
02:09 How to use C#12 Interceptors
03:04 What is a helper class in C#?
03:44 Create our Helper Class
04:49 What are C# attributes?
05:39 Continue with our Helper Class
07:42 Create the rest of our Example NET 8 Project
09:25 Build the Interceptor logic in our C# project
11:16 How to know what line and column a line is in C#
11:50 Test our Interceptor app in C# 12 and Net 8
12:51 Are Interceptors useful in C# 12?
13:28 Thanks for watching!
We'll make sure to make a Developer out of you in no time!
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.
To learn more, make sure to watch the video, and we promise you that you'll become a C# developer by the end of the course! Have fun!
#csharp #coding #tutorial #learn #microsoft #net
TAGS
coding,software engineering,web development,programming,code,software engineer,visual studio,software developer,app development,c sharp,dotnet,software development,learn to code,csharp,c# tutorial,c# course,c# tutorial for beginners,.net core,c# programming,learn c#,how to,core,unity tutorial,csharp learn,beginner,csharp tutorial for beginners,.net 8,c# 12,c# 12 new features,interceptors,interceptors c#,c# 12 interceptors,.net 8 interceptors
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: goo.gl/rBFh3x
C#: / @tutorialseuc
Facebook: / tutorialseu-1093802040...
LinkedIn: / tutorialseu
Discord: / discord

Опубликовано:

 

7 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 13   
@ChodaBoyUSA
@ChodaBoyUSA 6 месяцев назад
What happens when the source file is edited and the method being intercepted moves to a different line or column?
@bot-bot
@bot-bot 6 месяцев назад
Was instantly asking myself the same thing
@diadetediotedio6918
@diadetediotedio6918 6 месяцев назад
This was intended to be used with source generators, so the code of the interceptors would just be regenerated pointing to the right line/column.
@ralphtrickey
@ralphtrickey 6 месяцев назад
@@diadetediotedio6918 Do you know of any specific examples or discussion of cases where that would be done? It seems to me that if you're using a source code generator, it could copy the source and generate the code inline instead. If I squint I can see the use case, I just disagree with it philosophically.
@janniko.3232
@janniko.3232 6 месяцев назад
He bin grade auf udemy auf viele deiner Kurse gestoßen und finde die wirklich Klasse :) direkt 2 gegönnt, aber bei dem " kompletter web entwickler /2.0 " verstehe ich nicht ganz. Wo liegt der unterschied ? Und welchen sollte man sich mittlerweile holen
@ralphtrickey
@ralphtrickey 6 месяцев назад
I hate this feature. I can see its use in unit testing older code, but I can also see how it could potentially create horrible spaghetti code that is impossible to maintain. I especially hate the thought of copilot naively adding it to code used by novices when there are better solutions. This is as bad as the COME FROM statement. Other than unit testing legacy code, are there places where this is a good solution?
@diadetediotedio6918
@diadetediotedio6918 6 месяцев назад
The fact that you don't see the utility of this does not mean it does not exist, grow up bro.
@1S_mods
@1S_mods 5 месяцев назад
its hard to understand , make an example !
@Merlin45.
@Merlin45. 5 месяцев назад
Mega geil bist. Jeder klatscht sieht Timmendorfer Strand Mittelpunkt der Welt bist Frau gerne führe Harley Davidson
@rushas
@rushas 6 месяцев назад
This was not easy to understand. I think an example that doesn't make sense, makes it harder to understand
@Trylobajt
@Trylobajt 3 месяца назад
This is junk. The beginner tutorial shows interceptors, a feature for the top 0.0001% of C# masters who build nugget packages.
@rootsharp9946
@rootsharp9946 Месяц назад
the girl/boy thing appearing in between is so damn annoying.
Далее
What's New in C# 12 | .NET Conf 2023
35:28
Просмотров 53 тыс.
Which one is the best? #katebrush #shorts
00:12
Просмотров 3,7 млн
Super gymnastics 😍🫣
00:15
Просмотров 21 млн
Understanding .NET C# Heaps (Deep Dive)
28:23
Просмотров 12 тыс.
Why is C# Evolving This Way?
15:02
Просмотров 20 тыс.
What Is .NET Aspire? The Insane Future of .NET!
18:35
Просмотров 258 тыс.
Every New Feature Added in C# 12
14:19
Просмотров 147 тыс.
Is LEARNING WPF still WORTH it in 2023?
10:59
Просмотров 37 тыс.
Every single feature of C# in 10 minutes
9:50
Просмотров 85 тыс.
C# 12 The LATEST in .NET - C# 12 Preview
7:52
Просмотров 2,5 тыс.
What is Span in C# and why you should be using it
15:15