Solved

Class Library Advice (C#)

Posted on 2014-09-10
1
213 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 39

Accepted Solution

by:
Kyle Abrahams earned 500 total points
Comment Utility
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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

763 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

6 Experts available now in Live!

Get 1:1 Help Now