Publish Asp.NET MVC site?

0

I developed a site in ASP.NET MVC and now I want to post it to my provider using FTP.

I've done all the FTP configuration in Publish of VS 2013 that I'm using. When you send the Controllers , Enums folders and others are not sent to the provider and even the App_Start folder.

I tested and published on fFile system_ and those folders are not created either. The only folders that are sent to the provider are: bin , Content , fonts , Images Scripts and Views .

My question is: why are not these other folders sent to the provider by FTP?

    
asked by anonymous 06.06.2017 / 17:47

1 answer

4

Because the files contained in these folders are not required for the application to run.

In these folders there are files that you develop in C # (VB.NET or other supported language), these files will be compiled into a DLL and it is only from this DLL that IIS needs to run the application.

The DLL's are all in the bin folder, both the DLL's for your code and the project's dependency DLLs.

See more about this:

06.06.2017 / 18:06