ASP.NET Core authentication principle and Implementation
Generally, in an application, security is divided into two steps: authentication and authorization. Authentication is responsible for checking the identity of the current requester, while authorization determines whether the current requester can access the desired resources according to the identity obtained in the previous step.
Since securi ...
Added by Scifa on Fri, 07 Jan 2022 04:25:46 +0200
. Net encryption and decryption component tool class system Security. Cryptography. Algorith
Yes Before the emergence of the. NET Framework, if we need encryption, we only have a variety of lower level technologies to choose from, such as Microsoft Crypto API, Crypto + +, Openssl, etc., and its usage is quite complex. And in NET Framework, these complex contents (the original independent API and SDK) have been encapsulated and merged i ...
Added by jdesilva on Thu, 06 Jan 2022 01:20:05 +0200
First knowledge of Windows programming
I am a beginner with limited level. I write blog mainly to record my learning track. Refer to msdn for code introduction. If there are errors or omissions, please criticize and correct. Thank you for reading!
1. Basic understanding of Windows programming
The simplest windows programming calls some user state API s in windows, mostly user32 ...
Added by davelr459 on Mon, 03 Jan 2022 15:31:12 +0200
C# WPF simple MVVM pattern example
1, Foreword
Using MVVM pattern development in WPF has the following advantages: 1. The structure is clear and clear, and the starting cost is low. A newcomer can quickly locate the position where he needs to change the code. 2. Low coupling, changing WPF control does not affect data structure, and the cost of changing code is low. 3. High reus ...
Added by goa103 on Fri, 17 Dec 2021 18:35:47 +0200
MFC uses dll for multi language switching based on dialog box
title: MFC uses dll for multi language switching based on dialog boxcategories:[MFC]tags: [audio and video programming]date: 2021/12/15Author: hackettWeChat official account: overtime ape1, ForewordQt uses qm file switching. There are two loading methods, which are easierLoad in the resource file (this is better):advantage:When the program is r ...
Added by mazman on Fri, 17 Dec 2021 18:17:27 +0200
WPF performance optimization - high refresh drawing
Background introduction
The author received a request to display the patient's real-time physiological signals (ECG, etc.) on WPF in real time. The team developed the request and finished it soon (the effect picture of Unit test is as follows) However, it was later released to the product and found that the resource consumption is larger than ...
Added by coolphpdude on Thu, 09 Dec 2021 10:06:33 +0200
Teach you Dapr - 7. Actors hand in hand
introduceThe actor mode describes the actor as the lowest level "cell". In other words, you write code in a separate unit (called an actor) that receives messages and processes them one at a time without any concurrency or threads.In other words, after dividing independent computing units according to ActorId, the same ActorId re-entr ...
Added by Elhombrebala on Wed, 17 Nov 2021 09:55:45 +0200
. NET5 ORM framework bottom principle actual combat Find < T >
. NET5 ORM framework underlying principle practice (1)
Technology used?
1. Generics 2. Reflection 3. Properties
What is ORM?
Object Relational Mapping, the most important of which is this Mapping. Generally speaking, the set of directly operating the database is directly moved to use the object-oriented idea. We indirectly achieve the purpo ...
Added by shinichi_nguyen on Fri, 05 Nov 2021 04:46:42 +0200
MFC uses RawInput to obtain code scanning gun data without focus
Recently, when the code scanning gun is used in the company's projects, it may encounter the situation that the focus is not in the program. As a keyboard device, the code scanning gun will also output the data where the focus is. It has been found on the Internet for a long time. Basically, there are many hooks, bu ...
Added by mburkwit on Fri, 29 Oct 2021 04:43:22 +0300