Category: Web Development
Logging in Node.js: Winston vs Morgan vs Pino
Logging is an essential part of any application. It helps developers understand what is happening in the app, debug issues, and monitor performance. In Node.js, there are several popular logging libraries available. In this post, we will compare three of
Fixing the Infamous “Maximum SOQL Limit” Error in Apex
The “Maximum SOQL Limit” error, often accompanied by the message System.LimitException: Too many SOQL queries: 101 is one of the most common and frustrating problems faced by Salesforce developers. It signifies a violation of a fundamental governing rule (governor limit)
Session Management and Security in .NET Applications
Overview Managing sessions securely is a fundamental part of protecting any .NET-based application. If session identifiers or cookies are not properly handled, attackers may exploit weaknesses through techniques such as session hijacking or fixation. The following sections describe common issues
Rate Limiting and Throttling in Node.js
When building web applications or APIs, sometimes too many requests from a single user or client can overload your server. To prevent this, we use Rate Limiting and Throttling. In this blog, we will explain what they are and how
Export CSV in jQuery DataTable for Totara
When admins or trainers want to quickly export table data from reports into a CSV file for offline use, we can use the built-in export feature of jQuery DataTable. 1. Include DataTable CSS/JS Before using DataTables, you need to include
Power BI Rest API
Overview Power BI is primarily used for data visualization and business intelligence. It helps users connect to various data sources, transform and model data, and create interactive dashboards and reports to analyze and share insights. Essentially, it turns raw data
Securing Session Cookies in .NET
Session security stands as a critical component of web application development. Within ASP.NET and ASP.NET Core frameworks, session cookies play a vital role in tracking authenticated users. Without proper security measures, these cookies become prime targets for malicious actors seeking
Server-Side PDF Conversion with LibreOffice and IIS
When building web applications on Windows servers using IIS, you may occasionally need to utilize locally installed desktop applications — like LibreOffice — for server-side tasks. A common example is converting Microsoft Word documents into PDF format. In this post,
Events and EventEmitter in Node.js
What Are Events in Node.js? Node.js is designed around an event-driven architecture. This means that instead of waiting for tasks like file operations or HTTP requests to finish, Node.js uses events to signal when these tasks are complete. To manage
