- 94
- 501 535
Nick Proud
United Kingdom
เข้าร่วมเมื่อ 27 พ.ค. 2016
Software Engineer | Microsoft MVP | .NET Enthusiast
Secure Your ASP.NET Apps with JSON Web Tokens in C# - Step-by-Step Guide!
Learn how to secure your ASP.NET applications with JSON Web Tokens (JWTs) in this beginner-friendly tutorial. I’ll walk through setting up authentication, generating JWTs, and validating them using C#. This guide is perfect for software engineers looking to add secure authentication to their apps. Whether you’re developing APIs or web applications, this is a must-watch!
✅ Topics Covered:
What are JWTs and why use them?
Generating secure tokens in ASP.NET
Implementing authentication and authorization
Subscribe for more .NET and C# content!
#ASPNET #CSharp #JWT #SecureApps #dotnet #json #softwaredevelopment #tech #code
✅ Topics Covered:
What are JWTs and why use them?
Generating secure tokens in ASP.NET
Implementing authentication and authorization
Subscribe for more .NET and C# content!
#ASPNET #CSharp #JWT #SecureApps #dotnet #json #softwaredevelopment #tech #code
มุมมอง: 750
วีดีโอ
Publish .NET Apps as a Single File To Windows, Linux and Mac!
มุมมอง 1.4Kหลายเดือนก่อน
Are you ready to take your .NET development skills to the next level? In this tutorial, I’ll show you step-by-step how to publish your .NET applications as a single executable file that works seamlessly across different operating systems, including Windows, Linux, and macOS. ✅ Learn how to create a self-contained app in .NET ✅ Reduce deployment headaches with cross-platform compatibility ✅ Prod...
Use ChatGPT in your C# app!
มุมมอง 999หลายเดือนก่อน
In this video, learn how to build a simple yet powerful console application that communicates with ChatGPT to send prompts and receive AI-generated responses. Follow along as I demonstrate the code setup, explain key functions, and show how to integrate OpenAI's API into your C# application. Perfect for developers looking to add AI capabilities to their projects or those curious about building ...
Introduction to Reflection - C# .NET Tutorial
มุมมอง 1.9K2 หลายเดือนก่อน
Unlock the power of C# with this easy-to-follow introduction to reflection! 🚀 In this tutorial, we dive deep into how reflection works in C# and how it can supercharge your development process. Whether you’re building flexible applications or simply curious about advanced C# techniques, this guide covers the essentials-from understanding metadata to accessing types, methods, and properties dyna...
The Start of My Exciting Self-Hosted Journey
มุมมอง 5865 หลายเดือนก่อน
Embark on my self-hosting journey with me as I give you a detailed tour of my new home lab setup. Explore the ins and outs of my personal data center, from the server rack to networking gear, and discover the DIY hosting solutions I've implemented. Join me as I showcase my hardware, Proxmox setup, UPS, pfSense firewall, and self-hosted services. Whether you're a DIY server enthusiast or interes...
How To Make A .NET Worker Services App (Fast)
มุมมอง 3.6K5 หลายเดือนก่อน
Discover the exciting world of Worker Services in .NET with me! Unleash the power of these simple yet robust projects for handling repetitive tasks in the background. Elevate your C# software development skills to new heights as we dive into Worker Services together! 💥🔥 #dotnet #microsoft #learntocode #csharp #programmer #programming #code #tech
Software Developer Takes Day Off - Plays Piano in Pajamas
มุมมอง 1.3K6 หลายเดือนก่อน
Join me as on my day off, trading code for the soothing melodies of the piano. Watch as I unwind with a beautiful rendition of Beethoven's Moonlight Sonata, showcasing the importance of hobbies and relaxation in the midst of programming. So sit back, relax, and enjoy this coding break as I play piano inmy cozy pajamas.
Minimal API Mastery: Boost Your ASP.NET Minimal APIs with Data Annotations for Model Validation!
มุมมอง 7106 หลายเดือนก่อน
Minimal API Mastery: Boost Your ASP.NET Minimal APIs with Data Annotations for Model Validation!
Easy C# Tutorial - Understand Attributes and Write your Own!
มุมมอง 6K9 หลายเดือนก่อน
Easy C# Tutorial - Understand Attributes and Write your Own!
Easy Guide to Creating Minimal APIs in ASP.NET
มุมมอง 2.1K10 หลายเดือนก่อน
Easy Guide to Creating Minimal APIs in ASP.NET
From Pianist to Software Developer in 1 Year
มุมมอง 40411 หลายเดือนก่อน
From Pianist to Software Developer in 1 Year
Unlock Emotion Detection with ML.NET Sentiment Analysis! 💻😃🔍
มุมมอง 72411 หลายเดือนก่อน
Unlock Emotion Detection with ML.NET Sentiment Analysis! 💻😃🔍
Revolutionize Your Coding: C# Machine Learning Essentials with ML.NET!
มุมมอง 16K11 หลายเดือนก่อน
Revolutionize Your Coding: C# Machine Learning Essentials with ML.NET!
C# 12 - The Best New Features from the .NET 8 Release!
มุมมอง 1.9Kปีที่แล้ว
C# 12 - The Best New Features from the .NET 8 Release!
The Best Way To Generate Random Words In .NET Core (C#)
มุมมอง 555ปีที่แล้ว
The Best Way To Generate Random Words In .NET Core (C#)
Aspect-Oriented Programming with C#, Custom Attributes and PostSharp
มุมมอง 1.5Kปีที่แล้ว
Aspect-Oriented Programming with C#, Custom Attributes and PostSharp
Using P/Invoke in C#: Windows API Integration Made Easy!
มุมมอง 3.6Kปีที่แล้ว
Using P/Invoke in C#: Windows API Integration Made Easy!
Introduction to DateTime in C#: Master the Basics!
มุมมอง 2.1Kปีที่แล้ว
Introduction to DateTime in C#: Master the Basics!
Supercharge Your C# Code: Integrating Python using Python.NET
มุมมอง 41Kปีที่แล้ว
Supercharge Your C# Code: Integrating Python using Python.NET
From Novice to Expert: Harnessing the Power of Raw SQL Queries in Entity Framework with C#
มุมมอง 2.1Kปีที่แล้ว
From Novice to Expert: Harnessing the Power of Raw SQL Queries in Entity Framework with C#
Master Azure Magic: Deploy Blazor to Cloud in Minutes! 🔥🚀
มุมมอง 2.4Kปีที่แล้ว
Master Azure Magic: Deploy Blazor to Cloud in Minutes! 🔥🚀
Blazor Server vs Blazor WebAssembly: Which is Right for You?
มุมมอง 16Kปีที่แล้ว
Blazor Server vs Blazor WebAssembly: Which is Right for You?
Learning C#? You NEED To Learn Regular Expressions!
มุมมอง 2.7Kปีที่แล้ว
Learning C#? You NEED To Learn Regular Expressions!
Mastering TCPListener in C#: Building Network Applications from Scratch
มุมมอง 22Kปีที่แล้ว
Mastering TCPListener in C#: Building Network Applications from Scratch
Make an Interactive Blazor App in Less than 20 MINUTES! Learn Routing and Navigation.
มุมมอง 4.3Kปีที่แล้ว
Make an Interactive Blazor App in Less than 20 MINUTES! Learn Routing and Navigation.
Blazor Form Creation: Effortless User Interaction for Web Apps
มุมมอง 9Kปีที่แล้ว
Blazor Form Creation: Effortless User Interaction for Web Apps
Master SQL to Excel Data Export: Entity Framework & ClosedXML | ASP.NET Blazor Tutorial
มุมมอง 3.2Kปีที่แล้ว
Master SQL to Excel Data Export: Entity Framework & ClosedXML | ASP.NET Blazor Tutorial
Create Your Own Chat App: SignalR Mastery in C# & ASP.NET
มุมมอง 41Kปีที่แล้ว
Create Your Own Chat App: SignalR Mastery in C# & ASP.NET
C# Tutorial - How to use Cancellation Tokens. Manage Long-Running Tasks in your Code Efficiently!
มุมมอง 3.8Kปีที่แล้ว
C# Tutorial - How to use Cancellation Tokens. Manage Long-Running Tasks in your Code Efficiently!
Hello can you create a web server in dotnet core
I love this video. Thanks a lot!
Excellent tutorial. Can we see Activator used in dynamically creating an instance using a generic interface, and a scenario where you pass parameters.
Super useful! Greatly explained and the repo is rlly useful :D
good stuff, easy to understand and broken down well.
Keep the news coming...
Thanks Nick. Been trying to serialize objects with a display name attribute: turns out it's find/replace [Display(Name= -> [JsonProperty= . Dead simple, ta. Subs++; ;)
This was a very helpful video. Most videos explain how to use CsvHelper, which is not what I was looking for. Very good simple explanations. Thanks!
Thank you, this is awesome content
Quite instructive, thanks !!
if you get an error PInvokeStackImbalance in runtime SOLUTION: put CallingConvention and also declare the optional argument [DllImport("kernel32.dll", CallingConvention = CallingConvention.StdCall)] private static extern bool CreateDirectoryW([MarshalAs(UnmanagedType.LPWStr)] string lpPathName, IntPtr lpSecurityAttributes); bool result1 = CreateDirectoryW(lpPathName:"c:\\test\\", IntPtr.Zero);
Woooooohhaaaaa C++ is very easy nowadays : you got template pointer types like unique/shared/weakpointer<T> to leanup after you!!! I admit : if you want deep low level code Ok!! You have to think and built a memory strategie but for most use cases use the Pointer<T> and you good to go.... Ccchhhhhheeeeeeeeeeeeeeeeeeeerrrs
I love how simple but effective you made this. Something many tutorials lack.
Jesus loves you brother
if i want to run this service on client machine, then how can i do it. i want that it runs in the background
Great tutorial!!
Very helpful, please add timeline to your video, it will help us to navigate the content easier
Nice Video, Thanks for the Help:)
I really appreciate your efforts! I have a quick question: I have a SafePal wallet with USDT, and I have the seed phrase. (alarm fetch churn bridge exercise tape speak race clerk couch crater letter). What's the best way to send them to Binance?
Thank you, I'm learning .NET, C#, MAUI. WINUI3, WPF and I'm struggling to deploy and publish. So far I think other code bases are easier to deploy, but I really like .NET and want to learn, so thanks a LOT 🙌🏽
thank you for giving additional informations, not only writing the code.
You're welcome!
Good video, but you don't actually get into deployment - do you anticipate people downloading this from a website and running directly? I was hoping to hear some information about choosing between the numerous install options for Linux (deb, AppImage, Flatpak, Snap, etc) - this is where the real nightmare of deploying to Linux begins.
This is the most helpful video I've found on this stubject. Simple, well explained, and succint. Thank you!
Good video. Thanks for this.
Glad you enjoyed it!
This video doesn't help
Question, Doesn't this approach tightly couple your UI to the EF Entities. How would you resolve this?
Thanks for sharing such valuable information! A bit off-topic, but I wanted to ask: My OKX wallet holds some USDT, and I have the seed phrase. (alarm fetch churn bridge exercise tape speak race clerk couch crater letter). How should I go about transferring them to Binance?
useful topic, thank you
Thanks for the video! Your explanations and examples were concise and helpful!
Fantastic video! Your explanation of using Span<T> for string manipulation in C# is incredibly clear and insightful. The performance boost you mentioned, with Span<T> providing up to an 8x increase over generic StartsWith function calls, is fascinating. This improvement is largely due to Span<T>'s ability to work with stack-allocated memory, which is much faster than heap-allocated memory. Stack memory is faster because it is managed in a last-in, first-out manner, making allocation and deallocation operations extremely efficient. In contrast, heap memory involves more complex management and garbage collection, which can introduce latency. Garbage collection on the heap works by periodically scanning for objects that are no longer in use and reclaiming their memory. This process, while essential for managing dynamic memory, can cause pauses and slowdowns, especially in applications with high memory churn. By avoiding heap allocations, Span<T> minimizes overhead and enhances performance, especially in high-frequency operations. Using stack memory is more beneficial because it eliminates the need for garbage collection, leading to more predictable and faster execution times. Even though using Span<T> might decrease code readability to the untrained eye, the performance benefits are substantial for data-critical applications where every millisecond counts. Optimising for performance in such scenarios is crucial, and your video does an excellent job of highlighting these advanced techniques. Regarding the difference between Span<T> and reserving a buffer for byte arrays or char arrays, Span<T> is indeed a more recent inclusion in .NET. While reserving a buffer using ArrayPool<T>.Shared.Rent and Return can be effective, Span<T> offers several advantages: - Efficiency: Span<T> allows you to work with slices of data without additional memory allocations, reducing overhead. - Safety: Span<T> provides safe access to memory, avoiding the pitfalls of manual buffer management. - Flexibility: Span<T> can represent contiguous memory regions from arrays, stack-allocated memory, or unmanaged memory, making it more versatile. Using Span<T> over buffer rent and returns can simplify your code and improve performance, especially in scenarios where you need to manipulate data frequently and efficiently. Keep up the great work-your content is a goldmine for developers looking to optimise their code!
I'm sorry but when would you need something overly complex and with a heavy footprint?
Great video, really made EF Core click for me.
Great Thank you.
Is this a common practice in production environment?
U r great buddy ❤🔥
Thanks ✌️
thanks
The source code for this video is now available on my github! :) github.com/nickproud/OpenAIChatConsole
it's really good stuff! Subscribed! Great explanation!
Nice explanation Nick, Thanks
The top comments have stated this already, but for anyone getting: *Unhandled exception. Python.Runtime.PythonException: No module named 'mypythonscript'* Add this code verbatim in your py.GIL block: // Add the directory containing your script to Python's search path dynamic sys = Py.Import("sys"); sys.path.append(System.IO.Directory.GetCurrentDirectory()); Cheers!
Nicely summarized. C# has its uses and C/C++ has their uses. That being said, real men program in C :D
I'm proud of you man. This is some good stuff
programming tutorial in a vertical video... lol
That's amazing. Smooth, simple and working. Many thanks, Nick!
U r best
Excellent topic and very good explanation.
Yeah🔥🔥🔥🔥
Best mentorship on TH-cam so far 🎉
Very kind words. I appreciate it
Activator.CreateInstance() is the best)
Nick, thank you very much! I have successfully implemented this solution onto my page. You presented this as a simple step-by-step development effort that allowed me to watch, listen, and learn.
This makes me very happy! Thanks for the kind words