Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3242664
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T18:20:30+00:00 2026-05-17T18:20:30+00:00

I am going to deploy my first MVC web application to the internet. As

  • 0

I am going to deploy my first MVC web application to the internet.

As is the first app with this framework for me, I was wondering if I can collect some advices regarding what should be done to prevent troubles.

I am generic on the question and this is xpressely done to collect the most various answers.

Thanks!

UPDATE:

Thanks everybody for your answers. The question does not just regards the “deploy” scope but even more these scopes:

  • Security
  • Public Hosting
  • Application Management & Operations

In short, all the issue that need to be addressed from the initial deploy on.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T18:20:31+00:00Added an answer on May 17, 2026 at 6:20 pm

    If you are going to deploy within the hour:

    1. Make sure the reference to System.Web.Mvc is marked as Copy Local=True in your project. It tends to default to False, and so will not be copied to your bin folder, causing the app to fail when deployed. Review any additional assemblies you may have added to the project for Copy Local=True.

    2. Make sure stack traces aren’t shown to end users when an exception occurs in your code. Use the <customErrors> in web.config to specify your own error page(s).

    3. In your web.config, make sure that the connection strings will work on the server you’ll be deploying to.

    4. Is your application writing to disk for any reason? Logging perhaps? Some hosting services will not let your app write to disk — worth checking ahead of time.

    5. Deploy to a local folder, and sanity-check that published app. Are scripts, stylesheets, images loaded without glitches?

    If you have a little bit more time on your hands:

    1. Review the code for security, XSS considerations: are inputs sanitized? Is user input encoded correctly when rendered in views?

    2. Review the data schema. This may be your last opportunity to modify an empty database. Once you deploy, you can only hope to be gently updating live data, trying to avoid harming existing data and dependencies in application logic.

    3. If you haven’t already, make sure to set up a google analytics account. You’re going to be curious about how your site is being used, and this is one of the best free tools available. Goog analytics, as well as search engine registrations will require you to place files with funky names in the root ‘folder’ of your domain name. Verify that your app can serve files from the root folder, or set up a controller+routing to handle those requests.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm going to deploy new paid app to appstore. This app will connect to
This is my first rails app deploy, so please forgive me if the solution
I am going deploy grails web application to another computer. That another computer already
We are new to Azure and are going to deploy our first app in
I'm going to deploy an ASP.NET MVC project on IIS (6.0 & 7.5) but
I'm a novice with capistrano, and I'm going to deploy my app in linode
I'm going to build an installer to deploy my application which is a Windows
I have this Capistrano task: namespace :deploy do task :precompile, :role => :app do
I'm using Heroku to deploy my Play! framework app. I have a form that
Can not reproduce this error on local devserver (1.5.0) but when we deploy code

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.