E
E
Elnur Mamedov2018-08-03 13:24:06
Windows
Elnur Mamedov, 2018-08-03 13:24:06

How to write a restaurant automation system in C#?

Hello fellow toasters! My question is: how to write a program in C # that will unite several computers? Perhaps I formulated the question not quite correctly, but I think the essence is clear. My friend needs to write a program to automate a restaurant. It is planned to put a tablet at each table, with the help of which the client will place an order. And the manager will have a tablet on which he can see all orders, their status, etc.
To summarize, the question is: how to write an application in .NET that will work on several devices, and all this business will be connected?
I'm almost sure that there is some special technology from Microsoft for this, but I couldn't find anything in Google.

Answer the question

In order to leave comments, you need to log in

8 answer(s)
S
Satisfied IT, 2018-08-03
@taliwman

A tablet means an android, which means we are writing an application in C # using Xamarin that communicates with the server via api.
Server - we use the ASP.NET Web API with which applications from the tablet interact.

A
Artem @Jump, 2018-08-03
curated by the

How to write a restaurant automation system in C#?
Just pick up and write.
What is the problem? What specifically is not working for you?

I
Igor, 2018-08-03
@DMGarikk

judging by this question and that you cannot find the answer in Google, it’s too early for you to write such a program,
dig towards the client-server architecture and the http protocol

J
Jhn Doe from, 2018-08-03
@spbislanders

"A tablet for every table"?
if the Internet does not suit you, then all devices will be connected to the same local wifi network (I'm not strong in network terminology)
1. let the application in C # be placed on some server / PC in the restaurant itself
2. for tablets there will be an application on ios / android which will be written in java / swift (mb objective c?)
the second point can be simplified if you write a web application with .NET in c # (I can be wrong about its need), so that you can open a browser on the tablet and connect to the server ip inside the local network, on which your c# web application is installed,
all devices will be connected to one wifi point.

K
Kalombyr, 2018-08-03
@Kalombyr

Good day.
https://habr.com/post/169467/
then create a server, and each device communicates with the server using sockets.
In general, at least write hello world in C # for android to begin with...

R
Roman, 2018-08-04
@yarosroman

For the server, we write on the ASP.Net Core WebApi server, for the tablet on android on Kotlin, we write a native application.

A
Andrey K, 2018-08-04
@kuftachev

XXI Century. I don't understand why people suggest using native apps for such a simple thing.
You can use any of the three main js frameworks as a client to choose from. Websocket only with device manager.
If you enable payment, then people will be able to place an order directly from their phone without installing any application and immediately pay ... Well, you can also put a couple of tablets in the hall.

V
VoidVolker, 2018-08-06
@VoidVolker

I made such a system. It is implemented in an elementary way: a server, on it a web application that shows a menu with photos of dishes and order buttons, in the tables there are tablets with NWJS, which shows this very menu and has additional functionality for controlling the tablet (screen brightness, on / off, etc. .), plus a separate web application for managing tablets (add, delete, rename, configure, etc.). There were MS Surface tablets - I don’t recommend it, something regularly goes wrong in Windows and you need to insert crutches. It is more convenient and optimal to use Linux for clients. The server can be written on anything.
This is how the client for tablets looks like: https://freelansim.ru/projects/105943

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question