locked
Silverlight Compatibility with existing C#2.0 libraries RRS feed

  • Question

  • Hi,
    I have a scenario wherein i need to migrate an existing Windows application of mine to an web application using silverlight. I am unable to add references of my existing C#2.0 dll's to the Silverlight projects due to CLR incompatibility.
    Is there any way by which i can reuse my existing Entities,BusinessAccess layer and DataAccess Layer and only change the UI part?
    Wednesday, May 4, 2011 8:37 AM

All replies

  • Hi,

    With Silverlight 4, you can call out to COM objects installed on the local machine. However to do this the user needs to choose to allow the Silverlight App full access to their machine.

    In addition the COM object needs to already be installed on the machine. Therefore the user would first have to separately download and install your DLLs before using any features that relied on them in your Silverlight application. This will resolve the incompatibility issue of C#2.0 dll with silverlight.

    Thanks.

    Sunday, June 5, 2011 2:17 AM