[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Need recommendations for communication between program and server

Posted on 2016-10-11
1
Medium Priority
?
101 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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

OfficeMate Freezes on login or does not load after login credentials are input.
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
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.…
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.

656 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