Codepedia
Codepedia
  • Видео 6
  • Просмотров 56 251
ASP.NET CORE : Implement JWT Token Authentication in Asp.net Core Web API C# [Simple Guide]
#aspnetcore #jwt #authentication #aspnetcorewebapi : A complete step-by-step process to implement JWT Token Authentication in ASP.NET Core Web API C# (JSON Web Token ). We must ensure that our APIs are protected and secure when developing them.
That is, we need to authenticate a user so that only valid users can consume our APIS. Using JWT we can easily implement Token Based Authentication in Asp.net Core and safeguard our application.
What is JSON Web Token?
The RFC 7519 JSON Web Token (JWT) is an open, industry-standard technique for securely conveying claims between two parties. This means that data sent between two parties using JWT is digitally signed and can be easily confirmed and tru...
Просмотров: 22 651

Видео

ASP.NET CORE Interview Question & Answer [5 Most Asked Beginner to Advanced]
Просмотров 1,9 тыс.2 года назад
In this tutorial, we see 5 Most Asked ASP.NET CORE Interview Question and Answer [Beginner to Advanced] Check Article: codepedia.info/aspnet-core-interview-question-and-answer-most-asked # What is Middleware in Asp.net Core? # What is the difference between app.Use and app.Run()? # What is dependency injection in ASP.NET CORE? # What is routing in ASP.NET Core? # How to enable Session in Asp.ne...
JavaScript Export Html Table to Excel (xlsx) via SheetJS
Просмотров 10 тыс.3 года назад
In this tutorial, we learn how in JavaScript Export Html Table data to Excel (xlsx file). By using SheetJs javascript library we can export HTML table data to Excel file . i.e Client-side convert HTML table to Xls file. Article & Source Code: codepedia.info/javascript-export-html-table-data-to-excel Demo 1: Export to XLS codepedia.info/editor-example?id=44 Demo 2: Delete specific from the table...
jQuery Get Table Cell Value TD Value [4 ways]
Просмотров 12 тыс.3 года назад
In-Depth Tutorial on jquery how to get table cell value on button click.i.e td value. Understand 4 examples of how in jQuery get value from table row. How to get span, div HTML inside table cell TD, jquery get specific span div text. How to get selected table row data in jQuery based on selected checkboxes. How to read all rows from a table and save in array variable in jQuery. Website: codeped...
jQuery - Delete / remove table row on button click
Просмотров 3,7 тыс.3 года назад
jQuery remove selected table row on button click, delete record selected row from the table using jquery, on click remove selected row from the table. jQuery delete table row on button click Blog Article: codepedia.info/remove-table-row-tr-in-jquery - Satinder Singh
Convert HTML to Image in jQuery / JavaScript
Просмотров 7 тыс.3 года назад
Website: codepedia.info jQuery HTML to Image Converter example, how to convert div to image in jquery or javascript, render HTML to image png or jpeg format jquery, generate an image from our HTML page. Simple on button click get HTML converted into an image using the pure javascript library. Table to PNG, Div Span to PNG. Blog Article: codepedia.info/convert-html-to-image-in-jquery-div-or-tabl...

Комментарии

  • @nazihjrg3540
    @nazihjrg3540 2 месяца назад

    thank u so much for the valuable article

  • @charlitomondragon1451
    @charlitomondragon1451 4 месяца назад

    good tutorial but blurred

  • @TheKamalkumar84
    @TheKamalkumar84 5 месяцев назад

    Sir , is there any code rsasha256 using public and privet key

  • @dadanuica91
    @dadanuica91 6 месяцев назад

    I have a question, your codes works well, but my problems is it only captures data from a single page, i have hundreds of pages. how do i solve this problem?

  • @Олегсий
    @Олегсий Год назад

    Спасибо, очень информативно!

  • @ghanshyam014
    @ghanshyam014 Год назад

    Well explained.

  • @paramjeetsingh7110
    @paramjeetsingh7110 Год назад

    To the point explanation.

  • @codingislife6387
    @codingislife6387 Год назад

    Thanks Sir . Can u Consume this JWT API in UI of MVC core . very confuse

  • @nelsonmouatvergara
    @nelsonmouatvergara Год назад

    Very thank you 😊 🎉🎉🎉🎉!!!!

  • @umarjihad4228
    @umarjihad4228 Год назад

    why is my style didn't works to my downloaded element?

  • @suryapratapsingh3164
    @suryapratapsingh3164 Год назад

    Thank you for your efforts..Best Video..

  • @saishiva9429
    @saishiva9429 Год назад

    Great content....but how do we dump two html data in one single sheet of a workbook?

  • @sudarshankumar7501
    @sudarshankumar7501 Год назад

    Nice Usefull script for developer :D

  • @parth7450
    @parth7450 Год назад

    Thanks sir 🙏

  • @tixsistemas
    @tixsistemas Год назад

    TOPPPP

  • @anirudhuniyal8353
    @anirudhuniyal8353 Год назад

    great tutorial. one question I have, how to make specific column read only (no edit). is it possible?

  • @osamashabbir6732
    @osamashabbir6732 Год назад

    Thank you so much for this easy explanation 🙂

  • @107087
    @107087 2 года назад

    Very efficient. Thank you.

  • @rephisto7947
    @rephisto7947 2 года назад

    Thank you so much for the tutorial Can i ask how if i select all the rows and view all of it into another page in table format? Im using laravel

    • @Codepedia_official
      @Codepedia_official 2 года назад

      Thanks for the comment, To select all row and show on another page, ideally you need to save in database and display from DB. If you still want to handle at client side, then save it in cookies or localstorage, and access data from it.

  • @NullboyCode
    @NullboyCode 2 года назад

    El mejor video de JWT

  • @metaltrooper8947
    @metaltrooper8947 2 года назад

    Thank you!!

  • @hemantsharma6776
    @hemantsharma6776 2 года назад

    Very Very easy explanation. Thanks a lot

  • @jgarciascr5
    @jgarciascr5 2 года назад

    This is the solution I needed to export simple HTML tables to Excel. Thanks a lot.

  • @umerbhat1760
    @umerbhat1760 2 года назад

    Where to give alert on download excel in your code?

  • @rahil-aliyev
    @rahil-aliyev 2 года назад

    I have a problem with percentages. When I write for example 12% in the table, the percentage views 0.12.

  • @pedrobraga4944
    @pedrobraga4944 2 года назад

    Hi! Thanks for the video! There is any problem in loading the script from CDN?

    • @Codepedia_official
      @Codepedia_official 2 года назад

      Hi @Pedro Braga Thanks for watching, and the only drawback of using CDN is if the CDN server is down, then you have no control and your code will break. And the advantage of using CDN is it will load fast, as it also be cached on client machine

    • @pedrobraga4944
      @pedrobraga4944 2 года назад

      @@Codepedia_official Thanks! There isn't this risc with the import you do in the video?

  • @hrithickgokul820
    @hrithickgokul820 2 года назад

    I'm unable to install the nuget packages

    • @Codepedia_official
      @Codepedia_official 2 года назад

      Hi Hrithick, Can you share the version of the visual studio you use? and what error are you getting while installing NuGet packages

  • @MrElston007
    @MrElston007 2 года назад

    Very helpful 👍

  • @ganapathis6792
    @ganapathis6792 2 года назад

    Nice work💯

  • @rabimarklesterf.1045
    @rabimarklesterf.1045 2 года назад

    Thank you so much Sir! you saved my day :)

  • @DennisHun
    @DennisHun 2 года назад

    Thank you! This video is resolved my problem. If you want "just" checkbox's value (for example assigned Id value) ; var aData = []; $("#dtGridDetail tbody tr").each(function() { var currentRow = $(this); if (currentRow.find(".form-check-input").is(":checked")) { aData.push($(this).find("#checkVal").val()); } }); and datatable's checkbox column ; '<input class="form-check-input widget-9-check" type="checkbox" id="checkVal" value="' + data.searchResult.id + '">' + (it's rendering on columnDefs)

  • @vishal5093
    @vishal5093 2 года назад

    Simple to understand jwt basics, nice video 👍

    • @Codepedia_official
      @Codepedia_official 2 года назад

      Thanks Vishal

    • @vishal5093
      @vishal5093 2 года назад

      Can you please publish a video on Global error handling also in .net core

    • @Codepedia_official
      @Codepedia_official 2 года назад

      @@vishal5093 thanks for letting me know the topic, soon will create video on global exception handing via middleware and filters

  • @santhoshanand.
    @santhoshanand. 2 года назад

    Good one

  • @mrt7948
    @mrt7948 2 года назад

    Client part should be included also.

  • @MonirulIslam-sg7oh
    @MonirulIslam-sg7oh 2 года назад

    I am not able to support you, razorpay doesn't allow international payment

    • @Codepedia_official
      @Codepedia_official 2 года назад

      Thanks for supporting , you can use below link www.buymeacoffee.com/Satinder

  • @MonirulIslam-sg7oh
    @MonirulIslam-sg7oh 2 года назад

    I got this error index.html:7133 Uncaught (in promise) DOMException: Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported. I just replaced the live image url to local image file name into your demo

    • @Codepedia_official
      @Codepedia_official 2 года назад

      Here in the demo we have one fixed image and one dynamic image , both are able to converted refer link codepedia.info/editor-example?id=45

  • @MonirulIslam-sg7oh
    @MonirulIslam-sg7oh 2 года назад

    thank you very much

  • @VedShastraChannel
    @VedShastraChannel 2 года назад

    i caught an error..... Uncaught TypeError : document.getElementsById is not a function what should i do..??

  • @niteshchaurasia1332
    @niteshchaurasia1332 2 года назад

    Awesome video. Please add more

  • @STUPIDYOUTUBE_HIDINGMSGS
    @STUPIDYOUTUBE_HIDINGMSGS 2 года назад

    Thank you brother, I hope you create more C# videos like complete MVC , Razor or Blazor apps, or just follow this video up with C# coding exams or questions, cheers!

  • @STUPIDYOUTUBE_HIDINGMSGS
    @STUPIDYOUTUBE_HIDINGMSGS 2 года назад

    The best and simplest, short and easy-to-follow JWT authentication I've seen so far! It would be nice if you can follow this up with creating RefreshToken or maybe consuming that API with the proper coding practices and structure as well? Then after that maybe follow the API consume video with Identity Server authentication? 💯 Thank you!

  • @totokpatrik4260
    @totokpatrik4260 2 года назад

    The logic where you compare the received username and password is not right. You should return with null (and unauthorized) when the username OR the password is not matching. Other than that excellent video.

    • @EmielNijhuis
      @EmielNijhuis Год назад

      That exactly what happens in the code: !(condition1 && condition2) is equal to !condition1 || !condition2

  • @rishikasharma2787
    @rishikasharma2787 2 года назад

    toDataURL() gives error can u solve it

    • @Codepedia_official
      @Codepedia_official 2 года назад

      @Rishika thanks for watching it, well you can check live working demo mentioned in this article codepedia.info/convert-html-to-image-in-jquery-div-or-table-to-jpg-png

  • @atulbhandari2786
    @atulbhandari2786 2 года назад

    Nice explaination sir

  • @BashirAhmad-tr1ot
    @BashirAhmad-tr1ot 2 года назад

    well done

  • @jinoshkurisinkal3169
    @jinoshkurisinkal3169 2 года назад

    Very neatly explained, one of the best videos for understanding JWT.

  • @karthiksrivatsa8243
    @karthiksrivatsa8243 2 года назад

    Neat! But refresh token is not used in this.

    • @Codepedia_official
      @Codepedia_official 2 года назад

      Thanks Karthik, this video is about simple and easy to understand jwt implementation. Surely will create seperate in detail video on Refresh Token btw you can check this article for Refresh token in asp.net core codepedia.info/aspnet-core-jwt-refresh-token-authentication

  • @ananthganesh8754
    @ananthganesh8754 2 года назад

    This is by far one of the best video, clear, concise and no lengthy talks. Thank you so much.

    • @Codepedia_official
      @Codepedia_official 2 года назад

      Thank you Ananth , am glad that you find this video useful

  • @mohammadrizkypratama3677
    @mohammadrizkypratama3677 2 года назад

    How to setting, when running in browser go to swagger

  • @babag5324
    @babag5324 2 года назад

    Why do we need that key, issuer and audiance ???