Hi,
We have build an ASP.Net 2.0 framework for our corporate sites. This
framework add some asmx files that are used by all application. The asmx
files only contains the directive
<%@ WebService Language="C#" Class="OurFrame workServiceClas s" %>
The class is defined in a dll (then w/o source code) that is place in the
BIN directory.
What I want to achieve, is to simplify the development of new application by
adding only the DLL to the bin directory, and without having to put the asmx
file in the application folder.
Is there any way to "instanciat e" an webservicehandl er without having to
have a physical asmx file ?
If required, I can add a new line in the web.config file (in handlers
section), but my first test tells me the asmx file is mandatory ...
Thanks in advance,
Steve 2 1675
If you want to completely can the ASMX, you can do it with an HttpHandler.
It makes things difficult to debug and adds a whole layer of complexity on
the system, but it can be done. I would not personally go this direction
simply to get rid of a file with a pointer, as it adds man hours, complexity
and the potential for errors that would not occur if you simply keept the
ASMX files. I would not do it, but your mileage may vary. :-)
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
*************** *************** ***************
Think outside the box!
*************** *************** ***************
"Steve B." <st**********@c om.msn_swapwrot e in message
news:OD******** ******@TK2MSFTN GP03.phx.gbl...
Hi,
We have build an ASP.Net 2.0 framework for our corporate sites. This
framework add some asmx files that are used by all application. The asmx
files only contains the directive
<%@ WebService Language="C#" Class="OurFrame workServiceClas s" %>
The class is defined in a dll (then w/o source code) that is place in the
BIN directory.
What I want to achieve, is to simplify the development of new application
by adding only the DLL to the bin directory, and without having to put the
asmx file in the application folder.
Is there any way to "instanciat e" an webservicehandl er without having to
have a physical asmx file ?
If required, I can add a new line in the web.config file (in handlers
section), but my first test tells me the asmx file is mandatory ...
Thanks in advance,
Steve
Thanks, I'll take care of your arguments
Steve
"Cowboy (Gregory A. Beamer)" <No************ @comcast.netNoS pamMwrote in
message news:ED******** *************** ***********@mic rosoft.com...
If you want to completely can the ASMX, you can do it with an HttpHandler.
It makes things difficult to debug and adds a whole layer of complexity on
the system, but it can be done. I would not personally go this direction
simply to get rid of a file with a pointer, as it adds man hours,
complexity and the potential for errors that would not occur if you simply
keept the ASMX files. I would not do it, but your mileage may vary. :-)
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
*************** *************** ***************
Think outside the box!
*************** *************** ***************
"Steve B." <st**********@c om.msn_swapwrot e in message
news:OD******** ******@TK2MSFTN GP03.phx.gbl...
>Hi,
We have build an ASP.Net 2.0 framework for our corporate sites. This framework add some asmx files that are used by all application. The asmx files only contains the directive
<%@ WebService Language="C#" Class="OurFrame workServiceClas s" %>
The class is defined in a dll (then w/o source code) that is place in the BIN directory.
What I want to achieve, is to simplify the development of new application by adding only the DLL to the bin directory, and without having to put the asmx file in the application folder. Is there any way to "instanciat e" an webservicehandl er without having to have a physical asmx file ? If required, I can add a new line in the web.config file (in handlers section), but my first test tells me the asmx file is mandatory ...
Thanks in advance, Steve This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: mkosca01 |
last post by:
Hello,
I have recently downloaded and installed the Soap Toolkit 3.0 from
microsoft. I have successfully created the example web service DocSample1
and am able to run this from the command line using the following .vbs
file.
Option Explicit
Dim soapClient3
|
by: EP |
last post by:
I'm using HttpRuntime.Process to process asp.net and web service requests.
My question is, is it possible to dynamically provide that "file contents"
of the asmx to the runtime?
I'd like to dynamically publish items but not actually have them located in
a physical file. Is this possible?
So the request would be for server/myApp/SomeFile.asmx, and instead of
letting the HttpRuntime pick up that file I would give it what I thought the...
|
by: Rod Gill |
last post by:
Hi,
I've just installed VS 2003 on Win XP Pro. I have SQL Server SP3 developer
installed and IIS with all windows updates on my PC. When I try to create a
new ASP.NET Web Service with the location:
http://localhost/XMLWebServices/Test it fails to create the web service
because: the file path does not correspond to the url. The two need to map
to the same server location. Http error 401: access denied.
I've only installed VB.Net with...
|
by: dq_user_cjr |
last post by:
I want to make some of my web methods avaible but basically want to hide them
in the WSDL file so not just everyone can consume them. Is there a way using
attributes to still have certain web methods exposed in the WSDL and others
not? Or is there a way to provide a customer WSDL file where I can just take
out the data relating to the methods I want to hide and have that WSDL be the
one that .Net displays when users access the WSDL file...
|
by: Brian Delahunty |
last post by:
I'm having a bit of a weird problem and I've spent the last few hours
scouring the web trying to solve this before coming here.
Here is the problem:
I get 404 errors for all ASP.NET 2.0 content trying to be served from IIS.
Setup:
IIS 6 (64 bit)
Windows Server 2003 64bit
ASP.NET 2.0 (64 bit)
| |
by: Tim Reynolds |
last post by:
Team,
I am developing a web service. In testing in on my enw PC, I am expecting to
see exceptions thrown appear on my browser. Instead I am getting an HTTP 500
Internal Server Error page and I am not seeing my exception details. The
web.config file being used has the setting <customErrors mode="Off"/>. This
should allow me to see the detailed exception info. On a different computer
- same code - same web config - the exception details...
|
by: shamirza |
last post by:
· When was .NET announced?
Bill Gates delivered a keynote at Forum 2000, held June 22, 2000,
outlining the .NET 'vision'. The July 2000 PDC had a number of sessions
on .NET technology, and delegates were given CDs containing a
pre-release version of the .NET framework/SDK and Visual Studio.NET.
· When was the first version of .NET released?
The final version of the 1.0 SDK and runtime was made publicly
available around 6pm PST on...
|
by: shamirza |
last post by:
· What is view state and use of it?
The current property settings of an ASP.NET page and those of any
ASP.NET server controls contained within the page. ASP.NET can detect
when a form is requested for the first time versus when the form is
posted (sent to the server), which allows you to program accordingly.
· What are user controls and custom controls?
Custom controls:
A control authored by a user or a third-party software vendor that...
|
by: senglory |
last post by:
I wrote in web.config the following lines:
<system.web>
<customErrors mode="Off"/>
</system.web>
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |