473,725 Members | 2,122 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Use IHttpHandler not ASPX for pro web apps

ASPX which means ASPX pages, the code-behind concept, User Controls,
Web Controls etc. is very poorly designed and makes it extremely hard
to develop professional quality web applications.

ASPX is Microsoft's attempt to "dumb down" web application development
to help unskilled developers such as web design agencies achieve some
results.

For high quality applications IHttpHandlers are the way to go.

To keep a line between the design and the function you can include some
XSLT in the output path.

Now the developer need only output the structural elements of the web
app - forms, form fields, submit buttons, hyperlinks and data
structures in XML-compatible HTML.

Each IHttpHandler will have an associated XSLT, for example:

http://server/path/script.aspx (this is mapped to httphandler)
which processes /path/script.xslt as the final step before output

The XslTransform can callback into the developer using a callback
object and namespace.

Now it is easy to do the following:

- create mostly self generating applications freeing you from the
manual labour that ASPX demands
- redirect after (attempted) state change requests
- form submit with location.replac e

You can also include an output validater that logs warnings of invalid
html output.

This approach also makes it quite simple to target your output to XHTML
or HTML4.0 etc.

Shame on the team at Microsoft reponsible for architecting ASPX.
What a load of rubbish.

And I feel sorry for people learning ASPX who haven't yet realised how
bad it is.
They have made the mistake of thinking that whatever comes from
Microsoft must be good.
Not alway true.

Feb 4 '06 #1
24 2753
I have a question for you regarding the subject of your post :
"Use IHttpHandler not ASPX for pro web apps"
If you intend to use IHttpHandlers for a web app,
exactly how are you going to do that without an ASPX page ?

After all, IHttpHandler is an interface in system.web: System.Web.IHTT PHandler,
and system.web is accessible from ASPX pages so, what are you going to use
to go back and forth between the client and the .Net Framework classes ?

Bottom line : if you're going to use System.Web.IHTT PHandler, you have to use ASPX.

You *cannot* use IHttpHandler and not use ASPX.

re: Now it is easy to do the following:
- create mostly self generating applications freeing you from the
manual labour that ASPX demands
Could you post example code ?


Juan T. Llibre
ASP.NET MVP
ASPNETFAQ.COM : http://www.aspnetfaq.com
=============== =============== ====
"John Rivers" <fi*****@btinte rnet.com> wrote in message
news:11******** **************@ f14g2000cwb.goo glegroups.com.. . ASPX which means ASPX pages, the code-behind concept, User Controls,
Web Controls etc. is very poorly designed and makes it extremely hard
to develop professional quality web applications.

ASPX is Microsoft's attempt to "dumb down" web application development
to help unskilled developers such as web design agencies achieve some
results.

For high quality applications IHttpHandlers are the way to go.

To keep a line between the design and the function you can include some
XSLT in the output path.

Now the developer need only output the structural elements of the web
app - forms, form fields, submit buttons, hyperlinks and data
structures in XML-compatible HTML.

Each IHttpHandler will have an associated XSLT, for example:

http://server/path/script.aspx (this is mapped to httphandler)
which processes /path/script.xslt as the final step before output

The XslTransform can callback into the developer using a callback
object and namespace.

Now it is easy to do the following:

- create mostly self generating applications freeing you from the
manual labour that ASPX demands
- redirect after (attempted) state change requests
- form submit with location.replac e

You can also include an output validater that logs warnings of invalid
html output.

This approach also makes it quite simple to target your output to XHTML
or HTML4.0 etc.

Shame on the team at Microsoft reponsible for architecting ASPX.
What a load of rubbish.

And I feel sorry for people learning ASPX who haven't yet realised how
bad it is.
They have made the mistake of thinking that whatever comes from
Microsoft must be good.
Not alway true.

Feb 4 '06 #2
You are mistaken.

ASPX *is* an HttpHandler.

How can you be an ASP.NET MVP and not know that?

Quote:

For example, ASP.NET maps all requests for .aspx files to the
PageHandlerFact ory class in the global machine.config file:

<httphandlers >
...
<add verb="*" path="*.aspx"
type="System.We b.UI.PageHandle rFactory,System .Web" />
...
</httphandlers>

Ha ha ha ha ha

Why not spend more time studying and waste less time talking rubbish.

Feb 4 '06 #3
huh ?
wow !
"Juan T. Llibre" <no***********@ nowhere.com> wrote in message
news:uo******** *****@TK2MSFTNG P12.phx.gbl...
I have a question for you regarding the subject of your post :
"Use IHttpHandler not ASPX for pro web apps"
If you intend to use IHttpHandlers for a web app,
exactly how are you going to do that without an ASPX page ?

After all, IHttpHandler is an interface in system.web:

System.Web.IHTT PHandler, and system.web is accessible from ASPX pages so, what are you going to use
to go back and forth between the client and the .Net Framework classes ?

Bottom line : if you're going to use System.Web.IHTT PHandler, you have to use ASPX.
You *cannot* use IHttpHandler and not use ASPX.

re:
Now it is easy to do the following:
- create mostly self generating applications freeing you from the
manual labour that ASPX demands


Could you post example code ?


Juan T. Llibre
ASP.NET MVP
ASPNETFAQ.COM : http://www.aspnetfaq.com
=============== =============== ====
"John Rivers" <fi*****@btinte rnet.com> wrote in message
news:11******** **************@ f14g2000cwb.goo glegroups.com.. .
ASPX which means ASPX pages, the code-behind concept, User Controls,
Web Controls etc. is very poorly designed and makes it extremely hard
to develop professional quality web applications.

ASPX is Microsoft's attempt to "dumb down" web application development
to help unskilled developers such as web design agencies achieve some
results.

For high quality applications IHttpHandlers are the way to go.

To keep a line between the design and the function you can include some
XSLT in the output path.

Now the developer need only output the structural elements of the web
app - forms, form fields, submit buttons, hyperlinks and data
structures in XML-compatible HTML.

Each IHttpHandler will have an associated XSLT, for example:

http://server/path/script.aspx (this is mapped to httphandler)
which processes /path/script.xslt as the final step before output

The XslTransform can callback into the developer using a callback
object and namespace.

Now it is easy to do the following:

- create mostly self generating applications freeing you from the
manual labour that ASPX demands
- redirect after (attempted) state change requests
- form submit with location.replac e

You can also include an output validater that logs warnings of invalid
html output.

This approach also makes it quite simple to target your output to XHTML
or HTML4.0 etc.

Shame on the team at Microsoft reponsible for architecting ASPX.
What a load of rubbish.

And I feel sorry for people learning ASPX who haven't yet realised how
bad it is.
They have made the mistake of thinking that whatever comes from
Microsoft must be good.
Not alway true.


Feb 4 '06 #4
> Why not spend more time studying and waste less time talking rubbish.

Perhaps we folks who help others here talk rubbish from time to time. After
all, we're human too. But in all the posts I've read from you, John, you've
done nothing *but* talk rubbish.

It might be well for you to take a bit of your own medicine. Yes, it's
possible to design your own object model, and your own way of doing things.
God help you if you have to work with other developers, though, or have to
interoperate with another ASP.Net application.

You've been proclaiming your superior intelligence and wisdom for a very
long time on this newsgroup, and putting Microsoft down as a bunch of idiots
for as long. However, there's an old saying: "Money talks." Microsoft is the
single most successful software company in the world. Would you have us
believe that this is a fluke? Or perhaps they might know a thing or 2 that
you do not.

Still working for Karamasoft? I wonder if Microsoft would promote Karamasoft
on the ASP.Net and GotDotNet web sites if they realized that you were
continuously insulting them here. Apparently, *somebody* at Karamasoft likes
the Microsoft ASP.Net Page object model. Every page on the site uses it. Why
don't they use your ingenious idea? And if you're so much smarter, why are
you building your own framework on top of theirs?

--
Ha ha ha ha ha

Kevin Spencer
Microsoft MVP
..Net Developer
Who is Mighty Abbott?
A twin turret scalawag.

"John Rivers" <fi*****@btinte rnet.com> wrote in message
news:11******** **************@ g44g2000cwa.goo glegroups.com.. .
You are mistaken.

ASPX *is* an HttpHandler.

How can you be an ASP.NET MVP and not know that?

Quote:

For example, ASP.NET maps all requests for .aspx files to the
PageHandlerFact ory class in the global machine.config file:

<httphandlers >
...
<add verb="*" path="*.aspx"
type="System.We b.UI.PageHandle rFactory,System .Web" />
...
</httphandlers>

Ha ha ha ha ha

Why not spend more time studying and waste less time talking rubbish.

Feb 4 '06 #5
You didn't answer the question.

The question for you regards the subject of your post :
"Use IHttpHandler not ASPX for pro web apps"
If you intend to use IHttpHandlers for a web app,
exactly how are you going to do that without an ASPX page ?

Are you going to answer ?

Juan T. Llibre
ASP.NET MVP
ASPNETFAQ.COM : http://www.aspnetfaq.com
=============== =============== ====
"John Rivers" <fi*****@btinte rnet.com> wrote in message
news:11******** **************@ g44g2000cwa.goo glegroups.com.. . You are mistaken.

ASPX *is* an HttpHandler.

How can you be an ASP.NET MVP and not know that?

Quote:

For example, ASP.NET maps all requests for .aspx files to the
PageHandlerFact ory class in the global machine.config file:

<httphandlers >
...
<add verb="*" path="*.aspx"
type="System.We b.UI.PageHandle rFactory,System .Web" />
...
</httphandlers>

Ha ha ha ha ha

Why not spend more time studying and waste less time talking rubbish.

Feb 4 '06 #6
Is the question hard to understand ?

John stated in his subject :
"Use IHttpHandler not ASPX for pro web apps"
What I would like to know is how he will use IHttpHandler and not use ASPX.

Juan T. Llibre
ASP.NET MVP
ASPNETFAQ.COM : http://www.aspnetfaq.com
=============== =============== ====
"gerry" <ge**@canada.co m> wrote in message news:ev******** ******@tk2msftn gp13.phx.gbl... huh ?
wow !
"Juan T. Llibre" <no***********@ nowhere.com> wrote in message
news:uo******** *****@TK2MSFTNG P12.phx.gbl...
I have a question for you regarding the subject of your post :
> "Use IHttpHandler not ASPX for pro web apps"


If you intend to use IHttpHandlers for a web app,
exactly how are you going to do that without an ASPX page ?

After all, IHttpHandler is an interface in system.web:

System.Web.IHTT PHandler,
and system.web is accessible from ASPX pages so, what are you going to use
to go back and forth between the client and the .Net Framework classes ?

Bottom line : if you're going to use System.Web.IHTT PHandler, you have to

use ASPX.

You *cannot* use IHttpHandler and not use ASPX.

re:
> Now it is easy to do the following:
> - create mostly self generating applications freeing you from the
> manual labour that ASPX demands


Could you post example code ?


Juan T. Llibre
ASP.NET MVP
ASPNETFAQ.COM : http://www.aspnetfaq.com
=============== =============== ====
"John Rivers" <fi*****@btinte rnet.com> wrote in message
news:11******** **************@ f14g2000cwb.goo glegroups.com.. .
> ASPX which means ASPX pages, the code-behind concept, User Controls,
> Web Controls etc. is very poorly designed and makes it extremely hard
> to develop professional quality web applications.
>
> ASPX is Microsoft's attempt to "dumb down" web application development
> to help unskilled developers such as web design agencies achieve some
> results.
>
> For high quality applications IHttpHandlers are the way to go.
>
> To keep a line between the design and the function you can include some
> XSLT in the output path.
>
> Now the developer need only output the structural elements of the web
> app - forms, form fields, submit buttons, hyperlinks and data
> structures in XML-compatible HTML.
>
> Each IHttpHandler will have an associated XSLT, for example:
>
> http://server/path/script.aspx (this is mapped to httphandler)
> which processes /path/script.xslt as the final step before output
>
> The XslTransform can callback into the developer using a callback
> object and namespace.
>
> Now it is easy to do the following:
>
> - create mostly self generating applications freeing you from the
> manual labour that ASPX demands
> - redirect after (attempted) state change requests
> - form submit with location.replac e
>
> You can also include an output validater that logs warnings of invalid
> html output.
>
> This approach also makes it quite simple to target your output to XHTML
> or HTML4.0 etc.
>
> Shame on the team at Microsoft reponsible for architecting ASPX.
> What a load of rubbish.
>
> And I feel sorry for people learning ASPX who haven't yet realised how
> bad it is.
> They have made the mistake of thinking that whatever comes from
> Microsoft must be good.
> Not alway true.
>



Feb 4 '06 #7
http://www.microsoft.com/indonesia/msdn/elmah.asp
"Juan T. Llibre" <no***********@ nowhere.com> wrote in message
news:eE******** ******@TK2MSFTN GP11.phx.gbl...
Is the question hard to understand ?

John stated in his subject :
"Use IHttpHandler not ASPX for pro web apps"
What I would like to know is how he will use IHttpHandler and not use

ASPX.
Juan T. Llibre
ASP.NET MVP
ASPNETFAQ.COM : http://www.aspnetfaq.com
=============== =============== ====
"gerry" <ge**@canada.co m> wrote in message

news:ev******** ******@tk2msftn gp13.phx.gbl...
huh ?
wow !


"Juan T. Llibre" <no***********@ nowhere.com> wrote in message
news:uo******** *****@TK2MSFTNG P12.phx.gbl...
I have a question for you regarding the subject of your post :

> "Use IHttpHandler not ASPX for pro web apps"

If you intend to use IHttpHandlers for a web app,
exactly how are you going to do that without an ASPX page ?

After all, IHttpHandler is an interface in system.web:

System.Web.IHTT PHandler,
and system.web is accessible from ASPX pages so, what are you going to use to go back and forth between the client and the .Net Framework classes ?
Bottom line : if you're going to use System.Web.IHTT PHandler, you have to
use ASPX.

You *cannot* use IHttpHandler and not use ASPX.

re:
> Now it is easy to do the following:
> - create mostly self generating applications freeing you from the
> manual labour that ASPX demands

Could you post example code ?


Juan T. Llibre
ASP.NET MVP
ASPNETFAQ.COM : http://www.aspnetfaq.com
=============== =============== ====
"John Rivers" <fi*****@btinte rnet.com> wrote in message
news:11******** **************@ f14g2000cwb.goo glegroups.com.. .
> ASPX which means ASPX pages, the code-behind concept, User Controls,
> Web Controls etc. is very poorly designed and makes it extremely hard
> to develop professional quality web applications.
>
> ASPX is Microsoft's attempt to "dumb down" web application

development > to help unskilled developers such as web design agencies achieve some
> results.
>
> For high quality applications IHttpHandlers are the way to go.
>
> To keep a line between the design and the function you can include some > XSLT in the output path.
>
> Now the developer need only output the structural elements of the web
> app - forms, form fields, submit buttons, hyperlinks and data
> structures in XML-compatible HTML.
>
> Each IHttpHandler will have an associated XSLT, for example:
>
> http://server/path/script.aspx (this is mapped to httphandler)
> which processes /path/script.xslt as the final step before output
>
> The XslTransform can callback into the developer using a callback
> object and namespace.
>
> Now it is easy to do the following:
>
> - create mostly self generating applications freeing you from the
> manual labour that ASPX demands
> - redirect after (attempted) state change requests
> - form submit with location.replac e
>
> You can also include an output validater that logs warnings of invalid > html output.
>
> This approach also makes it quite simple to target your output to XHTML > or HTML4.0 etc.
>
> Shame on the team at Microsoft reponsible for architecting ASPX.
> What a load of rubbish.
>
> And I feel sorry for people learning ASPX who haven't yet realised how > bad it is.
> They have made the mistake of thinking that whatever comes from
> Microsoft must be good.
> Not alway true.
>



Feb 5 '06 #8
a browsable error log implemented using an http handler - with no
..aspx/.html/.asp :
http://www.microsoft.com/indonesia/msdn/elmah.asp

"Juan T. Llibre" <no***********@ nowhere.com> wrote in message
news:eE******** ******@TK2MSFTN GP11.phx.gbl...
Is the question hard to understand ?

John stated in his subject :
"Use IHttpHandler not ASPX for pro web apps"
What I would like to know is how he will use IHttpHandler and not use

ASPX.
Juan T. Llibre
ASP.NET MVP
ASPNETFAQ.COM : http://www.aspnetfaq.com
=============== =============== ====
"gerry" <ge**@canada.co m> wrote in message

news:ev******** ******@tk2msftn gp13.phx.gbl...
huh ?
wow !


"Juan T. Llibre" <no***********@ nowhere.com> wrote in message
news:uo******** *****@TK2MSFTNG P12.phx.gbl...
I have a question for you regarding the subject of your post :

> "Use IHttpHandler not ASPX for pro web apps"

If you intend to use IHttpHandlers for a web app,
exactly how are you going to do that without an ASPX page ?

After all, IHttpHandler is an interface in system.web:

System.Web.IHTT PHandler,
and system.web is accessible from ASPX pages so, what are you going to use to go back and forth between the client and the .Net Framework classes ?
Bottom line : if you're going to use System.Web.IHTT PHandler, you have to
use ASPX.

You *cannot* use IHttpHandler and not use ASPX.

re:
> Now it is easy to do the following:
> - create mostly self generating applications freeing you from the
> manual labour that ASPX demands

Could you post example code ?


Juan T. Llibre
ASP.NET MVP
ASPNETFAQ.COM : http://www.aspnetfaq.com
=============== =============== ====
"John Rivers" <fi*****@btinte rnet.com> wrote in message
news:11******** **************@ f14g2000cwb.goo glegroups.com.. .
> ASPX which means ASPX pages, the code-behind concept, User Controls,
> Web Controls etc. is very poorly designed and makes it extremely hard
> to develop professional quality web applications.
>
> ASPX is Microsoft's attempt to "dumb down" web application

development > to help unskilled developers such as web design agencies achieve some
> results.
>
> For high quality applications IHttpHandlers are the way to go.
>
> To keep a line between the design and the function you can include some > XSLT in the output path.
>
> Now the developer need only output the structural elements of the web
> app - forms, form fields, submit buttons, hyperlinks and data
> structures in XML-compatible HTML.
>
> Each IHttpHandler will have an associated XSLT, for example:
>
> http://server/path/script.aspx (this is mapped to httphandler)
> which processes /path/script.xslt as the final step before output
>
> The XslTransform can callback into the developer using a callback
> object and namespace.
>
> Now it is easy to do the following:
>
> - create mostly self generating applications freeing you from the
> manual labour that ASPX demands
> - redirect after (attempted) state change requests
> - form submit with location.replac e
>
> You can also include an output validater that logs warnings of invalid > html output.
>
> This approach also makes it quite simple to target your output to XHTML > or HTML4.0 etc.
>
> Shame on the team at Microsoft reponsible for architecting ASPX.
> What a load of rubbish.
>
> And I feel sorry for people learning ASPX who haven't yet realised how > bad it is.
> They have made the mistake of thinking that whatever comes from
> Microsoft must be good.
> Not alway true.
>



Feb 5 '06 #9
And that answers the question, how ?

From that same page :

---000---

An HTTP handler is a class that is responsible for rendering a particular resource,
or a particular type of resource.

In fact, each time you add an ASP.NET Web page to your project,
you are essentially writing a HTTP handler.

This is because when the HTML portion of an ASP.NET Web page gets
dynamically compiled at run time, it directly or indirectly inherits from
System.Web.UI.P age, which happens to be a HTTP handler implementation.

---000---

So, while ASPX is just an acronym for Active Server Pages eXtension,
it is only one of *many*, or *any* web extensions which can be used as a
container for ASPX functionality.

In other words, it's the *default* extension for System.Web.UI.P age,
which *is* the HttpHandler, not ASPX.

Your pointing me to this resource, written by Scott Mitchell, shows that you
misunderstood the question completely and don't understand what an httphandler
is, like your friend John doesn't understand it either.

Every single programmer in the world must have written a "vanity" extension.

I wrote an httphandler for the extension .juan , almost 10 years ago when ASP came out,
and did it again when ASPX came out, primarily because the methods to allow full
functionality changed between ASP and ASP.NET.

It's quite easy...and it's an example of an httphandler which allows a page container, like .juan,
different than a page with an aspx extension, to process instructions which will be processed by
the aspnet_isapi module, in order to render markup for whichever browser calls the page.

This isn't rocket science; it's just basic semantic definitions.

Continuing to quote from Scott's article :

The code-behind class for an ASP.NET Web page is an HTTP handler, knowing how to
render the markup for the particular Web page. It helps to think about handlers as specialized
renderers that know how to create the markup for a particular type of resource.

HTH...


Juan T. Llibre
ASP.NET MVP
ASPNETFAQ.COM : http://www.aspnetfaq.com
=============== =============== ====
"gerry" <ge**@canada.co m> wrote in message news:uW******** *****@TK2MSFTNG P12.phx.gbl...
http://www.microsoft.com/indonesia/msdn/elmah.asp "Juan T. Llibre" <no***********@ nowhere.com> wrote in message
news:eE******** ******@TK2MSFTN GP11.phx.gbl...
Is the question hard to understand ?

John stated in his subject :
> "Use IHttpHandler not ASPX for pro web apps"


What I would like to know is how he will use IHttpHandler and not use

ASPX.

Juan T. Llibre
ASP.NET MVP
ASPNETFAQ.COM : http://www.aspnetfaq.com
=============== =============== ====
"gerry" <ge**@canada.co m> wrote in message

news:ev******** ******@tk2msftn gp13.phx.gbl...
> huh ?
> wow !


> "Juan T. Llibre" <no***********@ nowhere.com> wrote in message
> news:uo******** *****@TK2MSFTNG P12.phx.gbl...
>> I have a question for you regarding the subject of your post :
>>
>> > "Use IHttpHandler not ASPX for pro web apps"
>>
>> If you intend to use IHttpHandlers for a web app,
>> exactly how are you going to do that without an ASPX page ?
>>
>> After all, IHttpHandler is an interface in system.web:
> System.Web.IHTT PHandler,
>> and system.web is accessible from ASPX pages so, what are you going to use >> to go back and forth between the client and the .Net Framework classes ? >>
>> Bottom line : if you're going to use System.Web.IHTT PHandler, you have to > use ASPX.
>>
>> You *cannot* use IHttpHandler and not use ASPX.
>>
>> re:
>> > Now it is easy to do the following:
>> > - create mostly self generating applications freeing you from the
>> > manual labour that ASPX demands
>>
>> Could you post example code ?
>>
>>
>>
>>
>> Juan T. Llibre
>> ASP.NET MVP
>> ASPNETFAQ.COM : http://www.aspnetfaq.com
>> =============== =============== ====
>> "John Rivers" <fi*****@btinte rnet.com> wrote in message
>> news:11******** **************@ f14g2000cwb.goo glegroups.com.. .
>> > ASPX which means ASPX pages, the code-behind concept, User Controls,
>> > Web Controls etc. is very poorly designed and makes it extremely hard
>> > to develop professional quality web applications.
>> >
>> > ASPX is Microsoft's attempt to "dumb down" web application development >> > to help unskilled developers such as web design agencies achieve some
>> > results.
>> >
>> > For high quality applications IHttpHandlers are the way to go.
>> >
>> > To keep a line between the design and the function you can include some >> > XSLT in the output path.
>> >
>> > Now the developer need only output the structural elements of the web
>> > app - forms, form fields, submit buttons, hyperlinks and data
>> > structures in XML-compatible HTML.
>> >
>> > Each IHttpHandler will have an associated XSLT, for example:
>> >
>> > http://server/path/script.aspx (this is mapped to httphandler)
>> > which processes /path/script.xslt as the final step before output
>> >
>> > The XslTransform can callback into the developer using a callback
>> > object and namespace.
>> >
>> > Now it is easy to do the following:
>> >
>> > - create mostly self generating applications freeing you from the
>> > manual labour that ASPX demands
>> > - redirect after (attempted) state change requests
>> > - form submit with location.replac e
>> >
>> > You can also include an output validater that logs warnings of invalid >> > html output.
>> >
>> > This approach also makes it quite simple to target your output to XHTML >> > or HTML4.0 etc.
>> >
>> > Shame on the team at Microsoft reponsible for architecting ASPX.
>> > What a load of rubbish.
>> >
>> > And I feel sorry for people learning ASPX who haven't yet realised how >> > bad it is.
>> > They have made the mistake of thinking that whatever comes from
>> > Microsoft must be good.
>> > Not alway true.
>> >
>>
>>
>
>



Feb 5 '06 #10

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

Similar topics

13
4315
by: Sky Sigal | last post by:
I have created an IHttpHandler that waits for uploads as attachments for a webmail interface, and saves it to a directory that is defined in config.xml. My question is the following: assuming that this is suppossed to end up as a component for others to use, and therefore I do NOT have access to their global.cs::Session_End() how do I cleanup files that were uploaded -- but obviously left stranded when the users aborted/gave up writting...
5
2008
by: vimakefile | last post by:
I'd like to have the concept of a Page (different code-behind file for each url, session state, etc.) but be able to specify my own custom HTTP payload. (I don't want to use any Asp.Net forms, controls, etc.) (Happens to be binary - but although I need to use HTTP, it's not going to a browser.) With IHttpHandler I lose Url->page mapping and sessions, but with Page I don't have a way to override the HTTP processing, do I? I'd expect...
1
440
by: Daniel | last post by:
How to access a network file path \\foo\bar.txt from an .aspx and from a custom IHttpHandler? How to specify which account that aspx application should use when doing file IO from network paths? When I try to open the file from .aspx the file read throws: Logon failure: Logon failure: unknown user name or bad password. When I try to open the file from a custom IHttpHandler the file read throws: Logon failure: unknown user name or bad...
1
1285
by: David Thielen | last post by:
Hi; I just wrote my first IHttpHandler and am having a problem. If the content type is "text/html" then the below code works fine. But if it's "text/plain" then my browser gets: The XML page cannot be displayed Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
5
1702
by: shapper | last post by:
Hello, In this moment I am creating all my aspx pages on my vb.code at runtime. It seems nonsense to have .aspx and .aspx.vb files in my projects. I am considering creating my pages on the fly using IHttpHandler. I already did that for delivering XML files.
1
4319
by: Aartware | last post by:
I've read all the items about the IHttpHandler and the session-object and I see nothing wrong with my code, but still I have no session object. This is my code: Imports System Imports System.Data Imports System.Web imports System.Web.SessionState Imports System.Web.UI
0
8748
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
9393
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
9248
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
9164
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
8072
agi2029
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...
0
6000
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
4506
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3212
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
2
2622
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.