Monday, March 26, 2012

Why need to upload source code also?

I converted my web service project from .Net 1.1 to 2.0. I uploaded the .dll files as I did in .Net 1.1. However, an error occur saying that cannot find .cs file. After I uploaded the .cs files, it run properly. Why and how to configure to use only the .dll?

Many Thanks

Hi,

Check these articles. The deployment model has changed in ASP.NET 2.0 and the BIN folder is no longer the key thing.

http://dotnetjunkies.com/WebLog/leon/archive/2005/06/23/128339.aspx

http://west-wind.com/weblog/posts/2128.aspx

You can either upload the Source code files and other files as both will be compiled dynamically, or, create an assembly of both the files and deploy. Check the articles which provide the steps.

Thanks.

0 comments:

Post a Comment