Guardian’s Home

.NET, Software Developing, Mammuths and various Life Things…

Archive for the ‘Tips’ Category

Resharper and the OutOfMemoryException problem

without comments

After having tried (and still using CodeRush Xpress), it’s now time for me to give an eye at Resharper too.
To be honest I really like some of its capabilities, but I’m used to get a lot of OutOfMemoryException from it which have a very bad impact on the usability of the product: it tends to [...]



kick it on DotNetKicks.com

Written by Guardian

December 23rd, 2008 at 7:57 am

Posted in Tips, Visual Studio

Serialization Exception: PropertyChangedEventManager is not serializable

with one comment

Actually I’m working on a multi-target framework for Silverlight and WPF and I have developed a base to be used by any entity and DTO class that can also be sent back and forth through WCF or WebServices; a deriver class supports a generic clone method (see deep clone of a business object: the quick [...]



kick it on DotNetKicks.com

Written by Guardian

December 4th, 2008 at 4:30 am

Wrap IList<T> and use it for effective binding in Silverlight and WPF

without comments

If you use some ORM tool like NHibernate and your business entities or DTOs have to support collections of other elements, you are forced to use the interface notation IList<T> or ICollection<T> to hold a reference to the real collection implementation (cause usually those ORM tools tend to inject their own implementation of the collection [...]



kick it on DotNetKicks.com

Written by Guardian

November 24th, 2008 at 7:05 am

CodeRush Xpress Tips

without comments

If you use CodeRush Xpress with Windows Vista you may experience continuous crash of the environment.
To resolve this issue you can right click on the Visual Studio exe (or link in the startup menu) and go to the compatibility tab.
Then put a check on ‘Disable visual theme’ and ‘Execute as administrator’…the translation may not be [...]



kick it on DotNetKicks.com

Written by Guardian

November 14th, 2008 at 4:38 am

Posted in Tips, Visual Studio

Tagged with , ,

Silverlight Plug-in and the Height Percentage problem in Firefox

with 3 comments

Today I added a small Silverlight application to an existing and styled website, the app was surrounded by the usual <div>:

1: <div style="height: 100%">
2: <asp:Silverlight ID="Xaml1" runat="server" Source="~/ClientBin/XXX.xap"
3: MinimumVersion="2.0.31005.0" Width="100%" Height="100%" />
[...]



kick it on DotNetKicks.com

Written by Guardian

November 6th, 2008 at 7:59 am