Htowomakalnfronepgaofa.netcrelprjct?

huangapple go评论69阅读模式
英文:

How to make a link for one page of asp.net core local project?

问题

https://localhost:7099/RFS/ConfirmDetails?TranCompNo=,这已经是一个链接,但我需要更改localhost和7099以使链接在任何计算机上都可以访问。我应该怎么做才能使它在任何计算机上都可以访问?

https://localhost:7099/RFS/ConfirmDetails?TranCompNo=,在点击链接后仍然会显示,或者也许你们有更好的想法。

英文:

https://localhost:7099/RFS/ConfirmDetails?TranCompNo= , that is already a link but i have to change localhost and 7099 to make the link accessible in any computer. What should i do to make it accessible in any computer?

https://localhost:7099/RFS/ConfirmDetails?TranCompNo= , this will still show after clicking the link or maybe you guys have better idea.

答案1

得分: 0

为使您的ASPNetCore项目在其他计算机上可访问,您需要将其发布到托管服务。

有关发布ASPNetCore项目的概述,请参阅此处。该页面还包含指向此页面的链接,该页面描述了如何将您的应用程序发布到Azure。

Azure可能是托管应用程序的最简单方式之一,因为Microsoft已将许多工具集成到其中(您可以直接从Visual Studio发布),但还有许多其他ASPNetCore托管选项 - 如果需要其他选项,请进行谷歌搜索。

英文:

To make your ASPNetCore project accessible on other computers, you need to publish it to a hosting service.

See here for a general overview of publishing ASPNetCore projects. That page also contains a link to this page, which describes how you can publish your app to Azure.

Azure is probably one of the simplest ways to host your application, because Microsoft has integrated a lot of their tooling with it (you can publish directly from Visual Studio), but there are many other options for ASPNetCore hosting - have a google if you need other options.

huangapple
  • 本文由 发表于 2023年6月22日 14:24:51
  • 转载请务必保留本文链接:https://go.coder-hub.com/76529083.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定