Forwarded from DTX_LEARNING_ASP.NET_CORE_SECURITY (𝓓𝓪𝓻𝓲𝓾𝓼𝓱 𝓣𝓪𝓼𝓭𝓲𝓰𝓱𝓲)
Media is too big
VIEW IN TELEGRAM
ASP.NET Core WEB API + Blazor Web Assembly Custom Security
Cheat Sheet:
- ClaimsIdentity
- ClaimsPrincipal
- AuthenticationState
- AuthenticationStateProvider
- RedirectToLogin.razor
NuGet:
Microsoft.AspNetCore.Components.Authorization
Source Code:
https://github.com/Dariush-Tasdighi/Learning-Blazor-Web-Assembly-Security
#ASP_NET_CORE_WEB_API #BLAZOR #WEB_ASSEMBLY #SECURITY #CUSTOM_SECURITY #CUSTOM_SECURITY_NEW_SERIES #CUSTOM_SECURITY_NEW_SERIES_06
🆔 @Dariush_Tasdighi
🆔 @IranianExperts
🆔 @DT_PYTHON_LEARNING
.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤20👍8
Forwarded from DTX_LEARNING_ASP.NET_CORE_SECURITY (𝓓𝓪𝓻𝓲𝓾𝓼𝓱 𝓣𝓪𝓼𝓭𝓲𝓰𝓱𝓲)
Media is too big
VIEW IN TELEGRAM
ASP.NET Core WEB API + Blazor Web Assembly Custom Security
Cheat Sheet:
@attribute [Authorize]
@attribute [Authorize(Roles = "R1")]
@attribute [Authorize(Roles = "R1, R2")]
@attribute [Authorize(Policy = "P1")]
@attribute [Authorize(Policy = "P1, P2")]
<AuthorizeView>
</AuthorizeView>
<AuthorizeView>
<Authorized>
</Authorized>
<Authorizing>
</Authorizing>
<NotAuthorized>
</NotAuthorized>
</AuthorizeView>
<AuthorizeView>
<AuthorizeView Context="innerContext">
</AuthorizeView>
</AuthorizeView>
Source Code:
https://github.com/Dariush-Tasdighi/Learning-Blazor-Web-Assembly-Security
#ASP_NET_CORE_WEB_API #BLAZOR #WEB_ASSEMBLY #SECURITY #CUSTOM_SECURITY #CUSTOM_SECURITY_NEW_SERIES #CUSTOM_SECURITY_NEW_SERIES_07
🆔 @Dariush_Tasdighi
🆔 @IranianExperts
🆔 @DT_PYTHON_LEARNING
.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤21👍6
Forwarded from DTX_LEARNING_ASP.NET_CORE_SECURITY (𝓓𝓪𝓻𝓲𝓾𝓼𝓱 𝓣𝓪𝓼𝓭𝓲𝓰𝓱𝓲)
Media is too big
VIEW IN TELEGRAM
ASP.NET Core WEB API + Blazor Web Assembly Custom Security
Cheat Sheet:
await System.Threading.Tasks.Task
.Delay(millisecondsDelay: 2000);
claim = new System.Security.Claims
.Claim(type: "LastName", value: "Tasdighi");
// "jwt" OR "googooli" OR "magooli" OR ...
var claimsIdentity =
new System.Security.Claims.ClaimsIdentity
(claims: claims, authenticationType: "googooli");
- دو دستور ذیل غلط هستند!
@attribute [Authorize
(Policy = "CanBuy, CanDelete")]
<AuthorizeView Policy="CanBuy, CanDelete">
</AuthorizeView>
- دستور ذیل کار نمیکند!
var claimsIdentity =
new System.Security.Claims
.ClaimsIdentity(claims: claims);
Source Code:
https://github.com/Dariush-Tasdighi/Learning-Blazor-Web-Assembly-Security
#ASP_NET_CORE_WEB_API #BLAZOR #WEB_ASSEMBLY #SECURITY #CUSTOM_SECURITY #CUSTOM_SECURITY_NEW_SERIES #CUSTOM_SECURITY_NEW_SERIES_08
🆔 @Dariush_Tasdighi
🆔 @IranianExperts
🆔 @DT_PYTHON_LEARNING
.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤15👍5
Forwarded from DTX_LEARNING_ASP.NET_CORE_SECURITY (𝓓𝓪𝓻𝓲𝓾𝓼𝓱 𝓣𝓪𝓼𝓭𝓲𝓰𝓱𝓲)
Media is too big
VIEW IN TELEGRAM
ASP.NET Core WEB API + Blazor Web Assembly Custom Security
Cheat Sheet:
claim = new System.Security.Claims.Claim
(type: System.Security.Claims.ClaimTypes.Name,
value: "Dariush");
claim = new System.Security.Claims.Claim
(type: System.Security.Claims.ClaimTypes.Role,
value: "Administrator");
Name:
http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name
Role:
http://schemas.microsoft.com/ws/2008/06/identity/claims/role
var claims =
ParseClaimsFromJwtToken(jwtToken: jwtToken);
Source Code:
https://github.com/Dariush-Tasdighi/Learning-Blazor-Web-Assembly-Security
#ASP_NET_CORE_WEB_API #BLAZOR #WEB_ASSEMBLY #SECURITY #CUSTOM_SECURITY #CUSTOM_SECURITY_NEW_SERIES #CUSTOM_SECURITY_NEW_SERIES_09
🆔 @Dariush_Tasdighi
🆔 @IranianExperts
🆔 @DT_PYTHON_LEARNING
.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤13👍6
Forwarded from DTX_LEARNING_ASP.NET_CORE_SECURITY (𝓓𝓪𝓻𝓲𝓾𝓼𝓱 𝓣𝓪𝓼𝓭𝓲𝓰𝓱𝓲)
Media is too big
VIEW IN TELEGRAM
Blazor Web Assembly [Custom Security]
https://sadgan.com
Cheat Sheet:
<PackageReference Include="Blazored.LocalStorage" Version="4.4.0" />
<PackageReference Include="Blazored.SessionStorage" Version="2.4.0" />
@inject Blazored.LocalStorage.ILocalStorageService storageService
@inject Blazored.SessionStorage.ISessionStorageService storageService
await storageService.SetItemAsync
<string?>(key: "Value", data: Value);
await storageService.SetItemAsStringAsync
(key: "Value", data: Value);
await storageService.SetItemAsStringAsync
(key: nameof(Value), data: Value);
Value = await
storageService.GetItemAsync<string?>(key: "Value");
Value = await
storageService.GetItemAsStringAsync(key: "Value");
Value = await
storageService.GetItemAsStringAsync(key: nameof(Value));
Source Code:
https://github.com/Dariush-Tasdighi/Learning-Blazor-Web-Assembly-Security
#ASP_NET_CORE_WEB_API #BLAZOR #WEB_ASSEMBLY #SECURITY #CUSTOM_SECURITY #CUSTOM_SECURITY_NEW_SERIES #CUSTOM_SECURITY_NEW_SERIES_10
🆔 @Dariush_Tasdighi
🆔 @IranianExperts
🆔 @DT_PYTHON_LEARNING
.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤13👍10
Forwarded from DTX_LEARNING_ASP.NET_CORE_SECURITY (𝓓𝓪𝓻𝓲𝓾𝓼𝓱 𝓣𝓪𝓼𝓭𝓲𝓰𝓱𝓲)
Media is too big
VIEW IN TELEGRAM
Blazor Web Assembly [Custom Security]
https://sadgan.com
Cheat Sheet:
- RedirectToLogin.razor:
var returnUrl =
Navigation.Uri.Replace
(oldValue: Navigation.BaseUri,
newValue: string.Empty);
- CustomAuthenticationStateProvider.cs:
public const string TokenKeyName = "token";
void LogoutAsync()
bool LoginAsync(string? jwtToken)
- Login.razor:
@page "/authentication/login/{returnUrl?}"
[Parameter]
public string? ReturnUrl { get; set; }
Source Code:
https://github.com/Dariush-Tasdighi/Learning-Blazor-Web-Assembly-Security
#ASP_NET_CORE_WEB_API #BLAZOR #WEB_ASSEMBLY #SECURITY #CUSTOM_SECURITY #CUSTOM_SECURITY_NEW_SERIES #CUSTOM_SECURITY_NEW_SERIES_11
🆔 @Dariush_Tasdighi
🆔 @IranianExperts
🆔 @DT_PYTHON_LEARNING
.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤17👍6
Media is too big
VIEW IN TELEGRAM
Persian Anti Malware
Cheat Sheet:
- آموزش نکاتی در خصوص امنیت، برای کاربران، شرکتها و سازمانها
- Site:
https://PersianAntiMalware.ir
- Source Code:
https://github.com/Dariush-Tasdighi/Persian-Anti-Malware
#ANTI_VIRUS #ANTI_MALWARE #ANTI_MALWARE_001 #WINDOWS_FORMS
🆔 @Dariush_Tasdighi
🆔 @IranianExperts
🆔 @DT_PYTHON_LEARNING
.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤25👍14
Media is too big
VIEW IN TELEGRAM
Persian Anti Malware
Cheat Sheet:
- فعلا کمتر قصه تعریف میکنم و به سلامتی، توی این قسمت وارد برنامه و سورسکد میشویم!
- Site:
https://PersianAntiMalware.ir
- Source Code:
https://github.com/Dariush-Tasdighi/Persian-Anti-Malware
#ANTI_VIRUS #ANTI_MALWARE #ANTI_MALWARE_002 #WINDOWS_FORMS
🆔 @Dariush_Tasdighi
🆔 @IranianExperts
🆔 @DT_PYTHON_LEARNING
.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤23👍4
Media is too big
VIEW IN TELEGRAM
یک یادگاری ارزشمند، تقدیم به همه عزیزان ایرانی...
#WinGet
🆔 @Dariush_Tasdighi
🆔 @IranianExperts
🆔 @DT_PYTHON_LEARNING
.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤27👍9
Install.bat
18.3 KB
یک یادگاری ارزشمند، تقدیم به همه عزیزان ایرانی...
https://t.me/IranianExperts/823
#WinGet
🆔 @Dariush_Tasdighi
🆔 @IranianExperts
🆔 @DT_PYTHON_LEARNING
.
Please open Telegram to view this post
VIEW IN TELEGRAM
👍14❤13
برای دوره EF Core 8 که انشاءالله به زودی و به صورت مجازی برگزار خواهم کرد، یک پروژه به نام EF Core Best Practice هم ایجاد کردهام، که علاوه بر آموزش مفاهیم پایه و کلاسیک EF Core در این دوره آموزشی، بهترین شرایط ایجاد کلاسها، مدلها، پوشهها و پروژهها، بر اساس آخرین تغییرات DOT NET 8 نیز به دانشپژوهان عزیز و گرامی آموزش داده شود. این پروژه به صورت یک Project Template در اختیار شما عزیزان قرار میگیرد...
از آنجایی که خیلی از شما دوستان، با مفاهیم EF Core آشنایی داشته و یا ممکن است که تمایلی به ثبتنام در این دوره مجازی نداشته باشید، سورسکد این بخش از دوره آموزشی را به طور رایگان منتشر کردهام و امیدوارم که از این سورسکد استفاده کرده و لذت ببرید...
Source Code:
https://github.com/Dariush-Tasdighi/Learning-EF-Core-Best-Practice
#EFCore #DOTNET8 #BestPractice
🆔 @Dariush_Tasdighi
🆔 @IranianExperts
🆔 @DT_PYTHON_LEARNING
.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤50👍8
Install_1_1_5.bat
20.7 KB
Version: 1.1.5
یک یادگاری ارزشمند، تقدیم به همه عزیزان ایرانی...
https://t.me/IranianExperts/823
#WinGet
🆔 @Dariush_Tasdighi
🆔 @IranianExperts
🆔 @DT_PYTHON_LEARNING
.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤15👍1
Media is too big
VIEW IN TELEGRAM
Persian Anti Malware
Cheat Sheet:
قسمت اول
Async Programming and
Multi Thread Programming
in Windows Forms Applications
- Site:
https://PersianAntiMalware.ir
- Source Code(s):
- https://github.com/Dariush-Tasdighi/Persian-Anti-Malware
- https://github.com/Dariush-Tasdighi/Learning-Async-And-Multi-Thread-Programming-In-Windows-Forms
#ANTI_VIRUS #ANTI_MALWARE #ANTI_MALWARE_003 #WINDOWS_FORMS
🆔 @Dariush_Tasdighi
🆔 @IranianExperts
🆔 @DT_PYTHON_LEARNING
.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤21👍2
6219861028051349
#EF_Core
🆔 @Dariush_Tasdighi
🆔 @IranianExperts
🆔 @DT_PYTHON_LEARNING
.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤24👍10
Media is too big
VIEW IN TELEGRAM
Persian Anti Malware
Cheat Sheet:
قسمت دوم
Async Programming and
Multi Thread Programming
in Windows Forms Applications
- Site:
https://PersianAntiMalware.ir
- Source Code(s):
- https://github.com/Dariush-Tasdighi/Persian-Anti-Malware
- https://github.com/Dariush-Tasdighi/Learning-Async-And-Multi-Thread-Programming-In-Windows-Forms
#ANTI_VIRUS #ANTI_MALWARE #ANTI_MALWARE_004 #WINDOWS_FORMS
🆔 @Dariush_Tasdighi
🆔 @IranianExperts
🆔 @DT_PYTHON_LEARNING
.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤19👍6
@DTX_Learning_Vue
@DTX_Learning_Trello
@DTX_Learning_Angular
شهریه: 30 USDT
شهریه: 40 USDT
شهریه: 40 USDT
شهریه: 20 USDT
شهریه: 20 USDT
شهریه: 20 USDT
شهریه: 40 USDT
شهریه: 100 USDT
🆔 @Dariush_Tasdighi
🆔 @IranianExperts
🆔 @DT_PYTHON_LEARNING
.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤28👍10
Install_2_0.bat
25.3 KB
Version: 2.0
یک یادگاری ارزشمند، تقدیم به همه عزیزان ایرانی...
https://t.me/IranianExperts/823
#WinGet
🆔 @Dariush_Tasdighi
🆔 @IranianExperts
🆔 @DT_PYTHON_LEARNING
.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤27👍12
Media is too big
VIEW IN TELEGRAM
Persian Anti Malware
Cheat Sheet:
- Thread Priority
- Why we need 2 Extra Threads
- Lock and LockObject in Multi Thread
- https://virusshare.com
- ApplicationSettings
- Site:
https://PersianAntiMalware.ir
- Source Code(s):
- https://github.com/Dariush-Tasdighi/Persian-Anti-Malware
- https://github.com/Dariush-Tasdighi/Learning-Async-And-Multi-Thread-Programming-In-Windows-Forms
#ANTI_VIRUS #ANTI_MALWARE #ANTI_MALWARE_005 #WINDOWS_FORMS
🆔 @Dariush_Tasdighi
🆔 @IranianExperts
🆔 @DT_PYTHON_LEARNING
.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤20👍6
Media is too big
VIEW IN TELEGRAM
Persian Anti Malware
Cheat Sheet:
- Apply Theme (Dark) To All Forms
- How to Download Files (Malware Definitions)
- Site:
https://PersianAntiMalware.ir
- Source Code(s):
- https://github.com/Dariush-Tasdighi/Persian-Anti-Malware
- https://github.com/Dariush-Tasdighi/Learning-Async-And-Multi-Thread-Programming-In-Windows-Forms
#ANTI_VIRUS #ANTI_MALWARE #ANTI_MALWARE_006 #WINDOWS_FORMS
🆔 @Dariush_Tasdighi
🆔 @IranianExperts
🆔 @DT_PYTHON_LEARNING
.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤22👍1
- Site:
https://PersianAntiMalware.ir
- Source Code(s):
- https://github.com/Dariush-Tasdighi/Persian-Anti-Malware
#ANTI_VIRUS #ANTI_MALWARE #WINDOWS_FORMS
🆔 @Dariush_Tasdighi
🆔 @IranianExperts
🆔 @DT_PYTHON_LEARNING
.
Please open Telegram to view this post
VIEW IN TELEGRAM
GitHub
GitHub - Dariush-Tasdighi/Persian-Anti-Malware: Persian Anti Malware with .NET 8.x
Persian Anti Malware with .NET 8.x. Contribute to Dariush-Tasdighi/Persian-Anti-Malware development by creating an account on GitHub.
❤24👍5
Forwarded from DTX_LEARNING_EF_CORE (𝓓𝓪𝓻𝓲𝓾𝓼𝓱 𝓣𝓪𝓼𝓭𝓲𝓰𝓱𝓲)
Media is too big
VIEW IN TELEGRAM
جلسه اول
- مقدمه
لطفا با هر سطح دانش، در خصوص EF Core، این فیلم را مشاهده نمایید!
#NEW_LEARNING_EF_CORE_001
✅ انتشار این فیلم، با ذکر منبع، بلامانع میباشد ✅
☘️ سورسکد پروژه:
https://github.com/Dariush-Tasdighi/Learning-EF-Core-8
#EFCore #EF_CORE
🆔 @Dariush_Tasdighi
🆔 @IranianExperts
🆔 @DT_PYTHON_LEARNING
.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤61👍15