- Видео 22
- Просмотров 151 156
Full Stack Amigo
Канада
Добавлен 5 дек 2019
Easy to understand explanations for programming.
Subscribe to learn more.
#programming #fullstack
Subscribe to learn more.
#programming #fullstack
Indecies and Ranges in C#
What is Index and What is Range in C#?
How to slice arrays in C#
How to index from end of arrays?
Hot to substring with index and range in C#?
😀 QUESTIONS? ▶ COMMENT
🔴 SUBSCRIBE: bit.ly/39PJJ8Z
🔴 LIKE SHARE SUBSCRIBE
▶ SOCIAL MEDIA:
Instagram: fullstackamigo
Twitter: fullstackamigo
Telegram: www.t.me/fullstackamigo
Website: fullstackamigo.com
#csharp #index #range
How to slice arrays in C#
How to index from end of arrays?
Hot to substring with index and range in C#?
😀 QUESTIONS? ▶ COMMENT
🔴 SUBSCRIBE: bit.ly/39PJJ8Z
🔴 LIKE SHARE SUBSCRIBE
▶ SOCIAL MEDIA:
Instagram: fullstackamigo
Twitter: fullstackamigo
Telegram: www.t.me/fullstackamigo
Website: fullstackamigo.com
#csharp #index #range
Просмотров: 1 527
Видео
Temporal Tables - (System-Version Tables) - EF Core - SQL Server
Просмотров 2,5 тыс.2 года назад
Temporal Tables (System-version Tables) What is a Temporal Table? What is a System-Versioned Table in SQL Server? How to create Temporal Tables in C# and Entity Framework - EF Core How to keep history of data in database tables? We answer all these questions in the video Links 👇 🔗 Intro 0:00 🔗 Setup 0:38 🔗 Create a Temporal Table 1:35 🔗 Inside SQL Server 2:50 🔗 Configure a Temporal Table 4:15 🔗...
Shadow Properties - EF Core - Foreign Keys
Просмотров 3,5 тыс.2 года назад
What is a Shadow Property in EF Core - Entity Framework Core? How to create or configure a Shadow Property in EF Core? How to make a foreign key as Shadow Property? We answer all these questions in the video 😀 QUESTIONS? ▶ COMMENT 🔴 SUBSCRIBE: bit.ly/39PJJ8Z 🔴 LIKE SHARE SUBSCRIBE ▶ SOCIAL MEDIA: Instagram: fullstackamigo Twitter: fullstackamigo Telegram: www.t.me/full...
How to Read Log Files Using LogViewPlus
Просмотров 24 тыс.2 года назад
Learn How to read and analyze log files using LogViewPlus 😀If you have any question ask me in the comments 🔴 SUBSCRIBE 🔥 using the following link bit.ly/39PJJ8Z 🔴Don't forget to like and share this video Follow Me On Social Medias ⬇ Instagram: fullstackamigo ✅ Twitter: fullstackamigo✅ Telegram: www.t.me/fullstackamigo ✅ Website: fullstackamigo.com ✅ #logging #tutorial ...
Structured Logging In ASP NET Core With NLog
Просмотров 4,5 тыс.3 года назад
How to use NLog in asp.net core? How to log in asp.net core? In this video you will learn how to log in asp.net core using NLog 👉 Links 🔗Intro 0:00 🔗Install and Config Nlog 0:54 🔗Logging with NLog 6:34 🔗Exception Handling In ASP.NET Core 7:27 🔗Outro 12:45 😀 QUESTIONS? ▶ COMMENT 🔴 SUBSCRIBE: bit.ly/39PJJ8Z 🔴 LIKE SHARE SUBSCRIBE ▶ SOCIAL MEDIA: Instagram: fullstackamigo Twitter: tw...
Nlog Tutorial - Getting Started With Nlog
Просмотров 21 тыс.3 года назад
Start to log in your .net applications with NLog logging library. In this video we learn how to install, config and do structured logging with NLog How to log in C#? How to log to a file in C#? How to install NLog? How to configure NLog? 👉 Links 🔗 Intro 00:00 🔗 Install NLog 1:04 🔗 NLog Configuration 1:27 🔗 Logging With NLog 6:59 🔗 Structured Logging 8:13 🔗 Formatting Values 12:18 🔗 Outro 13:18 ...
Logging Best Practices - Learn How to Log
Просмотров 9 тыс.3 года назад
How to log? In this video you will learn the best practices for logging and generally how to log. 👉 Links 🔗 Intro 0:00 🔗 What is logging? 0:30 🔗 What Should I Log? 2:10 🔗 What Shouldn't I Log? 3:19 🔗 Log Levels 3:58 🔗 Log Context? 6:48 🔗 Concurrent Logging 8:22 🔗 Outro 8:55 😀 QUESTIONS? ▶ COMMENT 🔴 SUBSCRIBE: bit.ly/39PJJ8Z 🔴 LIKE SHARE SUBSCRIBE ▶ SOCIAL MEDIA: Instagram: fullsta...
Does readonly affect Performance ?! - Avoid Defensive Copies - Advanced C#
Просмотров 7123 года назад
Does readonly affect performance of your C# applications? In this video we learn about compiler details of readonly. 😀If you have any question ask me in the comments 🔴 SUBSCRIBE 🔥 using the following link bit.ly/39PJJ8Z 🔴Don't forget to like and share this video Follow Me On Social Medias ⬇ Instagram: fullstackamigo ✅ Twitter: fullstackamigo✅ Telegram: www.t.me/fullsta...
Advanced C# - Understanding Async State Machine Part 2 - The State Machine - A Deeper Look
Просмотров 3,7 тыс.3 года назад
Part 2 - In this video we understand what happens to async and await after compiler compiles the code! 😀If you have any question ask me in the comments 🔴 SUBSCRIBE 🔥 using the following link bit.ly/39PJJ8Z 🔴Don't forget to like and share this video Follow Me On Social Medias ⬇ Instagram: fullstackamigo ✅ Twitter: fullstackamigo✅ Telegram: www.t.me/fullstackamigo ✅ Webs...
Advanced C# - Understanding Async State Machine - Part 1 - Awaitable/Awaiter Pattern - A Deeper Look
Просмотров 8 тыс.3 года назад
How does async and await keywords work behind the scene? What is the Async State Machine, What can be awaited and What is a TaskAwaiter? How to create a custom Task Awaiter?Let's answer these questions in the video. Table of Contents: Intro: 0:00 Iteratable: 1:28 Awaitable: 3:11 TaskCompletionSource: 7:33 Custom TaskAwaiter Example 1: 9:35 Custom TaskAwaiter Example 2: 15:10 😀If you have any qu...
C# records, init accessor and with keyword - C# 9.0 New Features
Просмотров 5723 года назад
C# 9.0 has finally arrived with such a useful features that can change the way we code! Today we will cover C# record, init accessors and with keyword. Table of contents: 0:00 Intro 0:39 Requirements 1:43 The init Keyword 3:24 Introducing record 6:46 Positional records 8:43 The with Keyword 10:10 Outro 😀If you have any question ask me in the comments 🔴 SUBSCRIBE 🔥 using the following link bit.l...
SOLID Principles - Single Responsibility Principle Clearly Explained
Просмотров 3194 года назад
SOLID Principles Part 1 Single Responsibility Principle is the S of SOLID Principles. It seems to be the easiest one but not everyone understands what it really means! In this video, we will explain Single Responsibility Principle Clearly. Link for further reading: blog.cleancoder.com/uncle-bob/2014/05/08/SingleReponsibilityPrinciple.html 😀If you have any question ask me in the comments 🔴 SUBSC...
Implementing Mediator Design Pattern in C#
Просмотров 7 тыс.4 года назад
In the previous video (link below), we learned about the mediator design pattern. In this video, we are going to implement the Mediator Design Pattern in a real-world example in C#. We are going to implement a form in C#. Watch the Mediator Pattern Video here: ruclips.net/video/PoEpGQwsCwU/видео.html 😀If you have any question ask me in the comments 🔴 SUBSCRIBE 🔥 using the following link bit.ly/...
Medator Pattern Clearly Explained
Просмотров 1,1 тыс.4 года назад
The Mediator Design Pattern is used to decouple objects from referencing to each other, In this video, I will explain how this is going to happen, 😀If you have any question ask me in the comments 🔴 SUBSCRIBE 🔥 using the following link bit.ly/39PJJ8Z 🔴Don't forget to like and share this video Follow Me On Social Medias ⬇ Instagram: fullstackamigo ✅ Twitter: fullstackami...
LINQPad Tutorial - SQL and LINQ Made Easy with LinqPad - C#.NET
Просмотров 27 тыс.4 года назад
Interacting with data in SQL Server Management Studio is very hard but it's not hard in LINQPad! Is it hard to write LINQ queries? wanna practice LINQ? so use LINQPad. In this video, I'll show you how LINQPad works! 👉 Links 🔗 Intro 0:00 🔗 Download LINQPad: 1:00 🔗 Connections: 1:50 🔗 Tables: 2:17 🔗 Queries: 3:00 🔗 Join Queries?: 3:27 🔗 C# Queries or SQL Queries?: 4:26 🔗 Add Database Connection: ...
Advanced C# - Task vs ValueTask Clearly Explained - A Deeper Look
Просмотров 5 тыс.4 года назад
Advanced C# - Task vs ValueTask Clearly Explained - A Deeper Look
Return Value by reference in C# Ref Locals and Ref Return | .NET PLUS
Просмотров 1,3 тыс.4 года назад
Return Value by reference in C# Ref Locals and Ref Return | .NET PLUS
ref vs out vs in || C# Keywords || Pass By Reference - .NET PLUS
Просмотров 8 тыс.4 года назад
ref vs out vs in || C# Keywords || Pass By Reference - .NET PLUS
C# Tuples Best Tricks in 2020 - A Deeper Look
Просмотров 3,5 тыс.4 года назад
C# Tuples Best Tricks in 2020 - A Deeper Look
Object Deconstruction in C# - .NET PLUS
Просмотров 1,1 тыс.4 года назад
Object Deconstruction in C# - .NET PLUS
Covariance and Contravariance Clearly Explained in C# - A Deeper Look
Просмотров 17 тыс.4 года назад
Covariance and Contravariance Clearly Explained in C# - A Deeper Look
Singleton Explained And Compared With Statics in C# - A Deeper Look
Просмотров 1,2 тыс.4 года назад
Singleton Explained And Compared With Statics in C# - A Deeper Look
On my LINQPad, each table link opens up in a new tab.
How to check browsing history on router log file?
Well, that is not related to the video, and I don't think that the routers keep such data, but you can check with the manufacture of your router.
Rolfson Prairie
🤔
thanks man. good tutorial
Glad it helped
Bro how can i disable all logging for the txt files, my hard drive is getting fullbecause txt files are too large, i want to disable logging on txt file
Well, if you change the configuration file (NLog.config) you can disable the log to the text file by removing the file target, but I personally recommend that you try to use the Archive mechanism of NLog! You can tell it how much too keep and the rest will be deleted automatically!
virustotal declined logviewplus as a trojan
Oh really? didi you download it from their own web site? I didn't had any issue!
Thanks, this is really useful. It answered some of my questions although I still have some questions left. But will you continute making the part 3 (it's been 3 years LOL ) ?
Glad that it helped! I'd love to continue making videos, I hope that it happens soon just need to fix a life problem! thanks for watching!
Well explained, last example depicting real world use of contravarient was good.
Glad it was helpful, thanks!
grateful, thank so much for you explained!!
Glad it was helpful!
Very helpful!
Thanks!
u r persian.
آره 🙌😂
where is the next video on the topic ? and where is the source code link on telegram ? Thank you very much. very informative
The links appear in the video and are also in the RUclips about me section, by the way you can just search for @fullstackamigo in the mentioned platforms
Lol, is that a technical lecture or a C# musical? Background music is a bit too loud...
Sorry, the music is used to reduce the noise that was more annoying in my opinion.
Where we can downloaded ad this code what type of apps will use covariance and çontra variance
Well, this is not something that you usually need to work with unless you really need it! It can be used for developing libraries. Unfortunately, I didn't keep the code, but I usually upload codes to telegram channel (@fullstackamigo) or GitHub (@fullstackamigo)
How do I create a button, that is essentially a number between 1-100 ? Instead of creating 100 buttons ?
Sorry! I didn't understand what you said!
@@FullStackAmigo like, if I want a button, that comprises a range of numbers. Instead of created multiple buttons with each number.
subscribed! simple and easy to understand the concept of variance
Welcome aboard!
Which font is that you're using in visual studio? :)
The default font! :)
thanks brother
🙌
Do you have a video explaining what is nlog and similar technologies?
Sorry for late response! Well, I have a couple of videos about NLog on my channel and it is a good library. But if you want an alternative, check out Serilog. Currently I'm using NLog myself.
Please include a sample of adding rows to the table
Please check this link: www.squaredroot.com/2007/12/05/addupdatedelete-with-linqpad/
Saludos amigo
I noticed that you first warn the audience not to log personal information; a few minutes later, you tell them to "improve" the log by including "User Id", "Username", the account number, the amount withdrawn. This is personal information and in contradiction to your earlier warning. Please remain consistent.
Hello! Thanks for your good comment and keen eyes! I should have said it with more details and described much more but you may also want to watch that part of the video again! - First you should know that the logs are not exposed to the world! they are in you secure database or directories with only authorized team members having access to it! - Second, Later in the video we discuss about log levels, you may log really sensitive information when using Trace and Debug log levels cause they are only used in the development! - Third, you must consider the context when talking about personal data, for example in an app like Instagram UserId and UserName are not personal at all! In a banking application you should log as much as you can even though it may look personal information but you have to protect that logs much better than other logs! they even use software architectures like event-driven architecture that the shape of the data looks like logs!
👍
Dang it, he didn't make part 3!
Is there source code for this? Excited to watch the video.
Sorry, There is no source code! Every is coded in the video.
Very cool. Didn't test it yet, but it seems like you answered the question I had : How to handle/log any Exception from the get go? There will still be try/catch blocks to avoid the app terminates prematurely but no need to add the logging code in there.
Hi! Yes, I've explained how to catch exceptions globally in ASP.NET Core, plus you don't need any try catch blocks even if you don't add a global exception handler! Your app will never terminate due to exceptions in the actions! It'll just return a 500 Http Status Code!
can u share this log file ?
Hello, Unfortunately I don't have it anymore! I've deleted it a very long time ago!
Hombre Hombre from Noruega / Norway. Great video Amigo !
Thanks for watching!
How can you expect anyone to learn with music playing in the background?
Sorry for that, those are my first videos on RUclips and I'm not a professional video maker! More recent videos don't have music on!
The quality video is way too low, unreadable.
What do you mean?! what's wrong?
Superb Explanation and videography
Thank you!
how does comparer example at the end teach/support co/contravariance topic?
Hi! In the last example we are creating a SortedSet<T>. SortedSet<T> accepts an implementation of IComparer<T>. Normally we would use an IComparer<Car> for a SortedSet<Car>, right?! But here in our example, we are using an IComparer<Vehicle> instead! And since Vehicle is a less derived typed compared to Car, this means we are using a less derived type (IComparer<Vehicle>) instead of IComparer<Car> that was needed! And this is called contravariance! If you look at the video again in 9:36 we are doing the exact same thing!
@@FullStackAmigo thanka Amigo, that makes sense.
👍
🙏
How to log all the clicks and actions in a desktop application such as Excel or Power Point?
I guess you are talking about key loggers...! That's a whole different subject! and I have no knowledge about it!
What's with the music?
Sorry for that! It was used to reduce the effect of the noise but it turns out that it was more annoying than the noise itself :)
This is a good demonstration but speaking from experience having built highly threaded production systems using almost entirely Async / Await.. You definitely should be using Async/Await and Tasks as the default for all functions that do not return a value instantly. This is because Async/await breaks the work up into smaller and smaller pieces that can be run on different threads when ConfigureAwait(false) is used, so it helps to reduce friction caused by blocking operations. If you imagine that CPU threads are like lanes in a freeway and synchronous code blocks are like articulated busses while Async state machines are like groups of electric scooters. Articulated busses can carry more people overall but when a bus stops, everyone on the bus stops and everyone behind them has to stop as well. But if everyone is using electric scooters then when one scooter stops, the other scooters behind them simply switch lanes and go around the blocked scooter. The net result is a much more even traffic flow and a higher throughput overall, even though the initial overhead might be slightly higher.. This not only makes the UI seem more responsive but it also makes better use of all CPU cores by default so your applications become much more scalable. So yes go nuts with Async/Await because it is very robust and it takes a lot of the pain out trying to write code that makes full use of all CPU cores.
Thanks for writing your experience, ConfigureAwait(false) only determines where to continue after finishing the task, but all the task are run on the thread pool threads no matter what... You should always run your long running codes or IO ones on a Task or a dedicated Thread but if you use tasks for small none IO, none blocking code not only the overhead will be high but it will heavily lowers the performance, keep in mind thread pool threads are limited and eventually will run out and OS will need to create a new one if needed which makes it even worse for such small tasks. And you should also add the added amount of memory overhead to all this! Also remember not everyone has a great multi-core CPU! even today! It's absolutely expensive in my country 😁 My advice is to use Tasks and Threads wisely
@@FullStackAmigo The thread pool only spins up a new thread when all existing threads are blocked so using the thread pool is a choice between using slightly more resources or your app UI freezing. Also you can adjust how many threads the thread pool uses.. So if your thread pool is set to 1 then all of your tasks will run on the UI thread.. and if it is set to 1000 then then your tasks will run on as many threads as is necessary to get the job done in the optimum way so even if you have only have a single cpu core with 2 hardware threads, it's still better to use tasks in most cases because it allows your software to scale up and down to match the cores of computer it is running on when is is deployed in production.. For example.. in UNO platform by default compiling to WASM uses only one thread (you can compile it to use more but it is experimental) Android (ARM) is limited to about 100 threads, and windows is limited to 1000 threads so if you use exclusively Tasks, your code will run on all platforms without issue.. but if you use explicit threads or no threads then your code will have serious bottlenecks and have to be rewritten for each platform. So maybe multicore cpus are expensive in your country but I doubt they are as expensive as developers and I doubt that you'd want to write software only for people in your country. I was also very skeptical about using tasks everywhere until I actually tried it and saw it running in production. In my experience, Tasks are equally beneficial for backend processing apps as they are for UI frontend apps and ValueTasks can also be used where optimization is needed.
CASADA
🤔
Nicely explained. I liked the pace and the style of simplifying concepts. Would definitely love to see more videos on a wide range of topics!
Thanks, will do!
Highest quality!
Thanks!
Good stuff!!! Great Stuff!!! Thanks for your valuable contributions. Absolutely love this brief, precise and relatable explanation.
Thank you so much for positive energy! Glad you liked it!
Thanks....
You're welcome!
Awesome video of async/await.. Waiting for more videos like this. Hats off to you .. Amigo
Thanks a ton! Happy to have you here!
Not works. Don't generate the message in the Console neither the text file
Did you set the configurations correctly? Did you set 'copy to output directory' for your config file ( see 2:13 )? if it didn't work, you can send me a sample in telegram : @HesamKashefi to check it for you
@@FullStackAmigo oh was exacly that! (In the config property) muchas gracias amigo.
@@ricardokim1366 muchas gracias for watching my videos amigo
Cool
Thanks!
How to make 10 intelligent questions out of a log files ?
Sorry, What?!
@@FullStackAmigo means if i got a 2000 lines log file how to take out information from the vast data ?
@@samitdas2798 you can read large log files with this software but if you mean how to analyze a log file? That would be a topic for another video. But for now, i can just tell you this: use ELK stack for analyzing log files, it's pretty easy
@@FullStackAmigo can i send you a log file ? can you teach or guide me how to analyze it ? how to create questions from it
I don't have the necessary tools right now, but I will create a video for this in the future. for now, you can use this tutorial: www.elastic.co/guide/en/logstash/current/advanced-pipeline.html
Hello, I have read the documentation and there is a recommendation to create one static log per class, then you have to dispose everyone before shutting down the app, how do you do that if you have many clases?
Hello! Good Question! Try to put your codes inside a method, then wrap that method inside a try finally block and inside the finally block call shutdown: NLog.LogManager.Shutdown() (See Getting Started section of the documentation for examples). About disposing your loggers, Logger class does not implement IDisposable, so it means you don't need to do anything!
@@FullStackAmigo oh okey, so I call shutdown every time I do something with the class on every method?
No no! You only shut down once per application! just when the app exits as the last line of your code (whether by finishing the code or in case of an unhandled exception)!
I remember this youtube channel from back when I did C++ as a student. Good old days with the Amigo!
Welcome back!
Help me
What do you need?!
Help me
?
Help me
?