Questions tagged [interception]
174 questions
0
votes
1 answer
.net MVC controllers interception with Ninject
I have MVC 4 project and Ninject 3 all wired up.
Now I want to handle interception on my MVC Controller methods.
If I add this:
kernel.Bind().ToSelf().Intercept().With();
it kinda…

Goran
- 1,807
- 7
- 27
- 41
0
votes
1 answer
Ninject interception WCF service
I'm a newbie on the subject, so I'll try to make this as clear as I can...
I created a WcfModule, where I load the following package:
Bind().To().InRequestScope().Intercept().With();
At…

RubenHerman
- 1,674
- 6
- 23
- 42
0
votes
2 answers
Autofac interception configuration for generics
I'm trying to do some sort of interception by using Autofac. Currently I've some bll objects configured:
updater.RegisterGeneric(typeof(BaseBll<>))
.AsImplementedInterfaces()
.InstancePerRequest()
…

Daemon025
- 87
- 1
- 11
0
votes
1 answer
IOS custom system interceptor or security system
Is it possible to create a security tool for IOS that would control and enable/disable some system calls and resources (e.g. application launching requests, Internet access, etc.)?
I'd like to create an app that will act like a parental control.
We…

Zarathustra
- 115
- 2
- 8
0
votes
1 answer
LightInject PerWebRequest Interception
This is specific to LightInject's interception. Is it possible to apply interception logic based on PerWebRequest lifetime so that interception logic can be conditionally turned on/off based on user input? E.g. something like this.
public static…

Syed Danish
- 106
- 1
- 9
0
votes
1 answer
intercept all request from local machine and create specific responses for them
We need to extend pretty old application, which make a lot of integration testing connected with remote datasources, but this cases wasn't properly writtten, so it's not an easy way to change it to some network independent stubs. Is it possible to…

silent_coder
- 6,222
- 14
- 47
- 91
0
votes
2 answers
Attempt to resolve item from Ninject in IInterceptor fails
I am attempting to use Ninject on my current project, and up to now, have been loving it. I am in the middle of attempting to configure an IInterceptor object to intercept and handle a failed method call to my service layer. This is hosted in an…

tostringtheory
- 877
- 8
- 19
0
votes
0 answers
Caching Entity Framework Entities in Aspect
I am trying to cache my entities returned from repositories. I am intercepting calls to repository methods, so that I can check if the requested data exist in cache.
But, since I am intercepting the method call, I can't obtain the real entity type,…

ayk
- 1,407
- 2
- 19
- 26
0
votes
2 answers
Interception with Autofac for .NET 3.5 SP1
Is there any support for interception with Autofac for .NET 3.5 SP1?
The last version of autofac for .NET 3.5 SP1 is 2.6.3.862.
This is a refresh of the internals of a legacy app.
Thanks in advance
0
votes
1 answer
Automatic Model Validation using DataAnnotations outside MVC
I am using DataAnnotation Attributes to apply validation to properties on my model, outside of MVC.
public class MyModel
{
[Required]
[CustomValidation]
public string Foo { get; set; }
}
I have implemented the following extension method…

Sam Leach
- 12,746
- 9
- 45
- 73
0
votes
0 answers
Linux Loadable Kernel Module memory error when intercepting some System Calls
I am trying to intercept system call to change the behaviour of some of them. I use a LKM following among other thing what is described here: http://syprog.blogspot.co.uk/2011/10/hijack-linux-system-calls-part-iii.html.
However, I face some problems…

tfjmp
- 1
- 2
0
votes
1 answer
WSO2 ESB: Incoming Message Interception
How to intercept all incoming message of ESB?
I want to process all message that ESB receiving. can I do this work using handler and module in ESB?

Ramtin Ramtin
- 173
- 3
- 12
0
votes
1 answer
Does strucutremap has interception capabitlities, why do i need another libratry like windsor castle for that?
does strucutremap has interception capabitlities, why do i need another library like windsor castle for that?
is there a native way from structuremap to do that?
AOP Logging with StructureMap is a similar question but the answer resides back to a…

Tiju John
- 933
- 11
- 28
0
votes
1 answer
Intercept TCP and UDP traffic localhost
Is there a way to intercept TCP and UDP traffic that is inside localhost on Windows in C#? For example an app running on localhost sending messages through TCP and/or UDP on localhost... I need to intercept these to determine the efficiency of data…

mrtentje
- 1,402
- 2
- 22
- 43
0
votes
1 answer
How to Intercept Class Definitions in Ruby?
Is it possible to code something that can tell me when a Ruby class is defined?

trufflep
- 45
- 1