"http://schemas.microsoft.com/ws/2008/06/identity/claims/role": [ "Admin", "User" ],
"http://schemas.microsoft.com/ws/2008/06/identity/claims/role": "User" ,
const decodedToken = this.getDecodedAccessToken(); let roles = decodedToken["http://schemas.microsoft.com/ws/2008/06/identity/claims/role"]; if (roles) { roles = roles.map(role => role.toLowerCase()); //error }
const decodedToken = this.getDecodedAccessToken(); let roles = decodedToken["http://schemas.microsoft.com/ws/2008/06/identity/claims/role"]; if (roles){ if (Array.isArray(roles)) { roles = roles.map(role => role.toLowerCase()); } else { roles = roles.toLowerCase(); } }
تاریخ شمسی برای blogger !
راه استاندارد آنرا اینجا توضیح دادهام:
https://www.dntips.ir/2009/06/blog-post.html
نیاز به فید نظرات سایت دارد و اگر share نیست با این راه نمیشود.
راه دیگر هم اینجا توضیح داده شده است:
http://www.google.com/support/blogger/bin/answer.py?hl=en&answer=42522
Database Engineering Complete Course | DBMS Complete Course
In this program, you’ll learn:
Core techniques and methods to structure and manage databases.
Advanced techniques to write database driven applications and advanced data modeling concepts.
MySQL database management system (DBMS) and data creation, querying and manipulation.
How to code and use Python Syntax
How to prepare for technical interviews for database engineer roles.
1.Visual Studio 2017 15.7 منتشر شد
These are the customer-reported issues addressed in 15.7.1:
- This release includes a fix that reduces memory usage and GC pressure during solution load.
Microsoft Security Advisory for .NET Core Denial Of Service Vulnerability
CVE-2018-0765
Microsoft is releasing this security advisory to provide information about a vulnerability in .NET Core and .NET native version 2.0. This advisory also provides guidance on what developers can do to update their applications to remove this vulnerability.
Microsoft is aware of a denial of service vulnerability that exists when .NET Framework and .NET Core improperly process XML documents. An attacker who successfully exploited this vulnerability could cause a denial of service against a .NET Framework, .NET Core, or .NET native application.
The update addresses the vulnerability by correcting how .NET Framework, .NET Core, and .NET native applications handle XML document processing.
If your application is an ASP.NET Core application, developers are also advised to update to ASP.NET Core 2.0.8.
Introduction
Chapter 1 Setting Up
Chapter 2 Domain Model
Chapter 3 Database
Chapter 4 Getting Data from the Database
Chapter 5 Writing Data to the Database
Chapter 6 Spatial Data Types
Chapter 7 Handling Events
Chapter 8 Extending Entity Framework
Chapter 9 Exposing Data to the World
Chapter 10 Tracing and Profiling
Chapter 11 Performance Optimizations
Chapter 12 Common Pitfalls
دوره بررسی ASP.NET CORE Identity
ASP.NET CORE Identity Under the Hood | Authentication & Authorization | .NET 8
00:00:00 Introduction
00:04:31 1. Security Overview
00:10:34 2. Authentication and Authorization Flow
00:17:18 3. ASP.NET Core Basics
00:23:31 4. Security Context in ASP.NET Core
00:27:23 5. Anonymous Identity
00:33:26 6. Create a Login Page with Razor Pages
00:46:02 7. Generate Cookie with Cookie Authentication Handler
01:06:01 8. Authenticaiton Middle and Authentication Scheme
01:15:16 9. Authorization Architecture Flow
01:23:58 10. Simple Policy based Authorization
01:43:50 11. Login & Logout Partial View
01:52:56 12. Custom Policy based Authorization
02:05:11 13. Cookie Lifespan & Browser Session
01-Introduction to Directives 02-Demo. Creating Your First Directive 03-Demo. Domain Specific Language via Custom Elements 04-Demo. Isolating Directive Scope 05-Demo. Exploring Isolate Scope Bindings 06-Demo. Handling Events with Directives 07-Demo. Observing and Responding to Changes 08-Demo. Using Controllers within Directives 09-Demo. Sharing Directive Controllers via Require 10-Demo. Directive Priority and using Terminal 11-Demo. Using Require with Nested Directives 12-Demo. Understanding Transclusion 13-Demo. Using Compile to Transform the DOM 14-Demo. Making jQuery More Explicit with Directives 15-Summary