Last post Oct 09, 2015 04:55 AM by Fei Han - MSFT
Oct 07, 2015 07:56 AM|arunsilivery|LINK
I'm building my first Angular application with .NET.
I use VS 2015 and C# and SQL Server 2008R2.
SQL Server 2008R2
I'm really excited about this but, despite the almost daunting amount of tutorials and docs available, I can't find a clear explanation of how to retrieve the data from SQL server and display it in my app.
I have been playing around a bit with Dan Wahlin's Customer Manager app, but this is built with Entity Framework and BreezeJS, which are both new
I have also tried to follow this Code Project which builds communication with the server via a standard web service and what looks
like an ajax call to retrieve some json.
However there is no server side code to deserialize the SQL into Json (which I assume is necessary).
This is what I would like:
I don't expect a comprehensive list of all the possible ways of doing this and I'm not asking you to do it for me.
I'm just hoping for a way good enough to get me started.
Thank you very much.
Oct 07, 2015 08:20 AM|DeadTroll|LINK
If you are looking for quick and easy access to data then look at Linq To SQL. Its a little older and not as full featured as Entity Framework but is very easy to understand and get started with. It will also give you a jump start on EF and Linq both are
very good things to understand when working with .net.
Oct 07, 2015 09:45 AM|filmobile|LINK
Hello! maybe this link help you:
Oct 08, 2015 03:39 PM|damienBod|LINK
Here's an example of a solution
You could just use an Entity Framework SQL provider instead of the SQLite provider
Oct 09, 2015 04:55 AM|Fei Han - MSFT|LINK
This article explained how to get data in JSON format using AngularJS.
However there is no server side code to deserialize the SQL into Json
Besides, in this blog, we will see how to Serialize and Deserialize the objects to JSON.