web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Blazor in Dynamics

(2) ShareShare
ReportReport
Posted on by 2

Hi, I was looking into creating web resources in CRM using blazor - it seems not possible at the moment because you can't upload the Blazor project dll's to CRM to use in web resources and it's not possible to host the dll's on a different domain as it seems Blazor requires all the code to come from the same domain.

blazor.webassembly.js:1 WASM: System.ArgumentException: The URI 'xxxxxx.crm4.dynamics.com/.../win_blazor.html' is not contained by the base URI 'xxxxxxx.azurewebsites.net'.

Obviously we could iFrame in the whole blazor app, but that's no fun!

Are there any plans to make it possible to enable Blazor resources?

Thanks

*This post is locked for comments

I have the same question (0)
  • Kokulan Profile Picture
    18,054 on at

    Hi

    PowerApps Control Framework preview has opened up a lot of possibilities. It might be worth looking into creating a custom control using PCF and see if you could get the blazor page loaded that way. it's just an idea, I have not had a chance to play with this much yet. PCF is set to replace the classic web resources so it's worth giving it a try.

    powerapps.microsoft.com/.../the-powerapps-component-framework-and-the-powerapps-cli-is-now-available-for-public-preview

    community.dynamics.com/.../create-custom-controls-using-powerapp-component-framework

  • LukeColbourn Profile Picture
    2 on at

    Thanks for the tip, will give it a try.

  • Jasmin Sabanovic Profile Picture
    5 on at

    Hello LukeColbourn did you find out a solution for how to use Blazor components in the CRM, any hints would be very beneficial for me - thank you

  • Suggested answer
    ankit_singhal Profile Picture
    560 on at

    You can try with PCF. PCF gives you ability to use third party solution in CRM

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans