.NET Web ServicesDiscussions about .NET XML Web Service technologies including ASMX files, WSDL and SOAP.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the .NET Web Services 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 .
Thanks, it is a very simple question, but i don't how to deal with it.
Use the .net .dll files in asp.net, in fact in the books it says that if i put the .dll in the directory name bin it can work correctly,but it don't work. very interesting.
Ok, so it sounds like you are using a .NET assembly.
Simply putting in the directory won't let you use it. You need to have a reference to it when you compile the code.
If you are using Visual Studio, you can do the following:
Put the DLL into the root of your ASP.NET project, then make a regular .NET reference to it. Once you click "Add Reference..." you'll get to the .NET assemblies tab in the reference dialog. Then you click "Browse" which should open up the root directory of the project. In there you'll find the DLL you want to use, select it and ok out of everything. Visual Studio will then copy the DLL into the bin directory for you and the code that uses that assembly will then work.
Peter
------------------------------------------------------
Work smarter, not harder.
If I am compiling a DLL on the fly using the ICodeCompiler, how would I go about using the methods/properties of the newly compiled DLL in the application? The DLL has been compiled and resides in the BIN directory though I am still not able to reference it.
Dolphin Bay, Inc. -- turning visions into eReality(tm) -- West Palm Beach, FL Website Design, Internet Strategy, Search Engine Marketing