Programming Tutorials

all Tutorials

21. One client credential type required either: ClientSecret, Certificate, ClientAssertion or AppTokenProvider must be defined when creating a Confidential Client. Only specify one

By: Niraj : 2023-06-01

Description: One client credential type required either: ClientSecret, Certificate, ClientAssertion or AppTokenProvider must be defined when creating a Confidential Client. Only specify one


22. Is it safe to delete bin folder in a razorsharp c# project folder?

By: Niraj : 2023-06-01

Description: In a C# Razor project, the bin folder contains compiled binary files (such as DLLs) generated from the project's source code. These files are necessary for the project to run correctly. Therefore, it is generally not safe to delete the bin folder manually.


23. Things to note when changing a function to async in your controller

By: Linda Ng : 2023-06-01

Description: When changing a function to an asynchronous function, there are several things to note


24. Use a dynamic table name in a SQL Server SELECT statement

By: Gren : 2023-05-26

Description: To use a dynamic table name in a SQL Server SELECT statement, you can utilize dynamic SQL using the EXEC or sp_executesql statement. Here's an example of how you can achieve it


25. Send push notifications using Expo tokens in PHP

By: Gren : 2023-05-19

Description: To send push notifications using Expo tokens in PHP, you need to use Expo's Push Notifications API. Here's an example of how you can modify your PHP code


26. mysqldumpslow in MySQL - Summarize slow query log.

By: Murali : 2023-05-17

Description: In MySQL, you can check which queries took longer to execute and potentially caused the server to slow down by enabling the Slow Query Log feature. The Slow Query Log records queries that take longer than a specified amount of time to execute. Here are the steps to enable and utilize the Slow Query Log


27. Finding slow queries in MySQL - Enable slow query log.

By: Murali : 2023-05-17

Description: In MySQL, you can check which queries took longer to execute and potentially caused the server to slow down by enabling the Slow Query Log feature. The Slow Query Log records queries that take longer than a specified amount of time to execute. Here are the steps to enable and utilize the Slow Query Log


28. Sample my.cnf (my.ini) for MySQL with 1GB RAM

By: Murali : 2023-05-17

Description: For a VM with 1GB memory running both MySQL and Apache, you'll need to configure MySQL to use an appropriate amount of memory to ensure optimal performance. Here's a sample my.cnf configuration that you can start with


29. Session variables in React Native - Expo

By: Neeraj : 2023-05-17

Description: In React Native and Expo, there is no direct support for session variables like in traditional web development with server-side technologies. However, you can achieve similar functionality by using alternative approaches.


30. use axios in Expo to call APIs

By: Bobby : 2023-05-16

Description: You can use axios in Expo projects. axios is a popular JavaScript library for making HTTP requests, and it can be used in Expo apps as well.