gpt4 book ai didi

wcf - Node.js 在 Microsoft/Azure/WCF/MVC 项目中适合什么位置?

转载 作者:搜寻专家 更新时间:2023-11-01 00:27:00 26 4
gpt4 key购买 nike

我一直在使用 Microsoft 堆栈开发一个实时数据项目,node.js 似乎就是为了这个目的(实时数据)而设计的,并且得到了很多宣传。

  • 将 Node.js 集成到我的 MSFT 解决方案中是否有意义? (我应该考虑什么标准)

  • 它如何“ Hook ”项目?

  • 它取代了哪些组件?

最佳答案

Steve Marx 为 http://chat.smarx.com/ 演示了这个

基本代码可以在 http://things.smarx.com/#Run Node.js 看到-

  var proc = new Process()
{
StartInfo = new ProcessStartInfo(
RoleEnvironment.GetLocalResource("Executables").RootPath + @"\node.exe",
string.Format("server.js {0}",
RoleEnvironment.CurrentRoleInstance.InstanceEndpoints["HttpIn"].IPEndpoint.Port))
{
UseShellExecute = false,
WorkingDirectory = RoleEnvironment.GetLocalResource("Executables").RootPath
}
};

但我目前无法找到他关于此问题的完整博客文章

关于wcf - Node.js 在 Microsoft/Azure/WCF/MVC 项目中适合什么位置?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5269892/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com