I have an issue with abp cli. I have the latest tool. The latest abp suite, etc.
When I run, whatever command, I get this:
[11:06:13 WRN] Volo.Abp.Studio.Extensions.StandardSolutionTemplates extension not found in the NuGet cache. Directory: C:\Users\catal.nuget\packages\volo.abp.studio.extensions.standardsolutiontemplates\0.9.5\lib\net8.0 [11:06:13 INF] Volo.Abp.Studio.Extensions.StandardSolutionTemplates (v: 0.9.5) extension trying install from the NuGet
🕐 Checking extensions... 🧩 Extensions downloaded: Volo.Abp.Studio.Extensions.StandardSolutionTemplatesolutionTemplates (v: 0.9.5) package downloa 🚲 The CLI is restarting to apply the changes with arguments: PS C:\Users\catal> [11:06:14 INF] You are running the second generation of the ABP CLI. If you're interested in the legacy CLI, see https://abp.io/new-cli [11:06:14 WRN] Volo.Abp.Studio.Extensions.StandardSolutionTemplates extension not found in the NuGet cache. Directory: C:\Users\catal.nuget\packages\volo.abp.studio.extensions.standardsolutiontemplates\0.9.5\lib\net8.0 [11:06:14 INF] Volo.Abp.Studio.Extensions.StandardSolutionTemplates (v: 0.9.5) extension trying install from the NuGet
And this is running ad infinitum, without the possibility to stop it.
All I did was to change the global nuget cache to another drive.
How can I solve this? I thought abp get the global nuget cache automatically and knows what to do with it.
Is there any support for byte[] in ABP Suite 8.1.3?
I want a column to store a byte[] in it.
I want it to have it generated. How can I achieve that?
Solved. Tks.
It would be interesting to add the option to choose a vertical slice architecture style when creating a new application template with a WebAPI behind it.
Tks. Solved!
But how can I return all items? I don't want paging. I want all items. It returns only 1st 10 items.
Hi,
It's working correctly now but only returns 10 items.
Where can I change the paging? Or to return me all the items from the controller?
Done. Sent by email.
Replied on email with the logs.
Tks.
Hi,
The original error disappeared, but now I have this:
2023-11-22 07:14:32.122 +02:00 [WRN] Unhandled exception rendering component: '<' is an invalid start of a value. LineNumber: 1 | BytePositionInLine: 0. System.Text.Json.JsonReaderException: '<' is an invalid start of a value. LineNumber: 1 | BytePositionInLine: 0. at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan
1 bytes)
at System.Text.Json.Utf8JsonReader.ConsumeValue(Byte marker)
at System.Text.Json.Utf8JsonReader.ReadFirstToken(Byte first)
at System.Text.Json.Utf8JsonReader.ReadSingleSegment()
at System.Text.Json.Utf8JsonReader.Read()
at System.Text.Json.JsonDocument.Parse(ReadOnlySpan1 utf8JsonSpan, JsonReaderOptions readerOptions, MetadataDb& database, StackRowStack& stack) at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory
1 utf8Json, JsonReaderOptions readerOptions, Byte[] extraRentedArrayPoolBytes, PooledByteBufferWriter extraPooledByteBufferWriter)
at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory1 json, JsonDocumentOptions options) at System.Text.Json.JsonDocument.Parse(String json, JsonDocumentOptions options) at Volo.Abp.BlazoriseUI.Components.ObjectExtending.LookupExtensionProperty
2.GetLookupItemsAsync(String filter)
at Volo.Abp.BlazoriseUI.Components.ObjectExtending.LookupExtensionProperty2.SearchFilterChangedAsync(String filter) at Volo.Abp.BlazoriseUI.Components.ObjectExtending.LookupExtensionProperty
2.OnAfterRenderAsync(Boolean firstRender)
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)
2023-11-22 07:14:32.129 +02:00 [ERR] Unhandled exception in circuit 'PzKxz14If1PFA-nNOPshZvR2VREDcT6b8hBgLIBgji0'.
System.Text.Json.JsonReaderException: '<' is an invalid start of a value. LineNumber: 1 | BytePositionInLine: 0.
at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan1 bytes) at System.Text.Json.Utf8JsonReader.ConsumeValue(Byte marker) at System.Text.Json.Utf8JsonReader.ReadFirstToken(Byte first) at System.Text.Json.Utf8JsonReader.ReadSingleSegment() at System.Text.Json.Utf8JsonReader.Read() at System.Text.Json.JsonDocument.Parse(ReadOnlySpan
1 utf8JsonSpan, JsonReaderOptions readerOptions, MetadataDb& database, StackRowStack& stack)
at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory1 utf8Json, JsonReaderOptions readerOptions, Byte[] extraRentedArrayPoolBytes, PooledByteBufferWriter extraPooledByteBufferWriter) at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory
1 json, JsonDocumentOptions options)
at System.Text.Json.JsonDocument.Parse(String json, JsonDocumentOptions options)
at Volo.Abp.BlazoriseUI.Components.ObjectExtending.LookupExtensionProperty2.GetLookupItemsAsync(String filter) at Volo.Abp.BlazoriseUI.Components.ObjectExtending.LookupExtensionProperty
2.SearchFilterChangedAsync(String filter)
at Volo.Abp.BlazoriseUI.Components.ObjectExtending.LookupExtensionProperty2.OnAfterRenderAsync(Boolean firstRender) at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState) 2023-11-22 07:14:32.133 +02:00 [INF] Executed endpoint '/_blazor'
This is because it's returning the login page, but I am logged in and the controller is decorated with the Authorized for Admin role. I wouldn't want to allow anonymous on that endpoint.
PS: Shouldn't the app settings related to RemoteServices:Default:BaseUrl be generated with the Blazor Server template from ABP Suite?