Having built successfully my first HTTP Module prototype (as for Q307996
- HOW TO: Create an ASP.NET HTTP Module ...) without really understanding
what I've done, now I kindly ask this community for support to try and master
this art; in the form of:
- either a reference to a serious book comprehensively describing the matter;
- or an answer to such a question as:
What does it exactly mean, in C# terms, to implement the "IHttModule
interface" and the "Init and Dispose methods"?
Looking forward...
P.M. 5 1793
Init and dispose are called as the module is loaded and unloaded when the
asp.net pipeline through IIS gets executed, and the web request and response
are passed as traffic from the client browser, via IIS through the asp.net
isapi dll to the web page you are requesting. they can be used to add
output, or change the direction of a request for example.
Basically, a module that interferes with the processing of that pipeline is
what an ihttpmodule interface is........
--
Regards
John Timney
ASP.NET MVP
Microsoft Regional Director
"Studio P.M." <St******@discussions.microsoft.com> wrote in message
news:66**********************************@microsof t.com... Having built successfully my first HTTP Module prototype (as for Q307996 - HOW TO: Create an ASP.NET HTTP Module ...) without really understanding what I've done, now I kindly ask this community for support to try and master this art; in the form of: - either a reference to a serious book comprehensively describing the matter; - or an answer to such a question as: What does it exactly mean, in C# terms, to implement the "IHttModule interface" and the "Init and Dispose methods"? Looking forward... P.M.
Dear Mr. Timney,
Thanks for your answer.
You said: Basically ... interferes with the processing of the pipeline ...
Well, this is exactly the reason why I'd like to master this art of "HTTP
Module" writing, art that is still hidden to me. I mean:
what I'm looking for is a complete, comprehensive, detailed, practical
description of this whole subject. A paper, or book, giving answer to all
such questions as that one I had here exposed merely just as an example.
As far as you know: is there any?
If no such a paper, or book, does exist, I have no chance of success, unless
a "cognoscente" would play the role of tutor to my benefit...
Kind regards.
Pietro Moras
"John Timney (ASP.NET MVP)" wrote:
Init and dispose are called as the module is loaded and unloaded when the asp.net pipeline through IIS gets executed, and the web request and response are passed as traffic from the client browser, via IIS through the asp.net isapi dll to the web page you are requesting. they can be used to add output, or change the direction of a request for example.
Basically, a module that interferes with the processing of that pipeline is what an ihttpmodule interface is........
-- Regards
John Timney ASP.NET MVP Microsoft Regional Director
In case you haven't already seen it, this may be a good next step: http://msdn.microsoft.com/msdnmag/is...p/default.aspx
"Studio P.M." <St******@discussions.microsoft.com> wrote in message
news:45**********************************@microsof t.com... Dear Mr. Timney, Thanks for your answer.
You said: Basically ... interferes with the processing of the pipeline ...
Well, this is exactly the reason why I'd like to master this art of "HTTP Module" writing, art that is still hidden to me. I mean: what I'm looking for is a complete, comprehensive, detailed, practical description of this whole subject. A paper, or book, giving answer to all such questions as that one I had here exposed merely just as an example. As far as you know: is there any?
If no such a paper, or book, does exist, I have no chance of success, unless a "cognoscente" would play the role of tutor to my benefit...
Kind regards. Pietro Moras
"John Timney (ASP.NET MVP)" wrote:
Init and dispose are called as the module is loaded and unloaded when the asp.net pipeline through IIS gets executed, and the web request and response are passed as traffic from the client browser, via IIS through the asp.net isapi dll to the web page you are requesting. they can be used to add output, or change the direction of a request for example.
Basically, a module that interferes with the processing of that pipeline is what an ihttpmodule interface is........
-- Regards
John Timney ASP.NET MVP Microsoft Regional Director
> ... a good next step
I agree, it is a good next step; not a full path.
I heard that:
C# Developer's Guide to ASP.NET, XML, and ADO.NET by Jeffrey P. McManus and
Chris Kinsman
Paperback - Addison-Wesley Professional; 29 March, 2002
has a Chapter 8 that: "discusses the HttpHandlers and HttpModules. The
discussion and examples of HttpModules are very good."
Do you know it?
I'd appreciate your thoughts.
Pietro Moras
- - - - -=- - - - -=- - - - -=- - - - -=- - - - -=- - - - -=
"CSharper" wrote: In case you haven't already seen it, this may be a good next step: http://msdn.microsoft.com/msdnmag/is...p/default.aspx
Hi,
Gone through this reference you’d suggested (and some others too…), I’m
beginning to see the light. Probably there isn’t a single source of info
about this subject, and scrambling among different sources is the only way to
go.
By the way, to this respect, do you know anything about the SAMS’ book
“Microsoft Visual C# .NET 2003 Unleashed”?
All the best.
Pietro Moras
- - - - -=- - - - -=- - - - -=- - - - -=- - - - -=- - - - -=
"CSharper" wrote: In case you haven't already seen it, this may be a good next step: http://msdn.microsoft.com/msdnmag/is...p/default.aspx This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: jon morgan |
last post by:
Hi,
Just how do you track down the location of an exception when all you get is
a message saying "NullReferenceException occured in Unknown Module" ?
It seems like the proverbial needle in a...
|
by: Paramesh |
last post by:
Hello friends,
My friend asked me this question:
This question regards proprietary software (of which I am one of the
developers), so I cannot post actual code for this question. I will try...
|
by: Bob |
last post by:
Are they different names for the same concept ?
|
by: BH |
last post by:
Hi
what would be the C# equivalent of a VB.NET file that looks like this:
Module Utilities
Public Sub UtilitySubOne ( ByVal arg As String)
// blah blah
End Sub
|
by: Xiao Jianfeng |
last post by:
Hello,
In pymol I can use "from chempy import Atom" but "import chempy.Atom"
doesn't work.
It says,"ImportError: No module named Atom". What is going wrong ?
Thanks
|
by: David T. Ashley |
last post by:
Hi,
Red Hat Enterprise Linux 4.X.
I'm writing command-line PHP scripts for the first time.
I get the messages below. What do they mean? Are these operating system
library modules, or...
|
by: robert |
last post by:
I want to occasionally do a "redirected" import of a python module which
is located offside of the legacy sys.path (Windows) - for example a tool
is maintained within "cgi-bin" web stuff (while I...
|
by: Shehryar |
last post by:
AOA, I urgently want to know the major difference between "Module" and a "Class Module". Plz, reply me as early as possible. Thanx!
|
by: Mac Campbell |
last post by:
For some unknown reason my mdb seemed to drop a module I had named "Utilities". I tried to copy the module back in from a backup copy and got the error message "<<MyProject>> is currently unable to...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, youll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: Shllpp 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
| |