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

.NET (Core and Framework)

 
GeneralRe: FXCOP CLSCompliant Pin
Lev Danielyan19-Dec-08 5:41
Lev Danielyan19-Dec-08 5:41 
GeneralRe: FXCOP CLSCompliant Pin
#realJSOP19-Dec-08 5:42
mve#realJSOP19-Dec-08 5:42 
GeneralRe: FXCOP CLSCompliant Pin
Lev Danielyan19-Dec-08 5:45
Lev Danielyan19-Dec-08 5:45 
QuestionI Just Discovered FXCop Pin
#realJSOP19-Dec-08 3:28
mve#realJSOP19-Dec-08 3:28 
AnswerRe: I Just Discovered FXCop Pin
Pete O'Hanlon19-Dec-08 3:49
mvePete O'Hanlon19-Dec-08 3:49 
GeneralRe: I Just Discovered FXCop Pin
#realJSOP19-Dec-08 4:59
mve#realJSOP19-Dec-08 4:59 
GeneralRe: I Just Discovered FXCop Pin
Pete O'Hanlon19-Dec-08 8:32
mvePete O'Hanlon19-Dec-08 8:32 
GeneralRe: I Just Discovered FXCop Pin
cmk20-Dec-08 9:51
cmk20-Dec-08 9:51 
My understanding of things is ...

There are 2 types of assemblies: private and shared: Private are placed in the same directory as the application, they do not need to be signed. Shared are installed in the GAC (Global Assembly Cache), they must be signed.

The .NET runtime uses the combination of assembly name, version and public key as a unique key for each assembly, this unique key is called the strong name.

As Pete mentioned, the key is generated by you. By keeping the private key private you prevent others from spoofing your assembly. If you manage final approval for assemblies in your company you may also want to look at 'delayed signing' which allows you to sign with the public key (for testing), and then add the private for release.

As to whether you should sign your article assembly ... If you are going to maintain it and expect it to be used as is, then i'd say yes. If you intend it to illustrate the concepts in the article and expect people to integrate the ideas into their own assemblies, then i'd say no ... i'd expect no.

...cmk

The idea that I can be presented with a problem, set out to logically solve it with the tools at hand, and wind up with a program that could not be legally used because someone else followed the same logical steps some years ago and filed for a patent on it is horrifying.
- John Carmack

AnswerRe: I Just Discovered FXCop Pin
Wendelius19-Dec-08 4:59
mentorWendelius19-Dec-08 4:59 
GeneralRe: I Just Discovered FXCop Pin
Lev Danielyan19-Dec-08 5:17
Lev Danielyan19-Dec-08 5:17 
GeneralRe: I Just Discovered FXCop Pin
#realJSOP19-Dec-08 5:26
mve#realJSOP19-Dec-08 5:26 
GeneralRe: I Just Discovered FXCop Pin
Lev Danielyan19-Dec-08 5:39
Lev Danielyan19-Dec-08 5:39 
GeneralRe: I Just Discovered FXCop Pin
Mark Churchill22-Dec-08 18:59
Mark Churchill22-Dec-08 18:59 
GeneralRe: I Just Discovered FXCop Pin
Wendelius23-Dec-08 3:25
mentorWendelius23-Dec-08 3:25 
QuestionSslStream.AuthenticateAsClient, multiple SslProtocols support and stunnel Pin
Ian Warner19-Dec-08 0:23
Ian Warner19-Dec-08 0:23 
QuestionHow to get WindowsIdentity from domain\ username without password? Pin
Doan Quynh18-Dec-08 23:42
Doan Quynh18-Dec-08 23:42 
AnswerRe: How to get WindowsIdentity from domain\ username without password? Pin
Dave Kreskowiak19-Dec-08 4:14
mveDave Kreskowiak19-Dec-08 4:14 
GeneralRe: How to get WindowsIdentity from domain\ username without password? Pin
Doan Quynh19-Dec-08 15:24
Doan Quynh19-Dec-08 15:24 
GeneralRe: How to get WindowsIdentity from domain\ username without password? Pin
Dave Kreskowiak19-Dec-08 15:45
mveDave Kreskowiak19-Dec-08 15:45 
GeneralRe: How to get WindowsIdentity from domain\ username without password? [modified] Pin
Doan Quynh19-Dec-08 16:18
Doan Quynh19-Dec-08 16:18 
GeneralRe: How to get WindowsIdentity from domain\ username without password? Pin
Dave Kreskowiak20-Dec-08 4:17
mveDave Kreskowiak20-Dec-08 4:17 
GeneralRe: How to get WindowsIdentity from domain\ username without password? Pin
Doan Quynh21-Dec-08 19:49
Doan Quynh21-Dec-08 19:49 
Questionvb,net buttons Pin
chathini18-Dec-08 20:35
chathini18-Dec-08 20:35 
AnswerRe: vb,net buttons Pin
Thulasee Shan19-Dec-08 0:54
Thulasee Shan19-Dec-08 0:54 
QuestionVB6.0 to VB.NET Pin
sntkn18-Dec-08 20:11
sntkn18-Dec-08 20:11 

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.