Avoiding SQL Injection in Entity Framework Core (While using inline queries)

Publicado em: 11 Outubro 2020
no canal de: DotNet Core Central
7,833
84

I did a couple of videos in past regarding Entity Framework Core. But during those videos, I did not cover the aspects of SQL Injections and how it comes to play with Entity Framework Core. In this video, I will be walking through how to valid potential SQL Injection pitfalls.

What is SQL Injection? SQL injection is a way to inject vulnerable SQL code through a loophole exposed by the code to make unwanted changes to the database. For example, if we use inline queries and expect a name to be passed as a parameter, but we use string interpolation, there is a possibility of a user passing queries as a part of the name to destroy the database.

Entity Framework Core makes it really easy to avoid SQL Injection, using a couple of ways. And in this video, I will go through both these ways of using Entity Framework Core to avoid SQL injection.

My previous videos for Entity Framework Core are here:
   • Entity Framework Core (CRUD Operation in ....  
   • Entity Framework Core (In-Line Query, Stor...  
   • Entity Framework Core (Inline Query for In...  

Source code for this video session is available in my GitHub repo: https://github.com/choudhurynirjhar/E...


Nesta página do site você pode assistir ao vídeo on-line Avoiding SQL Injection in Entity Framework Core (While using inline queries) duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário DotNet Core Central 11 Outubro 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 7,833 vezes e gostou 84 espectadores. Boa visualização!