?
Solved

Need recommendations for communication between program and server

Posted on 2016-10-11
1
Medium Priority
?
93 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 39

Accepted Solution

by:
Aaron Tomosky earned 2000 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

My GPO's made for 2008 R2 servers were not allowing me to RDP into a new 2012 server by default.  That’s why I tried to allow RDP via Powershell, because I could log into a remote shell without further configuration. Below I will describe how I wen…
OfficeMate Freezes on login or does not load after login credentials are input.
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.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
Suggested Courses

801 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