简体   繁体   English

在无头浏览器中使用 Blazor 沿 C# 运行 Javascript

[英]Running Javascript along side C# using Blazor in headless browser

I'm trying to build a .NET core application that execute JavaScript, this JavaScript also need to call C# functions on CLR objects as well,I used JINT ( https://github.com/sebastienros/jint ) but it has one majeure disadvantage which i couldn't debug any JavaScript code. I'm trying to build a .NET core application that execute JavaScript, this JavaScript also need to call C# functions on CLR objects as well,I used JINT ( https://github.com/sebastienros/jint ) but it has one majeure disadvantage我无法调试任何 JavaScript 代码。 So thinking for alternative that using CEF sharp that will run Blazor to execute javascript alongside C#.因此,考虑替代方案,使用将运行 Blazor 与 C# 一起执行 javascript 的 CEF sharp。 is it possible?可能吗? Thanks!谢谢!

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

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