Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using ASP.NET Web Forms without WiFi
Message
 
 
À
25/11/2015 12:56:35
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 10
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01627849
Message ID:
01627878
Vues:
37
>Yes - I knew we'd have to allow offline working from the word go so use very little ASP.NET functionality. The pages are all static HTML. The server only has to deliver those pages and send/receive data via WebApi. All of the UI state is handled in angularjs. If you are relying on round trips to the server to update the UI then you will have a real problem. If you can then focus on just those page which *must* work offline and convert them to static pages with local storage.

If you don't mind, I have a question. In my application in order to update the database the pages call SQL Stored procedures. When you are using WebApi, how do you update the SQL Server (or whatever database you are using)? I mean, conceptually, does WebApi call Stored procedure or the client WebApi updates the server?
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform