Using .NET

LFC Hosting fully supports the Microsoft .NET Framework (including ASP.NET), all development standards and defaults, along with the following extensions:

Note: When deploying any .NET application that uses a web.config file, the associated application files must be located in a directory within your account that is configured as a .NET application root. By default, the root of your account, along with the root subdirectories of any domain names setup on your account, are configured as application roots.

Through the Application Administration tool in your Control Panel, you can add additional .NET applications below your account/domain root(s), as well as change the .NET version of applications, delete applications, and recreate applications that were previously working but are now failing. Two errors that recreating an application can attempt to resolve are:

  • Http Error 500 - Internal Server Error (Why do I have a 500 Error?)
  • Server Application Error. The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detailed information. Please contact the server administrator for assistance.

To get started with .NET, read the .NET Framework SDK documentation at

To connect to a database using .NET, you will need to use a DSN or DSN-less connection string. A DSN connection string requires you to set up a DSN in DSN Administration or SQL Administration (for SQL Server databases). Once there, click on the "View Sample Connection String" link for a number of sample connection strings.

Was this answer helpful?

 Print this Article

Also Read

Why do I have a 500 Error?

By default, our Windows hosting accounts display a generic error when applications generate an...

Using MySQL

MySQL is the world's most popular open-source database server on the World Wide Web. It is...

Using Sendmail

Sendmail is primarily a UNIX mailer daemon used to send e-mail. Many scripts call this program...

Setting up a permanent 301 redirect via .htaccess

A permanent 301 redirect in your .htaccess file lets search engines and others know that an old...

Using .NET Core

LFC Hosting fully supports Microsoft .NET Core 2.To enable .NET Core you need to configuration an...