How to call method written in C# class library from Silver light 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 20:53 UTC
Read the original article Hit count: 336

Filed under:

Can a xaml.cs file call the method in a c# class library ? I am trying to add a Silver light control to my Existing ASP.NET project where i used to add reference to my BL Project and acces methods of BL from My UI pages of ASP.NET Web application.Now i have added one Silver light 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