Solved

Class Library Advice (C#)

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

912 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

21 Experts available now in Live!

Get 1:1 Help Now