Tranform a desktop app (in C#) inSilverlight app RRS feed

  • Question

  • Hi all!

    I want to create  a web application which contain a photo editor.But the photo editor is in C#.I don't have any idea how to put the C# project (the photo editor) in the site(which i will create in Expression Blend 4).Can you please help me?

    I don't want to start from the beginning with photo editor because this one i had already created last year.

    Now my teacher told me to make this application to be an online application.Not only a desktop one.

    Thanks a lot!

    Thursday, February 24, 2011 12:17 PM

All replies

  • Silverlight is a different framework than the main .NET framework. If your photo editor was written in .Net framework, you can't use it directly in Silverlight. The simplest way,  in the Silverlight project you are using, import exiting items and add those photo editor C# files. Because most of DLL are the same names, your photo editor might work in Silverlight. If it complains some reference dll cannot be found, you have to copy those parts of codes and rewrite it in Silverlight.

    Thanks, Harry [MSFT]
    • Proposed as answer by Harry.MSFT Friday, February 25, 2011 4:26 AM
    Friday, February 25, 2011 4:26 AM
  • My project in C# is a WinForm application.

    I don't really understand how to do...

    Can you be more explicitly?


    Saturday, February 26, 2011 11:47 AM