25/04/2024
Many devs think singleton pattern means :- static keyword. Singleton is a pattern while static is a keyword.
To implement a proper singleton pattern we need to atleast have 6 things at place.
Below are numbered bullet points and check those numbered bullet points with image attached.
1. Whole part relationship: - The first thing needed in singleton is a root class through which all shared objects should be exposed. This root class instance should be created inside the class and it should be static.
2. Thread safety: - Whenever we are loading the singleton object use the “lock” keyword to make sure only one thread manipulates at a time or else we will have thread unsafe code.
3. Private constructor: - Make sure the root class can not be instantiated from outside.
4. Ensure root object is single instance: - use the double null check and make sure that only one instance is created and also lock is not executed unnecessarily.
5.Lazy loading implementation: - We would like to load the objects when demanded then loading it unnecessarily.
6.Performance for threading: - Let us see this point 6 how many devs can explain, how does it increase performance ?. Please comment in the comment section.
Happy learning.
29/12/2023
https://www.youtube.com/live/ecd_oJgQMIw?si=RIw0t4l86Dv8QQdk
Starting in few minutes
React Forms by Sagar Gavand
In this livestream session we are going to understand about forms in react.
22/07/2022
😊 Join the free webinar and learn about the lifecycle hooks of Angular on 23 July 2022.
🔗 Link to attend : https://tinyurl.com/9x2xxtmk
30/06/2022
Questpond is providing solution to all your queries in one platform.
👉 To know how : https://youtu.be/EeVcSrfH4X4
🌐 Visit website : www.questpond.com
06/12/2020
Remember to attend continuation tonight Day 21 of AZ 204 exam preparation online training on Sunday 06th Dec 2020 @ 9 PM IST India time (IST) respectively.
AZ-204 Exam Preparation Day 20
AZ-204 Training (Azure Docker & ACR.)
AZ-204 TrainingAzure Docker & ACR.Buy Azure step by step videos https://www.questpond.com/learn-azure-in-step-by-step-manner/cid5Buy AZ 204 EXAM PREPARATION ...
05/12/2020
"Learn Angular in Marathi" continues today @ 9am with Shiv sir.
https://youtu.be/UObU07wqtO0
Happy Learnings from Questpond.
Angular, MVC core in Marathi - Part 16 (Batch 2020-2021)
Angular, MVC core in Marathi - Part 16 (Batch 2020-2021)Buy full Angular course from:- https://www.questpond.com/learn-angular-step-by-step/cid12Learn Angula...
04/12/2020
Difference between throw vs throw ex in c # - Interview Questions
https://youtu.be/WGwOd6yMja4
Happy Learning with Questpond.
throw vs throw ex in c# - Interview Questions
For more such videos visit http://www.questpond.comIn this video we will try to understand the difference between throw vs throw ex.
27/11/2020
Get started every Saturday with "Microsoft Azure Architect Training (AZ-303)" with Questpond Starting from 28.11.2020 at 9 p.m.
Do not miss it with Shivprasad Koirala
Microsoft Azure Architect Training (AZ-303)
Microsoft Azure Architect Training (AZ-303) LEARN AZURE IN STEP BY STEP MANNER https://www.questpond.com/learn-azure-in-step-by-step-manner/cid5 AZ 204 EXAM ...
12/01/2017
The error here occurred while doing the SSAS calculations. Error: Below image is the snapshot from SSAS cube where we are doing calculation and while we are dragging and dropping the measure & dimension fields we cannot see the calculations. There is a pre calculated script which is present when we make the cube and dimensions due to which we can see the basic calculations. [ 211 more words ]
http://stepbystepschools.net/?p=1387
Calculation is SSAS (SQL Server Analysis Service)
12/01/2017
This is the scenario faced by a candidate when he had repeated values in his SQL Server records as shown in the image down below. If we try to run the package it will throw us an error, Error: The error says that the pivot key has a duplicate value. Solution: To solve this error we will add a new component on our SSIS package available from SSIS toolbox under transformationknown as Aggregation Transformation. [ 120 more words ]
http://stepbystepschools.net/?p=1376
Aggregation transformation component in SSIS