No this was the first time I was going to start the application. I haven't done any customization's yet. Whats really weird is today it worked just fine and I didn't do anything but restarted my computer.
Oh yeah of course, I should have thought that one through more haha.
Thanks for the help.
<cite>hikalkan: </cite> Hi,
You should configure it on the host settings page (<a class="postlink" href="http://www.aspnetzero.com/Documents/Development-Guide#host-settings">http://www.aspnetzero.com/Documents/Dev ... t-settings</a>). Is there a problem about that?
Yes, I got this working. I missed how to login to the tenant management side so I kept missing the SMTP settings page since you cannot do that from the tenant management side.
Thank you.
Excellent, thank you.
I have handled sending AntiForgery tokens with Ajax before but I am pretty new to Angular so I will need to do some more research on how to handle this with Angular.
Sounds good Thanks
Yes it does. The project service works just fine. When I remove $modal it works just fine. For example this works just fine. It has something to do with $modal.
(function () {
appModule.controller('tenant.views.projects.index', [
'$scope', 'abp.services.app.project',
function ($scope, projectService) {
var vm = this;
vm.projects = [];
vm.getProjects = function() {
projectService.getProjects({}).success(function (result) {
vm.projects = result.items;
});
}
vm.getProjects();
}
]);
})();
Perfect that worked, this may be a stupid question but what is the difference between $uibModal and $modal
I had to do the same thing for $uibModalInstance to make it work.
Oh yes I see that now. Thank you.
I was wondering if you figured out a way to automatically make Anti-Forgery mechanism as you suggested back in September of last year you were working on?
I just learned that AngularJS $http service reads a token from a cookie (it looks for XSRF-TOKEN and ASP.NET uses __RequestVerificationToken) then Angular will set it as an HTTP header (X-XSRF-TOKEN).
The documentation talks a bit about this here about half way down the page in the section labeled "Cross Site Request Forgery (XSRF) Protection" <a class="postlink" href="https://docs.angularjs.org/api/ng/service/$http">https://docs.angularjs.org/api/ng/service/$http</a>
Here is a good example how to do this in ASP.NET MVC or WebAPI. The problem is since you use the Dynamic WebAPI controllers for the Angular App I have no idea how to make this work for those. <a class="postlink" href="http://geekswithblogs.net/Frez/archive/2015/01/11/anti-forgery-tokens-with-angularjs-and-asp.net-web-api.aspx">http://geekswithblogs.net/Frez/archive/ ... b-api.aspx</a>
Any help would be greatly appreciated.