You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Context:
I have developed a Chrome extension using Blazor WebAssembly (WASM) and have successfully established bidirectional communication between JavaScript and .NET Core functions. The extension incorporates business logic built with .NET Core 8 and runs entirely in the browser, with no server-side logic or API calls.
Requirement:
I need guidance or suggestions on how to fetch files from external resources, specifically SharePoint, to read the file contents.
Challenges:
Many SharePoint-related NuGet packages, such as:
Microsoft.SharePoint.Client - is not compatible in .net core 8
PnP Core SDK - require a Client ID and Tenant ID, which are unavailable in this scenario due to certain reasons.
The extension entirely runs client-side.
Goal:
To enable the extension to:
Connect to external resources (like SharePoint).
Fetch and read files securely without relying on Client ID and Tenant ID.
Questions:
Are there any recommended approaches or alternative libraries suitable for client-side Blazor WebAssembly that do not require Client ID and Tenant ID?
Is there a way to use organizational credentials or service accounts securely in this setup?
The text was updated successfully, but these errors were encountered:
As far as I know, there is no way to do this just with Blazor WASM in chrome extension, you would need to connect to another proxy server or native application to act as a client. Developing a browser extension with Blazor has the same limitations as with any other JS framework. Even if you embed the client credentials in the binaries, it can still be decompiled to view the code of the extension.
Context:
I have developed a Chrome extension using Blazor WebAssembly (WASM) and have successfully established bidirectional communication between JavaScript and .NET Core functions. The extension incorporates business logic built with .NET Core 8 and runs entirely in the browser, with no server-side logic or API calls.
Requirement:
I need guidance or suggestions on how to fetch files from external resources, specifically SharePoint, to read the file contents.
Challenges:
Goal:
To enable the extension to:
Questions:
The text was updated successfully, but these errors were encountered: