It’s very painful when you decide to upgrade from v5 to v7. I’ve experienced this and here are some highlights in case you have a plan to update Ionic from v5 to v7 1. Create a brand new project with v7 Despite Ionic team support you migrate from v5 to v7 with the migrate checklist […]
Lựa chọn Design Pattern phù hợp và ví dụ trong C# – Phần 3
Ở phần trước chúng ta đã nghiên cứu về nhóm design pattern “Cấu trúc” Hôm nay chúng ta tiếp tục với nhóm design pattern mang tên “Hành vi” (Behavioral Patterns) 1. Định nghĩa Nhóm design pattern theo “Hành vi” mà một nhóm tập trung vào việc phân chia nhiệm vụ giữa các đối tượng với […]
[API] Best practice when designing endpoint
When your application has multiple user roles. You should think about the API endpoint. Not only for coding but for debugging and testing purposes. In my experience, Whenever you design Back-end API you should separate the Controller for every user role. Example: This method will help you bring more benefits as below: You will know […]
[Ionic] Common error
1. Cannot bind a value to NgModel in component Issue: cannot set value to [(ngModel)]=”startDate” in any Component Reason: lack of import IonicModule, FormsModule in ComponentModule Solution: 2. ERROR Error: Uncaught (in promise): Error: JIT compiler unavailable Error: JIT compiler unavailable Điều này xảy ra khi trong component của bạn có sử dụng @ViewChild. Nguyên […]
Tìm Nuget package tương thích với Project
Khi làm việc với .NET project thỉnh thoảng chúng ta sẽ cần install các thư viện ở Nuget. Tuy nhiên một vài dự án có thể dùng .NET framework cũ. Thì khi cài đặt bạn cần lưu ý các vấn đề này.
[Ionic] Setup build and debug the app
There is many error when you try to deploy the app. The fatest way to know is using Android studio Attach physical device to android through Wifi Go to Tool -> Device manager. Then follow the instruction on the screen to connect. 2. Generate signed keystore Go to %JAVA_HOME%\bin folder Open powershell here and run […]
[Ionic] Setup environment build android
1. Download Android SDK & get the android Home folder 1.1 Install 1.2 Create new project 1.3 Go to File -> setting 2. Check SDK location to have all folder Go to Tool -> SDK manager -> SDK Tools tab 3. Download JDK 1.8 4. Download Grade 5. Set environment variable Add to both sections […]
[.Net Core] Multi language
Bạn có nhu cầu sử dụng đa ngôn ngữ trong .Net Core API của mình? Hãy tham khảo ví dụ sau
Call 3rd API với HttpClient
1. Post with only string value 2. Post with file upload
[Ionic] Add Rich text editor
1.-package json 1. angular.json 3.- app.module.ts 4-. your-page.module.ts 5. – your-component.component.ts