asp.net - Httpcontext is null? -


Is it right to say that when the HTTPXtext object is empty - then is IIS down?

i

Environment:

The first request for AISP creates API manager.

There is an application runtime in it.

And

With HTTOTX in the HTTP application with each, there are handler responses and requests.

Enter image details here

So when What do I mean if I get in asp.net HttpContext?

I do not think you can run an IIS down ASP.NET application , Simply

If you have a piece of code where HttpContext.Current is zero you are probably not running in the web server but in some way, in other ways, for example In S, we have a class library designed for the Web Library which is a Windows service, a console application or a unit The TT project refers directly to those assemblies and there is definitely no HTTP contact!

Web services should also be served if IIS should be served, if directly called with assembly reference and there is no web context, then it can not reach any HTTPTTEX.

Show your unsuccessful code and tell how you use it and we will see why your reference is meaningless in that case.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -