Hello,
I have downloaded the sample solution from (https://github.com/brianlagunas/Infragistics.Blazor.Alpha) which as far as I can tell is the only place blazor samples exist.
However when I try to run this solution, there is an error within RemoteJSRuntime (microsoft library) which appears to be related to the server component attempting to do a remoteJS invocation during pre-render. _clientProxy is null when this block is executed:
protected override void BeginInvokeJS(long asyncHandle, string identifier, string argsJson) { if (!_clientProxy.Connected) { throw new InvalidOperationException("JavaScript interop calls cannot be issued at this time. This is because the component is being " + "prerendered and the page has not yet loaded in the browser or because the circuit is currently disconnected. " + "Components must wrap any JavaScript interop calls in conditional logic to ensure those interop calls are not " + "attempted during prerendering or while the client is disconnected."); } Log.BeginInvokeJS(_logger, asyncHandle, identifier); _clientProxy.SendAsync("JS.BeginInvokeJS", asyncHandle, identifier, argsJson); }
Is there any documentation (I can't find any, at all) and/or up-to-date samples for Blazor (these samples haven't been touched in almost a month)? Typically, components/docs on a project under active development have at least weekly changes. Is Blazor being dropped already?
If not, I am trying to do a proof-of-concept for using Blazor at our company however it is not encouraging when there is no documentation (or if there is, it's not easy to find) and the available samples don't run out of the box. I would not be worried if this was an open source project, but typically this when this kind of thing happens on a commercial project, that means bad things for the target technology.
Hello Filip,
Thank you for your interest in our Blazor toolset.
Our Blazor components, documentation, and samples are in active development. We're in the middle of porting our documentation to the website and samples to a new samples browser that will be reflected on our website. We are publishing a nearly identical set of controls as seen in React and Web components close to the end of this month. If you wish to create standalone samples with our controls in their preview-state then you can refer below.
# Ignite UI for Blazor [Preview]
This is an early preview of the Infragistics Blazor components. The controls included in the preview of [Ignite UI for Blazor](www.infragistics.com/.../ignite-ui-blazor) include:
* BulletGraph* CategoryChart* Data Grid (LiveGrid)* DoughnutChart* FinancialChart* LinearGauge* GeographicMap* PieChart* RadialGauge* Sparkline* TreeMap
## Getting Started with BlazorFollow these three easy steps to get started with Blazor:
1. Create your Blazor app2. Add the [Infragistics.Blazor NuGet package](www.nuget.org/.../Infragistics.blazor)3. Add the "Infragistics.Blazor/app.bundle.js" script to the _Host.cshtml file (server project example)
```html<script src="_content/Infragistics.Blazor/app.bundle.js"></script><script src="_framework/blazor.server.js"></script>```
## Use Components in RazorYou're now ready to start using the Ignite UI for Blazor components in your razor pages. Using a component in your razor page can be done in two steps:
1. Add a using statement @using Infragistics.Blazor.Controls;2. Define your component in HTML and bind your data
```html<FinancialChart Width="100%" Height="500px" DataSource="@data.StockMultipleSources"></FinancialChart>```
Looks like if I ignore the exception and navigate away from the data grid and then back to it, it loads data. But the other questions about docs/samples remain.