- 94
- 505 635
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
Переглядів: 781
Відео
Publish .NET Apps as a Single File To Windows, Linux and Mac!
Переглядів 1,5 тис.Місяць тому
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!
Переглядів 1,1 тис.Місяць тому
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
Переглядів 2 тис.2 місяці тому
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
Переглядів 5935 місяців тому
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,8 тис.5 місяців тому
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,3 тис.6 місяців тому
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!
Переглядів 7346 місяців тому
Minimal API Mastery: Boost Your ASP.NET Minimal APIs with Data Annotations for Model Validation!
Easy C# Tutorial - Understand Attributes and Write your Own!
Переглядів 6 тис.9 місяців тому
Easy C# Tutorial - Understand Attributes and Write your Own!
Easy Guide to Creating Minimal APIs in ASP.NET
Переглядів 2,1 тис.10 місяців тому
Easy Guide to Creating Minimal APIs in ASP.NET
From Pianist to Software Developer in 1 Year
Переглядів 40611 місяців тому
From Pianist to Software Developer in 1 Year
Unlock Emotion Detection with ML.NET Sentiment Analysis! 💻😃🔍
Переглядів 73811 місяців тому
Unlock Emotion Detection with ML.NET Sentiment Analysis! 💻😃🔍
Revolutionize Your Coding: C# Machine Learning Essentials with ML.NET!
Переглядів 17 тис.11 місяців тому
Revolutionize Your Coding: C# Machine Learning Essentials with ML.NET!
C# 12 - The Best New Features from the .NET 8 Release!
Переглядів 1,9 тис.Рік тому
C# 12 - The Best New Features from the .NET 8 Release!
The Best Way To Generate Random Words In .NET Core (C#)
Переглядів 567Рік тому
The Best Way To Generate Random Words In .NET Core (C#)
Aspect-Oriented Programming with C#, Custom Attributes and PostSharp
Переглядів 1,5 тис.Рік тому
Aspect-Oriented Programming with C#, Custom Attributes and PostSharp
Using P/Invoke in C#: Windows API Integration Made Easy!
Переглядів 3,7 тис.Рік тому
Using P/Invoke in C#: Windows API Integration Made Easy!
Introduction to DateTime in C#: Master the Basics!
Переглядів 2,1 тис.Рік тому
Introduction to DateTime in C#: Master the Basics!
Supercharge Your C# Code: Integrating Python using Python.NET
Переглядів 42 тис.Рік тому
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,1 тис.Рік тому
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,5 тис.Рік тому
Master Azure Magic: Deploy Blazor to Cloud in Minutes! 🔥🚀
Blazor Server vs Blazor WebAssembly: Which is Right for You?
Переглядів 16 тис.Рік тому
Blazor Server vs Blazor WebAssembly: Which is Right for You?
Learning C#? You NEED To Learn Regular Expressions!
Переглядів 2,7 тис.Рік тому
Learning C#? You NEED To Learn Regular Expressions!
Mastering TCPListener in C#: Building Network Applications from Scratch
Переглядів 22 тис.Рік тому
Mastering TCPListener in C#: Building Network Applications from Scratch
Make an Interactive Blazor App in Less than 20 MINUTES! Learn Routing and Navigation.
Переглядів 4,3 тис.Рік тому
Make an Interactive Blazor App in Less than 20 MINUTES! Learn Routing and Navigation.
Blazor Form Creation: Effortless User Interaction for Web Apps
Переглядів 9 тис.Рік тому
Blazor Form Creation: Effortless User Interaction for Web Apps
Master SQL to Excel Data Export: Entity Framework & ClosedXML | ASP.NET Blazor Tutorial
Переглядів 3,2 тис.Рік тому
Master SQL to Excel Data Export: Entity Framework & ClosedXML | ASP.NET Blazor Tutorial
Create Your Own Chat App: SignalR Mastery in C# & ASP.NET
Переглядів 42 тис.Рік тому
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,9 тис.Рік тому
C# Tutorial - How to use Cancellation Tokens. Manage Long-Running Tasks in your Code Efficiently!
Literally a lifesaver. Thank you for the video.
Really helpful. Thanks
Thank you from Pennsylvania! 👋
B@lti****@**23
Thank you - I was really struggling to find a simple example of a service(class) that could "see" the dbContext. I had it working where the page could directly call the data, but I didn't want to do that.
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