As searching has returned very little, my question is simple yet seems to have a complicated explaination. How does one go about processing and sending aspx pages that don't have a physical location (i.e. the apsx page is built in a string or is an embedded resource) to the client? I've had a look at the SimpleWorkerRequest but the only thing I could find was that it needed a physical file to play with. I've also looked at HttpWorkerRequest which was suggested on a page I cant find that it doesnt need physical pages. Also browsed across AspNetServer by lcomplete but I found it hard to follow as half of it seems to be complletely unused, half the comments are in simplified chinese, and half english. If anyone could shed a little light on this it would be greatly appreciated.
Recommended Answers
Jump to PostHi
Can I ask why you would want to do this? Can you not have a physical aspx page that can be rendered according to whatever needs you have. You obviously have some logic somewhere as you mention building a string, so could this logic be applied to rendering a …
Jump to PostHi
This smells bad. I mean that nicely in that it smells of a bad design. There are many ways to ensure that your pages are protected from unauthorised use (if that is your concern) and with a properly design and architected site your file count shouldn't be too large …
Jump to PostHi
I'm not totally versed with steam but this doesn't sound like it is a huge site. Have you already got a site in development or are you exploring options at this stage?
Also, what level of programming are you at? I don't want to teach you to suck eggs …
Jump to PostIn addition to routing to a single ASPX page you could also consider creating this using ASP.NET MVC. This would allow you to use controllers to return a string of HTML to a view meaning that you could have one view that …
All 13 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.