Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Class Library Advice (C#)

Posted on 2014-09-10
1
Medium Priority
?
241 Views
Last Modified: 2014-09-25
Hi,
I have a piece of software which runs on a server.  The clients access this via a web browser.
The software itself includes a capability to extend it.  It does this by allowing code to be hung off of event handlers.
Normally this code is just a class library, things I’ve already done include interfacing to other pieces of software or writing logs when certain things happens

I’d now like to do something on the logged on event.  Basically I wish to display ‘something’ (web page / form, etc…) on the client machine.
The problem is I’m not even sure is this is feasible with just a class library?  Is it also thwarted by the fact that it would be only be possible to display something on the server and not on the client machine itself?

Any thoughts / suggestions much appreciated.
0
Comment
Question by:andyw27
1 Comment
 
LVL 41

Accepted Solution

by:
Kyle Abrahams earned 2000 total points
ID: 40315364
I would make a webservice.

Pass your parameters (if any) to the webservice from the client (could be the web application or windows form app).  The webservice would invoke the 3rd party part, and then pass a response back.  (Could be some unique class or a string).

From there the client would need to process the response, and then you could display your message with an alert, messagebox, or updating a control on the form.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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 …
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
The Relationships Diagram is a good way to get an overall view of what a database is keeping track of. It is also where relationships are defined. A relationship specifies how two tables connect to each other. As you build tables in Microsoft Ac…
Suggested Courses
Course of the Month10 days, 16 hours left to enroll

571 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