How to get System.Speech on windows azure websites?(如何在 windows azure 网站上获取 System.Speech?)
问题描述
我在一个 asp.net webforms 应用程序中合并了文本到语音,它在本地运行时工作正常.然而,当我部署到 azure 网站时,它看起来像是在处理 System.Speech.
I have incorporated text to speech in an asp.net webforms application which works fine when running locally. When I deploy to azure websites however it looks like a null reference is happening dealing with System.Speech.
我尝试将 webforms 应用程序发布到 azure,在 System.Speech .dll 上将本地复制"设置为 true,但问题仍然存在.
I have tried to publish the webforms app to azure with the "Copy Local" as true on System.Speech .dll however the issue still persists.
让 System.Speech 在 azure 网站上工作有什么我遗漏的吗?
Is there anything I am missing to get System.Speech to work on azure websites?
我已经研究并发现不久前的帖子说它不受支持,但我希望这可能会随着时间的推移而改变.如果是这种情况,我需要找到一些第三方 TTS 服务.
I have researched and found posts from a while back saying it wasn't supported but I am hoping this may of changed overtime. I will need to find some third-party TTS service if this is the case.
推荐答案
System.Speech 是一个桌面 API,在服务器系统上绝对不受支持.Microsoft.Speech.Synthesis 是一个服务器 API,在(独立) 服务器.但是,我不确定是否可以在 Azure 网站上部署它,因为它需要对已安装的软件(语音等)进行大量更新.
System.Speech is a desktop API, and definitely isn't supported on server systems. Microsoft.Speech.Synthesis is a server API and is supported on (standalone) servers. However, I'm not sure if it's possible to deploy this on Azure websites, as it requires extensive updates to the installed software (for voices, etc.).
这篇关于如何在 windows azure 网站上获取 System.Speech?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何在 windows azure 网站上获取 System.Speech?
基础教程推荐
- 禁止输入少量字符,例如'<'、'&a 2022-01-01
- WPF 模态进度窗口 2022-01-01
- .NET SerialPort DataReceived 事件未触发 2022-01-01
- 我应该在后面的代码中直接使用 Linq To SQL 还是使 2022-01-01
- 如何使用 .Net 检查 Active Directory 服务器是否已启动并正在运行? 2022-01-01
- 当值可以是对象或空数组时反序列化 JSON 2022-01-01
- Moq It.Is<>不匹配 2022-01-01
- 如果有人提交恶意软件Nuget包怎么办? 2022-01-01
- C# 从 List<List<int>> 中删除重 2022-01-01
- Azure Functions:CosmosDBTrigger 未在 Visual Studio 中触发 2022-01-01
