My project is broken down into a typical three-layer structure for a Silverlight application. I.e:
The problem is that currently BO, opened through WCF for my interface, contains only private variables and none of the properties or methods.
Is there an easy way to open a complete object (via attributes or configuration)?
What is the best solution?
, , WCF, DataContracts .NET ( Silverlight). WCF . , DataContract, - . undestanding WCF, WCF: Michele Bustamente.
@John Fisher .NET , , Silverlight. , REST Silverlight.
, [DataContract], [DataMember] . .
- , DLL " ", , . ( dll , ) . . , , .
Sixto . WCF BO DLL ( WCF ), . , BO .NET, silverlight.
, , :
If you moved your business logic to your project and simply referenced your common “dumb” objects, then you could probably create two logical projects, one silver and one standard, and just have the actual files in one and create links to these files are in another. Thus, you will have the same logic for both projects, and it will exist both in Silverlight and in standard .NET.
Source: https://habr.com/ru/post/1698087/More articles:VB6 Date Data Type: Accuracy and Formatting - typesIs there a better way to display an object than using a hierarchy? - c #Delphi 7 exception thrown - exceptionHow to identify prefabricated folders for an application? - .net-2.0Download a large file - connecting to a Reset server - asp.netSort jQuery - jqueryOptimization MSI InstallShield Basic - optimizationResponse.Redirect (") inside" using {} "- .netАлгоритм дерева - algorithmDoes the call to Response.Redirect () inside the used block call Dispose ()? - c #All Articles