How to call method written in C# class library from Silverlight application(xaml.cs file) ?

Posted by Shyju on Stack Overflow See other posts from Stack Overflow or by Shyju
Published on 2010-04-20T20:48:49Z Indexed on 2010/04/20 21:03 UTC
Read the original article Hit count: 158

Filed under:

Can a Silverlight application call a method in a full .NET c# class library?

I am trying to add a Silverlight control to my Existing ASP.NET project where i used to add reference to my Business Logic Project and access methods from My UI pages of ASP.NET Web application. Now I have added one Silverlight project to my solution.

How can I use the already existing BL method which is in a C# class library ? When tried to add reference, it is saying that "You can only add project reference to other silver light projects in the solution".

Should i give up ? Is there any way to get rid of this ?

© Stack Overflow or respective owner

Related posts about Silverlight