Solved

Class Library Advice (C#)

Posted on 2014-09-10
1
216 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 40

Accepted Solution

by:
Kyle Abrahams earned 500 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
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 …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

776 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