wwwroot空 [英] wwwroot empty

查看:148
本文介绍了wwwroot空的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Azure应用服务,应在其中部署webApi.

I have an Azure App Service where I should deploy my webApi to.

我看到目录wwwroot仅具有hostingstart.html文件.

I see de directory wwwroot only has the hostingstart.html file.

我希望在那里找到一个默认的web.config文件和一个bin目录...

I was expecting to find there a default web.config file and a bin directory ...

我应该手动创建一个bin目录吗?还是有更正确的方法?

Should I create a bin directory by hand? or is there a more correct way?

谢谢

JD

推荐答案

您好,尽管可以,但我不建议手动手工创建它们:)相反,为什么不发布/部署您的应用程序呢?这是一个 快速入门,介绍了如何部署ASP.NET Core Web应用.

Although you can, i don't recommend creating them by hand manually :) Instead, why not publish/deploy your app? Here's a quickstart that covers deploying ASP.NET Core web app.

因为Azure App Service可以运行&支持跨Web应用程序,API应用程序和移动应用程序开发的许多不同语言和框架,它没有对特定的运行时配置进行假设,这就是为什么您什么都看不到的原因 除了hostingstart.html文件.相反,选择特定的运行时环境可以通过以下操作轻松配置 应用程序设置.希望这会有所帮助:)

Because Azure App Service is built to run & support many different languages and frameworks across webapp, api-app and mobile-app development, it doesn't make an assumption on particular runtime configuration, which is why you're not seeing anything other than hostingstart.html file. Rather, selecting particular runtime environment is something you can configure easily through Application Settings. Hope this helps :)


这篇关于wwwroot空的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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