What strategy to use to create Offline application [closed]

0

I made an ASP.NET web application (c #) for a mining company where: they enter daily work data and the application generates online reports. It has a login, account creation, etc.

This application is used in an office with an internet connection, but they need you to implement an offline solution to work in a remote office in the city without connection.

I would be interested in knowing your strategies or experiences to migrate this web application to a desktop one, that once the team connects to the internet, this "uploads" the information collected to the database.

    
asked by Luis Pizarro Ramírez 12.06.2017 в 15:39
source

1 answer

1

If it's a web development you could use the offline capability of html5

Work offline thanks to the API HTML5 cache

Of course from the browser client you will be able to detect when you are offline and record in a local db provides html5.

In this case you will not be able to use asp.net events, but you should use ajax calls perhaps with jquery $ .ajax or even better if you use Angular, in this way you control when working locally or against the server

    
answered by 12.06.2017 в 16:34