Tuesday, May 13, 2008

PowerBuilder 11.5 and strong-named .NET Assemblies

Another new feature in PowerBuilder 11.5 is the ability to generate strong-named assemblies for any of the four .NET targets (Web Forms, Windows Forms, .NET Web Services or .NET Assemblies). What does this mean?

Well the Help file says this:

A strong name consists of an assembly's identity—its simple text name, version number, and culture information (when provided)—plus a public key and digital signature. It is generated from an assembly file using the corresponding private key. The assembly file contains the assembly manifest that includes the names and hashes of all the files that make up the assembly.

So, what are the benefits of creating strong name assemblies?

First you can be assured that a name is globally unique. According to the MSDN website, strong names satisfy the following requirements:

  • Strong names guarantee name uniqueness by relying on unique key pairs. No one can generate the same assembly name that you can, because an assembly generated with one private key has a different name than an assembly generated with another private key.

  • Strong names protect the version lineage of an assembly. A strong name can ensure that no one can produce a subsequent version of your assembly. Users can be sure that a version of the assembly they are loading comes from the same publisher that created the version the application was built with.

  • Strong names provide a strong integrity check. Passing the .NET Framework security checks guarantees that the contents of the assembly have not been changed since it was built.
Note that creating strong-named assemblies does not imply the same level of trust that is provided by a digital signature and supporting certificate.

7 comments:

aghosheh said...

OK, great. PB does .NET. Well How? with all due respect to Sybase, there aren't any books to help you with the transition. I learned C# but now what? How can I use PB to do .NET. I don't know. The help files assume I know things and I don't. Do this to the server do that to the do dah. Are there any books out there or is PB really a dead tool?

Nancy J said...

I have a program I wrote in PB and fly all over the country to install.. so - no, pb is not dead.

That said, I am working thru the .Net tutorials. Displaying a datawindow - Dead Easy!

Any thing else, nope - not working.

Training Material. We need much more training material. Desperately!!!

donald said...

I recently came across your blog and have been reading along. I thought I would leave my first comment. I don't know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often.

Betty


http://www.my-foreclosures.info

Millan said...

Its nice read this blog. i found more and more information about PowerBuilder

Rich (a.k.a. Rman1968) said...

Thanks for the thoughts about PowerBuilder, here is a website (blog) that focuses on corporate development tools. There are some articles about PowerBuilder and Silverlight. The developer / writer used PowerBuilder since version 3.0

Rich (a.k.a. Rman1968) said...

Thanks for the thoughts about PowerBuilder, here is a website (blog) that focuses on corporate development tools. There are some articles about PowerBuilder and Silverlight. The developer / writer used PowerBuilder since version 3.0

lauren said...

Ability to generate strong-named assemblies for any of the four .NET targets (Web Forms, Windows Forms, .NET Web Services or .NET Assemblies) is a strong feature of Powerbuilder 11.5 Guarantee name uniqueness is always required. you outlined good FAQs and answered them as well.
signature seal