Solved

Need recommendations for communication between program and server

Posted on 2016-10-11
1
47 Views
Last Modified: 2016-10-18
Register program written in VB with Visual Studio 2012 needs to communicate with Windows Server 2012.  Will not be running credit card data.  Just local accounts. Current communication is with the standard execute reader and data adapter using a connection string.

I want to create services on server to receive input from programs. The services would run stored procedures or do select statements that would return either a string or file located on server (Stored Procedures) or data table (Select Statements)

I was thinking of sending the data like so:
CreateTable(select * from TABLE where COLUMN1= @PARA1 and COLUMN2=@PARA2, {"@PARA1","@PARA2"}, {PARA1,PARA2})

RunStoredProcedure(STOREDPROCEDURENAME, {"@PARA1","@PARA2"}, {PARA1,PARA2})

Data sent/received is AES 256 encrypted.

I have looked into creating services before and was not sure how to start. Would the above be a good way to describe a project to a potential programmer?  Where would be a good place to find someone? Is there any thing I am overlooking?
0
Comment
Question by:Millkind
1 Comment
 
LVL 38

Accepted Solution

by:
Aaron Tomosky earned 500 total points
Comment Utility
What you need is a web service. Lots of examples abound but here is on that is pretty easy to follow with sample code
http://www.codeproject.com/Articles/495839/Single-web-service-for-NET-web
Additionally you need a DAL (data access layer) to reside in this web service
https://www.asp.net/web-forms/overview/getting-started/getting-started-with-aspnet-45-web-forms/create_the_data_access_layer

So instead of a dal directly feeding your application, it feeds a web service and your app calls the web service to add delete or query things.

I hope this gets your started, I don't actually code but I used to manage the infrastructure for a bunch of guys that did this stuff regularly so I'm familiar with the high level structure.
1

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

What to do when Windows Update is not working correctly? What tools can I use to detect the cause of the malfunction problem? What does this numeric error code mean? These and other questions that you have been asking in the past are answered here (…
OfficeMate Freezes on login or does not load after login credentials are input.
In this Micro Tutorial viewers will learn how to use Windows Server Backup to create full image of their system. Tutorial shows how to install Windows Server Backup Feature on Windows 2012R2 and how to configure scheduled Bare Metal Recovery backup.…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

772 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

12 Experts available now in Live!

Get 1:1 Help Now