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
Test Class In Salesforce
Test Class is an important part of the salesforce. Test Class is a class where we test our written working code that means the code is working right or not. In the Test Classes, we made the dummy data by
How to get Attachments from Salesforce using API in C#
Description: The code below shows how we can get Salesforce attachments from various objects and save them to a particular folder on a local disk. This is the complete code to get all attachments saved in all Contact objects in
How to Create and Add a Lightning Web Component into the Lightning App in your Salesforce Scratch org
After assuming that the user already has the VS Code and all the necessary packages like Salesforce CLI installed and has created a scratch Org into the system, let’s begin the process to create and add a lightning web component
Salesforce | Lightning Web component Lifecycle hooks
Lightning Web component Lifecycle Hooks: These are the callback methods that execute at a specific phase of the Lightning Web component’s lifecycle. There are various types of lifecycle hooks: constructor(): This method executes whenever the web component is initialized. The
How to get Salesforce Custom Field Ids in Apex
We can get the Ids of Salesforce Object’s custom fields in the Apex code using Tooling API. Following is the example code for the same: String objectDevName = ‘ObjectName’; ToolingAPI toolingAPI = new ToolingAPI(); List objectData = (List)toolingAPI.query(‘Select Id From
How To Reset Your MariaDB-10.2 Root Password on Ubuntu 20.04
Note: This tutorial will work only for resetting the MariaDB root password, not for the MySQL server. Introduction If you forget the root password of the MariaDB database in Ubuntu, you can still regain the access and reset it if
How to create a Salesforce Scratch Org
Scratch org is a disposable and source-driven deployment of Salesforce metadata and code which is made for developers (developing specific modules) and for automation that is continuous integration or continuous development. Scratch org is a configurable org/sandbox which allows the
OAuth 2.0 Authorization Code Grant Type
The Authorization Code Grant Type is perhaps the foremost common of the OAuth 2.0 grant types that you’ll encounter. Both web apps and native apps can use it to get the access token after a user authorizes the app. What
How to exclude source when Syncing or Converting – DX
While Syncing the metadata files between your local system and a target/Scratch org, you often want to exclude some of the source files. Similarly, you often have files to exclude when converting the source to the Salesforce DX project format.
