Replies: 2 comments 2 replies
-
Thanks for reaching out. I'd be happy to help you with any questions or issues. In your .Model project you should have a global configuration file <svc:services-config async="true"
cancellation="true"
namespace="MyProject6.Services.Common"
implNamespace="MyProject6.Services.Entities"
tsOutputPath="../MyProject6.Client.Spa/ServiceContracts/{Module/}{File}"/> This will allow generating async operations in your services, which is needed when accessing your REST API from the client (Wasm or WPF). Usually, the Please let me know if this helps fix the issue, or if you have any additional questions or issues. |
Beta Was this translation helpful? Give feedback.
-
thanks for the note! It may be a simple issue, but I don't see a
configuration file in the Model project. I generated a new project as per
the website and chose the standard setting. Is the global config file
somewhere else? I pasted a picture of the structure.[image: image.png]
…On Thu, Sep 26, 2024 at 11:04 PM Xomega Team ***@***.***> wrote:
Thanks for reaching out. I'd be happy to help you with any questions or
issues.
In your .Model project you should have a global configuration file
global_config.xom, which should have a svc:services-config element. You
need to set the async="true" attribute on it as follows.
<svc:services-config async="true"
cancellation="true"
namespace="MyProject6.Services.Common"
implNamespace="MyProject6.Services.Entities"
tsOutputPath="../MyProject6.Client.Spa/ServiceContracts/{Module/}{File}"/>
This will allow generating async operations in your services, which is
needed when accessing your REST API from the client (Wasm or WPF). Usually,
the async attribute should be set by default by your Xomega Solution
wizard, unless you explicitly uncheck it.
Please let me know if this helps fix the issue, or if you have any
additional questions or issues.
—
Reply to this email directly, view it on GitHub
<#21 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFBARGFA3MVI5SGDHFA64GDZYTDMFAVCNFSM6AAAAABO6GQIRWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANZXGAYDKMA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
I get the error in the title when I try to build out the Model. How can I do what they are asking?
Beta Was this translation helpful? Give feedback.
All reactions