Hi,
Is there any support for letting link their existing account to a Google account so they can begin logging in using Google even if they had previously created a local account with the same e-mail?
This is a common feature allowed by a lot of systems, and while it's something we can implement manually it seems like a good candidate for an out-of-the-box feature of AspNetZero if it's not already completed somewhere that I can't find?
thanks, jasen
I wasn't asking if its automatic or manual. Just for some direction.
Is there any specific documents that walk your customers through this? I mean, where do we get the specific Metronic build? where are the directions on how to build our own? where are the AspNetZero files to replace?
I find the KeenThemes and Metronic web sites INCREDIBLY confusing and very expansive. It's almost impossible to tell what is relevant and what isn't in regard to Anz. I mean, again, given SO MANY people are always asking about how to do this, wouldn't a simple step by step demonstration be something you could consider? We have long exhaustive documentation on far less common things (like deploying Anz to Azure pipelines). I imagine every customer needs to style their apps and some more comphrensive guidance is needed. Just my vote ;-) Anz is wonderful! But the approach to theme is with Metronic is very complicated and the completely lack of documentation is slowing down development.
Hi all,
Once and for all, is the proper way to modify a theme by simply changing the metronic-custmize.less file?
Is there a task runner or specific command line I can run to make that happen manually? Right now I'm using the popular Web Compiler VS exention.
jasen
Using latest release ..
If I create a new entity and all the UI automatically with PowerTools, you can no longer run gulp build
It looks like some of the JS code generated by PowerTools uses ES but uglify doesn't like that.
I corrected by replacing uglify with uglify-es in the gulpfile, however I think this is probably something AZ should fix as your own code breaks it.
Hope this helps!
If someone clicks their user activation link from the email twice, should they be presented with a friendly error screen? Right now the user is being shown an exception page:
http://localhost:62114/Account/EmailConfirmation?c=jzJ%2bHrkZMNCXzV9A49kgLao
An unhandled exception occurred while processing the request. UserFriendlyException: Invalid email confirmation code StatusCast.Authorization.Accounts.AccountAppService.ActivateEmail(ActivateEmailInput input) in AccountAppService.cs, line 166
Stack Query Cookies Headers UserFriendlyException: Invalid email confirmation code StatusCast.Authorization.Accounts.AccountAppService.ActivateEmail(ActivateEmailInput input) in AccountAppService.cs + user.IsEmailConfirmed = true; Abp.Threading.InternalAsyncHelper.AwaitTaskWithPostActionAndFinally(Task actualReturnValue, Func<Task> postAction, Action<Exception> finalAction) in InternalAsyncHelper.cs Abp.Threading.InternalAsyncHelper.AwaitTaskWithFinally(Task actualReturnValue, Action<Exception> finalAction) in InternalAsyncHelper.cs StatusCast.Web.Controllers.AccountController.EmailConfirmation(EmailConfirmationViewModel input) in AccountController.cs + await _accountAppService.ActivateEmail(input);
Hi there,
Testing the RadBuilder tool on your latest build (MVC Core).
Seems to work pretty well until I click to edit an entity from the auto-generated page. We get an auto-mapper error. I had to add this to the generated AutoMaping code to get it to work:
MyEntity.CreateMap<CreateOrEditConnectionDto, Connection>().ReverseMap();
Without .ReverseMap() it won't work.
Also, side not, when I log in as host admin in a tenant based solution, the list of tenants isn't showing up. It's Tenant List screen is throwing a client side JS error:
app-layout-libs.min.js?v=g6gt-C76H3VvibVmf0J3u-xkk3mFZIjo_GrDDjkUkPM:4333 Uncaught TypeError: $.url is not a function at HTMLDocument.<anonymous> (tenant-index-libs.min.js?v=iHGpPK5vcmM9d0qfdGjS7owWMsHrVSY1uM3ccC7U9Gk:535) at mightThrow (app-layout-libs.min.js?v=g6gt-C76H3VvibVmf0J3u-xkk3mFZIjo_GrDDjkUkPM:4040) at process (app-layout-libs.min.js?v=g6gt-C76H3VvibVmf0J3u-xkk3mFZIjo_GrDDjkUkPM:4108)
Just downloaded latest and still getting a TON of warnings on a clean build. May I please ask when these are going to be addressed? They point to potentially core issues that we would like to see fixed before merging the latest in to our code base.
1>------ Build started: Project: SC.Core.Shared, Configuration: Debug Any CPU ------ 1>SC.Core.Shared -> C:\src\aspnet-core\src\SC.Core.Shared\bin\Debug\netstandard2.0\SC.Core.Shared.dll 2>------ Build started: Project: SC.Core, Configuration: Debug Any CPU ------ 3>------ Build started: Project: SC.Application.Shared, Configuration: Debug Any CPU ------ 2>SC.Core -> C:\src\aspnet-core\src\SC.Core\bin\Debug\netcoreapp2.2\SC.Core.dll 4>------ Build started: Project: SC.EntityFrameworkCore, Configuration: Debug Any CPU ------ 4>Migrations\Seed\Host\DefaultSettingsCreator.cs(26,17,26,20): warning CS0162: Unreachable code detected 4>SC.EntityFrameworkCore -> C:\src\aspnet-core\src\SC.EntityFrameworkCore\bin\Debug\netcoreapp2.2\SC.EntityFrameworkCore.dll 4>Done building project "SC.EntityFrameworkCore.csproj". 5>------ Build started: Project: SC.Migrator, Configuration: Debug Any CPU ------ 3>SC.Application.Shared -> C:\src\aspnet-core\src\SC.Application.Shared\bin\Debug\netstandard2.0\SC.Application.Shared.dll 6>------ Build started: Project: SC.Application, Configuration: Debug Any CPU ------ 7>------ Build started: Project: SC.GraphQL, Configuration: Debug Any CPU ------ 8>------ Build started: Project: SC.Application.Client, Configuration: Debug Any CPU ------ 9>------ Build started: Project: SC.ConsoleApiClient, Configuration: Debug Any CPU ------ 8>C:\src\aspnet-core\src\SC.Application.Client\SC.Application.Client.csproj : warning NU1701: Package 'modernhttpclient 2.4.2' was restored using '.NETPortable,Version=v0.0,Profile=Profile259, .NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project. 9>Program.cs(41,31,41,46): warning CS0618: 'DiscoveryClient' is obsolete: 'This type will be deprecated or changed in a future version. It is recommended that you switch to the new extension methods for HttpClient. They give you much more control over the HttpClient lifetime and configuration. See the docs here: https://identitymodel.readthedocs.io' 9>Program.cs(47,39,47,50): warning CS0618: 'TokenClient' is obsolete: 'This type will be deprecated or changed in a future version. It is recommended that you switch to the new extension methods for HttpClient. They give you much more control over the HttpClient lifetime and configuration. See the docs here: https://identitymodel.readthedocs.io' 5>SC.Migrator -> C:\src\aspnet-core\src\SC.Migrator\bin\Debug\netcoreapp2.2\SC.Migrator.dll 9>SC.ConsoleApiClient -> C:\src\aspnet-core\test\SC.ConsoleApiClient\bin\Debug\netcoreapp2.2\SC.ConsoleApiClient.dll 9>Done building project "SC.ConsoleApiClient.csproj". 8>SC.Application.Client -> C:\src\aspnet-core\src\SC.Application.Client\bin\Debug\netstandard2.0\SC.Application.Client.dll 8>Done building project "SC.Application.Client.csproj". 10>------ Build started: Project: SC.Mobile.Shared, Configuration: Debug Any CPU ------ 10>C:\src\aspnet-core\src\SC.Mobile.Shared\SC.Mobile.Shared.csproj : warning NU1701: Package 'Microsoft.Bcl 1.1.6' was restored using '.NETPortable,Version=v0.0,Profile=Profile259, .NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project. 10>C:\src\aspnet-core\src\SC.Mobile.Shared\SC.Mobile.Shared.csproj : warning NU1701: Package 'Microsoft.Bcl.Async 1.0.165' was restored using '.NETPortable,Version=v0.0,Profile=Profile259, .NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project. 10>C:\src\aspnet-core\src\SC.Mobile.Shared\SC.Mobile.Shared.csproj : warning NU1701: Package 'modernhttpclient 2.4.2' was restored using '.NETPortable,Version=v0.0,Profile=Profile259, .NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project. 10>C:\src\aspnet-core\src\SC.Mobile.Shared\SC.Mobile.Shared.csproj : warning NU1701: Package 'PCLStorage 1.0.2' was restored using '.NETPortable,Version=v0.0,Profile=Profile259, .NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project. 10>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2114,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "ImageCircle.Forms.Plugin.Abstractions". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. 7>SC.GraphQL -> C:\src\aspnet-core\src\SC.GraphQL\bin\Debug\netcoreapp2.2\SC.GraphQL.dll 6>SC.Application -> C:\src\aspnet-core\src\SC.Application\bin\Debug\netcoreapp2.2\SC.Application.dll 11>------ Build started: Project: SC.Web.Core, Configuration: Debug Any CPU ------ 12>------ Build started: Project: SC.Test.Base, Configuration: Debug Any CPU ------ 10>Controls\HideableToolbarItem.cs(10,60,10,172): warning CS0618: 'BindableProperty.Create<TDeclarer, TPropertyType>(Expression<Func<TDeclarer, TPropertyType>>, TPropertyType, BindingMode, BindableProperty.ValidateValueDelegate<TPropertyType>, BindableProperty.BindingPropertyChangedDelegate<TPropertyType>, BindableProperty.BindingPropertyChangingDelegate<TPropertyType>, BindableProperty.CoerceValueDelegate<TPropertyType>, BindableProperty.CreateDefaultValueDelegate<TDeclarer, TPropertyType>)' is obsolete: 'Create<> (generic) is obsolete as of version 2.1.0 and is no longer supported.' 10>Controls\CardView.cs(14,17,14,29): warning CS0618: 'Frame.OutlineColor' is obsolete: 'OutlineColor is obsolete as of version 3.0.0. Please use BorderColor instead.' 10>SC.Mobile.Shared -> C:\src\aspnet-core\src\SC.Mobile.Shared\bin\Debug\netstandard2.0\SC.Mobile.Shared.dll 10>Done building project "SC.Mobile.Shared.csproj". 12>SC.Test.Base -> C:\src\aspnet-core\test\SC.Test.Base\bin\Debug\netcoreapp2.2\SC.GraphQL.Test.Base.dll 13>------ Build started: Project: SC.Tests, Configuration: Debug Any CPU ------ 14>------ Build started: Project: SC.GraphQL.Tests, Configuration: Debug Any CPU ------ 13>SC.Tests -> C:\src\aspnet-core\test\SC.Tests\bin\Debug\netcoreapp2.2\SC.Tests.dll 11>SC.Web.Core -> C:\src\aspnet-core\src\SC.Web.Core\bin\Debug\netcoreapp2.2\SC.Web.Core.dll 15>------ Build started: Project: SC.Web.Host, Configuration: Debug Any CPU ------ 16>------ Build started: Project: SC.Web.Public, Configuration: Debug Any CPU ------ 14>SC.GraphQL.Tests -> C:\src\aspnet-core\test\SC.GraphQL.Tests\bin\Debug\netcoreapp2.2\SC.GraphQL.Tests.dll 15>SC.Web.Host -> C:\src\aspnet-core\src\SC.Web.Host\bin\Debug\netcoreapp2.2\SC.Web.Host.dll 15>SC.Web.Host -> C:\src\aspnet-core\src\SC.Web.Host\bin\Debug\netcoreapp2.2\SC.Web.Host.Views.dll 16>SC.Web.Public -> C:\src\aspnet-core\src\SC.Web.Public\bin\Debug\netcoreapp2.2\SC.Web.Public.dll 16>SC.Web.Public -> C:\src\aspnet-core\src\SC.Web.Public\bin\Debug\netcoreapp2.2\SC.Web.Public.Views.dll ========== Build: 16 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
Hi all --
One of the great things I've always appreciated with AspNetZero is that the entire framework compiles very clean, no warnings etc. It's been a while since I grabbed an updated version but it seems that this has changed. Are the following warning known? Are there plans to remedy?
` 1>------ Rebuild All started: Project: StatusCast.Core.Shared, Configuration: Debug Any CPU ------ 2>------ Rebuild All started: Project: StatusCast.Core, Configuration: Debug Any CPU ------ 3>------ Rebuild All started: Project: StatusCast.Application.Shared, Configuration: Debug Any CPU ------ 2>MultiTenancy\SubscriptionExpireEmailNotifierWorker.cs(52,21,52,113): warning CS4014: Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call. 2>MultiTenancy\SubscriptionExpirationCheckWorker.cs(77,25,77,89): warning CS4014: Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call. 2>MultiTenancy\SubscriptionExpirationCheckWorker.cs(97,13,97,98): warning CS4014: Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call. 2>StatusCast.Core -> C:\src\aspnetzero\StatusCast\aspnet-core\src\StatusCast.Core\bin\Debug\netcoreapp2.2\StatusCast.Core.dll 2>Done building project "StatusCast.Core.csproj". 4>------ Rebuild All started: Project: StatusCast.EntityFrameworkCore, Configuration: Debug Any CPU ------ 4>StatusCast.EntityFrameworkCore -> C:\src\aspnetzero\StatusCast\aspnet-core\src\StatusCast.EntityFrameworkCore\bin\Debug\netcoreapp2.2\StatusCast.EntityFrameworkCore.dll 5>------ Rebuild All started: Project: StatusCast.Migrator, Configuration: Debug Any CPU ------ 3>StatusCast.Application.Shared -> C:\src\aspnetzero\StatusCast\aspnet-core\src\StatusCast.Application.Shared\bin\Debug\netstandard2.0\StatusCast.Application.Shared.dll 6>------ Rebuild All started: Project: StatusCast.Application, Configuration: Debug Any CPU ------ 7>------ Rebuild All started: Project: StatusCast.GraphQL, Configuration: Debug Any CPU ------ 8>------ Rebuild All started: Project: StatusCast.Application.Client, Configuration: Debug Any CPU ------ 9>------ Rebuild All started: Project: StatusCast.ConsoleApiClient, Configuration: Debug Any CPU ------ 8>C:\src\aspnetzero\StatusCast\aspnet-core\src\StatusCast.Application.Client\StatusCast.Application.Client.csproj : warning NU1701: Package 'modernhttpclient 2.4.2' was restored using '.NETPortable,Version=v0.0,Profile=Profile259, .NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project. 9>Program.cs(41,31,41,46): warning CS0618: 'DiscoveryClient' is obsolete: 'This type will be deprecated or changed in a future version. It is recommended that you switch to the new extension methods for HttpClient. They give you much more control over the HttpClient lifetime and configuration. See the docs here: https://identitymodel.readthedocs.io' 9>Program.cs(47,39,47,50): warning CS0618: 'TokenClient' is obsolete: 'This type will be deprecated or changed in a future version. It is recommended that you switch to the new extension methods for HttpClient. They give you much more control over the HttpClient lifetime and configuration. See the docs here: https://identitymodel.readthedocs.io' 8>StatusCast.Application.Client -> C:\src\aspnetzero\StatusCast\aspnet-core\src\StatusCast.Application.Client\bin\Debug\netstandard2.0\StatusCast.Application.Client.dll 8>Done building project "StatusCast.Application.Client.csproj". 10>------ Rebuild All started: Project: StatusCast.Mobile.Shared, Configuration: Debug Any CPU ------ 5>StatusCast.Migrator -> C:\src\aspnetzero\StatusCast\aspnet-core\src\StatusCast.Migrator\bin\Debug\netcoreapp2.2\StatusCast.Migrator.dll 10>C:\src\aspnetzero\StatusCast\aspnet-core\src\StatusCast.Mobile.Shared\StatusCast.Mobile.Shared.csproj : warning NU1701: Package 'Microsoft.Bcl 1.1.6' was restored using '.NETPortable,Version=v0.0,Profile=Profile259, .NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project. 10>C:\src\aspnetzero\StatusCast\aspnet-core\src\StatusCast.Mobile.Shared\StatusCast.Mobile.Shared.csproj : warning NU1701: Package 'Microsoft.Bcl.Async 1.0.165' was restored using '.NETPortable,Version=v0.0,Profile=Profile259, .NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project. 10>C:\src\aspnetzero\StatusCast\aspnet-core\src\StatusCast.Mobile.Shared\StatusCast.Mobile.Shared.csproj : warning NU1701: Package 'modernhttpclient 2.4.2' was restored using '.NETPortable,Version=v0.0,Profile=Profile259, .NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project. 10>C:\src\aspnetzero\StatusCast\aspnet-core\src\StatusCast.Mobile.Shared\StatusCast.Mobile.Shared.csproj : warning NU1701: Package 'PCLStorage 1.0.2' was restored using '.NETPortable,Version=v0.0,Profile=Profile259, .NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project. 9>StatusCast.ConsoleApiClient -> C:\src\aspnetzero\StatusCast\aspnet-core\test\StatusCast.ConsoleApiClient\bin\Debug\netcoreapp2.2\StatusCast.ConsoleApiClient.dll 9>Done building project "StatusCast.ConsoleApiClient.csproj". 7>StatusCast.GraphQL -> C:\src\aspnetzero\StatusCast\aspnet-core\src\StatusCast.GraphQL\bin\Debug\netcoreapp2.2\StatusCast.GraphQL.dll 6>StatusCast.Application -> C:\src\aspnetzero\StatusCast\aspnet-core\src\StatusCast.Application\bin\Debug\netcoreapp2.2\StatusCast.Application.dll 11>------ Rebuild All started: Project: StatusCast.Web.Core, Configuration: Debug Any CPU ------ 12>------ Rebuild All started: Project: StatusCast.Test.Base, Configuration: Debug Any CPU ------ 10>C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2114,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "ImageCircle.Forms.Plugin.Abstractions". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. 10>Controls\HideableToolbarItem.cs(10,60,10,172): warning CS0618: 'BindableProperty.Create<TDeclarer, TPropertyType>(Expression<Func<TDeclarer, TPropertyType>>, TPropertyType, BindingMode, BindableProperty.ValidateValueDelegate
`
Yes, obviously.
I'm not asking if WE can make every AspnetZero entity and service classes partial. I am asking if AspnetZero could please mark them partial. It would benefit everyone and has no downside.
Aaron --
I'm not quite sure what you are implying here with such a terse response.
Of course we already use Git and everytime there's a new AspNetZero release, we have to spend sometimes DAYS merging the code base. Primarily because we have had to integrate TONS of custom code into AspNetZero's source files. It's a grueling and incredily time consuming process.
Our current example: we are about 4 releases behind the latest AspNetZero release. Running a code compare and merge has literally THOUSANDS of items we have to review manually because we have so much of our code integrated directly in to AspNetZero code. It's just the nature of the beast. Custom permissions, login flows, modified login screens, additional startup calls, integrated Hangfire queues, etc etc There's 10,000 different reasons why the base code is changed per customer.
With binary based or library based frameworks this is easy. With frameworks trying to accomplish what AspNetZero does (which is a framework, not a library), we could eliminate 90% of these issues by simply adding the word PARTIAL to all the classes. It would make life so much easier for all your customers.
Suggesting we spend days trying to run complicated code merges when the inclusion of the word partial on AspNetZero class could solve most the problem isn't really helpful.