Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Jquery UI error
Message
De
13/04/2015 12:22:17
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Versions des environnements
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01618237
Message ID:
01618323
Vues:
39
>>>Thanks for responding, but I think I will take Rick's advice and start over small. angular and web api with empty mvc project.
>>
>>Good idea. When using angular I hardly use MVC at all - just static HTML pages and WebApi for data (doesn't seem to be much point in having MVC logic on the server when angular's doing MVVM on the client anyway.....)
>
>PMFJI, could you give a very brief explanation of what do you mean by "WebApi for data"? How does it work? (Whenever you have time, if you do) TIA.

Basically just an async http call from angular (I tend to use the hi-level $resource methods) to a WebApi controller on the server that returns JSON objects.
On completion angular automatically slots the results into the relevant view.

If you google 'angular+webapi' you'll find lots of examples....
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform