i finally found in your documentation that after a entity is created, then i need to start the web.hosts --> then do nswag\refresh.bat from the command line.
This gen'd the Service Proxies and I was able to see the Person Entity in the Angular area, after I logged in.
Prerequisites
Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
- What is your product version? 10.0
- What is your product type (Angular or MVC)? Angular
- What is product framework type (.net framework or .net core)?5
If issue related with ABP Framework
- What is ABP Framework version? 6
If issue is about UI
- Which theme are you using? default
- What are the theme settings?
the radtool version is 2.7.5.2
i have looked at problem # 9883 and i do not think its the same problem; though generated very simular. Its only on the angular folder, and I get the below #1; after is the json file
in this problem, I do not know what file needs to be modified. c:\mortho\aspnet-core\AspNetZeroRadTool\FileTemplates; opened all files and looked for the replace text.
I am very dependent on the RadTool for some very time dependent work effort in migrating another application to AspnetZero. Please check out the RadTool before the 12/17/2020 date, I cannot believe that you did much QA for this release.
#1 Microsoft Windows [Version 10.0.19042.685] (c) 2020 Microsoft Corporation. All rights reserved.
C:\Github\murphymj5209\Test51\Mortho\test51-mortho\angular>npm start
[email protected] start C:\Github\murphymj5209\Test51\Mortho\test51-mortho\angular gulp buildDev && ng serve --host 0.0.0.0 --port 4200
[06:16:15] Using gulpfile C:\Github\murphymj5209\Test51\Mortho\test51-mortho\angular\gulpfile.js [06:16:15] Starting 'buildDev'... Dynamic bundles are being created. [06:17:21] Finished 'buildDev' after 1.08 min WARNING: This is a simple server for use in testing or debugging Angular applications locally. It hasn't been reviewed for security issues.
Binding this server to an open connection can result in compromising your application or computer. Using a different host than the one passed to the "--host" flag might result in websocket connection issues. You might need to use "--disableHostCheck" if that's the case. Warning: Entry point 'abp-ng2-module' contains deep imports into 'C:/Github/murphymj5209/Test51/Mortho/test51-mortho/angular/node_modules/rxjs/internal/observable/throwError'. This is probably not a problem, but may cause the compilation of entry points to be out of order. Warning: Entry point 'angular2-text-mask' contains deep imports into 'C:/Github/murphymj5209/Test51/Mortho/test51-mortho/angular/node_modules/text-mask-core/dist/textMaskCore'. This is probably not a problem, but may cause the compilation of entry points to be out of order.
chunk {main} main.js, main.js.map (main) 2.05 kB [initial] [rendered] chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 704 bytes [initial] [rendered] chunk {runtime} runtime.js, runtime.js.map (runtime) 6.15 kB [entry] [rendered] chunk {scripts} scripts.js, scripts.js.map (scripts) 954 kB [entry] [rendered] chunk {styles} styles.js, styles.js.map (styles) 1.81 MB [initial] [rendered] chunk {vendor} vendor.js, vendor.js.map (vendor) 341 kB [initial] [rendered] Date: 2020-12-14T12:17:47.512Z - Hash: fd027990a9efced34191 - Time: 15517ms
ERROR in src/shared/service-proxies/service-proxy.module.ts:10:27 - error TS2551: Property 'PersonsServiceProxy' does not exist on type 'typeof import("C:/Github/murphymj5209/Test51/Mortho/test51-mortho/angular/src/shared/service-proxies/service-proxies")'. Did you mean 'SessionServiceProxy'?
10 ApiServiceProxies.PersonsServiceProxy, ~~~~~~~~~~~~~~~~~~~
src/shared/service-proxies/service-proxies.ts:9211:14 9211 export class SessionServiceProxy { ~~~~~~~~~~~~~~~~~~~ 'SessionServiceProxy' is declared here. src/app/main/nsPerson/persons/create-or-edit-person-modal.component.ts:11:5 - error TS2724: Module '"../../../../shared/service-proxies/service-proxies"' has no exported member 'PersonsServiceProxy'. Did you mean 'SessionServiceProxy'?
11 PersonsServiceProxy, ~~~~~~~~~~~~~~~~~~~
src/shared/service-proxies/service-proxies.ts:9211:14 9211 export class SessionServiceProxy { ~~~~~~~~~~~~~~~~~~~ 'SessionServiceProxy' is declared here. src/app/main/nsPerson/persons/create-or-edit-person-modal.component.ts:12:5 - error TS2305: Module '"../../../../shared/service-proxies/service-proxies"' has no exported member 'CreateOrEditPersonDto'.
12 CreateOrEditPersonDto, ~~~~~~~~~~~~~~~~~~~~~ src/app/main/nsPerson/persons/view-person-modal.component.ts:10:5 - error TS2305: Module '"../../../../shared/service-proxies/service-proxies"' has no exported member 'GetPersonForViewDto'.
10 GetPersonForViewDto, ~~~~~~~~~~~~~~~~~~~ src/app/main/nsPerson/persons/view-person-modal.component.ts:11:5 - error TS2305: Module '"../../../../shared/service-proxies/service-proxies"' has no exported member 'PersonDto'.
11 PersonDto, ~~~~~~~~~ src/app/main/nsPerson/persons/persons.component.ts:9:5 - error TS2724: Module '"../../../../shared/service-proxies/service-proxies"' has no exported member 'PersonsServiceProxy'. Did you mean 'SessionServiceProxy'?
9 PersonsServiceProxy, ~~~~~~~~~~~~~~~~~~~
src/shared/service-proxies/service-proxies.ts:9211:14 9211 export class SessionServiceProxy { ~~~~~~~~~~~~~~~~~~~ 'SessionServiceProxy' is declared here. src/app/main/nsPerson/persons/persons.component.ts:10:5 - error TS2305: Module '"../../../../shared/service-proxies/service-proxies"' has no exported member 'PersonDto'.
10 PersonDto, ~~~~~~~~~
** Angular Live Development Server is listening on 0.0.0.0:4200, open your browser on http://localhost:4200/ **
the Json file: { "IsRegenerate": false, "MenuPosition": "main", "RelativeNamespace": "NsPerson", "EntityName": "Person", "EntityNamePlural": "Persons", "TableName": "Persons", "PrimaryKeyType": "int", "BaseClass": "FullAuditedEntity", "EntityHistory": false, "AutoMigration": true, "UpdateDatabase": true, "CreateUserInterface": true, "CreateViewOnly": true, "CreateExcelExport": true, "IsNonModalCRUDPage": false, "IsMasterDetailPage": false, "PagePermission": { "Host": true, "Tenant": true }, "Properties": [ { "Name": "Name", "Type": "string", "MaxLength": 32, "MinLength": 0, "Range": { "IsRangeSet": false, "MinimumValue": 0.0, "MaximumValue": 0.0 }, "Required": true, "Nullable": false, "Regex": "", "UserInterface": { "AdvancedFilter": true, "List": true, "CreateOrUpdate": true } }, { "Name": "SurName", "Type": "string", "MaxLength": 32, "MinLength": 0, "Range": { "IsRangeSet": false, "MinimumValue": 0.0, "MaximumValue": 0.0 }, "Required": true, "Nullable": false, "Regex": "", "UserInterface": { "AdvancedFilter": true, "List": true, "CreateOrUpdate": true } }, { "Name": "EmailAddress", "Type": "string", "MaxLength": 255, "MinLength": 0, "Range": { "IsRangeSet": false, "MinimumValue": 0.0, "MaximumValue": 0.0 }, "Required": false, "Nullable": false, "Regex": "", "UserInterface": { "AdvancedFilter": true, "List": true, "CreateOrUpdate": true } } ], "NavigationProperties": [], "NavigationPropertyOneToManyTables": [], "EnumDefinitions": [], "DbContext": null }
2 Answer(s)
-
1
i finally found in your documentation that after a entity is created, then i need to start the web.hosts --> then do nswag\refresh.bat from the command line.
This gen'd the Service Proxies and I was able to see the Person Entity in the Angular area, after I logged in.
-
0
Great :)