After all you can't write full SPA with Blazor alone and will have to mix and match things. Again, I am not arguing that Blazor is a bad piece of technology, I am trying to understand why would one use it to build client side solutions knowing that, want it or not, you are bound to JS and other limitations coming along. Again, it looks like a point you are not trying to understand from previous my post, and it looks like a point we still disagree the inconvenience I have to mix in with some JavaScript to implement a practical Blazor SPA is very small for me, compared to the benefits I get from using Blazor.
Regardless of how you feel about it, using Blazor in my work has allowed me to achieve higher quality and shorter development times than I've ever had with Angular for SPA development. Of course, please don't forget that I'm developing with C not only client-side but also server-side, and not an only web application but also console app and Windows GUI app.
It provides high-level integration by using C from database entities, server-side business logic, to client-side SPA. Once I had annotated to a field of a model class to it should be "required field", it makes the database field is made "NOT NULL", server-side web API endpoint will check it has any values, and client-side Blazor will check the input field is not empty.
I can also write unit tests for client-side Blazor using the same unit test framework, test runner, technic, with what I always use for server-side. Due to these backgrounds, I agree that the benefits are small if somebody using C for the client-side only. Sorry, I could not understand well the finer nuances you may have wanted to convey, at that time. I felt what you said "pointless" is too harsh words for me. To talk about that theme, using this comment field of this article is not appropriate, I think.
I hope you find any answers to that question in some days. Method 4 will be faster in. NET 6. NET 6 the byte array is no longer converted to a base64 encoded string inside the Blazor app before passing it to a JavaScript function :- docs. Thank you on your post. Any idea how to push browser to ask user where to save file, beside automatic start download.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink. New Hat - Nov The ability to save the "diff" of pre and post images is also available. Track error states logging them to the debugger output and breaking on errors. Basic thread error checking. Function timer log. Resource leak tracking for contexts, display lists, shaders and textures. Test lower end rendering paths without changing cards OpenGL function stats - how many times each function is called.
Releases 14 GLIntercept 1. Sep 14, Packages 0 No packages published. You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. First we need to enable request interception. This is done using the following line of code:. More info on this in Puppeteer docs. Next, we need to trigger the actual file export.
We might need to fill in some form, select exported file type, etc. We don't need to await this promise since we'll be waiting for the result of this action anyway the triggered request. The crucial part is intercepting the request that would result in downloading the file. Since the interception is already enabled, we just need to wait for the request to be sent. The last thing is to convert the intercepted Puppeteer request into a request-promise options object.
0コメント