Login Register
Code2night
  • Home
  • Blog Archive
  • Tutorial
  • Interview Q&A
  • Languages
    • Angular
    • C
    • c#
    • C#
    • HTML/CSS
    • Java
    • JavaScript
    • Node.js
    • Python
    • React
    • Security
    • SQL Server
    • TypeScript
  • Post Blog
  • Tools
    • JSON Beautifier
    • HTML Beautifier
    • XML Beautifier
    • CSS Beautifier
    • JS Beautifier
    • PDF Editor
    • Word Counter
    • Base64 Encode/Decode
    • Diff Checker
    • JSON to CSV
    • Password Generator
    • SEO Analyzer
    • Background Remover
  1. Home
  2. Blog
  3. Publishing ASP.NET Core MVC Applications Using FTP

Publishing ASP.NET Core MVC Applications Using FTP

Date- Aug 13,2022

8979

Publish using FTP

Step 1: First you need to logging into your control panel. you can log in to your hosting account easily with the username and password.

Step 2: After entering the username and password, a list of configuration options will appear, like, as websites and domains, resource usage, emails, files, etc. 

To create a subdomain you click on add subdomain button


Step 3: After clicking on a subdomain new window will open you enter your website name then click on ok 


Step 4: After creating a subdomain you can see your subdomain configuration settings. To check whether your subdomain is working properly or not you click on the "preview" button  or "open in web" button


Step 5: After clicking on the preview you see the subdomain is working 


Step 6: Here, to deploy your web application to a hosting provider, the IIS on the local computer, or an internal server. 


Here we learn how to publish Asp.net core and MVC web applications using the FTP (File Transfer Protocol) option in visual studio. To publish and deploy to a web server we will use a simple application "blog" See the below Image.


Now we build and then run the application and you see the output. Following is the snapshot after running the application 


To publish the application right click on the project then you see the publish option then click on Publish, like as shown below 


After selecting publish option you see the new window then click on new as shown below 


After clicking on the new option, you see the new window then click on FTP/FTPS Server as shown below 

Server: Here, you fill in the name of your ISS website and application, such as webservice.com

Site Path: Here, to deploy your web application to a hosting provider, the IIS on the local computer, or an internal server. 

FTP User Name and FTP Password: You enter the login credentials for an account to give the authority to execute certain deployment tasks. 

Enter the following details :
Server: blog.code2night.com

Site Path: /blog.code2night.com

Destination Url: blog.code2night.com

FTP User Name : code

FTP Password: Your_Password

After submitting all the details then click on validate connection option  to  check whether your connection is valid or not, if its shows  "green check" then your connection is valid then click on the next button 

 


After clicking on next you see a new window then open the file publish option 

 

  • If we want to remove additional files at the destination, then we need to select this option.


After saving all the configurations then we click on Publish button the web application is published  to the FTP hosting space we have provided 

After completion of publishing, you can check your location on FTP where you have published files. finally, we have completed publishing the application using FTP


You see the final output on "https://blog.code2night.com/"

S
Shubham Batra
Programming author at Code2Night โ€” sharing tutorials on ASP.NET, C#, and more.
View all posts โ†’

Related Articles

How to Encrypt and Decrypt Passwords in ASP.NET: A Guide
May 15, 2022
Exception Handling in ASP.NET Core: Best Practices
Aug 05, 2020
HTTP Error 500.31: Failed to Load ASP.NET Core Runtime
Aug 23, 2022
How to Implement PayPal in ASP.NET Core: Ultimate Guide
Oct 30, 2022
Previous in ASP.NET Core
Task Scheduling Made Easy in ASP.NET Core: Step-by-Step
Next in ASP.NET Core
HTTP Error 500.31: Failed to Load ASP.NET Core Runtime

Comments

Contents

๐ŸŽฏ

Interview Prep

Ace your ASP.NET Core interview with curated Q&As for all levels.

View ASP.NET Core Interview Q&As

More in ASP.NET Core

  • Task Scheduling Made Easy in ASP.NET Core: Step-by-Step 17500 views
  • Implement Stripe Payment Gateway in ASP.NET Core: Step-by-St… 16746 views
  • How to Send Emails with HTML Templates and PDFs in ASP.NET C… 16518 views
  • How to Implement PayPal Payment in ASP.NET Core 8.0 12886 views
  • How to Import Data from Excel in ASP.NET Core: Step-by-Step 12748 views
View all ASP.NET Core posts โ†’

Tags

AspNet C# programming AspNet MVC c programming AspNet Core C software development tutorial MVC memory management Paypal coding coding best practices data structures programming tutorial tutorials object oriented programming Slick Slider StripeNet
Free Download for Youtube Subscribers!

First click on Subscribe Now and then subscribe the channel and come back here.
Then Click on "Verify and Download" button for download link

Subscribe Now | 1760
Download
Support Us....!

Please Subscribe to support us

Thank you for Downloading....!

Please Subscribe to support us

Continue with Downloading
Be a Member
Join Us On Whatsapp
Code2Night

A community platform for sharing programming knowledge, tutorials, and blogs. Learn, write, and grow with developers worldwide.

Panipat, Haryana, India
info@code2night.com
Quick Links
  • Home
  • Blog Archive
  • Tutorials
  • About Us
  • Contact
  • Privacy Policy
  • Terms & Conditions
  • Guest Posts
  • SEO Analyzer
Free Dev Tools
  • JSON Beautifier
  • HTML Beautifier
  • CSS Beautifier
  • JS Beautifier
  • Password Generator
  • QR Code Generator
  • Hash Generator
  • Diff Checker
  • Base64 Encode/Decode
  • Word Counter
  • SEO Analyzer
By Language
  • Angular
  • C
  • c#
  • C#
  • HTML/CSS
  • Java
  • JavaScript
  • Node.js
  • Python
  • React
  • Security
  • SQL Server
  • TypeScript
© 2026 Code2Night. All Rights Reserved.
Made with for developers  |  Privacy  ยท  Terms
Translate Page
We use cookies to improve your experience and analyze site traffic. By clicking Accept, you consent to our use of cookies. Privacy Policy