Thursday, 20 October 2022

Angular issues

 Points remember before write code to upload multiple images

1.first thing need to display and save with that file.

2.in case edit if upload only one image then validate that able to upload one 

3.put condition for create and edit

write medium story on ngtranslate project


ngtranslate

Monday, 17 October 2022

interview

 




Creating a unique clustered index on a view improves query performance because the view is stored in the database in the same way a table with a clustered index is stored. The query optimizer may use indexed views to speed up the query execution.
ManualResetEvent is used for send signals between two or more threads. Multiple threads can enter into a waiting/blocking state by calling the WaitOne method on ManualResetEvent object. When controlling thread calls the Set method all the waiting threads are unblocked and free to proceed.

Socket.Select Method

decimal value of 0x27
3.thread safe collections in c#




Sunday, 16 October 2022

based on url hide button

<ul class=

"list-inline list-unstyled icons-topp pull-left loggedincls"

*ngIf="router.url.includes('readytosell')

|| router.url.includes('SellingList')|| router.url.includes('SoldOutList') ">



to show button based on route navitagtion imp

Friday, 14 October 2022

interview q

 Interview Questions

FAQs: Abstract class vs Interface

Can you instantiate an interface in C#?

An interface can’t be directly instantiated in C#. However, we can access the data members of an interface by creating an object of the implementing class and then assigning the object to the reference variable of the interface it implements.




1.palindram
2.design patren sample
3.diretives example
5.xceedence interview
4.1 to 1000 sum without any function
5.primary key and nonclusterindex
6.temptable have primarykey?
7.angular directive how to create>?
8.compiler name in angular
9.rerun api for 500 after 5 mnts
10.rxjs behaiorsubject and retry
11.remove duplicate sql

Thursday, 13 October 2022

Resume creator

 https://enhancv.com/resume-examples/senior-software-engineer/


Wednesday, 12 October 2022

azure logs

 Azure Links

sonata interview questions

 1.virtual and abstract class difference?

2.static and interface ,override,overload,

3.what is web api?

4.different type of authentication?

5.primary key unique key difference?

6.indexer?

7.di in core?

8.filter array duplicates?

9.function,view dif

10.angular decorators annotation?

11.angular js angular difference?

12.final and dispose?

13.

Monday, 10 October 2022

c# split and get last list read txt file line by line

 After spliting we get last item in c#


string lastName = "Abraham Lincoln".Split().Last();


namespace New
{
    class Program
    {
        static void Main(string[] args)
        {
           
                string line;

            int counter = 0;
            System.IO.StreamReader file = new System.IO.StreamReader(@"F:\test111.txt");
                while ((line = file.ReadLine()) != null)
                {
                var data = line.Split(';').Last();
                Console.WriteLine(data);
                var parts = data.Split('^');

                Console.WriteLine("Id :-" + parts[0]);
                Console.WriteLine("Delivery Code :-" + parts[1]);

                counter++;
                }

                file.Close();
                System.Console.WriteLine("There were {0} lines.", counter);

                System.Console.ReadLine();
            }
    }
}

Sunday, 9 October 2022

C# interview qstns

 check this links of interview questions

https://www.youtube.com/watch?v=VCcXcwsH9G4


c#

solid Principles Solid Principles

solid principles example SOLID

Car pooling app

 I'll create a car pooling app with real-time vehicle tracking, pickup/drop time estimates, and a list of onboard users. Since we don...