publishing the website on hosting


To host a website you need to publish it.

Is publishing in debug mode creates problem
Who is Participating?
oobaylyConnect With a Mentor Commented:
No, it's not a good idea, as it will reduce performance & render times, and increase loading on the web server. Have a look at this article:

When I deploy a website onto a production server, I always make sure the debug attribute is set to false. Also, if the Database is stored on the same server, I tell it to connect to the database via localhost, rather than a hostname & disable encryption (In MSSQL) to reduce CPU load.
Tapan PattanaikSenior EngineerCommented:
hi Karan,
              can you kindly mention your problems. which type of problem you are facing in debug mode.
You don't give a lot of information. But perhaps it has to do with this.

    <customErrors mode="Off"/>

This disables your debug mode on a webserver.
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

KaranGuptaAuthor Commented:
I don't have any problem it is just a query

is it a good practice to publish the site in debug mode
KaranGuptaAuthor Commented:

Any updates?

Karan Gupta
Oops, just realised that should have been "reduce performance, and increase render times & loading on the web server"
I think you got the idea though :-)
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.