If you are getting the below error when you publish your site to the hosting account:
Parser Error Message: Could not create type 'WebService1.Service1'.
The error mostly caused because of the missing code-behind class, put assemblies to the site bin folder will fix this issue.
Create a BIN folder in your site root folder, and move your .dll files to the new folder.