Base solution for your next web application

Activities of "murphymj5209"

I was trying out the Aspnet Zero Power Tools with the latest & greatest demo and i am not able to generate a new entity. please let me know what is the problem. thanks

I have a local pc and a microsoft action pack subscription which authenticates to Azure. I mention this because there is no local db 'sa' account; only my azure account is the instance admin.

I have downloaded the 4.0.2 Jquery demo and with no code changes, I cannot get the Admin account to login; i get the message : {"result":null,"targetUrl":"/Account/ResetPassword?UserId=1&ResetCode=FDBDA86D21&ReturnUrl=%2FApp","success":true,"error":null,"unAuthorizedRequest":false,"__abp":true}

i have tried various combinations including allocating a 'sa' account and making it apart of the dbowner. Any assistance is appreciated.

Question

i downloaded the latest code and am attempting to make sure that nothing is incorrect for my Jquery solution

My steps were to a) make sure the prereq's were installed b) in the mvc directory i use yarn, i type it using powershell as a Admin c) then i had to open the solution, which seemed to install some JS code d) then i did the nmp run create-bundles, again in the powershell Admin. Only after this, did i finally attempt a build, which i am not sure if it worked OK. i have alot of warnings and i do not feel the mobile.share is building properly. i have these unresolved caution signs.

i have done installs of moment-timezone and grunt both global. please let me know what i have not done correctly. thanks.

I have downloaded the latest code from Github and am only using the master branch.

  1. i am having trouble in getting the PowerTools to create a table. Please let me know how to make any kind of simple table, i have tried many different varieties and I never get past the first 2 or 3 lines, then powertools goes away. is there a log file?
  2. for the public site, i click on the login and this URL happens: http://localhost:9903/account/login?ss=true&returnUrl=http://localhost:9905/Account/Login; obviously the web site cannot be reached. The jquery version seems to work OK, i can add rows for a tenant OK.
  3. For the angular project, i have started the web.host before the angular project but i only get the 'spinning wheel' happening.

I am on the latest powertools, like others 1.8.3.1

I have a implementation for Organizations, Roles and Users that I am not doing correctly. I would like to say I have review many time your documentation on ANZ and AspNetBoilerPlate on Organizations, roles and users and feel that I am implementing what your documents describe.

My example is with ANZ 6.5 Jquery multitenant. I have made 2 tenats and 2 users each for this proof of concept beginning project. I then created the permissions for Users which has Tenant1&2User2 as members to have access to only Dashboard. When i log in as Tenant1 or 2User2, i do get the dashboard.

I then made the role UpdateInstitute and added Dashboard and a table I created with the PowerTools; its under the Administration Menu and I added the users Tenant1&2User1. When I use the Administration for the tenant it shows that table in the Administration Menu, as i expected. I then create the OrganizationUnit for Student, which has Users role, and UpdateInstitute which has UpdateInstitute role.

For the Tenant1&2User1 I expected to see the menu items Administration --> tblProgramInformation and Users, but do not. Please let me know what i am doing incorrectly for this scenario. I use the Tenant Login in the Host Admin account and login manually and making sure that the Tenant is Tenant1; same results.

Question

I downloaded the latest 7.0 angular project and wanted to ask about support for bootstrap 4 for the public project, simply when will it happen? Currently it is using 3.4 bootstrap. The current bootstrap is 4.3.1. thanks,

i am on v7, no patches, with angular project and am getting this error message when using the power tools on the npm start : TS2345: Argument of type 'string' is not assignable to parameter of type 'number'.

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 }

Prerequisites

Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • What is your product version? 10.1.rc1
  • What is your product type (Angular or MVC)?Angular
  • What is product framework type (.net framework or .net core)?.Net Core 5
  • PowerTools version 2.7.6

If issue related with ABP Framework

  • What is ABP Framework version?6.1

If issue is about UI

  • Which theme are you using?Default - Theme 1
  • What are the theme settings?default settings

Problem Description: In using PowerTools the tool seems to put out the column name with the data. Below is the Json file and the attachment has the GreenShot.

-> MorthoArthroplastyTypesAppService.cs is being generated. -> IMorthoArthroplastyTypesAppService.cs is being generated. -> MorthoArthroplastyTypeConsts.cs is being generated. -> CreateOrEditMorthoArthroplastyTypeDto.cs is being generated. -> MorthoArthroplastyTypeDto.cs is being generated. -> GetAllMorthoArthroplastyTypesForExcelInput.cs is being generated. -> GetAllForLookupTableInput.cs is being generated. -> GetAllMorthoArthroplastyTypesInput.cs is being generated. -> GetMorthoArthroplastyTypeForViewDto.cs is being generated. -> GetMorthoArthroplastyTypeForEditOutput.cs is being generated. -> MorthoArthroplastyType.cs is being generated. -> MorthoArthroplastyTypesExcelExporter.cs is being generated. -> IMorthoArthroplastyTypesExcelExporter.cs is being generated. -> AppPermissions.cs is being modified. -> AppAuthorizationProvider.cs is being modified. -> MorthoDbContext.cs is being modified. -> CustomDtoMapper.cs is being modified. Running add-migration... Build started... Build succeeded. Done. To undo this action, use 'ef migrations remove' Running migrator... Build started... Build succeeded. Applying migration '20201226041258_Added_MorthoArthroplastyType'. Done. -> morthoArthroplastyTypes.component.ts is being generated. -> morthoArthroplastyTypes.component.html is being generated. -> create-or-edit-morthoArthroplastyType-modal.component.html is being generated. -> create-or-edit-morthoArthroplastyType-modal.component.ts is being generated. -> view-morthoArthroplastyType-modal.component.html is being generated. -> view-morthoArthroplastyType-modal.component.ts is being generated. -> admin.module.ts is being modified. -> admin-routing.module.ts is being modified. -> app-navigation.service.ts is being modified. -> service-proxy.module.ts is being modified. -> Mortho.xml is being modified. yarn run v1.22.10 $ C:\Github\murphymj5209\MedicineInfoTechnlgy.Mortho\angular\node_modules.bin\prettier --write C:\Github\murphymj5209\MedicineInfoTechnlgy.Mortho\angular\src\app\admin\nsMorthoArthroplastyType\morthoArthroplastyTypes\morthoArthroplastyTypes.component.ts src\app\admin\nsMorthoArthroplastyType\morthoArthroplastyTypes\morthoArthroplastyTypes.component.ts 191ms Done in 0.47s. yarn run v1.22.10 $ C:\Github\murphymj5209\MedicineInfoTechnlgy.Mortho\angular\node_modules.bin\prettier --write C:\Github\murphymj5209\MedicineInfoTechnlgy.Mortho\angular\src\app\admin\nsMorthoArthroplastyType\morthoArthroplastyTypes\morthoArthroplastyTypes.component.html src\app\admin\nsMorthoArthroplastyType\morthoArthroplastyTypes\morthoArthroplastyTypes.component.html 344ms Done in 0.61s. yarn run v1.22.10 $ C:\Github\murphymj5209\MedicineInfoTechnlgy.Mortho\angular\node_modules.bin\prettier --write C:\Github\murphymj5209\MedicineInfoTechnlgy.Mortho\angular\src\app\admin\nsMorthoArthroplastyType\morthoArthroplastyTypes\create-or-edit-morthoArthroplastyType-modal.component.html src\app\admin\nsMorthoArthroplastyType\morthoArthroplastyTypes\create-or-edit-morthoArthroplastyType-modal.component.htmsrc\app\admin\nsMorthoArthroplastyType\morthoArthroplastyTypes\create-or-edit-morthoArthroplastyType-modal.component.html 118ms Done in 0.38s. yarn run v1.22.10 $ C:\Github\murphymj5209\MedicineInfoTechnlgy.Mortho\angular\node_modules.bin\prettier --write C:\Github\murphymj5209\MedicineInfoTechnlgy.Mortho\angular\src\app\admin\nsMorthoArthroplastyType\morthoArthroplastyTypes\create-or-edit-morthoArthroplastyType-modal.component.ts src\app\admin\nsMorthoArthroplastyType\morthoArthroplastyTypes\create-or-edit-morthoArthroplastyType-modal.component.ts 178ms Done in 0.44s. yarn run v1.22.10 $ C:\Github\murphymj5209\MedicineInfoTechnlgy.Mortho\angular\node_modules.bin\prettier --write C:\Github\murphymj5209\MedicineInfoTechnlgy.Mortho\angular\src\app\admin\nsMorthoArthroplastyType\morthoArthroplastyTypes\view-morthoArthroplastyType-modal.component.html src\app\admin\nsMorthoArthroplastyType\morthoArthroplastyTypes\view-morthoArthroplastyType-modal.component.html 76ms Done in 0.33s. yarn run v1.22.10 $ C:\Github\murphymj5209\MedicineInfoTechnlgy.Mortho\angular\node_modules.bin\prettier --write C:\Github\murphymj5209\MedicineInfoTechnlgy.Mortho\angular\src\app\admin\nsMorthoArthroplastyType\morthoArthroplastyTypes\view-morthoArthroplastyType-modal.component.ts src\app\admin\nsMorthoArthroplastyType\morthoArthroplastyTypes\view-morthoArthroplastyType-modal.component.ts 167ms Done in 0.43s.

Code generation is complete. Press ENTER to exit...

C:\Github\murphymj5209\MedicineInfoTechnlgy.Mortho\angular>cd ns*

C:\Github\murphymj5209\MedicineInfoTechnlgy.Mortho\angular\nswag>refresh.bat

C:\Github\murphymj5209\MedicineInfoTechnlgy.Mortho\angular\nswag>"..\node_modules.bin\nswag" run NSwag NPM CLI NSwag command line tool for .NET Core NetCore21, toolchain v13.9.0.0 (NJsonSchema v10.3.0.0 (Newtonsoft.Json v11.0.0.0))Visit http://NSwag.org for more information. NSwag bin directory: C:\Github\murphymj5209\MedicineInfoTechnlgy.Mortho\angular\node_modules\nswag\bin\binaries\NetCore21

Executing file 'C:\Github\murphymj5209\MedicineInfoTechnlgy.Mortho\angular\nswag\service.config.nswag' with variables ''... Done.

Duration: 00:00:03.5821766

C:\Github\murphymj5209\MedicineInfoTechnlgy.Mortho\angular\nswag>cd..

C:\Github\murphymj5209\MedicineInfoTechnlgy.Mortho\angular>

{ "IsRegenerate": false, "MenuPosition": "admin", "RelativeNamespace": "NsMorthoArthroplastyType", "EntityName": "MorthoArthroplastyType", "EntityNamePlural": "MorthoArthroplastyTypes", "TableName": "MorthoArthroplastyTypes", "PrimaryKeyType": "Guid", "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": "Description", "Type": "string", "MaxLength": 50, "MinLength": 1, "Range": { "IsRangeSet": false, "MinimumValue": 0.0, "MaximumValue": 0.0 }, "Required": true, "Nullable": false, "Regex": "", "UserInterface": { "AdvancedFilter": true, "List": true, "CreateOrUpdate": true } } ], "NavigationProperties": [], "NavigationPropertyOneToManyTables": [], "EnumDefinitions": [], "DbContext": null }

I am on the current release of AspnetZero, 10.1-rc1 and am doing programming for the new system. My questions are very general and I want a better understanding of AspnetZero 'null' TenantId field and its impact on the design and programming within Aspnet Zero. I have read the normal published doc in the a) https://aspnetboilerplate.com/Pages/Documents and b) https://docs.aspnetzero.com/en/common/latest

Here is my current understanding; 'somehow' I add a null Tenant to a AspnetZero PowerTools table. For Null TenantIds I can do a SQL Insert statenment or Seed data within the coding. If I add a table with PowerTools, go to that area and add a row, it add the row with a non-null TenantId.

If there is another way to add a Null TenantId, please let me know.

Last question / statement, if I add a Null TenantId, (in general), then this can be used for all Tenants within my application. Again, please corrent my understanding.

Showing 1 to 10 of 32 entries