Visual Studio 2017 publish ftp doesn't work - visual-studio

I'm trying to publish my project to FTP with Visual Studio 2017 RC. The problem is with uploading files, it doesn't work. I tried to folder and works fine, but to external FTP not.
Why i want to do this? Because it's .net core project and i want to deploy on linux production environment.
What i'm doing wrong?
//edit:
I'm using vsftpd on ubuntu 16.04 and connecting with passive mode.
ftp://hostname with user and password data. path is "app_dev" it's folder on ftp.

The Only way that I found is to create a local drive letter that appoints to the ftp.
Sorry no better answer...

i had similar issue in the past. What i did was use other ftp client to publish the app after publishing to local folder.
But still you should try getting their deployment script

Related

Published .Net Core Web Application to Apache2 Web Server only Showing up as Directory Search

I am currently working on setting up a QA server at my home in order to test applications, and I have run into a bit of an issue. I have attempted to publish my .Net Core 6 website to the server by the following steps:
Publishing the website via Visual Studio, to a local folder. Visual Studio Publishing
Copy the published website over to the server via Filzilla. Filezilla Copy
Unfortunately, when I go to the url I only wind up with a directory search of the published files: Directory Search
The webserver is Apache2, running on Ubuntu Server 22.04. How can I get my website up and running on this QA server, rather than just a directory search?
Thanks in advance for your help!
4L4M1N's comment is correct. The publish files you generated just for windows IIS. not Apache2.
So you need check the official to create .htaccess file, and the webserver will be working.
Reference Video:
How to Deploy .Net Core Web Application to Ubuntu Linux

how to set up visual studio for a remote project

Can Visual studio 2019 be used as a local IDE for a solution running on a remote server? specifically i want to create a node.js application on a remote server hosted / provided by my ISP using Vstudio that's running on my local windows machine. I'd like the builds to run on the remote server. Is this possible?
To date, I have been connecting via ssh and just using VIM to create my apps. But I see that VStudio is free and has a lot of support for different types of apps so wanted to give a try.
I launched VStudio and created a new node.js application. Gave it a name (it was pointing to a local folder)
But then when I tried to do was go under Tools -> options ->Cross platform-> connection manager.
I successfully added a connection to my remote server. I know the connection worked because it detected that the remote server is running Ubuntu.
I must be still missing a step because when I try to build, instead of running the build against the remote server, it tries to build locally.
Maybe I can't do this. Maybe I need a local dev environment... build local and then copy the js files over to the target machine.
But jut thought I'd check
Thanks.

How do I deploy a .net Core App from my Mac to Amazon AWS (Ubuntu)

I've created an C# app on my Macbook using Visual Studio Community edition, and would now like to deploy it on AWS.
While I could setup a windows machine on AWS, I want to challenge myself and try it on Linux.
Although I see a lot of tutorials saying you need to setup core yourself on the server, I think this is no longer necessary as it appears AWS can set this all up for you:
AWS Image:
So assuming I just do that, and now I have my server up, what happens next?
I know that I could use puTTY or FTP or something to move the files to the server, but is that the recommended approach? I read you can use 'dotnet publish" with arguments to create the package to deploy but still seems a bit archaic and time-consuming unless I make a script. Visual Studio for Windows allows much more robust publishing options, such as publishing directly to the server, but for Mac, what are the options to do this in a more robust fashion? What are others doing?
Thanks so much!
https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/linux-nginx?view=aspnetcore-2.1&tabs=aspnetcore2x
A good way of getting your code inside is SSH and git clone your repository.

Can Visual Studio Code on a Mac connect to a TFS2015 server?

I have a folder structure that is full of markdown files and images that I would like to maintain in TFS2015 (possibly using a GIT repo).
I would like this folder structure to be accessible both from some Mac computers running Visual Studio Code, and from some Windows development machines (ideally from existing installations of Visual Studio 2013, if possible, else with new installations of VSCode for Windows)
When anyone checks in anything, I want to deploy the latest and greatest content (both markdown files and images) to a web folder.
Can all the above be done?
As a note, I have all this implemented today as a VS2013 web project which connects to TFS2015 and uses a custom build to deploy on the web server. This is working, but unfortunately it cannot be accessed from OS X machines using VSCode, hence the question.
Yes the above can be achieved. VS Code on OS X or any tool on any OS is agnostic to the host system for the remote Git repo.
The git client being used by VS Code only cares about is the path (URL in case of TFS 2015) and the authentication/authorization mechanism to the remote git repo.

I want to keep my source protected on my development machine, how would I deploy ASP.NET MVC to the server?

I'm not exactly sure what to do, normally I do a commit to SVN and Cruise Control does all this stuff on the server to pull from the repo and deploy everything.
However I am just playing around for fun with my personal VPS and want to know how I can from Visual Studio 2010 (web express) on my local machine just make some kind of installer or DLL or whatever and how to deploy it to my VPS of Windows Server 2008.
Do I upload via FTP and run something or place some files in a certain location and configure through IIS? Or is there some way Visual Studio can just interface with my server and impregnate it with my beautiful code?
From the description given, I'd recommend 2 options:
check whether your server installation currently supports one-click publishing. It's likely an IIS configuration task(s) and/or ensuring your server supports MSDeploy/WebDeploy. See "One-Click Publishing - What's New". Publish Use Visual Studio 2010's Publish command to perform a Web Deploy of your solution.
setup an FTP server on your server. Use Visual Studio 2010's Publish command with the FTP option to push your built solution.
Would this MSDN article help?
The thing is there's capabilities in Visual studio that can publish a web application on a web server.
But you can always do an xcopy deployment as well. And since you've obviously never deployed a web application yet maybe it would be good to learn something and actually deploy it manually.

Resources