Hi,
We have a couple of clients who are having trouble connecting to .Net
webservices, (they're coming from PHP and VFP). We were looking to provide
a diagonostic tool that displayed the soap message submitted so that if the
call failed they could compare their SoapMessage with the ones we generate
in .Net.
Thought the solution was an HttpModule hooked into begin request, but after
approx 10 requests it hangs the webservice/aspnet service, any thoughts?
Code below.
(The HttpRequests are stored in Typed Dataset, stored on the Application
object so that they can be accessed from webpages.)
public void OnBeginRequest( Object s, EventArgs e)
{
try
{
// Cast the Object to the HttpApplication variable.
HttpApplication app = (HttpApplicatio n)s;
HttpRequest newRequest = app.Request;
string servers = this.ServicesTo Monitor();
int posn =
servers.ToLower ().IndexOf(this .GetServiceName (newRequest).To Lower());
if (posn > -1)
this.AddFromHtt pRequest(this.R equestHistory, newRequest);
}
catch (Exception ex)
{
//Custom error logging code
}
}
private void AddFromHttpRequ est(Mars.Schema .HttpRequests history,
HttpRequest request)
{
try
{
HttpContext.Cur rent.Applicatio n.Lock();
byte [] byteArray = new byte[request.Content Length];
request.InputSt ream.Read(byteA rray, 0, request.Content Length);
// Must reset the Input Stream position or the whole process fails.
request.InputSt ream.Position = 0;
Mars.Schema.Htt pRequests.Reque stsRow row =
this.RequestHis tory.Requests.A ddRequestsRow(
request.RawUrl,
request.HttpMet hod,
request.Content Type,
request.Content Length,
Encoding.ASCII. GetString(byteA rray, 0, request.Content Length),
DateTime.Now,
this.GetService Name(request),
this.SOAPAction (request),
request.ServerV ariables["REMOTE_ADD R"]);
foreach (string s in request.Headers .AllKeys)
this.RequestHis tory.HttpHeader s.AddHttpHeader sRow(row.Reques tID,
s, request.Headers[s]);
while (this.RequestHi story.Requests. Count > this.HistorySiz e)
{
this.RequestHis tory.Requests[0].Delete();
}
this.RequestHis tory.AcceptChan ges();
HttpContext.Cur rent.Applicatio n.UnLock();
}
catch (Exception ex)
{
#region Catch Block
#endregion
HttpContext.Cur rent.Applicatio n.UnLock();
}
}
--
Regards
Bruce Hodge 9 1369
Bruce:
The Application.Loc k would make me nervous. It does look as if you
have an Unlock at the right places, but you might consider using a
finally clause. I'd
When the application blocks can you break in with the debugger and
look at call stacks for all the threads? That might show you how the
application became deadlocked.
--
Scott http://www.OdeToCode.com/blogs/scott/
On Wed, 11 May 2005 20:30:57 +0100, "Bruce Hodge"
<su*****@machas sociates.com> wrote: Hi,
We have a couple of clients who are having trouble connecting to .Net webservices, (they're coming from PHP and VFP). We were looking to provide a diagonostic tool that displayed the soap message submitted so that if the call failed they could compare their SoapMessage with the ones we generate in .Net.
Thought the solution was an HttpModule hooked into begin request, but after approx 10 requests it hangs the webservice/aspnet service, any thoughts? Code below.
(The HttpRequests are stored in Typed Dataset, stored on the Application object so that they can be accessed from webpages.)
public void OnBeginRequest( Object s, EventArgs e) { try { // Cast the Object to the HttpApplication variable. HttpApplication app = (HttpApplicatio n)s;
HttpRequest newRequest = app.Request;
string servers = this.ServicesTo Monitor(); int posn = servers.ToLowe r().IndexOf(thi s.GetServiceNam e(newRequest).T oLower());
if (posn > -1) this.AddFromHtt pRequest(this.R equestHistory, newRequest);
}
catch (Exception ex) { //Custom error logging code }
}
private void AddFromHttpRequ est(Mars.Schema .HttpRequests history, HttpRequest request) { try { HttpContext.Cur rent.Applicatio n.Lock();
byte [] byteArray = new byte[request.Content Length];
request.InputSt ream.Read(byteA rray, 0, request.Content Length);
// Must reset the Input Stream position or the whole process fails. request.InputSt ream.Position = 0;
Mars.Schema.Htt pRequests.Reque stsRow row = this.RequestHi story.Requests. AddRequestsRow(
request.RawUrl, request.HttpMet hod, request.Content Type, request.Content Length, Encoding.ASCII. GetString(byteA rray, 0, request.Content Length), DateTime.Now, this.GetService Name(request), this.SOAPAction (request), request.ServerV ariables["REMOTE_ADD R"]);
foreach (string s in request.Headers .AllKeys) this.RequestHis tory.HttpHeader s.AddHttpHeader sRow(row.Reques tID, s, request.Headers[s]);
while (this.RequestHi story.Requests. Count > this.HistorySiz e) { this.RequestHis tory.Requests[0].Delete(); }
this.RequestHis tory.AcceptChan ges();
HttpContext.Cur rent.Applicatio n.UnLock();
}
catch (Exception ex) {
#region Catch Block
#endregion
HttpContext.Cur rent.Applicatio n.UnLock();
}
}
Bruce:
Also wanted to point out you might consider a tool look Fiddler to
eyeball the request/response from a client machine and see if there
are obvious differences. http://www.fiddlertool.com/fiddler/
HTH,
--
Scott http://www.OdeToCode.com/blogs/scott/
On Wed, 11 May 2005 20:30:57 +0100, "Bruce Hodge"
<su*****@machas sociates.com> wrote: Hi,
We have a couple of clients who are having trouble connecting to .Net webservices, (they're coming from PHP and VFP). We were looking to provide a diagonostic tool that displayed the soap message submitted so that if the call failed they could compare their SoapMessage with the ones we generate in .Net.
Thought the solution was an HttpModule hooked into begin request, but after approx 10 requests it hangs the webservice/aspnet service, any thoughts? Code below.
(The HttpRequests are stored in Typed Dataset, stored on the Application object so that they can be accessed from webpages.)
public void OnBeginRequest( Object s, EventArgs e) { try { // Cast the Object to the HttpApplication variable. HttpApplication app = (HttpApplicatio n)s;
HttpRequest newRequest = app.Request;
string servers = this.ServicesTo Monitor(); int posn = servers.ToLowe r().IndexOf(thi s.GetServiceNam e(newRequest).T oLower());
if (posn > -1) this.AddFromHtt pRequest(this.R equestHistory, newRequest);
}
catch (Exception ex) { //Custom error logging code }
}
private void AddFromHttpRequ est(Mars.Schema .HttpRequests history, HttpRequest request) { try { HttpContext.Cur rent.Applicatio n.Lock();
byte [] byteArray = new byte[request.Content Length];
request.InputSt ream.Read(byteA rray, 0, request.Content Length);
// Must reset the Input Stream position or the whole process fails. request.InputSt ream.Position = 0;
Mars.Schema.Htt pRequests.Reque stsRow row = this.RequestHi story.Requests. AddRequestsRow(
request.RawUrl, request.HttpMet hod, request.Content Type, request.Content Length, Encoding.ASCII. GetString(byteA rray, 0, request.Content Length), DateTime.Now, this.GetService Name(request), this.SOAPAction (request), request.ServerV ariables["REMOTE_ADD R"]);
foreach (string s in request.Headers .AllKeys) this.RequestHis tory.HttpHeader s.AddHttpHeader sRow(row.Reques tID, s, request.Headers[s]);
while (this.RequestHi story.Requests. Count > this.HistorySiz e) { this.RequestHis tory.Requests[0].Delete(); }
this.RequestHis tory.AcceptChan ges();
HttpContext.Cur rent.Applicatio n.UnLock();
}
catch (Exception ex) {
#region Catch Block
#endregion
HttpContext.Cur rent.Applicatio n.UnLock();
}
}
Hi Scott,
When the service hangs I can't break in, but I do have some information from
before it hangs. Also when it does hang the aspnet_wp.exe goes to 95+ CPU
processor time, the memory usage remains static at 82,052K.
On the threads it appears that threads are left running not attached to a
piece of code, I don't know enough on threading to understand this (it
looks like a pool for the aspnet_wp.exe process), basically after a dozen or
so requests have been made the thread window has the following entries:
ID, Name, Location, Priority, Suspend
4740, <No Name>, , Normal, 0
3724, <No Name>, , Normal, 0
4608, <No Name>, , , 0
4264, <No Name>, , Mars.Utils.Http RequestViewer.O nBeginRequest, Normal, 0
The only way to clear the problem is to End the aspnet_wp.exe process.
To see whether there were thread issues on the Application object I tried
saving the Dataset on the Cache and to a Static variable, it made no
difference.
Regards Bruce H
"Scott Allen" <sc***@nospam.o detocode.com> wrote in message
news:on******** *************** *********@4ax.c om... Bruce:
The Application.Loc k would make me nervous. It does look as if you have an Unlock at the right places, but you might consider using a finally clause. I'd
When the application blocks can you break in with the debugger and look at call stacks for all the threads? That might show you how the application became deadlocked.
-- Scott http://www.OdeToCode.com/blogs/scott/
On Wed, 11 May 2005 20:30:57 +0100, "Bruce Hodge" <su*****@machas sociates.com> wrote:
Hi,
We have a couple of clients who are having trouble connecting to .Net webservices , (they're coming from PHP and VFP). We were looking to provide a diagonostic tool that displayed the soap message submitted so that if the call failed they could compare their SoapMessage with the ones we generate in .Net.
Thought the solution was an HttpModule hooked into begin request, but after approx 10 requests it hangs the webservice/aspnet service, any thoughts? Code below.
(The HttpRequests are stored in Typed Dataset, stored on the Application object so that they can be accessed from webpages.)
public void OnBeginRequest( Object s, EventArgs e) { try { // Cast the Object to the HttpApplication variable. HttpApplication app = (HttpApplicatio n)s;
HttpRequest newRequest = app.Request;
string servers = this.ServicesTo Monitor(); int posn = servers.ToLow er().IndexOf(th is.GetServiceNa me(newRequest). ToLower());
if (posn > -1) this.AddFromHtt pRequest(this.R equestHistory, newRequest);
}
catch (Exception ex) { //Custom error logging code }
}
private void AddFromHttpRequ est(Mars.Schema .HttpRequests history, HttpRequest request) { try { HttpContext.Cur rent.Applicatio n.Lock();
byte [] byteArray = new byte[request.Content Length];
request.InputSt ream.Read(byteA rray, 0, request.Content Length);
// Must reset the Input Stream position or the whole process fails. request.InputSt ream.Position = 0;
Mars.Schema.Htt pRequests.Reque stsRow row = this.RequestH istory.Requests .AddRequestsRow (
request.RawUrl, request.HttpMet hod, request.Content Type, request.Content Length, Encoding.ASCII. GetString(byteA rray, 0, request.Content Length), DateTime.Now, this.GetService Name(request), this.SOAPAction (request), request.ServerV ariables["REMOTE_ADD R"]);
foreach (string s in request.Headers .AllKeys)
this.RequestHis tory.HttpHeader s.AddHttpHeader sRow(row.Reques tID, s, request.Headers[s]);
while (this.RequestHi story.Requests. Count > this.HistorySiz e) { this.RequestHis tory.Requests[0].Delete(); }
this.RequestHis tory.AcceptChan ges();
HttpContext.Cur rent.Applicatio n.UnLock();
}
catch (Exception ex) {
#region Catch Block
#endregion
HttpContext.Cur rent.Applicatio n.UnLock();
}
}
Hi Scott,
Yes I've used fiddler for a while and it's very useful. It won't provide
the "total" solution we are looking for and I've not found a way to attach
it to the webservice request, is that possible?
Regards
Bruce H
"Scott Allen" <sc***@nospam.o detocode.com> wrote in message
news:e9******** *************** *********@4ax.c om... Bruce:
Also wanted to point out you might consider a tool look Fiddler to eyeball the request/response from a client machine and see if there are obvious differences.
http://www.fiddlertool.com/fiddler/
HTH,
-- Scott http://www.OdeToCode.com/blogs/scott/
On Wed, 11 May 2005 20:30:57 +0100, "Bruce Hodge" <su*****@machas sociates.com> wrote:
Hi,
We have a couple of clients who are having trouble connecting to .Net webservices , (they're coming from PHP and VFP). We were looking to provide a diagonostic tool that displayed the soap message submitted so that if the call failed they could compare their SoapMessage with the ones we generate in .Net.
Thought the solution was an HttpModule hooked into begin request, but after approx 10 requests it hangs the webservice/aspnet service, any thoughts? Code below.
(The HttpRequests are stored in Typed Dataset, stored on the Application object so that they can be accessed from webpages.)
public void OnBeginRequest( Object s, EventArgs e) { try { // Cast the Object to the HttpApplication variable. HttpApplication app = (HttpApplicatio n)s;
HttpRequest newRequest = app.Request;
string servers = this.ServicesTo Monitor(); int posn = servers.ToLow er().IndexOf(th is.GetServiceNa me(newRequest). ToLower());
if (posn > -1) this.AddFromHtt pRequest(this.R equestHistory, newRequest);
}
catch (Exception ex) { //Custom error logging code }
}
private void AddFromHttpRequ est(Mars.Schema .HttpRequests history, HttpRequest request) { try { HttpContext.Cur rent.Applicatio n.Lock();
byte [] byteArray = new byte[request.Content Length];
request.InputSt ream.Read(byteA rray, 0, request.Content Length);
// Must reset the Input Stream position or the whole process fails. request.InputSt ream.Position = 0;
Mars.Schema.Htt pRequests.Reque stsRow row = this.RequestH istory.Requests .AddRequestsRow (
request.RawUrl, request.HttpMet hod, request.Content Type, request.Content Length, Encoding.ASCII. GetString(byteA rray, 0, request.Content Length), DateTime.Now, this.GetService Name(request), this.SOAPAction (request), request.ServerV ariables["REMOTE_ADD R"]);
foreach (string s in request.Headers .AllKeys)
this.RequestHis tory.HttpHeader s.AddHttpHeader sRow(row.Reques tID, s, request.Headers[s]);
while (this.RequestHi story.Requests. Count > this.HistorySiz e) { this.RequestHis tory.Requests[0].Delete(); }
this.RequestHis tory.AcceptChan ges();
HttpContext.Cur rent.Applicatio n.UnLock();
}
catch (Exception ex) {
#region Catch Block
#endregion
HttpContext.Cur rent.Applicatio n.UnLock();
}
}
For .NET clients calling web services you might try:
GlobalProxySele ction.Select = new WebProxy("127.0 .0.1", 8888);
and that should pump packets through Fiddler. To trace calls from PHP,
VFP - I don't know. I'd imagine there would be someway to specify a
proxy server for the calls but I don't know what that would be.
--
Scott http://www.OdeToCode.com/blogs/scott/
On Thu, 12 May 2005 09:09:22 +0100, "Bruce Hodge"
<su*****@machas sociates.com> wrote: Hi Scott,
Yes I've used fiddler for a while and it's very useful. It won't provide the "total" solution we are looking for and I've not found a way to attach it to the webservice request, is that possible?
Regards
Bruce H
"Scott Allen" <sc***@nospam.o detocode.com> wrote in message news:e9******* *************** **********@4ax. com... Bruce:
Also wanted to point out you might consider a tool look Fiddler to eyeball the request/response from a client machine and see if there are obvious differences.
http://www.fiddlertool.com/fiddler/
HTH,
-- Scott http://www.OdeToCode.com/blogs/scott/
On Wed, 11 May 2005 20:30:57 +0100, "Bruce Hodge" <su*****@machas sociates.com> wrote:
Hi,
We have a couple of clients who are having trouble connecting to .Net webservice s, (they're coming from PHP and VFP). We were looking to provide a diagonostic tool that displayed the soap message submitted so that if the call failed they could compare their SoapMessage with the ones we generate in .Net.
Thought the solution was an HttpModule hooked into begin request, but after approx 10 requests it hangs the webservice/aspnet service, any thoughts? Code below.
(The HttpRequests are stored in Typed Dataset, stored on the Application object so that they can be accessed from webpages.)
public void OnBeginRequest( Object s, EventArgs e) { try { // Cast the Object to the HttpApplication variable. HttpApplication app = (HttpApplicatio n)s;
HttpRequest newRequest = app.Request;
string servers = this.ServicesTo Monitor(); int posn = servers.ToLo wer().IndexOf(t his.GetServiceN ame(newRequest) .ToLower());
if (posn > -1) this.AddFromHtt pRequest(this.R equestHistory, newRequest);
}
catch (Exception ex) { //Custom error logging code }
}
private void AddFromHttpRequ est(Mars.Schema .HttpRequests history, HttpReques t request) { try { HttpContext.Cur rent.Applicatio n.Lock();
byte [] byteArray = new byte[request.Content Length];
request.InputSt ream.Read(byteA rray, 0, request.Content Length);
// Must reset the Input Stream position or the whole process fails. request.InputSt ream.Position = 0;
Mars.Schema.Htt pRequests.Reque stsRow row = this.Request History.Request s.AddRequestsRo w(
request.RawUrl, request.HttpMet hod, request.Content Type, request.Content Length, Encoding.ASCII. GetString(byteA rray, 0, request.Content Length), DateTime.Now, this.GetService Name(request), this.SOAPAction (request), request.ServerV ariables["REMOTE_ADD R"]);
foreach (string s in request.Headers .AllKeys)
this.RequestHis tory.HttpHeader s.AddHttpHeader sRow(row.Reques tID, s, request.Headers[s]);
while (this.RequestHi story.Requests. Count > this.HistorySiz e) { this.RequestHis tory.Requests[0].Delete(); }
this.RequestHis tory.AcceptChan ges();
HttpContext.Cur rent.Applicatio n.UnLock();
}
catch (Exception ex) {
#region Catch Block
#endregion
HttpContext.Cur rent.Applicatio n.UnLock();
}
}
Hi Buck:
These problems can be pretty tough to debug. One approach I've used is
the dump file approach with WinDbg [1], but this can be a steep
learning curve if you haven't used the tools or done any debugging
with a native debugger.
Just to make sure the problem isn't a thread deadlock, you could
replace Application.Loc k with Ian's TimedLock [2] and see if there are
error messages about locks timing out.
What is the HistorySize? Could the Delete operation on the DataTable
be sucking up lots of CPU?
[1] http://msdn.microsoft.com/library/de...html/dbgrm.asp
[2] http://www.interact-sw.co.uk/iangblo.../03/23/locking
--
Scott http://www.OdeToCode.com/blogs/scott/
On Thu, 12 May 2005 09:07:36 +0100, "Bruce Hodge"
<su*****@machas sociates.com> wrote: Hi Scott,
When the service hangs I can't break in, but I do have some information from before it hangs. Also when it does hang the aspnet_wp.exe goes to 95+ CPU processor time, the memory usage remains static at 82,052K.
On the threads it appears that threads are left running not attached to a piece of code, I don't know enough on threading to understand this (it looks like a pool for the aspnet_wp.exe process), basically after a dozen or so requests have been made the thread window has the following entries:
ID, Name, Location, Priority, Suspend 4740, <No Name>, , Normal, 0 3724, <No Name>, , Normal, 0 4608, <No Name>, , , 0 4264, <No Name>, , Mars.Utils.Http RequestViewer.O nBeginRequest, Normal, 0
The only way to clear the problem is to End the aspnet_wp.exe process.
To see whether there were thread issues on the Application object I tried saving the Dataset on the Cache and to a Static variable, it made no difference. Regards Bruce H
"Scott Allen" <sc***@nospam.o detocode.com> wrote in message news:on******* *************** **********@4ax. com... Bruce:
The Application.Loc k would make me nervous. It does look as if you have an Unlock at the right places, but you might consider using a finally clause. I'd
When the application blocks can you break in with the debugger and look at call stacks for all the threads? That might show you how the application became deadlocked.
-- Scott http://www.OdeToCode.com/blogs/scott/
On Wed, 11 May 2005 20:30:57 +0100, "Bruce Hodge" <su*****@machas sociates.com> wrote:
Hi,
We have a couple of clients who are having trouble connecting to .Net webservice s, (they're coming from PHP and VFP). We were looking to provide a diagonostic tool that displayed the soap message submitted so that if the call failed they could compare their SoapMessage with the ones we generate in .Net.
Thought the solution was an HttpModule hooked into begin request, but after approx 10 requests it hangs the webservice/aspnet service, any thoughts? Code below.
(The HttpRequests are stored in Typed Dataset, stored on the Application object so that they can be accessed from webpages.)
public void OnBeginRequest( Object s, EventArgs e) { try { // Cast the Object to the HttpApplication variable. HttpApplication app = (HttpApplicatio n)s;
HttpRequest newRequest = app.Request;
string servers = this.ServicesTo Monitor(); int posn = servers.ToLo wer().IndexOf(t his.GetServiceN ame(newRequest) .ToLower());
if (posn > -1) this.AddFromHtt pRequest(this.R equestHistory, newRequest);
}
catch (Exception ex) { //Custom error logging code }
}
private void AddFromHttpRequ est(Mars.Schema .HttpRequests history, HttpReques t request) { try { HttpContext.Cur rent.Applicatio n.Lock();
byte [] byteArray = new byte[request.Content Length];
request.InputSt ream.Read(byteA rray, 0, request.Content Length);
// Must reset the Input Stream position or the whole process fails. request.InputSt ream.Position = 0;
Mars.Schema.Htt pRequests.Reque stsRow row = this.Request History.Request s.AddRequestsRo w(
request.RawUrl, request.HttpMet hod, request.Content Type, request.Content Length, Encoding.ASCII. GetString(byteA rray, 0, request.Content Length), DateTime.Now, this.GetService Name(request), this.SOAPAction (request), request.ServerV ariables["REMOTE_ADD R"]);
foreach (string s in request.Headers .AllKeys)
this.RequestHis tory.HttpHeader s.AddHttpHeader sRow(row.Reques tID, s, request.Headers[s]);
while (this.RequestHi story.Requests. Count > this.HistorySiz e) { this.RequestHis tory.Requests[0].Delete(); }
this.RequestHis tory.AcceptChan ges();
HttpContext.Cur rent.Applicatio n.UnLock();
}
catch (Exception ex) {
#region Catch Block
#endregion
HttpContext.Cur rent.Applicatio n.UnLock();
}
}
Hi Scott,
I'll work my way through that.
The history size just limites the record to the most recent 20 records and
the headers are in a seperate table, 2 tables in the XSD in all. So there
shouldn't be any problems there unless the DataSet object has threading
issues I'm not aware off?
Regards
Bruce H
Sorry, that should have been "Bruce" not "Buck". Don't know where that
came from, apologies.
The DataSet shouldn't have problems with differrent threads adding /
removing rows - as long as it's not concurrent access, which it looks
like you've taken care of.
--
Scott http://www.OdeToCode.com/blogs/scott/
On Thu, 12 May 2005 19:22:45 +0100, "Bruce Hodge"
<su*****@machas sociates.com> wrote: Hi Scott,
I'll work my way through that.
The history size just limites the record to the most recent 20 records and the headers are in a seperate table, 2 tables in the XSD in all. So there shouldn't be any problems there unless the DataSet object has threading issues I'm not aware off?
Regards
Bruce H
Hi Scott,
through a process of trial an error I've narrowed the problem down to the
Dataset, the only issue now is whether to work around or find the problem,
anyway the weekend is here so a problem for Monday.
Regards
Bruce H
"Scott Allen" <sc***@nospam.o detocode.com> wrote in message
news:aq******** *************** *********@4ax.c om... Sorry, that should have been "Bruce" not "Buck". Don't know where that came from, apologies.
The DataSet shouldn't have problems with differrent threads adding / removing rows - as long as it's not concurrent access, which it looks like you've taken care of.
-- Scott http://www.OdeToCode.com/blogs/scott/
On Thu, 12 May 2005 19:22:45 +0100, "Bruce Hodge" <su*****@machas sociates.com> wrote:
Hi Scott,
I'll work my way through that.
The history size just limites the record to the most recent 20 records and the headers are in a seperate table, 2 tables in the XSD in all. So there shouldn't be any problems there unless the DataSet object has threading issues I'm not aware off?
Regards
Bruce H This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Bogdan Fiedur |
last post by:
Hi Everybody,
When we defined this section in web.config in the main root,
<httpModules>
<add name="ApplicationModule"
type="Myspace.Community.ApplicationModule,Community" />
</httpModules
|
by: Markus Kling |
last post by:
Hi,
I have a web application that has two sub-applications. The root application
defines two httpModules which shall not be loaded for the subapplications. I
tried to achieve this by adding
<httpmodules>
<clear />
</httpmodules>
|
by: tshad |
last post by:
I noticed in my Http modules that all the BeginRequests are handled for each
Module before the EndRequests is handled (at least that seems to be the
case).
I have 2 HttpModules each with BeginRequests and EndRequests.
<httpModules>
<add
type="NFission.WebControls.ScrollKeeperModule,NFission.WebControls.ScrollKeeper"...
|
by: Anonieko |
last post by:
Global.asax? Use HttpModules Instead!
In a previous post, I talked about HttpHandlers - an underused but
incredibly useful feature of ASP.NET. Today I want to talk about
HttpModules, which are probably more common than HttpHandlers, but
could still stand to be advertised a bit more.
HttpModules are incredibly easy to explain, so this will...
|
by: Asela Gunawardena |
last post by:
Hi all,
we have a webservice as a seperate virtual directory placed under a Web Site
named GRSCS in IIS. Both are .NET applications and uses MS application
blocks as the data layer. Recently an http module was included in the root
site which is GRSCS and the webservice has not functioned ever since. the
service starts working when u comment...
| |
by: Mikael Syska |
last post by:
Hi,
Google gives alot of hits on httpmodules but I can't seem to find any
useful on my problem ...
I have a site where I'm using my own auth system ... ( guess it could be
better but its work, maybe I will make a new one later, or use the build
-in )
But to my problem ... I have a Admin area, but that users dont have
|
by: =?Utf-8?B?Tm9yZW1hYw==?= |
last post by:
Hi,
We are writing a Web SSO service for all of our websites through Forms
Authentication. We also want to provide our websites with the ability to
protect different parts of their website and redirect to different
registration pages. We are also required to centrally audit authorization
failures to a database only the Web SSO people can...
|
by: Samuel R. Neff |
last post by:
We have a problem with Web.config inheritance in two of our
applications. We have an old app which is poorly written and must be
in the root of the server. We have a newer app which runs from a
virtual directory. The apps are not related.
Old app web.config has:
<httpModules>
<add name="a" type="foo.a, foo" />
<add name="b"...
|
by: =?Utf-8?B?TUNN?= |
last post by:
What do the following httpModules do?
UrlAuthorization
FileAuthorization
ServiceModel
ErrorHandlerModule
ScriptModule
|
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...
|
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...
| |
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...
|
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...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |