James Hurst
James Hurst

Reputation: 147

How do you deploy ("Publish") a website to Azure?

How do you 'Publish' a website from VS (Visual Studio 2019), to Azure?

I set up an Azure account, and my website is implemented in ASP.NET MVC Core. I went thru the tutorials and every gd one is showing steps out of some previous version that fails to help guide me today.

I want to host this on an Azure App Service. Do I have to create an App Service from within Azure Portal, first, or does VS do that for me? What do I put for these other fields (image is attached) ?

The VS Publish dialog VS pre-entered this value for "Server:", and for "User name:" it put $Designforge (what the heck is that?!)

I am just trying to do the simplest-possible way, right now.

Should I put my Azure user-name and password on this dialog? When I do, and click on "Validate Connection" I get the failure-message that you see in this screenshot.

I've really no idea how to proceed with this most simple of tasks. Hanging my head in abject shame. Thanks for any help, James

Upvotes: 1

Views: 279

Answers (1)

suziki
suziki

Reputation: 14111

Now I know what you are facing about.

I find your password is too short so I guess you press the wrong password.

enter image description here

This is what you meet ,right?

Solution:

Go to your portal, select get publish profile.

enter image description here

Download and paste the username and password to your vs publish dialog.

enter image description here

Do you understand now?

Upvotes: 1

Related Questions