组织涉及Web项目和Web核心API的解决方案所需的建议 [英] Advice needed on organising a solution involving a web project and a web core api

查看:63
本文介绍了组织涉及Web项目和Web核心API的解决方案所需的建议的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

作为一名独立开发者,我现在真的很挣扎。我想看一些VSTS构建和部署的例子来帮助我,但我决定在这里问一下。

I am really struggling at the moment as a lone developer. I want to see some examples of VSTS build and deploy to help me, but I decided to ask here instead.

我有一个.Net应用程序,其中包括一个web项目和一个web核心api 。

I have a .Net application which includes a web project and a web core api.

是否建议在VSTS中我为Web核心api和Web项目提供2个单独的构建定义?或者我应该有一个版本。因为Web API是Core而Web项目不是,我可以将它们放在同一个zip文件中进行部署,并且
如何使其可用于部署?

Is it recommended that in VSTS I have 2 separate build definitions for the web core api and the web project? Or shall I have one build. Because the Web API is Core whilst the web project is not, can I put them both in the same zip file for deployment, and how do I make it available for deployment?

推荐答案

您好arame7777,

Hi arame7777,

您可以在一个版本中构建您的.Net应用程序定义,请参考以下链接来构建和部署.Net应用程序:

You could build your .Net application in one build definition, please refer to the link below to build and deploy your .Net application:

https://www.visualstudio.com/en-us/docs/build/apps/aspnet/aspnetcore-to-azure

最好的问候


这篇关于组织涉及Web项目和Web核心API的解决方案所需的建议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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