开发者

calling .net 4 from .net 3.5 via self hosted wcf service

I have a .net 3.5 application. It cannot be migrated to 4.

I need to call a .net 4 assemb开发者_高级运维ly from my application.

I thought to create a new executable in .net 4 which has a self hosted wcf service that is an adapter over the 4 assembly. My 3.5 app can then execute the external process and call the assembly.

This is a little ugly - any better idea?


Google says it is possible. It seems there is a new feature in .Net 4 called Inproc Sxs (In process side by side).

Have a look here : http://social.msdn.microsoft.com/Forums/en/netfxgeneralprerelease/thread/6f699c4f-58f5-4f6f-8a8c-08482e5f4478 and here : http://blogs.msdn.com/b/clrteam/archive/2009/06/03/in-process-side-by-side-part1.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜