ASP.NET Application Deployment in IIS
Here are the steps you need to follow on how to deploy your application on IIS.
1. Create a virtual directory on IIS
2. Mark it as an application. Note if you do not mark it as an application, then it would not load binaries under /bin folder that might cause errors.
3. Upload your .aspx and .ashx files into application root folder on IIS.
4. Create a bin folder and then upload the your DLL.
Note: You do not need to upload your .cs file, .csproj, .sln files and .pdb files.
You are all set to launch your web application now.