.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

how to sign Ent Lib DLLs???

Posted By:      Posted Date: October 01, 2010    Points: 0   Category :.NET Framework

Hi Forum,

I have had to sign the EL5.0 DLLs for GACing and I tried out various options. Finally, I had to open the source solution in VS2008 and in the Properties window, changed the Strong name key file and compiled it. Is there any better way of doing this???


Praveen Behara
MCST : BizTalk Server 2006 R2

View Complete Post

More Related Resource Links

Gmail style multiple Sign-in type combo...is it possible in asp.net?


I am developing a multi-company application and want my users to give the functionality like the following to switch companies.


Is this possible? then how?

Please help


Single Sign-On: A Developer's Introduction To Active Directory Federation Services


Use Active Directory Federation Services to allow other organizations to use your Web applications without the need for you to grant access explicitly.

Keith Brown

MSDN Magazine November 2006

C++ at Work: Create Dynamic Dialogs, Satellite DLLs, and More


This month Paul DiLascia teaches readers the right way to create dynamic dialogs, explains satellite DLLs and discusses language resource DLLs.

Paul DiLascia

MSDN Magazine September 2006

Passport Secure Sign-In: Provide Your Users with Secure Authentication Capabilities Using Microsoft


Secure sign-in, a new feature in version 2.0 of the .NET Passport single sign-in and profile service, is a functionality that will be especially useful for sites containing confidential information or anywhere security is a primary concern. Such sites include banks, medical sites, and so on. Secure sign-in is as safe as any SSL-based Web site login used today and provides a way to virtually eliminate vulnerability to replay and dictionary attacks.This article explains secure sign-in and demonstrates how you can implement this feature with very little effort in either ASP using the Passport.Manager COM object or in ASP.NET using the .NET class PassportIdentity.

Michael Kogotkov-Lisin

MSDN Magazine September 2002

.net DLLs not secure


.net DLLs are not secure, this is such a disappointment. 

What can one do to secure DLL apart from obfucation (which is nothing about making DLL secure)

I know that I can build a DLL in vb6 or Delphi (thats secure) and then COM (tlbimp.exe) it for .net using interlop tools for .net


BUT I dont want to that, I want to stay with .net (vb) , so can anything be done to truely secure a .net DLL ??

This is very important

MSVS 2005 ASP.net 2.0 vb.net 2

Infopath cannot load this form. Either the signature is corrupted, or the certificatie used to sign



I have a whole bunch of forms contains errors like whenever you try to open it up.

Infopath cannot load this form.  Either the signature is corrupted, or the certificatie used to sign this form is expired or revoked.

The forms were orginally created with digital signature with it.  But we were in the middle of transition from one company to another company.  The digital signature was no longer valid.  Actually, the certificate should have been expired by now.  I removed all the signatures for all of the forms.  So they can continue using the forms to fill in the information.  The problem right now, is trying to open the old forms with digital signature on it.   Not only the company has changed.  We also moved sharepoint from the old server to the new server.

Any idea to resolve th

Sign out issue with IE7 of MOSS application.

Hi All,

I have a sign out issue with my moss application in IE7:

1) When I log in and attempt to log out immediately, the log out function hiding behind this drop down menu did not work.it left me logged in.The logout does not in fact log out the user.

2) When i click sign in as different user, it logs out the user and cant sign in again using same browser page , i need to restart the browser.

Am not able to fix this issue actually,might be we need to make some changes in internet options or something???

I do not know what really is happening.


DllImport of 32-Bit dlls

Hi guys, I am a real newbie on 64-Bit progr. so my question might sound a little stupid. I have a VB.NET project which refered to a 32-Bit dll via COM-Interop. I migrated the project and the COM invocation does not work anymore. I tried several compiler settings (anyCPU, x86) but nothing helped. Then I found in my old C# book a method called DllImport (System.Runtime.InteropServices) I declared the dll as follows: <DllImport("fcvb.dll", CharSet:=CharSet.Auto)> _ Function dllBIN2_iv(ByVal price_u As Double, ByVal ex As Double, ByVal d_exp As Double, ByVal d_v As Double, ByVal price As Double, ByVal rate_ann As Double, ByVal acc_rate As Integer, ByVal cost_hldg As Double, ByVal acc_cost_hldg As Integer, ByVal option_type As Integer, ByVal iter As Integer, ByRef return_vlty_imp As Double) As Integer End Function When calling the Dll I got f... in the middle of the process saying: errMsg = "System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)   at Wcr_.NET_2005.Module1.dllBIN2_iv(Double price_u, Double ex, Double d_exp, Double d_v, Double price, Double rate_ann,... I am running an AMD64-Bit Opteron with 2GIG of Mem on Windows Server 2003 (64-Bit) Standard. Visual Studio 2005 Team Edition for SW Developers and .NET Framework 2.0   Any comments welcome I am open for both a COM wrapper .NET dll or n

AppDomain to Load and Manage DLLs

My question/situation is with regard to AppDomain.CreateInstanceFrom or AppDomain.CreateInstanceFromAndUnwrap or AppDomain capabilities.My customer wants a service (or application) that can invoke Public methods from any .NET Managed DLL and be able to add, change, rename, delete those DLLs out of their storage location while the service is running.  DLLs will mostly likely not be marked Serializable and will most likely not inherit from MarshalByRefObject.  Presently, I am providing this functionality without the ability to change, rename, or delete DLLs while the service is running by loading the DLLs at service start (not very memory friendly).Could I create a manager class that supports this functionality, load that class into a separate AppDomain, invoke methods as needed, and unload the AppDomain as needed when DLLs change?  I would manage execution with a Queue object to ensure that requests for invocation don't get lost and don't try to access the manager when it is no longer in scope.  A FileSystemWatcher would handle unloading the AppDomain when changes occurred.Does this sound correct, normal, abnormal, or not possible?Software Developer, Augusta Systems

Sign outgoing body from client with custom endpoing behavior defined in code

I'm trying to sign (and sign only) the body of every outgoing message that uses this custom endpoint behavior.  When I first created this it was for signing a custom SOAP header.  We are moving away from that and going to just sign the body.  We have some applications that have 10+ web service references.  We don't want to touch the reference.cs for anything.  Below is the code I had before for signing the custom soap header.  I'm trying to modify it to just sign the body.  My modified code is below, and the error I get. Private Class CustomHeaderBehavior Implements ServiceModel.Description.IEndpointBehavior Public Sub New() End Sub Private Sub AddBindingParameters( _ ByVal endpoint As ServiceModel.Description.ServiceEndpoint, _ ByVal bindingParameters As ServiceModel.Channels.BindingParameterCollection) _ Implements ServiceModel.Description.IEndpointBehavior.AddBindingParameters Dim body As New Xml.XmlQualifiedName("Body", "http://schemas.xmlsoap.org/soap/envelope/") Dim BodyMsgPartSpec As New ServiceModel.Security.MessagePartSpecification() BodyMsgPartSpec.IsBodyIncluded = True Dim requirements As ServiceModel.Security.ChannelProtectionRequirements = bindingParameters.Remove(Of ServiceModel.Security.ChannelProtectionRequirements)() requirements

MVC, Single-Sign-On and Roles

I have basic Single Sign-On working across 2 MVC sites (call them SiteA and SiteB) using something along the lines of the following method:http://forums.asp.net/p/1023838/2614630.aspxThey are on sub-domains of the same domain and share hash\encryption keys etc in web.config. I've modified the cookie so it is accessible to all Sites on the same domain. All of this seems to be working ok.The sites are on seperate servers without access to the same SQL database, so only SiteA actually holds the user login details. SiteB has a membership database, but with empty users.This works fine for my required scenario which is:1) User logs into SiteA2) The application loads data from SiteA (by AJAX) and SiteB (by AJAX using JSONP)I have the following LogOn Action on my AccountController for SiteA, which is where the "magic" happens: [HttpPost] public ActionResult LogOn(LogOnModel model, string returnUrl) { if (ModelState.IsValid) { if (MembershipService.ValidateUser(model.UserName, model.Password)) { FormsService.SignIn(model.UserName, model.RememberMe); //modify the Domain attribute of the cookie to the second level of domain // Add roles string[] roles = Roles.GetRolesForUser(model.UserName); Http

Claims Walkthrough: Creating Trusted Login Providers (SAML Sign-in) for SharePoint 2010

Learn how to create a custom security token service (STS) and set up a trust relationship between a SharePoint 2010 farm and the custom STS

Can i use Single Sign on Sharepoint 2010?

Can i use Single Sign on Sharepoint 2010?

Single Sign On to external system via iView?

I have Page iView in the SharePoint 2010. I have another non MS based external system where I should make integration. iView is great, but I need authentication as well. What is needed to create SSO to authenticate to the external system and display view to the external system via iView? Is it mandatory to external system to support SSO? Both SharePoint and external system have SSO account mapping?Kenny_I
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend