How do I encode and decode a string with base64 in Angular using typescript?
You can encode the string to ASCII and decode it back to the string in Angular using Typescript. Let’s find out how to perform the encoding and decoding of t...
You can encode the string to ASCII and decode it back to the string in Angular using Typescript. Let’s find out how to perform the encoding and decoding of t...
We will first understand the RxJS library before going to the observables in Angular.
Are you facing the below error? I’ve tried various solutions from different forums and no solution worked for me. Finally, I tried deleting the node modules,...
The Promise.all() function accepts a collection of promises as input and returns an array of results when all of the provided Promises resolve, or rejected w...
There is no built-in way to detect when the browser or tab is closed in Angular, but you can use the window object’s ‘beforeunload’ event to trigger an event...
There is no built-in way to detect when the browser or tab is closed in Angular, but you can use the window object’s ‘beforeunload’ event to trigger an event...
We will see how to merge one or more arrays using TypeScript. The concat() method returns a new array by concatenating two or more arrays, while the spread o...
Cannot read property ‘push’ of undefined? let fareConfigList: FareConfig[]; Solution: Initialize the array with ‘[]’ let fareConfigList: FareConfig[] = [];
Add the Nodejs path in your environment variables.
This release switches you to the new Ivy compiler and run time by default. This is one of the biggest updates to Angular in the past 3 years. It’s recommende...
In Typescript, there is no built-in function to retrieve the unique items from Array. The below code is a custom function that uses contains (in typescript i...
1. Introduction The ASP.NET Core data protection provides the cryptographic API to encrypt and decrypt the string with a purpose key that includes key manage...
1. Problem statement ‘IHeaderDictionary’ does not contain a definition for ‘Referrer’ and no accessible extension method ‘Referrer’ accepting a first argumen...
INDEX Context Static files WWWroot folder Enable the static files in the ASP.NET Core project Reading static files
INDEX Context Using the IHttpContextAccessor Accessing HttpContext via Dependency Injection Accessing HttpContext via Dependency Injection in a stat...
INDEX What is a recursion? Simple recursion Example: Power Example: Factorial Download samples
INDEX What is an array? What is a multidimensional array? 2d and 3d arrays Examples
If you are getting the below error when try to use the Task<>, The type or namespace name ‘Task<>’ could not be found (are you missing a using di...
You might be getting this error when trying to convert the Enumerable to List using ToList. It means the namespace to import the LINQ has been missed in your...
Are you looking to update the Jira issue description field in an automated manner? If yes, the below script will help you update the description field. If th...
You can copy the comment added in the parent issue to all the associated sub tasks and also copy the comment entered in the subtask to the parent issue using...
You can copy the comment added in the parent issue to all the associated sub tasks using the JIRA custom listener and grovvy script. All you need to do is to...
You can copy the comment added in the sub task to it’s parent issue using the JIRA custom listener and grovvy script. All you need to do is to setup the cust...
Usecase: The jira admin creates a subtask in the parent issue and assigns it to the ‘developer 1’. The subtask needs to be automatically assigned back to the...
The developers sometimes forget to close their sub tasks, and someone closes the parent issue without checking the sub task status. You can prevent closing t...
This post describes what to make a custom field requires during a work flow transition. If you are using Script Runner for Jira, you can use the Field(s) req...
Jira allows you to create a custom field and the value can be set during the transition, so when you view or edit the issue, then the custom value will be di...
There are various reasons cause the swagger to fail to load the API definition and you will get the error shared in the below screenshot. Below are the possi...
1. What is swagger? Swagger is an open-source set of rules and specifications. It is used for API documentation and testing the API endpoints. Swagger UI gen...
1. Introduction The ASP.NET Core data protection provides the cryptographic API to encrypt and decrypt the string with a purpose key that includes key manage...
1. Problem statement ‘IHeaderDictionary’ does not contain a definition for ‘Referrer’ and no accessible extension method ‘Referrer’ accepting a first argumen...
To enable or disable Windows and anonymous authentication in Visual Studio 2019, you need to modify the properties from the project property window or from t...
You have to send the header to accept the content type.
There are various reasons cause the swagger to fail to load the API definition and you will get the error shared in the below screenshot. Below are the possi...
1. What is swagger? Swagger is an open-source set of rules and specifications. It is used for API documentation and testing the API endpoints. Swagger UI gen...
1. Introduction The ASP.NET Core data protection provides the cryptographic API to encrypt and decrypt the string with a purpose key that includes key manage...
1. Problem statement ‘IHeaderDictionary’ does not contain a definition for ‘Referrer’ and no accessible extension method ‘Referrer’ accepting a first argumen...
INDEX Context Static files WWWroot folder Enable the static files in the ASP.NET Core project Reading static files
INDEX Context Using the IHttpContextAccessor Accessing HttpContext via Dependency Injection Accessing HttpContext via Dependency Injection in a stat...
To enable or disable Windows and anonymous authentication in Visual Studio 2019, you need to modify the properties from the project property window or from t...
What is the use of an immediate window? It is used to debug and evaluate expressions, execute statements, and print variable values.
You can disable the SSL or HTTPS in Visual Studio 2019 for your local project execution. Below are the steps,
Visual studio 2019 professional or community edition is not showing the framework “.NET Core 3.1”?
You can check if the previously created temporary table exists before creating the same table again in your stored procedure. Drop them if they exist.
You can use the following T-SQL query to search for text in a SQL Server stored procedure, function, or view.
Open SQL Server Management Studio (SSMS). Connect to the SQL Server instance. Open a new query window. Execute the following query to find the sessi...
You can retrieve the no of affected rows using the system variable - ‘@@ROWCOUNT’
You can encode the string to ASCII and decode it back to the string in Angular using Typescript. Let’s find out how to perform the encoding and decoding of t...
We will first understand the RxJS library before going to the observables in Angular.
Are you facing the below error? I’ve tried various solutions from different forums and no solution worked for me. Finally, I tried deleting the node modules,...
The Promise.all() function accepts a collection of promises as input and returns an array of results when all of the provided Promises resolve, or rejected w...
Error: HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid.
Error: Cannot Start Application Pool. There was an error while performing this operation.
You will end up in the situation to delete one or more website instances hosted in the IIS server. I know it’s a frustrating task to delete the sites one by ...
If you’re getting this error “URL must be a valid top-level domain” in the Adsense account while adding a new site like, http://www.sample.com Screenshot ...
The issue fix is pretty straightforward. The problem is with the ‘A record’ which you have added under the DNS Management in the control panel.
You can purchase a new domain from GoDaddy, BigRock, or any other domain provider and follow the below steps to configure the custom domain in the Blogger pl...
You can get the value of the <textarea> control in jQuery using the below code snippet.
You can add or remove multiple classes from div/span/any tag in jQuery using the below code snippet,
You can add or remove the class of the div in jQuery using the below code snippet,
INDEX What is a recursion? Simple recursion Example: Power Example: Factorial Download samples
INDEX What is an array? What is a multidimensional array? 2d and 3d arrays Examples
There are various reasons cause the swagger to fail to load the API definition and you will get the error shared in the below screenshot. Below are the possi...
1. What is swagger? Swagger is an open-source set of rules and specifications. It is used for API documentation and testing the API endpoints. Swagger UI gen...
ASP.NET Core Creating a new ASP.NET Core Web Application on choosing an empty template will leave you with the empty configuration in the startup class fi...
Below code, snippets help you to find the anchor element using its text in XPath and the sample code to use it in the selenium.
There are various use cases to remove the tail end character, like replacing the alias name, ex: 16 seconds or 16s to 16. It can be trimmed using the excel i...
Are you unable to delete the files because w3wp.exe prevents you from deleting the files from the Windows server?
The error is due to Windows blocking access to run the firebase.ps1 powershell scripts. You can try the below commands to solve the issue,
I’ve faced an issue while opening Visual Studio 2022/2019, and SSMS (MS SQL Server Management Studio) states that, The Visual Studio component cache is ou...
I’ve faced an issue while opening Visual Studio 2022/2019, and SSMS (MS SQL Server Management Studio) states that, The Visual Studio component cache is ou...
We will first understand the RxJS library before going to the observables in Angular.
Are you the one stuck with the below issue?
Are you the one stuck with the below issue?
Are you the one stuck with the below issue?
You are receiving the following error message because your IP address (client or local) has not been added to the Azure firewall on the Azure SQL Server. Er...