Solved

Need recommendations for communication between program and server

Posted on 2016-10-11
1
83 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 39

Accepted Solution

by:
Aaron Tomosky earned 500 total points
ID: 41839458
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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

Every now and then, Microsoft does something that totally impresses me. It doesn't happen often, but in this case I must say I am thoroughly impressed with Windows Server Backup. One of the long time issues with Windows Backup has been the ability t…
Resolve DNS query failed errors for Exchange
In this Micro Tutorial viewers will learn how they can get their files copied out from their unbootable system without need to use recovery services. As an example non-bootable Windows 2012R2 installation is used which has boot problems.
In this Micro Tutorial viewers will learn how to restore their server from Bare Metal Backup image created with Windows Server Backup feature. As an example Windows 2012R2 is used.

726 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