如何在 windows azure 网站上获取 System.Speech? [英] How to get System.Speech on windows azure websites?

查看:34
本文介绍了如何在 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?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆