Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > BOOK: ASP.NET Website Programming Problem-Design-Solution
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 30th, 2004, 07:52 PM
Registered User
 
Join Date: Aug 2004
Location: , , .
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Digital Signatures - Why do we need them???

The book goes through the trouble of creating a digital signature for the application. Why do we need to do this? And is it necessary?

jaspe

  #2 (permalink)  
Old August 30th, 2004, 10:31 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Atlanta, Georgia, USA.
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No, it's not needed. You can comment out these lines in all of the AssemblyInfo files:

//[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile(@"c:\thephile\Keys\ThePhile.snk")]
//[assembly: AssemblyKeyName("")]

It's only needed if you want to install an assembly in the GAC, and this isn't needed in ThePhile.

If you did want to use a strong key, you should make your own and not use the one provided.

Eric
  #3 (permalink)  
Old August 31st, 2004, 12:03 PM
Registered User
 
Join Date: Aug 2004
Location: , , .
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Eric,

Thanks for the info.

>> It's only needed if you want to install an assembly in the GAC, and this isn't needed in ThePhile.

Question about the above, I don't know what a "GAC" is and why i would install an assembly for it! :) What exactly is it? Thanks again!

Jaspe


  #4 (permalink)  
Old August 31st, 2004, 03:49 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Atlanta, Georgia, USA.
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The GAC is the Global Assembly Cache. It's a place to put assemblies that can be shared by other applications.

It's not actually one folder, but it's rather a complex group of folders. MS provided us with a Windows Explorer plug-in that lets us view the GAC by looking at C:\Windows\Assembly in Explorer.

The GAC is always searched first when the .NET runtime tries to locate an assembly. This makes it a great place to locate COM+ and remoted assemblies because a caller from another computer will always be able to launch them if there're in the GAC.

This isn't needed by ThePhile because the assemblies are deployed locally in the bin subdirectory.

Eric
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
BouncyCastle & multiple signatures fulgerica BOOK: Beginning Cryptography with Java 5 August 31st, 2007 07:51 AM
Digital Signatures countrymusicman Access VBA 0 April 19th, 2007 02:26 PM
Digital Signatures harpua PHP How-To 1 August 29th, 2006 11:02 PM
Outlook 2000, VBA, random signatures michaelrayadkins Beginning VB 6 1 June 4th, 2004 07:49 AM
multiple definitions with identical signatures Galina Crystal Reports 0 February 14th, 2004 05:39 PM



All times are GMT -4. The time now is 10:49 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.