What does Entity Framework has to do with MSBuild?

November 24, 2008

The answer to the above question should be “nothing, unless you’re trying to build a project that references entity framework”, but apparently it isn’t so. Say you have a project you’ve built, and you want to build it through code, using the Engine class of Microsoft.Build.Engine assembly. The code should look something like this (taken from MSDN): // Instantiate a new Engine object Engine engine = new Engine(); // Instantiate a new FileLogger to generate build log FileLogger logger = new FileLogger(); // Set the logfile...

Entity Framework doesn’t support web services + entity inheritance

November 22, 2008

Entity Framework supports entity inheritance, which is a basic requirement for O/R mappers. When exposing a model through a service, either an ASMX WS or a WCF service, a WSDL will be created that among other things describes the structure of the entities, including the inheritance tree of the entities - This is done to allow creation of methods that return polymorphic types. EF supports derived entities through WCF services with data contract serialization using the KnownTypeAttribute which is added to the base class for every derived class. ...

Silverlight 2 can pass client certificate

November 2, 2008

When we started working with Silverlight 2 Beta 1, we’ve noticed that there is a problem accessing services which reside on a secured server (secured with CheckPoint Secure Remote) – The silverlight client just didn’t pass the client cerificate needed to access the server. The solution to this was to access all our services from JavaScript, because IE can pass the client certificate to the server. This of course caused us to start thinking on how to write a framework that will allow calling a JavaScript proxy as easy as calling a proxy...
no comments