Add the new Blazor WebApp UI option to the single layer option (as can be seen missing here or explain why its not possible..
I was going to create a modular solution (create all my major features as modules) and use the latest Blazor offering but now I´m confused what I should use..🤷♂️
You should add
But this is all code created by Suite. It adds the mapping to one but not the other. I would expect Suit to add it to both 🤷♂️
Just going through the Bookstore tutorial I get the following error (and frosen UI) after I create an Author and then click on the Edit action on him.
Error: AutoMapper.AutoMapperMappingException: Missing type map configuration or unsupported mapping.
Mapping types:
AuthorDto -> AuthorUpdateDto
Acme.BookStore.Authors.AuthorDto -> Acme.BookStore.Authors.AuthorUpdateDto
   at lambda_method4965(Closure, Object, AuthorUpdateDto, ResolutionContext)
   at Volo.Abp.AutoMapper.AutoMapperAutoObjectMappingProvider.Map[TSource,TDestination](Object source)
   at Volo.Abp.ObjectMapping.DefaultObjectMapper.AutoMap[TSource,TDestination](Object source)
   at Volo.Abp.ObjectMapping.DefaultObjectMapper.Map[TSource,TDestination](TSource source)
   at Acme.BookStore.Blazor.Client.Pages.Authors.OpenEditAuthorModalAsync(AuthorDto input) in C:\Dev\Acme.BookStore\src\Acme.BookStore.Blazor.Client\Pages\Authors.razor.cs:line 204
   at Acme.BookStore.Blazor.Client.Pages.Authors.<>c__DisplayClass113_0.<<BuildRenderTree>b__48>d.MoveNext() in C:\Dev\Acme.BookStore\src\Acme.BookStore.Blazor.Client\Pages\Authors.razor:line 208
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
   at Volo.Abp.BlazoriseUI.Components.EntityAction`1.ActionClickedAsync()
   at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
   at Blazorise.DropdownItem.ClickHandler()
   at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)
Should this mapper be in the Blazor project also (its only in the Client project)? I havent worked with the Blazor WebApp.. 🤷♂️
At least if I add it all seems to work..
Blazor WebApp 9.0.2
 
                                