[How to] Setup .NET Core on CentOS 7 - Part 3 - App deployment via {1}FTP and {2}Visual Studio

preview_player
Показать описание
In this video we'll take a look at how you can deploy the application either through FTP connection by moving the source files and compiling them on the server, or by deploying a compiled application through the Visual Studio's Publish (to IIS,FTP,etc.) feature.

Thank you for watching! :)

You can find my twitch here:
Feel free to follow me on Twitter as well!
Рекомендации по теме
Комментарии
Автор

Thank you very much bro!
I had only to change the nginx listening port in the /etc/nginx/nginx.conf file
Perfect!

adminos
Автор

It helped me alot to deploy my first .netcore app on linux centos.

Thank you very much.

dhruvpanchal
Автор

Thanks, my only issue is my current server/hosting config does not allow me to modify packages and such. May have to look at upgrading my service or just saying to heck with it and signing up with Azure. Suggestions would be helpful. I have enough knowledge to be dangerous, but trying to learn. I did set up our old Linux server about 15 years ago .. but things have changed a bit and I have forgot a bunch.

cvsWebDesigns
Автор

Hi again, everything is working locally as expected, but now when i try to do it on the VPS i've rented, only the default ISPConfig webpage keeps coming up....
Does someone have some idea why thats happening?
Thanks.

adminos
Автор

just in time ! thx a lot
Yes, Microsoft loves Linux thnx to the Mono project.

cizario
Автор

thanks for sharing this.
but what about sql server ?
it will be great if you share a video about installing sql and connecting the app to that

hamidrezamoradof
Автор

Thank you very much . pretty clear. Question: can you put the files in any folder in the Centos or does it have to specific folder?

karimkazia
Автор

Thank you it helped me a lot..Even i was using linux first time and your videos are awesome..Kudos!

simplysachin
Автор

Hi there! So, I've done this build and everything works fine. Now, I want to build a HTTPS build. And, right now nginx is the reverse proxy. I have a self-signed SSL certificate and I want to install it for the communication. But, asp.net core app keeps using its own dev-certificates which I cannot trust on centos.

The command dotnet dev-certs https --trust is not implemented for the linux platform either.

ArielMoments
Автор

Thank you, but I have a question. I'm running .net core application(with dotnet run ) Later, I 'm turning off the terminal after .net core shutting down. What should I do ? for dotnet run.

Thedmrc
Автор

Hi, I am trying to transfer files as you suggested thru filezilla. But i am failed to connect to CentOS. getting error. "Network error. connection refused. Could not connect to server". Kindly help in connecting so that I can copy the files and run the .net app
Thank you in advance.

musiceverydayproductions
Автор

Wow! Thank you! - Perfect tutorial.
I tried the example using a WebApplication WITH Authentication (Basic Authentication), and when it tries to generate the database to store the first "Registered" user, everything goes wrong... Do you have any idea of why is that?
Is there a "SQL-Server" runtime for Linux one can install so that, net core can use it to create and use a database?
Thanks fot any advice on that.

Автор

Thanks for great tutorial, i am new at web development and linux have some questions :
1- After publish i am still seeing "badgateway",
-i try dotnet xxxx.dll run and result is green like this:

"info:
info:
info:
Application started. Press Ctrl+C to shut down.
info:
Hosting environment: Production
info:
Content root path: /home/okutanegzersiz1
^Cinfo:
Application is shutting down...
"

but direct dotnet-run gives this error:

"Couldn't find a project to run. Ensure a project exists in /home/okutanegzersiz1
, or pass the path to the project using --project.
"


2- and second thing after this error how can i acces to this web app, typing link is directing to ngix welcome page.

fatihgenc