Nick Proud
Nick Proud
  • 94
  • 505 635
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
Переглядів: 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!
I'M BACK!
Переглядів 1 тис.7 місяців тому
I'M BACK!
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!

КОМЕНТАРІ

  • @mikronik2455
    @mikronik2455 День тому

    Literally a lifesaver. Thank you for the video.

  • @simonroyjonesuk
    @simonroyjonesuk 3 дні тому

    Really helpful. Thanks

  • @jillieduke
    @jillieduke 4 дні тому

    Thank you from Pennsylvania! 👋

  • @pulsarlights2825
    @pulsarlights2825 5 днів тому

    B@lti****@**23

  • @rtaulbee
    @rtaulbee 6 днів тому

    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.

  • @Srprffffyu
    @Srprffffyu 14 днів тому

    Hello can you create a web server in dotnet core

  • @meenasalarzai478
    @meenasalarzai478 15 днів тому

    I love this video. Thanks a lot!

  • @centaur07
    @centaur07 15 днів тому

    Excellent tutorial. Can we see Activator used in dynamically creating an instance using a generic interface, and a scenario where you pass parameters.

  • @WerbungWERBUNG-w1p
    @WerbungWERBUNG-w1p 18 днів тому

    Super useful! Greatly explained and the repo is rlly useful :D

  • @rzGameDev
    @rzGameDev 23 дні тому

    good stuff, easy to understand and broken down well.

  • @lemonade2345-j4e
    @lemonade2345-j4e 24 дні тому

    Keep the news coming...

  • @timg5011
    @timg5011 26 днів тому

    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++; ;)

  • @kylerliscinski
    @kylerliscinski 27 днів тому

    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!

  • @dotnetMasterCSharp
    @dotnetMasterCSharp 27 днів тому

    Thank you, this is awesome content

  • @stefgrino13013
    @stefgrino13013 27 днів тому

    Quite instructive, thanks !!

  • @rota3781
    @rota3781 27 днів тому

    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);

  • @BeniZeBest2011
    @BeniZeBest2011 28 днів тому

    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

  • @callofbooty7717
    @callofbooty7717 Місяць тому

    I love how simple but effective you made this. Something many tutorials lack.

  • @jewleprince1680
    @jewleprince1680 Місяць тому

    Jesus loves you brother

  • @atruereporter2949
    @atruereporter2949 Місяць тому

    if i want to run this service on client machine, then how can i do it. i want that it runs in the background

  • @KhumzaM
    @KhumzaM Місяць тому

    Great tutorial!!

  • @joshl3013
    @joshl3013 Місяць тому

    Very helpful, please add timeline to your video, it will help us to navigate the content easier

  • @CerebrumReality
    @CerebrumReality Місяць тому

    Nice Video, Thanks for the Help:)

  • @MichaelEvans-p7u
    @MichaelEvans-p7u Місяць тому

    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?

  • @Isra-p1
    @Isra-p1 Місяць тому

    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 🙌🏽

  • @RoyZASTEROiD
    @RoyZASTEROiD Місяць тому

    thank you for giving additional informations, not only writing the code.

  • @daved5545
    @daved5545 Місяць тому

    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.

  • @TheBishopOfBarton
    @TheBishopOfBarton Місяць тому

    This is the most helpful video I've found on this stubject. Simple, well explained, and succint. Thank you!

  • @IncompleteDeveloper
    @IncompleteDeveloper Місяць тому

    Good video. Thanks for this.

  • @mrbriansu
    @mrbriansu Місяць тому

    This video doesn't help

  • @kylebrault4414
    @kylebrault4414 Місяць тому

    Question, Doesn't this approach tightly couple your UI to the EF Entities. How would you resolve this?

  • @VenanciaHolmquest
    @VenanciaHolmquest Місяць тому

    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?

  • @RoyZASTEROiD
    @RoyZASTEROiD Місяць тому

    useful topic, thank you

  • @MaxJ345
    @MaxJ345 Місяць тому

    Thanks for the video! Your explanations and examples were concise and helpful!

  • @joshallport573
    @joshallport573 Місяць тому

    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!

  • @pavelyeremenko4640
    @pavelyeremenko4640 Місяць тому

    I'm sorry but when would you need something overly complex and with a heavy footprint?

  • @happythepig5089
    @happythepig5089 Місяць тому

    Great video, really made EF Core click for me.

  • @jinkijung6401
    @jinkijung6401 Місяць тому

    Great Thank you.

  • @looklook6075
    @looklook6075 Місяць тому

    Is this a common practice in production environment?

  • @AK-GAMING-nf1qx
    @AK-GAMING-nf1qx Місяць тому

    U r great buddy ❤🔥

  • @rd003-m1h
    @rd003-m1h Місяць тому

    thanks

  • @nickproudprogrammer
    @nickproudprogrammer Місяць тому

    The source code for this video is now available on my github! :) github.com/nickproud/OpenAIChatConsole

  • @attilaguba856
    @attilaguba856 Місяць тому

    it's really good stuff! Subscribed! Great explanation!

  • @dinuka
    @dinuka Місяць тому

    Nice explanation Nick, Thanks

  • @chad-cpp-enjoyer
    @chad-cpp-enjoyer 2 місяці тому

    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!

  • @nsfnd
    @nsfnd 2 місяці тому

    Nicely summarized. C# has its uses and C/C++ has their uses. That being said, real men program in C :D

  • @briannyashadzashechiunda4782
    @briannyashadzashechiunda4782 2 місяці тому

    I'm proud of you man. This is some good stuff

  • @clauscinsci5398
    @clauscinsci5398 2 місяці тому

    programming tutorial in a vertical video... lol

  • @ОстапБендера-м8с
    @ОстапБендера-м8с 2 місяці тому

    That's amazing. Smooth, simple and working. Many thanks, Nick!

  • @karbor8148
    @karbor8148 2 місяці тому

    U r best