Тёмный

Blazor, a new framework for browser-based .NET apps- Steve Sanderson 

NDC Conferences
Подписаться 197 тыс.
Просмотров 64 тыс.
50% 1

Today, nearly all browser-based apps are written in JavaScript (or similar languages that transpile to it). That’s fine, but there’s no good reason to limit our industry to basically one language when so many powerful and mature alternate languages and programming platforms exist. Starting now, WebAssembly opens the floodgates to new choices, and one of the first realistic options may be .NET.
Blazor is a new experimental web UI framework from the ASP.NET team that aims to brings .NET applications into all browsers (including mobile) via WebAssembly. It allows you to build true full-stack .NET applications, sharing code across server and client, with no need for transpilation or plugins.
In this talk I’ll demonstrate what you can do with Blazor today and how it works on the underlying WebAssembly runtime behind the scenes. You’ll see its modern, component-based architecture (inspired by modern SPA frameworks) at work as we use it to build a responsive client-side UI. I’ll cover both basic and advanced scenarios using Blazor’s components, router, DI system, JavaScript interop, and more.
NDC Conferences
www.ndcconfere...
ndc-london.com/

Опубликовано:

 

11 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 112   
@SimpMcSimpy
@SimpMcSimpy 5 лет назад
I just hope MS don't abandon this project sometime in near future because this is freaking awesome. Yes, there are still some problems to solve but better that then going forward with all that JS nonsense.
@kenbee85
@kenbee85 5 лет назад
Agree...
@flygonfiasco9751
@flygonfiasco9751 5 лет назад
Realistically, JavaScript isn’t going anywhere anytime soon. There’s huge strides to make in webassembly still. Not to mention the sheer amount of maintenance for systems using JavaScript.
@sifiso5055
@sifiso5055 4 года назад
This is one of the most high quality talks I've ever seen
@ianotida
@ianotida 5 лет назад
EPPlus is really a life saver in every excel related document .
@TonyHenrique
@TonyHenrique 5 лет назад
This .NET WebAssembly AOT is awesome.
@geertdepuydt2683
@geertdepuydt2683 5 лет назад
some seriously impressive presentation/sales talk. completely sold, and i'm only 20min in, lol
@ljupconewman9357
@ljupconewman9357 5 лет назад
I love the idea about not using Javascript. This is the right step towards dethroning it.
@pspicer777
@pspicer777 5 лет назад
Ahh the optimism of youth. For myself I am thinking the only way forward is to use COBOL in the browser!! Then we will have something that unifies all. 😂
@ljupconewman9357
@ljupconewman9357 5 лет назад
@@pspicer777 that's a great idea! 😂
@JohnWick-rc9qq
@JohnWick-rc9qq 5 лет назад
Why not just learn JS, which is an incredible programming language?
@ljupconewman9357
@ljupconewman9357 5 лет назад
@@JohnWick-rc9qq when there's an ide like visual studio I'll use it. Otherwise my JS code often doesn't execute and I don't know how to pinpoint the problem since there is hardly or isn't any indication what went wrong. Correct me if I'm wrong and if such tool already exists.
@JohnWick-rc9qq
@JohnWick-rc9qq 5 лет назад
@@ljupconewman9357 VS Code, Webstorm, Sublime Text, Atom, etc. A ton of great IDE's out there. Good linting and coding practices make JS as easy to debug as any other language. If you write crappy JS, like any other language, it's going to be hard to find the problems. If you're struggling to figure out problems, it's not the language or the IDE. ;)
@jewymchoser
@jewymchoser 5 лет назад
This is a productivity game changer. This would have compressed my last 20 years into 5.
@andystannard
@andystannard 5 лет назад
This looks awesome, I was wondering about this tech and the electron wrapper for creating desktop apps with. Does this mean you could use with a PhoneGap wrapper for mobile too or is the web assembly off limits with that?
@fernandofarofa
@fernandofarofa 5 лет назад
I decided to do anything else for the web until this comes out.
@arwahsapi
@arwahsapi 5 лет назад
...and may I know what else did you decide to do for the web until this comes out?
@darkclove7365
@darkclove7365 5 лет назад
It's been a while since I was excited like this.
@bar10dr
@bar10dr 5 лет назад
I looove this
@WeBhartiya
@WeBhartiya 5 лет назад
Great explanation , energetic presentation
@Suriprofz
@Suriprofz 5 лет назад
This is great, no more hackish scripting ! Strong typed programming
@louishendricks8823
@louishendricks8823 5 лет назад
This video isn't a repost but it's the same talk that he gave at Oredev that was uploaded on March 11th so a lot of us will have already seen it.
@md.akib5124
@md.akib5124 5 лет назад
it just blew out my mind
@koenigsbier50
@koenigsbier50 5 лет назад
This is just fucking awesome !!!
@wudewang9947
@wudewang9947 5 лет назад
Vary awesome, worth to learn more about this!!
@xBalaDeCanhaox
@xBalaDeCanhaox 5 лет назад
Awesome presentation.
@yeetfarmer
@yeetfarmer 5 лет назад
When I created a project using the blazor hosted template, the server project did not contain the Index.cshtml page. It was used in the example for setting up the asynchronous call to get the page to load immediately. Does anyone know how to set this up? Edit: Time code is 48:10
@finch9668
@finch9668 5 лет назад
I have the same question.
@ArgeKumadan
@ArgeKumadan 5 лет назад
some1 should highlight this
@arwahsapi
@arwahsapi 5 лет назад
There has been updates in Blazor templates for VS. The .razor extension might have replaced the .cshtml
@7th_CAV_Trooper
@7th_CAV_Trooper 2 года назад
Page renders in 26ms. Very fast, but every programmer who is also an online gamer is like "26ms? omg, I'd be dead."
@InayetHadi
@InayetHadi 5 лет назад
I thought Razor Components was going to replace Blazor with Net Core 3.0 . He should be doing a talk on Razor Components since that is going to work with Net Core 3.0
@MikeSheen1972
@MikeSheen1972 5 лет назад
Blazor server side was renamed Razor Components and Blazor client side was kept as an experimental project, but 2 days ago they decided to rename Razor Components back to Blazor to prevent confusion.
@Ian-yi7ks
@Ian-yi7ks 5 лет назад
@@MikeSheen1972 Well ive seen the introduction video to razor components and the project structure within VS isnt the same as the one in Blazor. You mentioned thought Component got renamed back to Blazor server side. I do not have the template Razor Components in my vs preview, which speaks for your statement, but the created project from the Blazor server side template has the same structure like in this video. Which is the structure of the client side. Im really confused by now.
@rameshshresta1871
@rameshshresta1871 5 лет назад
Awesome!
@ManuelBasiri
@ManuelBasiri 5 лет назад
Way to go MS. Just read today that Microsoft company value passed 1 trillion dollars. It is the only company deserving of being at the top. Most certainly above Apple.
@mariacobretti
@mariacobretti 5 лет назад
Im not a web developer cause I find JavaScript to be fu.kn disgusting and so never really bothered to learn it. WebAssembly however looks amazing and it seems like I made the ride move skipping on js
@coffee.coyote
@coffee.coyote 5 лет назад
Awesome session!
@BatShvit
@BatShvit 5 лет назад
Size mscorelib is 4.18 mb and it loads to the client ...
@tallgeese1
@tallgeese1 5 лет назад
D/L and cache until the next update. Most users / enterprises have access to broadband. We don't live in dial-up only world anymore.
@ArchangelWatch1337
@ArchangelWatch1337 4 года назад
why mono?
@maacpiash
@maacpiash 5 лет назад
Watched this video before.
@BinaryReader
@BinaryReader 5 лет назад
I don't like the template logic so much, it looks pretty unwieldy. Is there a better alternative than Razors cshtml?
@briancarlisle6455
@briancarlisle6455 5 лет назад
I think they need to steal more from Vue's structure
@tallgeese1
@tallgeese1 5 лет назад
Be sure to share your concern on GitHub.
@iancarr3923
@iancarr3923 5 лет назад
I like this as well. However, I have tried to set up a template as demonstrated in the video (Templates and Generics section) but cannot get it to work. It builds ok but hangs when trying to load. I just get "Loading... ".
@iancarr3923
@iancarr3923 5 лет назад
Fixed. Incorrect tag syntax - using closing tag.
@dizhar8888
@dizhar8888 5 лет назад
Is this production ready?
@dmitriyobidin6049
@dmitriyobidin6049 5 лет назад
from docs: Blazor is the experimental client-side hosting model of Razor Components. General rule, if it doesn't have stable 1.0 version it is not ready for prod.
@MartinHAndersen
@MartinHAndersen 5 лет назад
This is fuc**ng awesome. A new Silverlight?
@pushqrdx
@pushqrdx 5 лет назад
no, it isn't silverlight, it doesn't need a plugin or anything else to run in the browser. It just runs and supported out of the box in most browsers.
@MartinHAndersen
@MartinHAndersen 5 лет назад
@@pushqrdx Thanks I know how it works. But will anybody use it?.
@scottpeal60
@scottpeal60 5 лет назад
@@MartinHAndersen I am using it
@ManuelBasiri
@ManuelBasiri 5 лет назад
@@MartinHAndersen I'll be waiting for an stable version and will replace my entire frontend logic with this lovely alternative. When the syntax become second nature, this will massively streamline the entire development process. At least in my project that's how I see it and I'm sure other developers will feel more comfortable when use it more.
@MartinHAndersen
@MartinHAndersen 5 лет назад
@@ManuelBasiri I have been a .NET developer since version 1. I once persuaded my fellow programmers to move a very large application to silverlight to web enable it. Silverlight was a good technology but died and I felt bad. I have more hope for Blazor. it's build on standard technologies and you get to use C# that's awesome. But again Angular, React and Vue has come a long way. And we need to move many of the feature from this frameworks to Blazor. e.g. tree shaking to reduce the size of web assemblies. Today it's also easier to get a front-end developer that master Angular than a C# / Blazor developer because its new but I think that Blazor will always be a niche product.
@meirkr
@meirkr 5 лет назад
Is it possible sharing the sample code?
@KoMaHu3aM
@KoMaHu3aM 5 лет назад
I think that's the blazor template which is coming with .net core preview 3 something. Check that out.
@meirkr
@meirkr 5 лет назад
@@KoMaHu3aM I'm asking about all the additions presented, like the special demo list..
@MeghRoy
@MeghRoy 5 лет назад
Please please please don't suck and please don't die. We need this. I need this. Enough of this JS nonsense.
@haleaurelian
@haleaurelian 5 лет назад
A W W W E S O M E ! ! ! Goodbye desktop apps..
@Cristian-ek7xy
@Cristian-ek7xy 5 лет назад
Gosh, I just saw 20 MB for a TODO list, that's insane
@chriscardoz
@chriscardoz 5 лет назад
I'm not really sure this might work. Based on my experience, every team has a different UI team that not only specializes in responsive UI but also contributes to UI design for better user experience. Also, there's a large pool of devs who know html, JavaScript, css and it would be cost efficient and easy to find replacements rather than look for devs that work on blazor. If this technology picks pace in the next year, it might survive 3 or 5 years. I feel this project is most likely to die like silverlight.
@vinzer72frie
@vinzer72frie 5 лет назад
This framework is not intended towards new developers rather it aims for the already senior net developers, you say budget efficiency of hiring cheap frontend developers well if a company uses net they will certainly not hire "html javascript" designers. Silverlight failed because it required plugin installations blazor does not
@not_AI_bot
@not_AI_bot 5 лет назад
how about performance? I googled there were a big performance issue
@aliayhan8883
@aliayhan8883 5 лет назад
WebAssembly/Bytecode can do what javascript can do! not really! Good idea but javascript will be always better options. I think Microsoft just want to eliminate post/back :) Also i saw 43 requests 18.33 mb what browser doing, ouch!
@mmsrp
@mmsrp 5 лет назад
knockout 2019
@LA-MJ
@LA-MJ 5 лет назад
Exemplary attitude towards LAs
@rogeriorlima3
@rogeriorlima3 4 года назад
Beware Microsoft will discontinue Blazor in no time, or bet on it. Remember Silverlight ? Remember MTS ? Microsoft never respected developers, remember what they did to companies that invested millions in Asp.Net and VB.Net? so ... beware. Today she says it's a wonder, tomorrow she says it's no good. When you write code the technology you used should never be discontinued. Software is an asset that should never expire. But Microsoft ($$$$$$) always needs to create something new and stop what is working.
@vuralmecbur9958
@vuralmecbur9958 5 лет назад
Please, please, PLEASE do not fuck up the naming for this Microsoft. Call it Blazor, and do not EVER change it. PLEASE!!!
@Cristian-ek7xy
@Cristian-ek7xy 5 лет назад
2 MB for the mono wasm + all DLLs ? I am sorry but that is a no go for me. My last enterprise project's bundle was 200 KB. At this moment, this technology does not make a sense for me.
@thefuryritchie
@thefuryritchie 5 лет назад
Fair enough. Personally I can download 2MB in 300ms and from then on it's cached.
@dotaevolve1698
@dotaevolve1698 4 года назад
f@#king framework coming up in every twice a week or unwanted bullshit changes
@danielrf222
@danielrf222 5 лет назад
this is windows form just on web........
@danitimnev2102
@danitimnev2102 5 лет назад
no, it is much more than that
@curmudgeoniii9762
@curmudgeoniii9762 5 лет назад
more $MS going open source .... sure, right. SSDD!!
@coolpot
@coolpot 5 лет назад
so it offers nothing new. ms late to the game again offering nothing new. use vue, its tiny and does more. and whilst your at it, use node its miles faster and easier
@julianzapata4356
@julianzapata4356 5 лет назад
You don't know what you are talking about
@coolpot
@coolpot 5 лет назад
@@julianzapata4356 okay, Well, ill load 16kb to my clients, you load 5000kbit to your clients, and have less functionality, go learn a real language you muppet
@tallgeese1
@tallgeese1 5 лет назад
Q says "You obtuse piece of flotsam".
@tallgeese1
@tallgeese1 5 лет назад
It offers a strongly typed, enterprise class web application framework for .NET developers that runs on ALL platforms.
@coolpot
@coolpot 5 лет назад
@@tallgeese1 .net was never taken seriously. there's a reason less than 12 % of servers run iis. blazor will get scrapped like every other fail ms attempted
@djbutterchicken
@djbutterchicken 5 лет назад
Oh no is silver light back
@atari1040
@atari1040 5 лет назад
Nooo…. Rather bye bye JavaScript ;-) We don't need you anymore :)
@Leonardo0leandro0
@Leonardo0leandro0 5 лет назад
@@atari1040 FINALLY!!!!
@ChadGeidel
@ChadGeidel 5 лет назад
WebAssembly is definitely not Silverlight
@fernandofarofa
@fernandofarofa 5 лет назад
it is sandboxed, so its SAFE, and its a open format sustained by all major player, its not silverlight in any aspect, except for the good ones.
@weluvmusicz
@weluvmusicz 5 лет назад
Oh no is dj butter chicken back
Далее
Почему не Попал?!
00:15
Просмотров 27 тыс.
Cute
00:16
Просмотров 6 млн
Clean Architecture with ASP.NET Core 2.1 | Jason Taylor
49:20
Cursor Is Beating VS Code (...by forking it)
18:00
Просмотров 66 тыс.
The Future of Blazor on the Client
29:37
Просмотров 31 тыс.