Click here to Skip to main content
15,896,201 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Installing A Windows Service on Win 10 With Windows Defender Pin
Richard Andrew x646-Aug-19 12:13
professionalRichard Andrew x646-Aug-19 12:13 
SuggestionRe: Installing A Windows Service on Win 10 With Windows Defender Pin
Richard Deeming7-Aug-19 9:40
mveRichard Deeming7-Aug-19 9:40 
QuestionHow to crystal report Short by Month.Year Pin
NSE India5-Aug-19 22:08
NSE India5-Aug-19 22:08 
AnswerRe: How to crystal report Short by Month.Year Pin
Richard Andrew x646-Aug-19 12:23
professionalRichard Andrew x646-Aug-19 12:23 
AnswerRe: How to crystal report Short by Month.Year Pin
Richard Deeming7-Aug-19 9:38
mveRichard Deeming7-Aug-19 9:38 
QuestionFind Assembly Dependancies Pin
Kevin Marois1-Aug-19 7:17
professionalKevin Marois1-Aug-19 7:17 
AnswerRe: Find Assembly Dependencies Pin
Richard Deeming1-Aug-19 9:05
mveRichard Deeming1-Aug-19 9:05 
QuestionUsing a GAC-registered assembly in a web application Pin
tiwal23-Jul-19 0:39
tiwal23-Jul-19 0:39 
Hello , I am currently working on a project which requires the use of a custom dll for authentication.
This dll is registered (so they told me) in the GAC of both the Production and Test environments.
The company policies state that you "shouldn't include the dll reference in your application's web.config file", that is, you shouldn't have something like :

<add assembly="" ....="" mydll=""> etc.

in your web.config, at least for this dll I am talking about. They say, since it's registered in the GAC, the application will load it anyway.
The problem is , if you don't add the assemby reference in your web .config , the application is not going to find it , no matter what they say.

Since I am sure the dll is actually registered in the GAC, my question is :

shouldn't the application be able to load the dll anyway , no matter if you add the reference in the web.config or not ?
I was convinced that, adding the reference to the project, the dll 's GAC location would be stored in the application's assembly so that the application itself would be able to find the assembly in the GAC , no matter what the working system is , given that the dll is actually registered in the working system's GAC .
But I must be wrong.
What is the real way it works ?

Thanks

Leo
AnswerRe: Using a GAC-registered assembly in a web application Pin
Eddy Vluggen23-Jul-19 1:13
professionalEddy Vluggen23-Jul-19 1:13 
GeneralRe: Using a GAC-registered assembly in a web application Pin
tiwal23-Jul-19 1:35
tiwal23-Jul-19 1:35 
GeneralRe: Using a GAC-registered assembly in a web application Pin
Eddy Vluggen23-Jul-19 2:54
professionalEddy Vluggen23-Jul-19 2:54 
GeneralRe: Using a GAC-registered assembly in a web application Pin
tiwal23-Jul-19 3:51
tiwal23-Jul-19 3:51 
QuestionHow to log an error through out full application Pin
Anandkumar Prajapati1-Jul-19 0:57
professionalAnandkumar Prajapati1-Jul-19 0:57 
AnswerRe: How to log an error through out full application Pin
Pete O'Hanlon1-Jul-19 1:35
mvePete O'Hanlon1-Jul-19 1:35 
AnswerRe: How to log an error through out full application Pin
Richard Deeming1-Jul-19 7:40
mveRichard Deeming1-Jul-19 7:40 
GeneralRe: How to log an error through out full application Pin
Richard Andrew x6420-Jul-19 2:04
professionalRichard Andrew x6420-Jul-19 2:04 
GeneralRe: How to log an error through out full application Pin
Richard Deeming22-Jul-19 7:29
mveRichard Deeming22-Jul-19 7:29 
QuestionConditional survey coding Pin
Member 1451542128-Jun-19 4:51
Member 1451542128-Jun-19 4:51 
AnswerRe: Conditional survey coding Pin
Dave Kreskowiak28-Jun-19 9:34
mveDave Kreskowiak28-Jun-19 9:34 
AnswerRe: Conditional survey coding Pin
Eddy Vluggen28-Jun-19 13:29
professionalEddy Vluggen28-Jun-19 13:29 
AnswerRe: Conditional survey coding Pin
Gerry Schmitz29-Jun-19 2:28
mveGerry Schmitz29-Jun-19 2:28 
GeneralOutlook Current User Context Pin
Member 1106951823-Jun-19 22:07
Member 1106951823-Jun-19 22:07 
GeneralRe: Outlook Current User Context Pin
Richard MacCutchan23-Jun-19 23:04
mveRichard MacCutchan23-Jun-19 23:04 
QuestionCryptography - Substitution Cipher Question Pin
YSLGuru12-Jun-19 19:44
YSLGuru12-Jun-19 19:44 
AnsweriRe: Cryptography - Substitution Cipher Question Pin
OriginalGriff12-Jun-19 19:50
mveOriginalGriff12-Jun-19 19:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.