简体   繁体   English

如何将 Blazor Serverside 与 Blazor WebAssembly 结合使用?

[英]How to use Blazor Serverside with Blazor WebAssembly?

Razor Serverside and JavaScript are possible mixed to use. Razor Serverside 和 JavaScript 可以混合使用。 But, I'm not good at Javascript.但是,我不擅长 Javascript。 I want to make client side app with C#.我想用 C# 制作客户端应用程序。 Is it possible to use Razor ServerSide with Razor WebAssembly?是否可以将 Razor ServerSide 与 Razor WebAssembly 一起使用? Thank you.谢谢你。

Is it possible to use Razor ServerSide with Razor WebAssembly?是否可以将 Razor ServerSide 与 Razor WebAssembly 一起使用?

What would be the sense of that?那会有什么意义呢? ServerSIde means it executes on the server and sends the UI updates to the client, ONLY. ServerSIde 意味着它仅在服务器上执行并将 UI 更新发送到客户端。 WebAssembly is a technology to run bytecode in the browser for client side applications. WebAssembly 是一种在浏览器中为客户端应用程序运行字节码的技术。

You ask for a vegan real cor steak - not possible.你要一份纯素真正的 cor 牛排 - 不可能。 Those 2 technologies contradict themselves, you use either one or the other.这两种技术相互矛盾,您可以使用其中一种。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM