.NET 7 Update: Blazor Virtualization Update in 10 Minutes or Less

.NET 7 Update: Blazor Virtualization Update in 10 Minutes or Less

IAmTimCorey

1 год назад

14,692 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@torrvic1156
@torrvic1156 - 06.09.2023 14:26

Thank you so much for clarification, Mr. Corey! Whenever I stumble upon something new I am always search for your video on the topic first of all and only after this read official documentation. But should we use Virtualize everywhere instead of foreach or only in the cases where we have tons of elements?

Ответить
@Binnerup
@Binnerup - 05.09.2023 10:58

Hi Tim. Great video, thank you - is this SpacerElement not compatible with an ItemsProvider? If I use an ItemsProvider, my repeated table rows are not rendered, instead a div is rendered. Inputs on this? Thanks!

Ответить
@larryai5915
@larryai5915 - 31.07.2023 04:14

can I use virtualization with Blazor server-side app with .NET 6?

Ответить
@user-ns8si8eu8j
@user-ns8si8eu8j - 15.07.2023 17:19

Not working with .NET 8 preview

Ответить
@imadabab
@imadabab - 18.05.2023 22:34

Brilliant as usual. Thanks a lot Tim. Can this be applied to table with paging? If yes. This will be an excellent solution for big data instead of using server side top records selection query.

Ответить
@FullMe7alJacke7
@FullMe7alJacke7 - 18.05.2023 00:32

Love these 10 minute Blazor videos!

Ответить
@techyiecorral3007
@techyiecorral3007 - 15.05.2023 11:20

Why blazor doesn't have virtualization for column?

Ответить
@johanneszellinger232
@johanneszellinger232 - 24.02.2023 16:02

Having used this already quite a few times, I have to ask about data access: Should you also "lazy-load" your records from the database, i.e. loading when the user scrolls? In the past I have just loaded all records (a couple of thousand records for file objects containing meta-data) from the database and only virtualized the display. In this case you still have an IEnumerable with many items in the memory. On the other hand, database access while scrolling may be slow and result in too many database queries... What is best practice here?

Ответить
@amasoumi
@amasoumi - 04.12.2022 21:15

Great video 👌👌

Ответить
@saeidghasemi873
@saeidghasemi873 - 04.12.2022 10:40

So exciting.

Ответить
@DonBout
@DonBout - 02.12.2022 19:00

This is awesome, as usual the content is excellent, useful as hell, and very well explained! Does this feature work with Blazor WASM as well as Blazor Server?

Ответить
@juergenzhang9133
@juergenzhang9133 - 29.11.2022 21:38

For a user it could be confusing, when he uses a text search and cannot find a value in the table. Maybe you always need a explicit search field.

Ответить
@yperman1
@yperman1 - 29.11.2022 21:23

Hi I noticed that in suggestion site you can click on a div but there is no hand to show that you can click on it.

Ответить
@davidschinsing8789
@davidschinsing8789 - 29.11.2022 21:15

We lose our ability to sort a table with javascript... but I should probably convert that to Blazor.

Ответить
@uppercat7268
@uppercat7268 - 29.11.2022 18:37

Nice hint, thanks!

Is it possible to use virtualization with a quickgrid?

Ответить
@diegoronkkomaki6858
@diegoronkkomaki6858 - 29.11.2022 18:34

This virtualization feature becomes a necessity when you are running your Blazor Server application in production instead of locally. With the real world network latency added to the mix when transferring thousands of rows of data to the clients, it quickly results in timeouts and the dreadful "reconnecting to the server" messages for users without high speed internet.

Ответить
@pawel89pawel
@pawel89pawel - 29.11.2022 17:17

Wow thats a great simple trick. It might come in handy thank you for showing it

Ответить
@caseyspaulding
@caseyspaulding - 29.11.2022 16:22

Thanks. I will be using that one.

Ответить
@ddanielewski
@ddanielewski - 29.11.2022 16:19

Short and sweet. Great content.

Ответить
@S3Kglitches
@S3Kglitches - 29.11.2022 16:14

Desktop components (such as grid component) don't need virtualization for thousands of records, right? Is this the advantage of desktop?

Ответить
@S3Kglitches
@S3Kglitches - 29.11.2022 16:12

Well explained, thank you.
Is it possible to extract the current index from the Virtualize "better for loop"? In foreach loop it's possible to place a lambda with two variables and thus obtain the index.

Ответить