What are the best recommended approaches to deploy and configure the application using kesteral or IIS or some other approach ?

mehmood tekfirst 771 Reputation points
2022-07-06T06:30:21.207+00:00

Hi,

We want to deploy our ASP.NET MVC CORE 6 application with jQuery.

What are the ways to deploy it ?

We are using Sql Server 2017.

We have digital ocean cloud server and Windows Server 2019.

But We have a Sql server on Windows Server 2019.

What are the best recommended approaches to deploy and configure the application using kesteral or IIS or some other approach ?

Windows development | Internet Information Services
Developer technologies | ASP.NET | ASP.NET Core
0 comments No comments
{count} votes

Accepted answer
  1. Sreeju Nair 12,666 Reputation points
    2022-07-07T03:24:29.567+00:00

    To deploy ASP.Net application, it is recommended to use Kestrel with a reverse proxy. Refer the following article to understand more.

    https://learn.microsoft.com/en-us/aspnet/core/fundamentals/servers/kestrel/when-to-use-a-reverse-proxy?view=aspnetcore-6.0

    Note the following line in the article.

    "Even if a reverse proxy server isn't required, using a reverse proxy server might be a good choice."

    To deploy an ASP.Net application, you have a number of choices, from manually deploying it to the production server by copying the files to fully automate the deployment process using the CI-CD piplelines. Though there are many third party tools available to automate the deployment, the most popular option is to use Visual Studio with MSBuild.

    Refer the following article for more information. https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/?view=aspnetcore-6.0

    Hope this helps

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.