Comments (4)
Good catch llusetti,
I'll make sure we update this for the next release, it should either A) wrap
the DefaultModelBinder, or B) not mess with your configuration if we can't
wrap.
Please let us know if you run into any other issues - we know we don't have
too many users doing their own implementations of some of the more
"internal" parts of MVC, so your feedback is much appreciated.
Thanks,
Nik
On Tue, Apr 19, 2011 at 8:17 AM, llusetti <
[email protected]>wrote:
Hi, I've started using Glimpse today so maybe I'm wrong about this or
occurs only in my configuration.I user NInject in my MVC application and my MvcApplication class extends
Ninject.Web.Mvc.NinjectHttpApplication. I override OnApplicationStarted and
set ModelBinders.Binders.DefaultBinder to my custom implementation.I've noticed that biding was broken after adding Glimpse to my project. I
looked inside Glimpse source code and found that in the Binders plugin the
DefaultBinder gets replaced if it's not a GlimpseDefaultModelBinderif (!(ModelBinders.Binders.DefaultBinder is GlimpseDefaultModelBinder)) ModelBinders.Binders.DefaultBinder = new GlimpseDefaultModelBinder();
Is this the intended behavior or should it be replaced by a wrapper ?
if (!(ModelBinders.Binders.DefaultBinder is GlimpseDefaultModelBinder)) { if (ModelBinders.Binders.DefaultBinder == null) ModelBinders.Binders.DefaultBinder = new GlimpseDefaultModelBinder(); else ModelBinders.Binders.DefaultBinder = new GlimpseModelBinder(ModelBinders.Binders.DefaultBinder); }
Reply to this email directly or view it on GitHub:
#19
from glimpse.
I'm really happy to contribute in some way to this great tool. For me it was love at first sight!
Thanks
Luca Lusetti
from glimpse.
@llusetti thanks for working with us to help sort out these issues and thanks for the positive feedback - keep an eye out for the next release
from glimpse.
@llusetti we know about the support for type of scenario with Glimpse not being ideal. At the moment we are making changes that will help with being able to support it (i.e. we are working with DynamicProxy to be able to do some wrapping which should be able to facilitate this). Keep an eye out on the next release.
from glimpse.
Related Issues (20)
- Initialize Glimpse HttpModule after OwinStartup
- Get Glimpse Website is Down HOT 5
- Please provide support for Web API
- Is there a way to use Glimpse in an Asp.Net 4.7 or higher app?
- specified type is not registered on the target server error in EF core for spatial point bulk insert in entity framework extension
- Glimpse.AspNet is incompatible with Sentry
- Consider basing off PhotoGIMP HOT 2
- Support for Web API
- My Timeline and Page Cycle are empty, ASP.NET WebForms.
- Bad unicode in menus HOT 1
- How to install Glimpse in a web app sitting in production HOT 1
- Glimpse HUD is not showing Partial Views names
- Glimpse affected by GIMP fatal bug. HOT 3
- Need an easy to use "Save for Web" option HOT 2
- HUD not displaying data HOT 2
- In the SQL tab, I can't see the SQL statements executed by the Ajax request on the server
- Crashing when Streaming Glimpse window in Discord
- DefaultRuntimePolicy throws invalid-cast exception when set to on.
- Custom config reset after update via flatpak
- Would anyone be interested in working with me to implement a GAN Brush? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glimpse.