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
496 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
PowerShell: ForEach-Object Export to CSV 4 87
PowerShell:  Use of subproperties in a Select statement 7 63
Put File 6 32
What!!!??? 5 57
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

740 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