locked
compile web service single file c# RRS feed

  • Question

  • User-1075092149 posted
    i have modify my web services by adding some input parameter for service.cs file.
    if i want to deploy the updated web services, do i need to compile the cs file to Dll file?

    what can i do to copy the required file to another server?
    because my web service does not has solution or project, so i can't compiled by visual studio.

    how can i compile cs file to update asmx by command
    Thursday, May 15, 2014 11:20 AM

Answers

  • User-417640953 posted

    Hi,

    Thanks for your post.

    In my mind, if your webservice site bin folder' dlls combined by compiled single service .cs file

    You can add the compiled cs file to the webservice site bin folder.

    If all the web service files compiled in to a single dll file, I think you can try to create a project in Visual Studio

    and add those web service files to then update it and deploy it.

    Thanks.

    Regards!

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, May 16, 2014 5:01 AM
  • User1565039490 posted

    I am using Web Deploy Publishing feature to deploy services: http://msdn.microsoft.com/en-us/library/dd465337%28v=vs.110%29.aspx It's very convenient because Visual Studio takes care of everything.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, May 16, 2014 5:59 AM

All replies

  • User-417640953 posted

    Hi,

    Thanks for your post.

    In my mind, if your webservice site bin folder' dlls combined by compiled single service .cs file

    You can add the compiled cs file to the webservice site bin folder.

    If all the web service files compiled in to a single dll file, I think you can try to create a project in Visual Studio

    and add those web service files to then update it and deploy it.

    Thanks.

    Regards!

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, May 16, 2014 5:01 AM
  • User1565039490 posted

    I am using Web Deploy Publishing feature to deploy services: http://msdn.microsoft.com/en-us/library/dd465337%28v=vs.110%29.aspx It's very convenient because Visual Studio takes care of everything.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, May 16, 2014 5:59 AM