Matthews-MacBook-Pro:angular f2tek$ "./node_modules/.bin/nswag" run /runtime:NetCore20 . NSwag NPM CLI NSwag command line tool for .NET Core NetCore20, toolchain v11.17.21.0 (NJsonSchema v9.10.63.0 (Newtonsoft.Json v9.0.0.0)) Visit http://NSwag.org for more information. NSwag bin directory: Users/f2tek/Documents/Projects/C-Sharp/angular/node_modules/nswag/bin/binaries/NetCore20 Current directory does not contain any .nswag files. Duration: 00:00:00.0477912 Matthews-MacBook-Pro:angular f2tek$
`Matthews-MacBook-Pro:angular f2tek$ "./node_modules/.bin/nswag" dotnet run NSwag NPM CLI It was not possible to find any compatible framework version The specified framework 'Microsoft.NETCore.App', version '1.1.2' was not found.
Error: Command failed: dotnet "/Users/f2tek/Documents/Projects/C-Sharp/angular/node_modules/nswag/bin/binaries/NetCore11/dotnet-nswag.dll" dotnet run at checkExecSyncError (child_process.js:602:13) at Object.execSync (child_process.js:642:13) at c.exec (/Users/f2tek/Documents/Projects/C-Sharp/angular/node_modules/nswag/bin/nswag.js:66:11) at ChildProcess.exithandler (child_process.js:268:7) at emitTwo (events.js:126:13) at ChildProcess.emit (events.js:214:7) at maybeClose (internal/child_process.js:915:16) at Socket.stream.socket.on (internal/child_process.js:336:11) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7)`
Okay, so I changed the slashes and now I get that it is looking for Microsoft.NETCore.App version 1.1.2 was not found. Can I force this to use 2.1.2 or 2.1.5 or do I have to install the older version? I will give it a try...
I know this is me... so I apologize for the dumb questions. My Windows 10 machine was sent back for repair so I am trying to understand development on my Mac. When I run the command I get the following error while executing from the angular directory:
$ "..\node_modules\.bin\nswag" run -bash ..\node_modules\.bin\nswag: command not found
When I look through the directory I see that nswag is nswag.js.
Thanks.
I am sure this is documented somewhere or just my lack of knowlege with MacOS but how do I generate the correct service proxies for Mac development like is performed in Windows development. When I perform npm start on my Mac I get service proxy errors and I am sure its due to the differnence.
The actual error is
ERROR is src/app/shared/layout/header.component.ts(243,35): error TS2339: Property 'prepareCollectedData' does not exist on type 'ProfileServiceProxy
I could be confusing two different issues however I am lost at this point as none of the documents show how to perform what I suspect may be the issue.
Thanks.
We upgraded from ANZ v6.0 to v6.1 Angular + Core today and found that all users without Administration rights still have the Administration menu heading. Did we miss something in the code merge? We performed EF update-database, cleared browser cache, rebuilt the proxy with ./refresh.bat, and performed a new yarn for all package updates.
Hi @slamj1, this sounds like a solution and I have heard of NServiceBus before. Would you care to share any additional details how you implemented within ANZ?
Does the current version of ANZ support any type of workflow/approval process and queuing with something like MSMQ? How are others performing and managing this style in your application?
Thanks,
Matt
I was looking for more on how the backend API and business rules are used and less of what Angular and the GUI would look like.
Thanks,
Matt
I know this is not exactly an ASPNetZero question however I would like to know if anyone using the framework would be willing to provide some pointers/sample code of a Purchase Order/Sales Order style master/detail set of screens. I am trying to make sure I don't code this type of situation inside the framework incorrectly and then have a pain in the future with maintenance.
Thank you,
Matt