I've created a project in VS of type Site. I've created a bunch of asmx services. To make it work on IIS, I just copied cs and asmx files to site's folder. Everything works perfect. Now, when it comes to deploy my services from local pc to development server, I was told to deliver a single dll. I don't see how I can compile a dll on this type of project. Is it possible?
Then, I created an ASP.Net project, put all my stuff there. It created a single dll. But if I put it that folder and tell my asmx, that code behind is in that dll, I get parse error when try to check it in browser.
WebService1.asmx:
<%@ WebService Language="C#" CodeBehind="~/AllWebServices.dll" Class="MyNamespace.WebService1" %>
Maybe I need to add smth in Class attribute?