.NET RIA Services Part 4: Calling methods on the Server from Silverlight.
Posted by: Al Pascual,
on 08 Sep 2009 |
View original | Bookmarked: 0 time(s)
In Part 2 I introduced the concept of sharing code between tiers. When creating a new class in ASP.NET with the name .shared, .NET RIA Service will generate a hidden class as well in Silverlight with the same code. So you are compiling the code once in each tier, yet theyll be insync. This is called the RIA Link. Now that causes the problem that you are writing server side code that will run in the browser instead of the server, so its important to think about where do you want the code to...