473,403 Members | 2,323 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

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

EP
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
contents should be?

Thanks,
Nov 18 '05 #1
2 1627
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@newsgrouponly.com> wrote in message
news:uu*************@TK2MSFTNGP11.phx.gbl...
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 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
WebServiceHandler instead of it getting the type from the asmx file?

"Cowboy (Gregory A. Beamer)" <No************@comcast.netNoSpamM> wrote in
message news:u0**************@TK2MSFTNGP12.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@newsgrouponly.com> wrote in message
news:uu*************@TK2MSFTNGP11.phx.gbl...
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
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
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...
175
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...
8
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...
9
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 ...
2
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
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,...
0
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,...
0
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...
0
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...
0
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.