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 http://msdn.microsoft.com/netframework/

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

How to connect with FTP, SFTP or FTPS

Old hostnames like ftps.domain.com, ftp.domain.com, domain.com or serverXX.lfchosting.com no...

Using Microsoft SQL Server

This discussion assumes that you have basic knowledge of Microsoft SQL Server and the client...

Accessing Your Detailed Web Site Access Statistics

LFC Hosting offers nightly Web site statistical traffic analysis for all of your domain names....

Using .NET Core

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

Pointing your domain to your shared hosting account.

If your domain name is registered and owned by you but does not currently point to the LFC...