Hi,
Can you please provide me with a working sample of calling an application service from within a IMenuContributor implemented class from within a Blazor WebAssembly project? All attempts to do so does not work for me. Please do not ask me for a sample project that reproduces the issue I am having OR refer me to a link of your existing documentation. I want a working sample of a simple abp generated solution for a Blazor WASM project that successfully calls a application service from within the ConfigureMenuAsync method of a class implementing the IMenuContributor interface.
Thanks.
You didn't answer my question. Yes, I've looked at this documentation several times, but it this link DOES NOT address doing this within a local docker container and being hosted by the ABP suite generated public site.
Could you please provide guidance as to the question I am asking vs just sending a link to documentation that has been read over several times.
Thanks.
Hi,
I am trying to reference and load an XML file into an XMLDocument type (.net) from my Blazor MenuContributor class so it can be used to dynamically build a portion of the left navigation menu. I am running in a local docker environment and have the Public site sup up as the Blazor Host. How do I load an XML file using the VirtualFileSystem or is there a better way where I can just reference the physical file directly?
Thanks.
Hi,
But regardless I figured it out by creating protected variables in the class and then populating them with the individual property values (as shown in the link I referred to) and then providing in the .razor page the reference to those protected variables.
Just a general comment which comes up a lot when support responds to tickets, you all need to do a better job at reading the tickets and responding to the individual questions being asked. It's almost as if you are just glancing at the information we write and are quickly sending out links to existing documentation without understanding and responding to the specific question(s) being asked.
Nevertheless, I was able to figure out how to do what I was trying to do after spending the better part of a day researching, but I was hoping that support could show me the way that you folks do it so I wouldn't have to waste too much time trying to figure it out myself.
Steve
Hi,
I have extended the SaasTenantCreateDto and added a property called CustomerNumber (string) to it. I have overridden the TenantManagment.Razor page to customize the 'Create Model' UI. However instead of using the <ExtensionProperties TEntityType="SaasTenantCreateDto" TResourceType="SaasResource" Entity="@NewEntity" LH="@LH" /> tag to display all the added properties and fields on the UI, I want to add just specific ones via the 'Field' tag. How can I refer to a specific property and it's value in the .ExtraProperties collection and place it in my UI individually?
Thanks.
Hi,
How do you mean? I'm simply trying to debug a Blazor project produced by ABP Suite within the 'public site' (again generated with ABP suite), so that I may step through each line of the Blazor project's code to troubleshoot issues in general.
I'm not sure what errors/warnings and which ABP Suite generated project you are asking me to look in.
I've been trying to debug the ABP Suite generator Blazor Web Assembly solution in Visual Studio without any success. I'm using docker compose in a local development environment and I'm able to set and hit breakpoints in the Auth Server project but not the Blazor UI.
Is there a recommended way on how to set this up so I can debug the Blazor UI?
Hi,
I found this posting that appears to show what I am looking to do, albeit I want the public web site generated by ABP to be the hosting site vs the API host as described.
https://community.abp.io/posts/blazor-webassembly-asp.net-core-hosted-zbjvgrc9
How would we go about hosting the Blazor application as part of the public site deployment as we would prefer not to use NGINX as your link requires us to use?
We have generated a tiered Blazor Web Assembly solution that we are deploying to docker. We have the API, Auth Server and Public UI projects running find in the containers, however we don't see how we will 'host' the Blazor Web Assembly application. Do you have a recommended way to deploy/access the Blazor Web Assembly application? Currently we are relying on the Public Web Site for this, but it is not working.
Please explain how we can get the Blazor Web Assembly UI to render.