How to change the default "double click" action of a web service in a class library (VS2010)?

Posted by JL on Stack Overflow See other posts from Stack Overflow or by JL
Published on 2010-06-01T11:27:19Z Indexed on 2010/06/01 11:33 UTC
Read the original article Hit count: 129

Filed under:

I have a web service defined as follows, residing in a class library:

[WebService(Namespace = "http://comp.com/")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line. 
    // [System.Web.Script.Services.ScriptService]
    public class SendingItems_new : System.Web.Services.WebService

When I double click it, instead of going to code view, it shows the design view.

I NEVER use design view, so how can I get it to open up code view instead, its very annoying having to flick from design view each time.

Thank you

© Stack Overflow or respective owner

Related posts about visual-studio-2010