alkampfer on January 25th, 2012

One of the most annoying problem with the first version of entity Framework is that you have barely no option other than go with “Database First approach”, and when you start mapping database views your life started to become difficult. The first obvious problem is that the designer, during the import phase from database, try [...]

kick it on DotNetKicks.com

Continue reading about Entity Framework error 3002 on views when model updated

alkampfer on January 20th, 2012

The power of WPF binding really shines when you use design time data to have a live preview of the aspect of your UI without the need to press F5 to load actual data. Design time data is a cool feature you can have with little effort, suppose you have a simple windows and you [...]

kick it on DotNetKicks.com

Continue reading about Design time data in WPF and Blend with little effort

alkampfer on November 21st, 2011

I usually work with WCF service that needs to be secured with Certificates or simply using HTTPS. The usual question from other dev in the team is “how can I simulate HTTPS to work with WCF?” The problem arise that to test https sites, people usually work with IIS self issued certificates. Figure 1: Self-Signed [...]

kick it on DotNetKicks.com

Continue reading about How to test SSL based WCF services

alkampfer on November 17th, 2011

I’ve dealt with this problem some time ago and the solution I posted worked well, but requires you to manipulate the content of the page, injecting script on the DOM. If you want to get rid of annoying messagebox with javascript error, there is another solution based on simply setting the Silent property on the [...]

kick it on DotNetKicks.com

Continue reading about Disable Javascript errors in WPF Web Browser Control take2

alkampfer on September 7th, 2011

We have a web application written in asp.net and we experienced really strange problem after recent modification. We have a strange behavior in IE9 with redirects and after some inspection we found a really strange fact (that almost make us lost 2 hours of work). To recreate this situation simply create a new page in [...]

kick it on DotNetKicks.com

Continue reading about The strangest bug of IE I’ve ever seen