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

Activities of "Mitch"

Hi @musa.demir

I hadn't enabled Health Checks myself, it seems they are Enabled by default in the appsettings.json file.

"HealthChecks": { "HealthChecksEnabled": true, "HealthChecksUI": { "HealthChecksUIEnabled": true, "HealthChecks": [ { "Name": "xxxxxxx.Web.MVC", "Uri": "https://localhost:44302/health" } ], "EvaluationTimeOnSeconds": 10, "MinimumSecondsBetweenFailureNotifications": 60 } },

As an experiment, I tried setting "HealthchecksEnabled" to false and as a result the issue with "More than one DbContext found" went away. So the issue is resolved as long as the HealthChecks are not Enabled.

This was happening to me, I was advised by ydyazilim to do the following which fixed my issue :-

Download dotnet-runtime-2.2.0-win-x64.exe

run on cmd repos\test\aspnet-core\AspNetZeroRadTool dotnet AspNetZeroRadTool.dll ContentFeatures.ContentMenu.json or reinstall power tool.

@ydyazilim That has worked for me too, many thanks for your help.

Here's a Step by Step Guide :-

Open Power Tools 2.6.1 and fill in Entity Info.

Create a property

Save property and click on Generate

Nothing happens, Power Tools closes. No Entity is created.

There's nothing recent in the Windows Logs.

Here's todays Power Tools Logs

DEBUG 2020-09-09 08:32:45,799 [1 ] lVisualStudioExtension.AspNetZeroRadTool - Menu item clicked with params > loadFromJson: False, loadFromDatabase: False, showAboutForm: True DEBUG 2020-09-09 08:35:01,969 [1 ] lVisualStudioExtension.AspNetZeroRadTool - Menu item clicked with params > loadFromJson: False, loadFromDatabase: False, showAboutForm: False DEBUG 2020-09-09 08:35:52,767 [1 ] lVisualStudioExtension.AspNetZeroRadTool - Menu item clicked with params > loadFromJson: False, loadFromDatabase: False, showAboutForm: False DEBUG 2020-09-09 08:37:25,507 [1 ] dioExtension.Dialogs.EntityGeneratorForm - Generate entity started. DEBUG 2020-09-09 08:37:25,768 [1 ] dioExtension.Dialogs.EntityGeneratorForm - Entity successfully generated.

Same here Doug.

The Power Tools window just closes.

I was initially using it to "Load Entity from Database" but when that wasn't working I tried to create a simple Entity with a single Property and that failed too!

I also have an issue with 2.6.1.

I've selected "Load Entity from Database", made a few changes and then clicked on "Generate", but all it did was to close the Power Tool window, nothing was generated.

I've tried 5 times including rebooting and closing and reopening Visual Studio, but nothing works.

I've never had this issue with any previous version of Power Tools up to version 2.6.0 which worked fine.

Answer

Thanks for the quick reply.

I had previously been trying this approach with the MVC version, but gave up due to issues with the Multi Select control.

I've just tried your suggestion with some simple Telerik TextBox TagHelpers and with a bit of experimenting with the Name and ID I've managed to get it working.

I do remember from my previous attempts to get it working with the MVC version that I managed to get it working somewhat, but the MultiSelect control proved to be too difficult. Whatever I tried I couldn't return more than one selected value.

Have you managed to get the MultiSelect working, and if so did you find it required a bit of tweaking?

Thanks again for your help with this.

Answer

I hope you don't mind me jumping in on this discussion (about a year late!). I'll do another post just in case this gets missed.

I'm using Telerik MVC and Core components with ANZ, but I have found that when dealing with forms, ANZ expects the values with fields in Camel Case whereas Telerik returns the field names in Pascal Case. The end result is the when clicking on the Save button, an error occurs due to all fields having null values.

I have tried several times to fix this and in the end I gave up and decided to completely bypass the Volosoft validation and CRUD routines and use my Telerik friendly versions.

However, I would be more productive if I could use the standard ANZ approach, which I believe could be achieved by either getting ANZ to accept Pascal Case or to get Telerik to post in Camel Case.

So my question is, how is everyone getting Telerik form components to save data with ANZ?

Just noticed it actually logged in as a Tenant not Host. Host seems to be working fine.

Thanks for pointing me in the right direction.

Showing 11 to 20 of 62 entries