Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using ASP.NET Web Forms without WiFi
Message
 
 
To
25/11/2015 13:53:46
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 10
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01627849
Message ID:
01627888
Views:
46
Thank you.

>Think of this scenario....
>
>You have VFP application. A human uses that application to send and receive data. How that data gets into the VFP form from you database doesn't matter. It could be VFP tables, SQL Server, ADO, ODBC, or even text files.
>
>Now you have Web API. A computer uses that web API to send and receive data. How that data gets into the Web API from your database doesn't matter. It could be EF, ADO.Net, LINQ2SQL, or even text files.
>
>
>
>>What confuses me (and I know it is just me :) that Viv said that he uses WebApi to send/receive data. So to me something that sends or receives data is not exactly UI. But I think I understand what you are saying; that WebApi "calls" EF to send/receive data. Am I correct?
>>
>>>WebAPI has nothing to do with the database. Think of WebAPI as the UI. You can use any type of database updating mechanism you want. By default, WebAPI uses Entity Framework, but its not required.
>>>
>>>
>>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform