How to change (set) the title of my ASMX page

Posted on 2012-08-18
Last Modified: 2012-08-23
When viewing the following  ASMX file, there is a blue bar across the top that shows "CoolData". I remember (and forgot) that I was able to change the title of my ASMX page ... in the web.config file (I think).


<ToolboxItem(False)> _
Public Class CoolData
    Inherits System.Web.Services.WebService

--> What are the settings in the web.config file that handles this ?

Question by:MikeCombe
    LVL 18

    Expert Comment

    by:Rajar Ahmed
    "there is a blue bar across the top that shows "CoolData"

    What do you mean by this . Can u post screen shot where it displays .?

    Author Comment

    I discovered that what I am looking for is "setting WebServices Attributes"
    I want to set the NAME for the WEb service
    I think it might be in web.config

    still looking...

    Accepted Solution

    Change this.....

    <System.Web.Services.WebService(Namespace:="")> _
    <System.Web.Services.WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1)> _
    <ToolboxItem(False)> _
    Public Class Test
        Inherits System.Web.Services.WebService

    to this....

    <System.Web.Services.WebService(Namespace:="", _
        Name:="Your custom title goes here", _
        Description:="Your custom description goes here")> _
    <System.Web.Services.WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1)> _
    <ToolboxItem(False)> _
    Public Class Test
        Inherits System.Web.Services.WebService

    Author Closing Comment

    perfect answer

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
    International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
    The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
    This video is a brief demonstration on how to use security groups and Network Access Control Lists (ACLs) in Amazon Web Services.  Security groups and Network ACLs are mechanisms you can use in AWS to control network traffic.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now