Systems Distributed Designer - ASP.NETWebService > ASP.NETWebApplication

Hi,

Everytime I add an ASP.NETWebService it automatically becomes an ASP.NETWebApplication.

Can anyone tell me why this is and how to actually add an ASP.NETWebService to the designer.

Note: I don't want to connect to an ExternalWebService.

Thanks in advance.

Grant.



Answer this question

Systems Distributed Designer - ASP.NETWebService > ASP.NETWebApplication

  • Sivaramaiah

    Hi Ian,

    Thanks for your reply - much appreciated and very useful.

    You didn't misunderstand my question at all :)

    Kind Regards,

    Grant.


  • CharlieL

    Hi Grant,

    There is no difference internally between an ASP.NETWebService and an ASP.NETWebApplication. The differences can be boiled down to the project templates used during initial code generation and the starting endpoints contained by the application. You can freely convert one ASP.NET web application type to the other by changing the endpoints and project templates. Even after code generation you can convert freely between the two by adding/removing endpoints. The differences are as below:

    ASP.NETWebService:
    Contains one WebServiceEndpoint
    Project Template = Empty Web Site

    ASP.NETWebApplication:
    Contains one WebContentEndpoint
    Project Template=ASP.NET Web Site

    Hope this helps, but if I've misunderstood your question please let me know and I'll be happy to help.

    Ian Bavey
    Software Development Engineer
    Visual Studio Team Edition for Software Architects


  • Systems Distributed Designer - ASP.NETWebService > ASP.NETWebApplication