locked
Wrting ASP.NET application to host on local or cloud server RRS feed

  • Question

  • User-788886914 posted

    Hello All:

    I've written a Windows Form application which performs following functions:

    - Connects to Modbus TCP/IP devices and collects data periodically

    - Stores the data in local SQL Database/Could Database

    - Generates statistics, alarms, reports etc..,

    - Creates users and logins. Authorizes different access levels to users etc..,

    But this GUI runs on Windows desktop. I would like to convert or rewrite this application so that I can host on local sever or a cloud based server. As per my research, ASP.NET core is the way to go? I am new to ASP.NET and there are 100s of options. I am totally confused which approach should I be using

    Could anyone please suggest what is the best way to rewrite this application to host on local/cloud server.

    Thank you,

    Shwetha.

    Tuesday, February 26, 2019 8:07 PM

All replies

  • User2053451246 posted

    Web-based applications running in the end-users browser cannot access network devices, which I'm guessing Modbus is.  You most likely will not be able to make this application web-based.

    If the server hosting the application has access to the devices you might be able to write something where the server does it's thing and stores the results in your database and the end user of the web application just looks at data in the database.

    Tuesday, February 26, 2019 8:17 PM
  • User283571144 posted

    Hi shwethagc,

    - Connects to Modbus TCP/IP devices and collects data periodically

    - Stores the data in local SQL Database/Could Database

    - Generates statistics, alarms, reports etc..,

    - Creates users and logins. Authorizes different access levels to users etc..,

    According to your description, I suggest you could split the winform application to two part, if you want to rewrite the win form application to web application.

    The first part, you could write a windows schedule task to run a net core console application to connect to Modbus TCP/IP devices and collects data periodically and write the data into the database.

    The second part, you could write a web application to  get the data from the database and generate all the pages which contains differernt feature.

    Best Regards,

    Brando

    Wednesday, February 27, 2019 5:34 AM