May 5

Continuation of the previous two AD password-related APIs,Next, an API was written that could query the expiration of AD user passwords,This one will not go into detail about the environment,Models are included、appsettings.json、Program.cs etc,Because it is a continuation of the previous project,If necessary, you can refer to the previous article。

Continue browsing »

Feb 12

My Delphi XE8 has happened twice and switched (F12) When forming a Form/Unit graphical interface,Delphi Direct Crash,There will be two Windows records:

source: Application Error
Failed application name: bds.exe
Failure specific model set name 稱: Castalia220.bpl

source: Windows Error Reporting
Event Name: APPCRASH
Problem signature:
P1: bds.exe
P4: Castalia220.bpl

Continue browsing »

Dec 27

Completed "AD password verification"and"AD password change》After two APIs,Next, use .NET MAUI Blazor to write desktop programs。After learning a little about Blazor,I feel so magical,It feels like putting a web page into an application,When running, you can also see Edge-related components running behind it in the "Job Manager",Then press F12 and there will be a developer tools window! But this also gave me some security concerns.。But the overall feeling is quite special.,I happen to be familiar with web page syntax,Use Razor to design UI screens,Feeling more friendly。

Continue browsing »

Dec 18

Following completion API to verify AD password Later,Then try to write the part to change the password,Even though I stumbled, I finally finished it.。This time I will share how to write three different packages.,And the title will mention “Change your AD password” It’s because I discovered during the writing process,Some methods require the permissions of a domain administrator to perform,Therefore, the scope of this article will be limited to only using the user’s own account and password.,You can complete the action of changing the password。

Continue browsing »

Dec 3

Recently I tried to write an AD account password modification program through ASP.NET Core.,In terms of architecture, there is generally a Web API for AD authentication and password modification.,Finally, write a desktop application,Let users modify it themselves。What is completed this time is the Web API for account and password verification.,The program is as follows:

Continue browsing »

Nov 25

Because it hasn’t been long since I got into ASP.NET/C#,You have to explore many basic things on your own,Sometimes things that are taken for granted by others,I might spend a lot of time researching。Since time has been spent,I want to record the process,Let people like me save some time。

This time it is being completed QRCode generator API Later,I have no idea how to turn the program into content that IIS can eat.,Although I did it once half a year ago,But my head is already empty,Oh。

Continue browsing »

Nov 21

Previously, colleagues reported that Google’s QR Code API sometimes failed to work.,After checking the relevant information,Got the idea to learn C# by writing this API,Spent some time exploring,I really got it out of you。The function of this API is to enter a value in the URL,You can generate QRCode images directly in the browser,The following will be written for the first time ASP.NET Core / Explained from the perspective of a newbie in C#。

Continue browsing »

Nov 12

Today I want to test the function of connecting Delphi to AD,Teaching on the Internet,You can use "Component → Import Component"…” to import,But in actual operation,卻出現 “An error occurred while accessing OLE login。” Error message。

Continue browsing »

Sea 6

The code on this blog is presented through the SyntaxHighlighter Evolved plug-in,But I don't know why,I've been having trouble getting my code to render inline,Later I just used it myself span Tags are rendered with CSS,Later I noticed that I have never used the code button on the text editor.,Finally, simply write the new CSS into code Label,Then you can apply it quickly。
Continue browsing »

Feb 19

Quick Report in 1920*1080 resolution plus 125% When the above display setting environment is,The proportion of "Preview Print" will be incorrect.(too big or too small),But the actual printing is normal.,If you want to correct,It is necessary to modify the qrprntr.pas file of Quick Report in the compilation environment,There are two ways to correct it。

Continue browsing »