structuremap3 Questions
3
We are recently upgraded a web/mvc application to use StrucutreMap 3.0.4
Now, when attempting to profile the application using RedGate Ant's profiler at the "Line Level Timings, All Methods with S...
Smock asked 18/7, 2014 at 21:58
1
Solved
I'm having a very weird issue with StructureMap.MVC5
I created a brand new MVC5 project in Visual Studio (default options for an ASP.net MVC project were left selected.)
I then installed structur...
Elisabetta asked 4/6, 2015 at 10:31
2
Solved
I am trying to set up structure map ver 3.0.5.0 with Web API 2.
I have followed this implementation: Configuring dependency injection with ASP.NET Web API 2.1
However, I am getting this error whe...
Entomophagous asked 29/7, 2014 at 18:36
0
We are using StructureMap 3.1.6.186 and are running into a problem with overriding a particular plugin. In our case, we have a console application which we are deploying to a remote server. The Con...
Bravissimo asked 17/2, 2016 at 14:21
1
Solved
I have a ASP MVC 4 app that uses Structuremap. I'm trying to add logging to my application via Structuremap interception.
In a Registry, I scan a specific assembly in order to register all of it's ...
Mis asked 2/10, 2014 at 15:1
2
Solved
I have been looking around for a non Parameter injection option for the WebApi attributes.
My question is simply whether this is actually possible using Structuremap?
I have been googling around ...
Medardas asked 5/2, 2015 at 19:43
1
Solved
I am just getting my feet wet with MVC 6. I installed VS 2015 and with the default ASP.NET 5 preview MVC Web Application template everything runs fine under local IIS.
I then tried to switch out th...
Lucia asked 22/8, 2015 at 13:20
1
Solved
I have a Web API project which uses StructureMap for its DI. It's been working fine for awhile, but I'm having some issues with the Web API help pages (Microsoft.AspNet.WebApi.HelpPage) where Inval...
Diesel asked 9/7, 2015 at 13:10
1
Solved
Ok, my previous question/setup had too many variables, so I'm stripping this down to it's bare bones components.
Given the code below using StructureMap3...
//IoC setup
For<HttpContextBase>...
Ailee asked 21/11, 2014 at 0:9
1
Solved
I've been struggling getting DecorateAllWith working on generic interfaces. I've read some posts here where they solved it using interceptors but they seem to be using an older structure map versio...
Matherne asked 5/8, 2014 at 8:16
2
Solved
I've done interception using Castle.DynamicProxy and StructureMap 2.6 API but now can't do it using StructureMap 3.0. Could anyone help me find updated documentation or even demo? Everything that I...
Diversified asked 11/5, 2014 at 14:38
1
In StructureMap 2 I had something like this:
For<ILogger>().HybridHttpOrThreadLocalScoped().Use<Logger>();
When using Structure Map 3 should I use the following?
For<ILogger>(...
Cryoscope asked 22/4, 2014 at 21:42
1
I have an existing application using the last build from the 2.x version of Structuremap, and it works fine. StructureMap 3 just went live recently and I decided to try updating to it and see how i...
Donofrio asked 3/4, 2014 at 18:46
2
Solved
With structuremap 2.6.4.1 my container is configured like this:
existingContainer.Configure(expression =>
{
expression.For<IDocumentSession>()
.HybridHttpOrThreadLocalScoped()
.Use(co...
Prem asked 13/4, 2014 at 9:7
1
© 2022 - 2024 — McMap. All rights reserved.