Last post Feb 01, 2007 11:43 AM by Rossoneri
Jan 31, 2007 01:39 PM|may215|LINK
i have the following project:
Solution name: SessionServices.
App_Code folder contain the: Service.cs (code file for the webservice).
Bin folder contain two dll's.
i deploied this project to one dll, but how do i use this dll? i tried to put it in other webSite bin folder and call functions....he throw me an error that he can't find or recognize this dll... did i miss something?
** i followed the instructions in the video http://www.asp.net/learn/videos/view.aspx?tabid=63&id=15
Feb 01, 2007 11:43 AM|Rossoneri|LINK
I have not watched the video:
If you want to use the dll on another site, you have to add a reference too it in some fashion.
If this is another asp.net project, open that project, add a reference, and navigate to your dll. Then in your code for that site you can now access it.
You can also "reference" an assembly in the web.config file if you do not have the project files.
<add assembly="<AssemblyName>, Version=<Version>, Culture=<Culture>, PublicKeyToken=<PublicKeyToken>"/>