Hi.
I download the Aspnetzero 9.0.0 yesteday and when I tried to run
dotnet AspNetZeroRadTool.dll Category.Json
Then I received the following message in console:
An error occured. : Object reference not set to an instance of an object.
The Category.json is:
{
"IsRegenerate": false,
"MenuPosition": "main",
"RelativeNamespace": "AB.Category",
"EntityName": "Category",
"EntityNamePlural": "Categories",
"TableName": "Categories",
"PrimaryKeyType": "int",
"BaseClass": "AuditedEntity",
"EntityHistory": false,
"AutoMigration": false,
"UpdateDatabase": false,
"CreateUserInterface": true,
"CreateViewOnly": true,
"CreateExcelExport": true,
"PagePermission": {
"Host": true,
"Tenant": true
},
"Properties": [
{
"Name": "Name",
"Type": "string",
"MaxLength": 100,
"MinLength": 0,
"Range": {
"IsRangeSet": false,
"MinimumValue": 0,
"MaximumValue": 0
},
"Required": true,
"Nullable": false,
"Regex": "",
"UserInterface": {
"List": true,
"AdvancedFilter": true,
"CreateOrUpdate": true
}
}
]
}
I did it right after downloading the Aspnetzero 9.0.0 package without changes.
Hi!
I'm using aspnetzero 8.9.1. Why the APIs return bad request ( Error 400 ) while called from Swagger UI and works as expected when called from Angular UI?
Thanks.