Reputation: 9027
I have a webservice DLL. written in .Net 2 Now I want to access methods of this dll in my Silverlight app. Is it possible as of today to access .net dll from within silverlight app? I do not have source code for my dll.
Upvotes: 1
Views: 1198
Reputation: 914
If it is already a webservice then call the webservice methods from your silver light application
Upvotes: 1
Reputation: 46420
You cannot referene a non-silverlight assembly from silverlight, but you can reference a silverlight assembly from a regular .net application.
Sounds like you just want to call a web service from your silverlight application. If that is the cause you should be able to just add a web reference to your web service, so you shouldn't need to reference that dll at all I suspect.
Upvotes: 0
Reputation: 8562
You should just be able to to call the webservice from Silverlight. Do you have it setup in IIS already?
Upvotes: 0
Reputation: 2685
You cannot directly use a .net compiled dll in silverlight. For accessing directly with silverlight, it has to be built with ".net silverlight runtime".
Silverlight is a minified version of the .net framework.
Upvotes: 1