Jquery to call function in C# class library
I have a class library which has a class named 'MyClass' inside the namespace 'MyProject.MyNamespace'.
There is a method called 'TestMethod' which returns a string. How can I execute this method and get the returned string from JQuery? I am trying to do this in a jquery which is in a different project (an MVC application) called 'MyMvcApp'.
Please help me
Thanks