Reputation: 507
Is it Necessary to Deploy the .cs and .designer.cs files of .aspx page while transferring the files through FTP to Deployment sever? Or Does the application dll can takes care of it?
Upvotes: 3
Views: 4527
Reputation: 4817
No that isn't necessary, the .cs
and .designer.cs
files are compiled into a .dll
file for deployment.
More info can be find in this article:
Determining What Files Need to Be Deployed (C#)
Upvotes: 6
Reputation: 63962
The DLLs and the aspx pages should be the only thing you need to deploy. .designer
and .cs
files are for you to continue development.
Upvotes: 5