A
A
Anton Ivanov2020-10-27 12:04:52
ASP.NET
Anton Ivanov, 2020-10-27 12:04:52

A web service on ASP.NET and its admin panel (Windows application) are two different applications, or can they fit into one?

There is a task described in the title.
There should be a service that sticks out (albeit within the same enterprise) and this service needs an admin panel (adding / deleting users, searching in logs, disabling / enabling this service, etc.).

I have not worked with ASP.NET before, now I tried to write a simple service and right there, within the same application, make it a small GUI. It worked, but it looked like a (not) big perversion.

It seems to me that here, according to the mind, there should be 2 applications, in fact, the web service itself and its admin panel.
There is only one question, is it possible (and how) to run a web service application from the admin panel?
Simply calling the Main of the web service project did not work (logically). Is there any option to start a web service other than just running its exe file?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
FreeBa, 2020-10-27
@FreeBa

You are trying to implement a three-tier (in your case four-tier, which should actually be a three-tier xDD) architecture.
Do not try to shove the unimpressible. Make the main service for which everything else will be clients. You will be happy. On what it will be and how it will be implemented - just do not matter. At least take the Java spring - it's all compatible at the protocol level.

A
acwartz, 2020-10-27
@acwartz

Why do you need a Windows application for the web service admin panel when Windows has a browser or even several? They are also windows programs. And very much even GUI.
Just write a web service, a user face and an admin face.
And according to the mind, the service per user should be separated from the administrative part, i.e. generally do not carry a single byte of administrative code like this:
5f982106cb357020232391.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question