1

I want to combine a ASP.NET Core with my Application (Angular 2), what is the request-command to get the insert data from Angular 2 in the database from ASP.NET Core?

If you have a better idea to combine ASP.NET Core with Angular 2 then send your idea, please.

Everything is build up in Visual Studio 2015 (ASP.NET Core) and Visual Studio Code (Angular 2 Application).

Maximilian Riegler
  • 22,720
  • 4
  • 62
  • 71
J. Doe
  • 67
  • 2
  • 11
  • 1
    Cool, so you have a Angular 2 frontend and want to post data to your ASP.NET backend? What have you tried so far? – Maximilian Riegler Sep 12 '16 at 13:02
  • i do not know what can i try, first i try to combine the angular 2 app in the ASP.NET Core, but that failed, and yes i want to get the request from Angular app and work with that in ASP.NET Core, so that i can add, delete, update the database. – J. Doe Sep 12 '16 at 13:10
  • Maybe [this link](http://stackoverflow.com/questions/15369619/how-to-handle-ajax-jquery-post-request-with-wcf-self-host) will be useful. – heringer Sep 12 '16 at 15:46

1 Answers1

2

Take a look at the tour docs: https://angular.io/docs/ts/latest/tutorial/toh-pt6.html

John Baird
  • 2,606
  • 1
  • 14
  • 33