04/01/2022

the MySQL service on local computer started and then stopped.

The MySQL service on local computer started and then stopped. Some services stop automatically if they are not in use by other services or programs.

After installing it by mysqld --install. Try this mysqld --initialize. We got the same problem but it's now working.

Also remember to give NETWORK SERVICE permission to the folder:
  1. Right-click Data folder
  2. Select Properties
  3. Select Security tab
  4. Click Advanced
  5. Click Change Permissions...
  6. Click Add...
  7. Type NETWORK SERVICE
  8. Click Check Names
  9. Click OK
  10. Select Full Control
  11. Click OK – four times
  12. Start MySQL service

01/01/2022

Sách hay 2022

 Những cuốn sách đã và sẽ đọc trong năm 2022

  1. Từ IQ Đến EQ - Nắm Bắt Thành Công Qua Trí Tuệ Cảm Xúc
  2. Blockchain: Bản Chất Của Blockchain, Bitcoin, Tiền Điện Tử, Hợp Đồng Thông Minh Và Tương Lai Của Tiền Tệ
  3. Think And Grow Rich - 13 Nguyên Tắc Nghĩ Giàu, Làm Giàu (Tái Bản)
  4. 9 lần khởi nghiệp
  5. Chiến tranh tiền tệ


  6. Tử thư Tây Tạng
  7. Con đường tơ lụa
  8. Quản lý công việc hiệu quả theo phương pháp Agile
  9. 7 câu hỏi "thần kỳ" của mọi sếp giỏi
  10. On the job training

09/12/2021

Mysql Connector NET version

 Lưu ý về mysql connector cho .net

khi cài đặt mysql server, connector và application .net của bạn

refer to: https://vnn.me/sTBO0Aw

01/12/2021

Kết nối máy chấm công Ronald Jack qua thư viện zkemkeeper c#

 Trước tiên, cần đăng ký thư viện zkemkeeper cho máy chạy chương trình kết nối máy chấm công lấy dữ liệu

Tham khảo bài viết chính hãng sau đây để chọn thư viện phù hợp

https://github.com/nrubiano/ZK.Biometric/wiki/ZK-SDK-Installation

Tiếp theo, trong source code c#:

Sau khi add zkemkeeper references vào dự án

using zkemkeeper;

Hàm kết nối máy chấm công thông qua địa chỉ IP:

//===

public static async Task<CZKEM> Connect(string ip)
{

            CZKEM device = new CZKEM();

            await Task.Factory.StartNew(new Action(() => {

                device.Connect_Net(ip, TCP_PORT);//TCP_PORT thường dùng port mặc định 4370

            }));

            return device; 
}

//===

11/11/2021

ASP.NET core web api best practice

 

TABLE OF CONTENTS
Introduction ..................................................................................2
Startup Class and the Service Configuration ......................................3
Project Organization.......................................................................5
Environment Based Settings............................................................6
Data Access Layer..........................................................................7
Controllers ....................................................................................8
Actions .........................................................................................9
Handling Errors Globally ............................................................... 11
Using ActionFilters to Remove Duplicated Code................................ 13
Using DTOs to Return Results and to Accept Inputs.......................... 14
Routing....................................................................................... 15
Logging ...................................................................................... 17
Paging, Searching, Sorting ............................................................ 18
Versioning APIs ........................................................................... 18
Using Asynchronous Code ............................................................. 19
Caching ...................................................................................... 21
Using ReadFormAsync Method ....................................................... 22
CryptoHelper And Data Protection .................................................. 24
Content Negotiation ..................................................................... 26
Security and Using JWT ................................................................ 27
Testing Our Applications ............................................................... 29
Conclusion .................................................................................. 29

14/10/2021

Git client tool free for dev

 Bạn là developer hẳn là quản lý source code với github hay gitlab ...

Tool UI git thì nhiều bao gồm miễn phí hay tính phí

Bạn có thể thử GitHub Desktop

Cài nhẹ, trực quan, phát triển bởi GitHub


Đọc thêm và Download tại dây:

https://desktop.github.com/

Đăng ký tên miền, hosting, máy chủ, thiết kế lập trình website theo yêu cầu

 Chính thức trở thành đơn vị cung cấp dịch vụ đăng ký tên miền quốc tế, tên miền Việt Nam hosting, máy chủ, cloud hosting, cloud server, ema...