WebService w/o .ASMX file (ASP.net 2.0)

Discussion in 'ASP .Net' started by Jay Douglas, May 15, 2007.

  1. Jay Douglas

    Jay Douglas Guest

    Is there any way to have a webservice w/o using the .asmx file?



    I have a class library that has various web service classes. I would like
    to have the capability of deploying these web services w/o the .asmx files.
    Is there something I can put in the web.config? I tried playing around with
    the HttpHandlers, reading on the net, etc. I'm unable to find a solution
    and the task seems plausible.



    Any suggestions or advise?



    Thanks in advance!

    Jay


    http://www.jaydouglas.com
     
    Jay Douglas, May 15, 2007
    #1
    1. Advertisements

  2. Yes, you can create a DLL that can be hit as a web service. You end up
    writing a lot of infrastructure to handle this, but it can be done. Afer you
    are finished, you will be responsible for publishing your own WSDL to
    describe the contract. If this sounds like fun, you can tackle it.
    Personally, I would consider another method.

    Best other method is to bite the bullet and move up to WCF.

    --
    Gregory A. Beamer
    MVP; MCP: +I, SE, SD, DBA
    http://gregorybeamer.spaces.live.com

    *********************************************
    Think outside the box!
    *********************************************
    "Jay Douglas" <> wrote in message
    news:...
    > Is there any way to have a webservice w/o using the .asmx file?
    >
    >
    >
    > I have a class library that has various web service classes. I would like
    > to have the capability of deploying these web services w/o the .asmx
    > files. Is there something I can put in the web.config? I tried playing
    > around with the HttpHandlers, reading on the net, etc. I'm unable to find
    > a solution and the task seems plausible.
    >
    >
    >
    > Any suggestions or advise?
    >
    >
    >
    > Thanks in advance!
    >
    > Jay
    >
    >
    > http://www.jaydouglas.com
    >
    >
     
    Cowboy \(Gregory A. Beamer\), May 15, 2007
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. asptodotnet
    Replies:
    1
    Views:
    536
    Daniel Fisher\(lennybacon\)
    Nov 18, 2004
  2. Craig G
    Replies:
    1
    Views:
    599
    William F. Robertson, Jr.
    Dec 6, 2004
  3. Andrea Raimondi
    Replies:
    1
    Views:
    708
  4. Maxwell2006
    Replies:
    1
    Views:
    2,417
    Steven Cheng[MSFT]
    Mar 31, 2006
  5. Steve B.

    [ASP.Net 2.0] Hiding asmx file ?

    Steve B., Mar 15, 2007, in forum: ASP .Net
    Replies:
    2
    Views:
    798
    Steve B.
    Mar 15, 2007
  6. Howard Hoffman

    ASMX pages / WebService Apps and ASP.NET Thread Pools

    Howard Hoffman, Jan 13, 2004, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    248
    Howard Hoffman
    Jan 13, 2004
  7. Marcel Wolterbeek

    Use webservice without .asmx file

    Marcel Wolterbeek, Apr 9, 2009, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    1,296
    Marcel Wolterbeek
    Apr 9, 2009
  8. Sriram

    Webservice, without ASMX?

    Sriram, Dec 12, 2009, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    943
    Sriram
    Dec 12, 2009
Loading...