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

Activities of "SBJ"

Hello,

We recently purchased ASP.NET Zero and started working on our installation.

I looked into adding a custom Metronic theme and I successfully added a new colour (using MetronicThemeChanger) to the pallette of the Default theme, including the custom theme folders with metronic-customize, etc. However, I noticed that assets/common/styles/themes/mytheme/metronic-customize.cssis used and that assets/common/styles/themes/mytheme/metronic-customize.lessis not compiled/built to the .cssvariant. So when I make changes to the .lessfile, the changes are not reflected in the .cssfile.

I saw that DynamicResourcesHelper.tsincludes the PrimeNG CSS and the above mentioned metronic-customize.css, but how can I change this to include/use the .lessvariant without changing core code? Changing it in DynamicResourcesHelper.tswould mean that I can't upgrade without losing this modification. I can't edit AppPreBootstrap, which seems to load in the DynamicResourcesHelper, as that is basically core code as well.

I also tried adding the .lessfile in angular.json(tried it both before styles.cssand after it), but the changes in the .lessfile are still overridden by the .cssone. And I also tried using @importfor that file in src/styles.css, which doesn't seem to work either.

Any tips on how to approach this would be appreciated. :)

Hi Volosoft,

This morning I downloaded the latest Visual Studio update (version 15.9.9). When editing one of my Entities I noticed that using the Power Tools caused Visual Studio to crash when updating one of the entity's attributes.

Steps to reproduce:

  • Download an unmodified Asp.Net Zero repository for Asp.Net Core + Angular (Angular not included in Asp.Net Core Solution)
  • Use Asp.Net Zero Power Tools to Create Entity with a single property (turned off adding and applying database migration for convenience)
  • Use Asp.Net Zero Power Tools to Regenerate Entity, and select the entity just created.
  • Update the property of the entity, for example by renaming it.
  • When you close the update property popup window, Visual Studio crashes and reboots. (note that this is before I get to push the generate button)

The installed Power Tools extension has version 1.8.1.2

For the time being I get around the issue by deleting the original entity and all code generated and creating fresh entities instead of regenerating them. (we are setting up a new project).

Kind regards, Roel van Happen

Showing 21 to 22 of 22 entries