Angularjs with MSSQL Server with out webapi or entityframework RRS feed

  • Question

  • User-1075244417 posted

    I'm building my first Angular application with .NET.

    I use VS 2015 and C# and 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 to me.

    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:

    • an example of how to connect my Angular app to SQL Server DB.
    • the example should mention the steps involved to achieve that.

    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.

    Wednesday, October 7, 2015 7:56 AM


All replies