c# Programming Glossary: proxies
How do I serialize all properties of an NHibernate-mapped object? http://stackoverflow.com/questions/1190718/how-do-i-serialize-all-properties-of-an-nhibernate-mapped-object the web methods are actually serializing the NHibernate proxies instead of my classes. I've tried using XMLInclude and XMLElement..
Using CookieContainer with WebClient class http://stackoverflow.com/questions/1777221/using-cookiecontainer-with-webclient-class
C# using Tor as Proxy http://stackoverflow.com/questions/1962483/c-sharp-using-tor-as-proxy response.Close it works perfect with normal proxies but with Tor I am getting Exceptions while calling GetResponse..
C# Object Pooling Pattern implementation http://stackoverflow.com/questions/2510975/c-sharp-object-pooling-pattern-implementation this public void Test internalFoo.Test This just proxies all of the real methods to its inner IFoo we could do this with..
Identifying NHibernate proxy classes http://stackoverflow.com/questions/2664245/identifying-nhibernate-proxy-classes proxiedObject You don't need to test for proxies to call Unproxy it returns the original parameter if it's not..
How do I create a custom membership provider for ASP.NET MVC 2? http://stackoverflow.com/questions/2771094/how-do-i-create-a-custom-membership-provider-for-asp-net-mvc-2 be served the cached page. We work around this by telling proxies not to cache the sensitive page then we hook our custom authorization..
Automatically INotifyPropertyChanged http://stackoverflow.com/questions/527602/automatically-inotifypropertychanged want to know if they have changed . Anton suggests dynamic proxies . I've actually used the Castle library for something similar..
Mocking Static methods using Rhino.Mocks http://stackoverflow.com/questions/540239/mocking-static-methods-using-rhino-mocks the CLR profiler APIs. They are simpler in that they use proxies to intercept virtual members and interface calls. The downside..
EF 4.1 - Code First - JSON Circular Reference Serialization Error http://stackoverflow.com/questions/5588143/ef-4-1-code-first-json-circular-reference-serialization-error lazy loading as well for the specific circumstances where proxies are disturbing like serialization ppEFContext.Configuration.ProxyCreationEnabled..
Entity Framework Multiple Object Contexts http://stackoverflow.com/questions/5693843/entity-framework-multiple-object-contexts find the answer I'm looking for I am using EF4 with POCO proxies. A. I have a graph of objects I fetched from one instance of.. issue is well known problem with deficiency of dynamic proxies generated on top of POCO entities combined with Fixup methods.. with Fixup methods generated by POCO T4 template. These proxies still hold reference to the context when you dispose it. Because..
Correct way communicate WSSE Usernametoken for SOAP webservice http://stackoverflow.com/questions/5836685/correct-way-communicate-wsse-usernametoken-for-soap-webservice Reference targeting the wsdl and from the generated proxies using them as such ServicePointManager.ServerCertificateValidationCallback..
Serializable classes and dynamic proxies in EF - how? http://stackoverflow.com/questions/7276507/serializable-classes-and-dynamic-proxies-in-ef-how classes and dynamic proxies in EF how In a previous posting I was set on the path to having.. whilst my class Claims is serialisable the dynamic proxies generated by EF are not... somehow my decorations are not flowing.. in the head. Update V I don't know if the issue is the proxies or lazy loading but after thinking about it a little it seems..
Obtain parameter values from a stack frame in .NET? http://stackoverflow.com/questions/75076/obtain-parameter-values-from-a-stack-frame-in-net interception framework or you write your own with .NET 's proxies. I did it once and documented it in http tdanecker.blogspot.com..
How to tell Fluent NHibernate not to map a class property http://stackoverflow.com/questions/907576/how-to-tell-fluent-nhibernate-not-to-map-a-class-property I get this error The following types may not be used as proxies iMasterengine.Data.Model.Calendar method get_HasEvents should..
Redirecting unauthorized controller in ASP.NET MVC http://stackoverflow.com/questions/977071/redirecting-unauthorized-controller-in-asp-net-mvc be served the cached page. We work around this by telling proxies not to cache the sensitive page then we hook our custom authorization..
|