In .NET RIA Services you can write code on the server with a suffix of .shared.cs or .shared.vb and it will be available for you on the client.
My question is why would I want this?
Assuming that I use a DomainModel with proper business objects and a ViewModel wouldn't all the code I would need reside in those classes? This looks like global code that can be a potential dumping ground because the developer didn't design properly and now has a bunch of classes in shared code which probably belongs in the business layer or the UI Layer.
Am I right in thinking this or am I missing something fundamental?