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
487 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
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…

773 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