Re: Howto: WebService in not Bin folder?

From: Topper (alexander.rodenkov_at_bix.ru)
Date: 12/15/04


Date: Wed, 15 Dec 2004 12:26:35 +0300

ASMX file has definition(assembly name) of my WebService object for
ASP.NET.
ASP.NET searching my WebService assembly in bin folder (by default it
defined in machine.config file)

But if i place my WebService dll not in bin folder ASP.NET cann't found it
and error occured.
MSDN describe how can i configure my WebService for new place (not bin
folder, for example) - using tags <codebase>, ... etc. - but in my case it
doesn't work absolutly (i'm trying to understood why)
This configurations placed in web.config file in the same folder as my Web
application - this text file i want to prevent for local use.
My question is: can i configure my WebService without using web.config -
only using object/class model?
And where can i get examples?

Thank You.

"Dan Rogers" <danro@microsoft.com> wrote in message
news:fIg1b6j4EHA.3744@cpmsftngxa10.phx.gbl...
> It's not clear to me what you are trying to do. Where is this text file
> you want to not allow access to? How will moving the DLL change this?
>
> The path to the DLL (the web service implementation) is referenced in the
> asmx file. Simply change it to suit.
>
> I hope this helps ... even if It's not clear to me what the issue is.
>
> Regards
>
> Dan Rogers
> Microsoft Corporation
> --------------------
> Reply-To: "Topper" <alexander.rodenkov@bix.ru>
> From: "Topper" <alexander.rodenkov@bix.ru>
> Subject: Howto: WebService in not Bin folder?
> Date: Tue, 14 Dec 2004 16:33:55 +0300
> Lines: 17
> Organization: BIX
> X-Priority: 3
> X-MSMail-Priority: Normal
> X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
> Message-ID: <#$DjCGe4EHA.2804@TK2MSFTNGP15.phx.gbl>
> Newsgroups: microsoft.public.dotnet.framework.webservices
> NNTP-Posting-Host: biks.rmt.ru 213.252.119.58
> Path:
>
cpmsftngxa10.phx.gbl!TK2MSFTNGXA06.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTNGP08
> phx.gbl!TK2MSFTNGP15.phx.gbl
> Xref: cpmsftngxa10.phx.gbl
> microsoft.public.dotnet.framework.webservices:8069
> X-Tomcat-NG: microsoft.public.dotnet.framework.webservices
>
> Hello.
> I have simple web folders structure:
> -ROOT
> - BIN
> WebService.dll
> WebService.asmx
>
> I need to use my WebService.dll not in bin folder - for example, in ROOT.
> How do i this?
> How can i do this without .config file only with some configuration
> object/class? I need this for prevent access locally to text file - i want
> to do this only in binary! How is it possible?
> Where can i get information about this with examples?
>
> Thank you.
>
>
>



Relevant Pages

  • Re: Web service reference reverts to old version
    ... I think we've tracked it down - there was a copy of an old asmx file in one ... Is the webservice serverside an ASP.NET WebService ... Try creating another new separate winform app and add the webservice's ... > webreference in that new app to see whether it can generate the correct new ...
    (microsoft.public.vsnet.general)
  • RE: asmx file visibility
    ... If one opens the asmx file with a text editor, ... Designer page with a couple of links and of course a WebService does not have ... In both cases we are using localhost and not ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Help on deploying webservice
    ... In IIS 6.0, you have application pools assigned your ... I've mapped the database to .NET class properties and methods to ... I install the webservice setup prog. ... I tried accessing the asmx file from the same ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Howto: WebService in not Bin folder?
    ... > But if i place my WebService dll not in bin folder ASP.NET cann't found it ... CODEBEHIND attribute in the .ASMX file. ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Howto: WebService in not Bin folder?
    ... I'm trying to use webservice business logic only in binary file and ... >> But if i place my WebService dll not in bin folder ASP.NET cann't found ... > CODEBEHIND attribute in the .ASMX file. ... > temporary class by inheriting the codebehind class from the DLL. ...
    (microsoft.public.dotnet.framework.webservices)

Loading