A question of design

S

Shawn

Hi.

Our company and one of our contractors are going to exchange data between
our financial systems. The contractor has set up a web service so that I
can download and upload data between the systems. The data is to be
exchanged in two ways. Sometime during the night the application should
start and download/upload everything that has changed during that day. In
addition to that they want me to create a web application they can access at
any time and download data that is needed immediately.



What is the best way to do this? Should I just create a dll that contains
all the methods needed and then use that from both the web application and
the windows application that should be started during the night?



Any help is greatly appreciated!



Thanks,

Shawn
 
K

Kevin Spencer

You should always design your business classes without an interface (other
than a programming interface) in mind. Then you can implement any type of
external user or software interface to make use of them.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
You can lead a fish to a bicycle,
but it takes a very long time,
and the bicycle has to *want* to change.
 
S

Shawn

Ok, but how do I actually do it? Do I create a class that communicates with
the web service and use that class from the interface or do I make a dll and
refer to it from Visual Studio? Or some other way maybe?

As you undoubtedly have figured out by now I've never done this before :)

Thanks,
Shawn





You should always design your business classes without an interface (other
than a programming interface) in mind. Then you can implement any type of
external user or software interface to make use of them.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
You can lead a fish to a bicycle,
but it takes a very long time,
and the bicycle has to *want* to change.
 
K

Kevin Spencer

A DLL is a file. A class is software. The software must reside in a file,
which would be a DLL or executable. In this case, it would be a DLL, or, in
Visual Studio, a Class Library.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
You can lead a fish to a bicycle,
but it takes a very long time,
and the bicycle has to *want* to change.
 
S

Shawn

Thanks.
Do you know any good articles on the area, or books for that matter? I
really need to get myself up to date on this.

Shawn

A DLL is a file. A class is software. The software must reside in a file,
which would be a DLL or executable. In this case, it would be a DLL, or, in
Visual Studio, a Class Library.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
You can lead a fish to a bicycle,
but it takes a very long time,
and the bicycle has to *want* to change.
 
K

Kevin Spencer

If you have Visual Studio, check out the documentation regarding "Class
Library" Projects. The "Class Library" template is one of the New Project
templates that are available.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
You can lead a fish to a bicycle,
but it takes a very long time,
and the bicycle has to *want* to change.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,434
Messages
2,571,685
Members
48,796
Latest member
Greg L.

Latest Threads

Top