Solved

I have a dotnet dll that uses system.drawing, how can I call this from silverlight or lightswitch - it is a desktop app

Posted on 2014-07-24
3
483 Views
Last Modified: 2014-08-04
I have a dotnet dll that uses system.drawing, how can I call this from silverlight or lightswitch - it is a desktop app
0
Comment
Question by:sparksolutions
3 Comments
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
ID: 40218662
What would be the purpose of this dll?
As far as I know, in lightswitch it's only possible to use a silverlight control as a custom control in your UI screens for example.
In order to do this, you can add an extra project to your solution that holds the silverlight controls and refer to this project from your lightswitch client project.
Then you can use the "custom control" option in the designer to use a custom control from this project.

A few links that can  help you on your way to creating custom controls for lightswitch:
How to: Create a LightSwitch Control
Creating A LightSwitch Custom Silverlight Control
0
 

Author Comment

by:sparksolutions
ID: 40218669
I have a class for en oding a magstripe
If is a dotnet class
0
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 500 total points
ID: 40240487
you should wrap your desktop dll with a web service (WS-* or RESTful), so it can be consumed by the silverlight application comfortably.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now