How to build such an enterprise software architecture?

Dear gods, I used C-sharp to write a three-tier architecture (DAL, BLL, UI) winform desktop software, after the development is completed, made into an installation file, now this software needs to be installed on multiple computers in the company"s local area network.

however, there is always a problem, that is, this software is directly connected to the database, and there is a database connection string in every installation file. Once the connection string changes, you have to remake the installation package and reinstall it. It"s too troublesome.

now I want to put the DAL and BLL layers on the internal servers of the company, and then all the other computers in the LAN only install the UI layer. In this way, you can only change what is on the server when you change it. This is equivalent to putting an interface on the server, and then the client UI layer calls it.

what technology is needed to implement the above approach? Do you have any simpler examples? thank you.

Mar.31,2021

there are two ways to look at your scene.

  1. it is recommended to use socket server as the center for strong interaction
  2. if there is weak interaction, it is recommended to use HTTP,. You can use either PHP or ASP.NET to implement
  3. .

you can use the same .net wcf,binding with either soap or restful

  • Who can tell what this code is?

    C3-A7-C5-93-C5-B8-C3-A4-C2-BA-C2-BA-C3-A5-C2-A8-C2-B1-C3-A4-C2-B9-C2-90-C3-A5-C5-B8-C5-BD-C3-A6-C5-BD-E2-80-99-C3-A8-C2-A1-C5-92-C3-A6-C2-A6-C5-93 the decimal system is as follows 195,167,197,147,197,184, 195,164,194,186,194,186, 195,165,194,168,19...

    May.25,2022
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3ef53-2bbcf.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3ef53-2bbcf.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?