简体   繁体   中英

Use a class library DLL hosted on an ASPX webpage

I'm developing a webpage using the ASP.net Framework 4.0, C# and I got a DLL from a class Library. The function of this DLL is to activate and read information from a hardware CARD-READER (Client side) then I want to send the information to the server.

How can I use this DLL from a ASPX webpage?

Copy the downloaded DLL file in a custom folder on your drive, hopefully at the root of your solution maybe in a libs folder, then add the reference to your project using the Browse button in the Add Reference dialog. Make sure that the new reference has Copy Local = True set within its properties once added to the solution, which is found when un-collapsing and right-clicking on the References item in your project within Solution Explorer.

You can host it creating a XBAP, silverlight or clickonce application. The created application will run clientside.

Hope this helps.

Regards.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM