Re: [AngularJS] Crud ?
On Tue, 1/3/17, Alain Mouette wrote: Subject: Re: [AngularJS] Crud ? To: angular@googlegroups.com Date: Tuesday, January 3, 2017, 3:44 PM Crud may get you into trouble... I wrote a small blog about Api good practices, I hope it can help: https://bonseletrons.wordpress.com/creating-a-good-api-for-an-spa/ - Alain Mouette (ツ) A 3 de janeiro de 2017 10:48:06 JUNIOR FERREIRA escreveu: Where I can see the sources of a project like this: Crud with paging and search consuming JSON webservice ? -- You received this message because you are subscribed to the Google Groups "Angular" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Angular" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout. odea CorneliaLupta romanilor pentru unitate nationala 1834-1849 Editura Academiei R.S.R. -- You received this message because you are subscribed to the Google Groups "Angular" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
Re: [AngularJS] Crud ?
Crud may get you into trouble... I wrote a small blog about Api good practices, I hope it can help: https://bonseletrons.wordpress.com/creating-a-good-api-for-an-spa/ - Alain Mouette (ツ) A 3 de janeiro de 2017 10:48:06 JUNIOR FERREIRA escreveu: Where I can see the sources of a project like this: Crud with paging and search consuming JSON webservice ? -- You received this message because you are subscribed to the Google Groups "Angular" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Angular" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
[AngularJS] Crud ?
Where I can see the sources of a project like this: Crud with paging and search consuming JSON webservice ? -- You received this message because you are subscribed to the Google Groups "Angular" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
[AngularJS] Crud operation using Angular JS
Hi All, I am new to Angular JS , i need to save the form details into DB using angular js and Web API 2 Here is my solution architecture My Web Application solution has 1.Angular JS (Single Page Application using Angular Start project template) 2.Class Library for Entity Framework 3.BAL class library and Web API is a separate solution -- it resides in different location. Here is my angular js call to web api.. $http({ method: 'POST', url: 'http://localhost:2649/api/lookup', data: JSON.stringify(lookupdata), headers:{ 'Access-Control-Allow-Origin': '*', 'Access-Control-Allow-Methods': 'GET, POST, PUT, DELETE, OPTIONS', 'Access-Control-Allow-Headers': 'Content-Type, X-Requested-With', 'X-Random-Shit':'123123123' } }).then(function successCallback(response) { $scope.error = response; }, function errorCallback(response) { $scope.error = response; }); and web api method is [HttpPost] public bool Post(string value) { here saving the data into DB using DbContext } Please let me know what mistake is there Thanks, Vijay Devd -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
[AngularJS] Crud Application Displaying updated List after Post
Hello, I'am a AngularJS novice. I am trying to build a simple demo CRUD application which uses AngularJS on the client and Restful Service on the backend. I have a page which shows all entries of a db table (list-page) and one that adds an entry (post-page). My problem is how to automatically show the list-page after the submit of the post-page. When I use *$location.path('/');* at the end of the post-controller the list-page is displayed seemlessly, but the list is not updated with the new entry. So I have replaced with *$window.location.href = '/mitglieder/#!/';* * $window.location.reload();* This works. But it displays the old list-page for an instance and then reloads it with the new version. Also I think it might not be the right way to use AngularJS this way. I do not want to reload the whole page, I only want to reload the data from the server not the view. What would be the right strategy for this? Many thanks for any input. -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
[AngularJS] CRUD grid, ASP.NET MVC WebAPI, EF Code First
I have autogenerated crud-grid with few textbox columns. Now i need to add a column Country with dropdown. In my enitity class i have this public long CountryId { get; set; } public virtual Country Country { get; set; } This is my first day with AngularJS and i totally dont understand how it works. As for me its too much difficult. So please help me with full code, for C# controller, js and html Thank you very much -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.