development guide - Learnathon-By-Geeky-Solutions/binary-brains GitHub Wiki

๐Ÿš€ ASP.NET MVC Deployment Guide

This guide explains how to deploy your ASP.NET MVC project using FreeASPHosting.net and Somee.com.


โœ… Prerequisites

  • ASP.NET MVC project (.NET Framework)
  • Visual Studio installed
  • GitHub repository with the latest code
  • Working .sln and .csproj files
  • Internet access

๐Ÿ”ง Step-by-Step Deployment (FreeASPHosting.net)

1. Register & Login

2. Create a New Website

  • Click โ€œCreate Websiteโ€
  • Choose a subdomain, e.g., yourproject.freeasphosting.net
  • Choose the correct .NET Framework version (commonly .NET 4.8)
  • Click Create Website

3. Publish from Visual Studio

  • In Visual Studio, right-click your project > Publish
  • Select FTP as the publish method

4. Enter FTP Credentials

From FreeASPHosting dashboard, get:

  • FTP Host
  • Username
  • Password
  • Destination URL or Site folder

In Visual Studio:

  • Target location: ftp://your-ftp-url.com/wwwroot/
  • Enter your credentials
  • Click Validate Connection
  • Then click Publish

5. Verify Deployment

  • Open your browser and visit:
    https://yourproject.freeasphosting.net/
  • Your site should be live!

๐ŸŒ Optional Deployment to Somee.com

Somee provides an alternate ASP.NET hosting environment.

1. Create an Account

2. Create a Web App

  • Choose Free ASP.NET Hosting
  • Set a subdomain like yourproject.somee.com
  • Choose ASP.NET version and hosting plan (Free Tier)
  • Setup database if needed (SQL Server)

3. Deploy Using FTP

  • Go to Hosting โ†’ FTP Settings
  • Use these credentials in Visual Studio Publish settings
  • FTP Target: ftp://yourdomain.somee.com/wwwroot/
  • Validate and Publish

4. Check Your Site

  • Visit:
    https://yourproject.somee.com/
    to confirm itโ€™s deployed.

๐Ÿ“Œ Tips

  • Always build in Release mode before publishing.
  • Clean and rebuild the project if you get publish errors.
  • Avoid spaces or special characters in your folder names.
  • Set your database connection string in Web.config properly.

๐Ÿ“‚ Resources


๐Ÿงค Maintained by the AmarTech Team. For help, create an issue or contact us.