Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

How to generate WCF service contracts
xomega
#1 Posted : Wednesday, August 8, 2012 5:48:54 PM(UTC)
xomega



To generate an WCF service contracts from your Xomega service model you can perform the following steps.
  1. Open the Properties tab of the WCF Service Contracts generator in the Service Layer folder.
  2. Set the Output Path parameter to where you want the generated classes to go. Use the {File} placeholder to indicate the location of individual services. You can also use the {Module/} placeholder to place services in different folders based on the modules of the corresponding objects, for example ../MyProject.Services/{Module/}_{File}.cs. We recommend using a specific naming convention for the generated files, such as ending them with .gen.cs or starting with an underscore, which would keep them separate from the non-generated files.
  3. If you want the generator to automatically add the generated files to one of your projects, then you need to specify the path to the project file in the Add To Project parameter.
  4. Run the generator and add the generated files to your project as necessary.
  5. Review and build the project to make sure the files were generated properly and without errors.
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Copyright © 2009-2022 Xomega.Net. All rights reserved.