The string is the common data type and is almost used by every application. The string is a sequence of characters. Each character encoded in UTF-16 format, String data type has the following characteristics:
Posted by
code-atom
on Feb 13, 2022
In ASP.NET Core, the request can not be read once it is consumed. If you want to read the request body multiple times, you need to set
Posted by
code-atom
on Jan 4, 2022
Motivation
Posted by
code-atom
on Dec 22, 2021
I going to share with you, Long press directive implementation in RxJS. In this implementation, we will start the emitting Output event, when the user presses the mouse button for a specified threshold limit.
Posted by
code-atom
on Sep 27, 2020
In this post, I gone discuss about basic troubleshooting steps or checkpoints to the OpenID-Connect integration of Identity Server with their consuming application. As you know, In Identity Server 4, we basically support only two types of integration:
Posted by
code-atom
on May 26, 2020
In this post, I am gone talk about how to manually validate the JWT token concerning IdentityServer. As you know, what JWT is, It stands for JSON Web Token. it is a type of web token that we used in our authentication and authorization system.
Posted by
code-atom
on May 19, 2020
The article is all about to demonstrate how we can use the existing functionality of a router to open modal or panels in angular application. Recently I am working on a new project where I need to open floatable panels in the application.
Posted by
code-atom
on Mar 15, 2020
Before getting started with CSRF Attack, First, we understand how our web authentication works. As you all know HTTP is a stateless protocol. Aaaah? What it means. It means all HTTP requests are executed independently, without any knowledge of request executed before it. So if that is the case, you need to specify your username/password every time, when you send requests to a banking site.
Posted by
code-atom
on Oct 13, 2019
We often use these two keywords in our daily work life “Design” and “Architecture”. But what is an actual difference in Design and Architecture?
Posted by
code-atom
on Nov 23, 2018
@Inject and @Injectable are two decorators in Angular DI System. Each of these decorators has their own use in Angular according to requirement.
Posted by
code-atom
on Jun 27, 2018
In Angular, we already now that Angular have their own dependency injection system for creating the object of services/components and also resolve the dependency of creating the object. In this series of articles, we will talk about how to configure a service in Angular-Dependency Injection System.
Before we dive into the configuration of providers in DI system, let we first start learning about DI system
Posted by
code-atom
on Jun 26, 2018
In the C# world, the most commonly asked question in an interview, what is different between ref and out keyword? In this article, we would understand what is exact difference between these two keywords. Let’s start with basic of programming terms, there is a concept of Pass by Value and Pass by Reference.
Posted by
code-atom
on Jun 10, 2018
Let suppose you want to create password component in which you want an option to hide/see password on eye-like button click. We see this type of component in many sites, the common one is bitbucket login page where you can see your enter password before submitting the form.
Posted by
code-atom
on Apr 29, 2018
In angular, applications built with components, a component is as same as a controller in angular V1.x. The Component is the important building block of Angular App. Due to its importance, we must have to follow the best practices while creating a component in the app.
Posted by
code-atom
on Jan 21, 2018
A constant is a static field whose value can never change. A constant is evaluated statically at compile time and the compiler literally substitutes its value whenever used (rather like a macro in C++). A constant can be any of the built-in numeric types, bool, char, string, or an enum type.Any reference type excepted string can not be assigned to constant. A constant is declared with the const keyword and must be initialized with a value. Let take an example to explain above lines:-
As we said compiler literally substitutes its values whenever used.
Posted by
code-atom
on Jan 2, 2018
Prevent XSS Attacks using Content Security Policy
Posted by
code-atom
on Aug 21, 2017