473,698 Members | 2,371 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

asp.net hosting outside of IIS, path to "virtual" file?

EP
I'm using HttpRuntime.Pro cess 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
contents should be?

Thanks,
Nov 18 '05 #1
2 1642
There are quite a few ways to "publish dynamically" but I am not certain
running all of your UI through ASMX is the wisest solution, as it tightly
couples your UI elements with the business layer. You could create a
model-view-controller pattern for UI and still use ASMX for the backend,
which is a better architecture. I saw an article on this on the Microsoft
MSDN site. I believe it was in architecture
(http://msdn.microsoft.com/architecture).

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************** *************** *************** *************** **********
Think Outside the Box!
*************** *************** *************** *************** **********
"EP" <ep@newsgroupon ly.com> wrote in message
news:uu******** *****@TK2MSFTNG P11.phx.gbl...
I'm using HttpRuntime.Pro cess 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 contents should be?

Thanks,

Nov 18 '05 #2
EP
Nothing about this has UI involved.

The "quite a few ways", are they ways to pass a type into the
WebServiceHandl er instead of it getting the type from the asmx file?

"Cowboy (Gregory A. Beamer)" <No************ @comcast.netNoS pamM> wrote in
message news:u0******** ******@TK2MSFTN GP12.phx.gbl...
There are quite a few ways to "publish dynamically" but I am not certain
running all of your UI through ASMX is the wisest solution, as it tightly
couples your UI elements with the business layer. You could create a
model-view-controller pattern for UI and still use ASMX for the backend,
which is a better architecture. I saw an article on this on the Microsoft
MSDN site. I believe it was in architecture
(http://msdn.microsoft.com/architecture).

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************** *************** *************** *************** **********
Think Outside the Box!
*************** *************** *************** *************** **********
"EP" <ep@newsgroupon ly.com> wrote in message
news:uu******** *****@TK2MSFTNG P11.phx.gbl...
I'm using HttpRuntime.Pro cess 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
contents should be?

Thanks,


Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
13456
by: cppaddict | last post by:
Hi, I know that it is illegal in C++ to have a static pure virtual method, but it seems something like this would be useful when the following 2 conditions hold: 1. You know that every one of your Derived classes will need to implement some method, but implement it differently, and that the base class cannot implement it. This is where pure virtual comes in.
175
8807
by: Ken Brady | last post by:
I'm on a team building some class libraries to be used by many other projects. Some members of our team insist that "All public methods should be virtual" just in case "anything needs to be changed". This is very much against my instincts. Can anyone offer some solid design guidelines for me? Thanks in advance....
8
4039
by: Asfand Yar Qazi | last post by:
Hi, I have the following header file in my 'everything useful I think of in one place' library: ============= BEGIN CODE SNIPPET =========== /** All classes that derive from this obtain a 'virtual constructor' - ie if the 'clone()' method is called on a polymorphic type, an object of the same (unknown) type is returned. */
9
4013
by: larrybud2002 | last post by:
I've read about this error in this group and others from early 2006 but without any resolution, so I thought I'd bump it up to see if there's a solution. Trying to build a website on http://oursite:8080/ and it returns
2
5105
by: Nathan | last post by:
I need to take a path "~/" and get a http://localhost:port/rootappfolder/ url out of it. Currently I'm using: Request.Url.Scheme + "://" + Request.Url.Host + this.ResolveUrl("~/"); //this is run from the context of a user control. Is this the best way to do this by rebuilding the url from the client request?
0
8609
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,...
0
9170
Oralloy
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...
0
9031
jinu1996
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...
1
8901
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,...
0
8871
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5862
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4622
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3052
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
3
2007
bsmnconsultancy
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.