Welcome to YLOAN.COM
yloan.com » Build-Muscle » C# and .NET interview questions and answers around global assembly cache (GAC)
Health Medical Acne Aerobics-Cardio Alternative Anti-Aging Build-Muscle Chronic-Illness Dental-Care Depression Diabetes Disability Exercise Eye-Care Fitness-Equipment Hair-Loss Medicine Meditation Nutrition Obesity Polution Quit-Smoking Sidha Supplements Yeast Infection H1N1 Swine Flu SARS herpes therapy panic surgeon hurts teeth remedies eliminate chiropractic arthritis ingredients syndrome binding anxiety surgery medication psychic dental reflux doctor relief premature emotional stress disorder implants wrinkles vision infection aging liposuction seattle stunning sweating hair treatment tinnitus

C# and .NET interview questions and answers around global assembly cache (GAC)

C# and .NET interview questions and answers around global assembly cache (GAC)


C# and .NET interview questions and answers around global assembly cache (GAC)

One of the most asked questions in .NET interviews are around assembly and GAC. Most of the times .NET developers get confused with these questions. Below are some of the question which keeps coming from GAC perspective.

Interviewer normally starts with what is GAC?


GAC is a central repository folder where you can share your DLL among different applications running in the same computer. So for example you have accounting and invoicing application running in the same computer and both these application need some common utility like the logging DLL then you need to register them in GAC and share them.

If you are able to answer the top interview questions the next question can be on versioning.

If we have different versions of DLL in GAC how can the application identify them?

This is done by using binding redirect and specifying older version and new version value. So which ever version you put in the new version will be used by the application.

The other question can come from the perspective of how you can register a DLL in GAC. Interviewer expectation is that you do not just talk about GACUTIL but you need talk more realistic.

What are the various ways by which you can register a DLL in GAC?

We can use the GACUTIL tool to register the DLL in GAC.

But when we talk about application they have 100 of DLL's so how feasible is GACUTIL tool?

We need to create installation package which will register the DLL in GAC.

If we do not have strong name can assembly be registered in GAC?

This is again a catchy question which is testing do you know the pre-requisites to register DLL in GAC. No, you cannot register DLL in GAC without strong names.

How do we create strong named DLL?

By using SN.EXE or by going to the project properties and making the assembly string named.

So next time you face a question in GAC in C# and .NET interviews understand the above twist and twirls. Happy job hunting.

For more information on c#,.net interview questions and answers please visit www.questpond.com
The Approaches of Chelation Therapy Tax Return - another headache for an earner Arvada Dentist Teaches What To Do With Top 4 Dental Emergencies This Will Help You With Healing Scar Tissue! Look Within To Discover How To Reduce, Relieve And Eliminate Migraine Headache Effectively Scar Tissue Formation Usually From Previous Surgery The Country Of Tunisia - World Renowned Beaches & An Earth Altering History Tricks To Reaching Your Goals harbal remedies for backache The Success of Bleaching For Teeth Whitening Arvada Dentist Teaches 6 Ways To Protect Your Teeth. Arvada Dentist Migraine Natural Treatment - Migraine and Headache Relief Migraine and Headache Relief Review
print
www.yloan.com guest:  register | login | search IP(18.220.248.77) Stockholms Lan / Kista Processed in 0.008334 second(s), 7 queries , Gzip enabled , discuz 5.5 through PHP 8.3.9 , debug code: 36 , 2341, 197,
C# and .NET interview questions and answers around global assembly cache (GAC) Kista