Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "dev_frontrush"

After upgrading to version 10.3, we are now getting an error when trying to run nswag/refresh.bat. Please advise. Newtonsoft.Json.JsonSerializationException: Error converting value "Luxon" to type 'NJsonSchema.CodeGeneration.TypeScript.TypeScriptDateTimeType'. Path 'codeGenerators.openApiToTypeScriptClient.dateTimeType', line 22, position 29. ---> System.ArgumentException: Requested value 'Luxon' was not found. at Newtonsoft.Json.Utilities.EnumUtils.ParseEnum(Type enumType, String value, Boolean disallowNumber) at Newtonsoft.Json.Converters.StringEnumConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer) --- End of inner exception stack trace --- at Newtonsoft.Json.Converters.StringEnumConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(JsonConverter converter, JsonReader reader, Type objectType, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings) at NSwag.Commands.NSwagDocumentBase.FromJson[TDocument](String filePath, String data) in C:\projects\nswag\src\NSwag.Commands\NSwagDocumentBase.cs:line 230 at NSwag.Commands.NSwagDocumentBase.<>c__DisplayClass35_0`1.<

Note that we have also updated node-modules using yarn. The database has been updated, and all build errors have been resolved in the API.

Prerequisites

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

  • What is your product version? 10.0.0
  • What is your product type (Angular or MVC)? Angular
  • What is product framework type (.net framework or .net core)? .NET Core

If issue related with ABP Framework

  • What is ABP Framework version? v6

If issue is about UI

  • Which theme are you using? Default
  • What are the theme settings? Default

Issue Description

The User Permissions page has a hierarchy of checkboxes.  We've noticed some areas of inconsistent or surprising behavior:

  • if all the children of the top-level node are unchecked, the top-level node stays checked (we would expect it to be unchecked automatically)
  • if a parent node (at any level) has only one child (which in turn has children), then checking or unchecking the parent does not cascade, but it will if the parent has multiple child nodes

For each area, we would like to know whether (a) you have a fix already or (b) you can set us straight on the intended functionality (and maybe point us to the right place in the documentation).

Thanks!

Hello,

I'm trying to update azure devops build pipeline to run nswag as part of build process. To run the api i added "dotnet run " step as part of build. But when dotnet run task is run, azure devops pipeline gets paused on that step. Is there a way to refresh serviceproxies using nswag but without having to run the api?

As of now, we rely on each developer to checkin service proxies file.

Please advise.

Hello,

We are trying to setup tenant selection by subdomain as mentioned in documenation https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Overview-Angular#multi-tenancy .

appconfig.json in angular looks like - "remoteServiceBaseUrl": "https://api-dev.domain.org", "appBaseUrl": "https://{TENANCY_NAME}.dev.domain.org",

And in api project appsettings.json is "ServerRootAddress": "https://api-dev.domain.org", "ClientRootAddress": "https://{TENANCY_NAME}.dev.domain.org", "CorsOrigins": "https://.dev.domain.org,https://.domain.org",

Api and angular are setup as separate applications in iis, and I have verified that the wildcard binding is working as expected. After setting this up, When I go to tenant specific url I dont see any cookie getting set with tenantid. I have checked AppPreBootstrap.ts file in angular, and I dont see any code that is setting cookie when using subdomain for tenant selection.

Please advise.

Thank you,

What specifically allows DTO classes to be auto-generated in the service-proxies.ts file? I have an input DTO that is used as a parameter in an API method. The signature on the Angular side has all of the DTO properties broken out separately in the signature as opposed to allowing an object to be passed to the API. There are a large number of properties on this DTO and is not convenient to specify each one and ensure they are all in the right order for the service calls in Angular.

Where can I initialize a singleton class at application startup that has access to configuration (connection string) and Application Services? To give some background, my team is working to integrate a package from WorkflowEngine.io.
https://github.com/optimajet/WorkflowEngine.NET https://workflowengine.io/documentation/how-to-integrate/ Examples of the package integrated in ABP/Angular stack do not show how to integrate with an existing API. I am working on integrating the package using ABP DI and exisitng framework to initialize the Singleton instance of the WorkflowManager. It needs to be initialized somewhere that I have access to my application services and configuration, so that I can use DI to pass in the required services.

What is the best way to cache the results of a query that would contain potentially tens of thousands of records? The use case is that a search listing screen would call the API where the base results are cached, retrieve the results, filtered based on user input, and return the filtered data to the user. The current implementation is saving the result set as an extremely long string and the performance is significantly worse than not using caching at all. In fact, from the Azure Redis Cache, it is taking ~2.8s to return the cached string. Note that a much simpler, and smaller cache was setup as a baseline and it seems to perform as expected, in that the response time was slightly faster than if no cache was used.. Please advise.

Are there any plans to abort future support of the Core jQuery / js version of Zero?

I have a custom exception class that uses UserFriendlyException as a base class; how can I read from the localized files?

Hello again,

In keeping up with the updates from Zero releases, we ran into a road-block on being able to customize and tweak the Metronic themes due to merge-conflicts that could arise from theme changes that were made for the newest version. This will probably continue to be an ongoing conflict, as newer implementation strategies might change some components and theme items, so we were wondering what we could do on our side to make these merges easier going forward regarding customizing the theme.

  • There was an idea about duplicating components we wanted changed and referencing the HTML files or items for those components from the TS files supplied (but this falls back into conflict if logic changes are ever introduced)
  • Compiling the final theme and all overrides and appending the CSS last when loading the application (but could fall to specificity and CSS engine parsing)

Any ideas or solutions that would allow someone to create and use a Custom Metronic theme/style (even if through the MetronicThemeChanger) to cut down on customization conflicts when merging major releases.

Thanks

Showing 1 to 10 of 18 entries