问题描述
关闭我部署的几乎所有网站/api服务/移动服务,当我碰到除默认路由之外的任何路由时,都会收到以下错误消息:您要查找的资源已被删除,名称已更改或暂时被删除无法使用."
Offlate almost every website/api service/mobile service I deploy, When I hit any route apart from default one, I get the following error 'The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.'
为了进行测试,我创建了一个简单的ASP.Net WebAPI应用程序和ASP.Net MVC网站,并将其部署到Azure.它已部署,并显示默认页面.对于此后的任何链接,我都会收到该错误.
For testing I created a simple ASP.Net WebAPI app and ASP.Net MVC Website and deployed to Azure. It gets deployed and default pages come up. For any link after that, I get that error.
以下是移动服务..未经修改就创建和上传,并在portal.azure.com上配置了Facebook身份验证 https://wayweb.azurewebsites.net/.auth/login/facebook/callback
Below is the mobile service.. created and uploaded without modification and configured facebook authentication on portal.azure.com https://wayweb.azurewebsites.net/.auth/login/facebook/callback
代码副本位于 https://1drv.ms/u/s!AkQ9G9AdaYOPgaZ-vXUdlSW9RuQzOQ
任何想法,我在做什么错了?
Any idea, what am I doing wrong?
推荐答案
它可以帮助您
要解决此问题,您需要在Angular 2应用程序中提供一个web.config文件.
To remedy the problem, you need to provide a web.config file into your Angular 2 application.
这篇关于错误:您正在寻找的资源已被删除,名称已更改或暂时不可用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!