|
-
August 30th, 2010, 06:22 AM
#1
Design help: WCF, WPF
Hello.
I'm designing a system to display data that is collected from several origins.
I will be glad to read every comment and every input.
The starting point is simple asp file or any C# application.
They send data (text string by HTTP) to WebService or WCF.
The WebService rating of receiving messages is about 5 each second.
WebService validate the message and add each message to 2 lists:
1. "DB List" to be flushed to database, each defined number of seconds.
2. "OnLine List" to be read by application each X seconds and retrieve Y number of messages back to caller.
In addition there are 2 application:
1. Application that address the "OnLine List" and gets some messages from it.
The application display messages by a set of rules that is checked to each message.
2. Application the queries database by specified criteria and display the results in a grid.
I thought to use WCF for the element that gets the HTTP messages from asp and application.
The WCF will manage the two lists and flush to DB when relevant.
the on-line application will be WPF. it suppose to call the WCF, to get number of messages from it and to display it.
The third part (querying database for inserted messages) will also be WPF.
What do you think?
Technically / Design / ...
Thanks.
-
August 30th, 2010, 02:15 PM
#2
Re: Design help: WCF, WPF
I would avoid having the applications interact with the database directly.
Instead I would have the app(s) talk to a WCF service which performs the db work.
In terms of WPF applications, I assume you are talking about using Silverlight from a web browser. If so, you might be interested in the Duplex channel abilities of WCF that can send notifications to clients. This approach doesn't scale but works well for intranet applications (with somewhat limited users).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|