473,804 Members | 2,147 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Application design consideration

Hi,

I have two applications. One is a WinForm (in future it will be a service)
and gets some data from serial port and adds them into database. It can be
named as a beck-end appliacation. The second one, fron-end application, is a
WebForm user interface. I would like to inform the WinForm (or in future
service) application from the WebApplication to make some processing, no
matters how it will finish or what will happen - something like a clicikng of
a virtual button by a Web appliaction by a Win application.

Do you have any ideas? I have been thinking about MSMQ, or Remoting but not
sure if it is the best way.

Thanks.
Przemo
Nov 17 '05 #1
3 1227
The easiest way would be to just drop some values in a db that the windows
service can read at a regular poll, perhaps through a web service method
call - the values indicating to the windows service to do something

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"Przemo" <Pr****@discuss ions.microsoft. com> wrote in message
news:8D******** *************** ***********@mic rosoft.com...
Hi,

I have two applications. One is a WinForm (in future it will be a service)
and gets some data from serial port and adds them into database. It can be
named as a beck-end appliacation. The second one, fron-end application, is a WebForm user interface. I would like to inform the WinForm (or in future
service) application from the WebApplication to make some processing, no
matters how it will finish or what will happen - something like a clicikng of a virtual button by a Web appliaction by a Win application.

Do you have any ideas? I have been thinking about MSMQ, or Remoting but not sure if it is the best way.

Thanks.
Przemo

Nov 17 '05 #2
Thank you.
But what do you think about using MSMQ? Using database looks little like
implementing msmq my own way.

Przemo

"John Timney (ASP.NET MVP)" wrote:
The easiest way would be to just drop some values in a db that the windows
service can read at a regular poll, perhaps through a web service method
call - the values indicating to the windows service to do something

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"Przemo" <Pr****@discuss ions.microsoft. com> wrote in message
news:8D******** *************** ***********@mic rosoft.com...
Hi,

I have two applications. One is a WinForm (in future it will be a service)
and gets some data from serial port and adds them into database. It can be
named as a beck-end appliacation. The second one, fron-end application, is

a
WebForm user interface. I would like to inform the WinForm (or in future
service) application from the WebApplication to make some processing, no
matters how it will finish or what will happen - something like a clicikng

of
a virtual button by a Web appliaction by a Win application.

Do you have any ideas? I have been thinking about MSMQ, or Remoting but

not
sure if it is the best way.

Thanks.
Przemo


Nov 17 '05 #3
I think for what you have suggested its overkill and will take you
considerably more lines of code to implement.

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"Przemo" <Pr****@discuss ions.microsoft. com> wrote in message
news:CF******** *************** ***********@mic rosoft.com...
Thank you.
But what do you think about using MSMQ? Using database looks little like
implementing msmq my own way.

Przemo

"John Timney (ASP.NET MVP)" wrote:
The easiest way would be to just drop some values in a db that the windows service can read at a regular poll, perhaps through a web service method
call - the values indicating to the windows service to do something

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"Przemo" <Pr****@discuss ions.microsoft. com> wrote in message
news:8D******** *************** ***********@mic rosoft.com...
Hi,

I have two applications. One is a WinForm (in future it will be a service) and gets some data from serial port and adds them into database. It can be named as a beck-end appliacation. The second one, fron-end application, is
a
WebForm user interface. I would like to inform the WinForm (or in
future service) application from the WebApplication to make some processing, no matters how it will finish or what will happen - something like a

clicikng of
a virtual button by a Web appliaction by a Win application.

Do you have any ideas? I have been thinking about MSMQ, or Remoting
but not
sure if it is the best way.

Thanks.
Przemo


Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
1931
by: Neal | last post by:
I'm thinking about so many posts I've read and answered in the past month - here's where my brain is at. Feel free to add and comment as you see fit. The biggest problem in web design is choosing that design before the content is set. Content is king. We need to set things up to display the text content. The smart designer knows that the user might size the text any which way, so the design needs to flex to the text size over any other...
9
1758
by: ldufrane | last post by:
Hi All, I just started a project, which features various great websites that use CSS/web standards, this projects also highlights what techniques they use to create the wow effects, in certain articles, css demos are also included. This project is at http://www.pixiebits.com Also, articles and resource submissions are requested by anyone who
3
1846
by: Joris Dobbelsteen | last post by:
Dear, I have some considerations I need to take designing a distributed application (it's for a school project). Basically I'm looking for some reference or guidiance material/literature and advises on (potential) issues I should take caution for. The design involves a distributed simulation application. It simulates sheeps in a pasture, together with dogs, wolves and shepherd. The pastures contain grass. There are also multiple...
0
951
by: Ice | last post by:
All - I just wanted to folks thoughts on what "ideal" webservice design is based on their experiences taking into consideration the two observations (and any others you may have) below: 1. Calls to webservices are still RPC-based i.e. explicit method names are used e.g. "GetWeather" as opposed to generic "Send" with "function" contained in the message sent. 2. Lack of clarity of what the request/response entities should be i.e....
5
1457
by: newjazzharmony | last post by:
I want to share one instance of an object across an ASP dot net application, and I'm trying to weigh the pros and cons of the following two approaches: a) Storing the object in ApplicationState b) Storing the object in a static member variable (utilizing a singleton design pattern) Any recommendations on which method would be more suitable? What happens in each of these cases if IIS decides to spawn a new app
13
1938
by: steve yee | last post by:
strcpy() returns it's input parameter. i asked a similar question on c++, most people seem to not think it as a problemic design. how do you think of this? http://groups.google.com/group/comp.lang.c++/browse_thread/thread/fd0aa4307b91bad8
7
1642
by: Janiv Ratson | last post by:
Hello, We are going to develop our application from scratch. The application is currently written for WIN32 users only, using MFC. The requirements asks that the application will run (in the future) on Windows, MAC and Linux. Is there any way to write all the code on the .NET Framework, or I should write the core code in native C++ and write the top level modules (including GUI) in .NET Framework (using C#), so I can use the core code in...
9
2827
by: Grizlyk | last post by:
Somebody have offered std colors to C++ in the msg here: http://groups.google.com/group/comp.lang.c++/browse_frm/thread/2e5bb3d36ece543b/1acf6cd7e3ebdbcd#1acf6cd7e3ebdbcd The main objection to the including "colors markup" is useless of the marks, the marks is unneccessary extra information. The most used way to make colored view of C++ programs is usage of classes of C++ language words (already included in C++): reserved words, user...
60
3893
by: jim | last post by:
I am looking for an application that will wrap my .Net application (and any needed .Net parts) into a single exe. I know of Thinstall ($4,000 for application and per copy fees for your exes) and of Xenocode (~$1,500 plus ~ $12 per copy of your exe). But, I'd like something that is actually affordable for a hobbyist programmer. This capability (Thinstall's being able to wrap a .Net app and ship it as a single exe) would be a FANTASTIC...
0
9711
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10343
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10335
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10088
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5529
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5668
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4306
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3831
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.