Base solution for your next web application

Activities of "kiandra"

Prerequisites

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

  • What is your product version?
  • v11.0.0(latest)
  • What is your product type (Angular or MVC)?
  • Angular 13 version
  • What is product framework type (.net framework or .net core)?
  • .net 6

Issue related to Power tools. Power tools version : 3.1.1

I'm using visual studio 2022 professional version and using Asp.net zero power tools to create entity.

Problem : RAD tools is not generating automatic code when an entity is created. I could only see AspNetZeroRadTool folder getting created in my solutions folder location but no code getting generated. Please help to resolve this issue. And let me know in case you need more details. Thanks .

@PekitP

Appears you have a typo in your example above.

The line:

[ForeignKey("WordId1")]

...should reference the name of the property correctly

[ForeignKey("WordId")]

Looks like when you create a field name that is an abbreviation with at least 3 letters the tool mismatches the capitalization.

For example an entity with the generated c# class

[Table("Products")]
    public class Product : FullAuditedEntity , IMayHaveTenant
    {
		public int? TenantId { get; set; }
		public virtual decimal RRPInc{ get; set; }		
    }

Will generate an angular binding

{{record.product.rRPInc}}

but the service proxy will be

rrpInc!: number | undefined;

and the mismatch causes a silent error where the value does not update.

Not a huge deal we can just rename the field or fix the error manually but it is annoying

Hi,

Thanks for getting back to me.

It's an Angular app. It's a single tenant application, so just looking to override the default logo with an SVG file.

I'll take a look through your referenced links, and if you can think of anything else that might be useful it would be greatly appreciated.

Thanks again :)

Hey guys,

I'm new to ASP.NETZERO and i'm jumping on as a Front End Developer supporting our dev team.

How do I update the accepted file types and maximum resolution for the applicaiton logo which gets configured through the settings screen?

I want to use an SVG file, as it's a smaller file size and will also support retina displays which the current restrictions don't cater for.

Is this something that can be configured within the application codebase?

No problem at all ismcagdas, thanks for the follow up.

Hi there,

Yes, it is the same as the version in the link you posted.

Hello, I am facing the same problem. I have downloaded the latest aspnet-core + angular project (v5.6.2) and have the latest version of the RAD tools installed (v1.5.4). After I have scaffolded my first entity I try to compile the aspnet-core project however it fails with the error 'EpPlusExcelExporterBase' does not contain a constructor that takes 1 arguments.

Looking at some of the default exporters (for example UserListExcelExporter) it looks like they are still using the old EpPlusExcelExporterBase that does not have a protected constructor with an ICacheManager parameter.

Hello,

I am using an ASP.NET Core + Angular project (version 5.4.1). In the Web.Host project I noticed that my appsettings.json file has the following section:

"App": {
        "ServerRootAddress": "http://localhost:22742/",
        "ClientRootAddress": "http://localhost:4200/",
        "CorsOrigins": "http://localhost:4200,http://localhost:49152"
    }

however in my appsettings.production.json file I have this:

"App": {
    "WebSiteRootAddress": "http://localhost:9901/",
    "ClientRootAddress": "http://localhost:4200",
    "CorsOrigins": "http://localhost:9902/"
  }

Notice that the app setting names are different, i.e. in the appsettings.json file I have "ServerRootAddress" but in the appsettings.production.json file I have "WebSiteRootAddress". Is this intentional? I only noticed it because I am using the "ServerRootAddress" setting in my application so that I can display a url on screen and I noticed that it was still pointing to localhost, despite the fact that I had updated the WebSiteRootAddress setting in the appsettings.production.json file as per the instructions in the "Step By Step Publish To Azure Angular" documentation. I know this is easy to fix, I would just like to understand if the differnce in app settings is intentional, and if so what is the reason for it?

I am using the dynamic API, however I was hoping to avoid hard-coding the url that I return.

Showing 1 to 10 of 12 entries