英文:
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论