Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "donpedrodelamuerte"

Maybe I didn't understand how RESTful api work. I'm a student and still a newbie in web application. So it's probably not the place to discuss this. But I thought all request needed to be an http request GET, PUT, POST etc...

If I write directly the url let say localhost:1234/controller/action

Am I not bypassing the web api?

Hi,

sorry for the late reply, I don't work often on that project.

I took the asp.net Core 1.x template with module zero actually, but I guess it's the same as the mvc 5.x, is it ?

Hello! I'm using Abp template with module zero to make a basic web app. So far Abp features are all I need.

But I also have to use a REST api. As far as I understand, the .web project is the client application layer and it's mostly using MVC I think.

After reading the doc, I found the Dynamic-Web-API. Is that what I need to use Abp with a REST api ? It sounds like all I have to do create an interface ITaskAppService : IApplicationService and set

Configuration.Modules.AbpWebApi().DynamicApiControllerBuilder.For<ITaskAppService>("tasksystem/task").Build();

Is that it or is there anything else I need to know?
What will prevent the user to use the basic MVC controller already implemented in the .web projects?

thanks!

Thanks for the reply! It helped a lot!

The only issue I have is I can't update the field IsActive and IsEmailConfirm for the user. Somehow, even if the user was created in the DB.

What I'm trying to do is this: Once the user clicked the confirmation link he received by email this method is called:

[UnitOfWork]
 public async Task<ActionResult> ConfirmEmail(int userID)
 {
        //find the user by id
        User userToUpdate = await _userManager.FindByIdAsync(userID);    //--> always return null
        //User userToUpdate = await _userManager.GetUserByIdAsync(userID);   //--> throw exception AbpException: There is no user with id: 7

         //activate user & confirm email - this is supposed to auto update the db...
         userToUpdate.IsActive = true;
         userToUpdate.IsEmailConfirmed = true;

         return RedirectToAction("Login");
}

Problem is, the user is never found. Would this be the right way to update a user ? It seems so when I read this page: [http://www.aspnetboilerplate.com/Pages/Documents/Unit-Of-Work])...

Hi there, I am trying to implement an account confirmation feature when user register in the system. I am using the ABP template with asp.net Core and Module Zero.

I am trying to adapt this tutorial : <a class="postlink" href="https://docs.microsoft.com/en-us/aspnet/core/security/authentication/accconfirm">https://docs.microsoft.com/en-us/aspnet ... accconfirm</a>

But as you guessed it is not working...

Does boilerplate currently have built-in support for this feature? If not, how should I do it?

Hi there,

I'm trying to learn how to use boilerplate at the moment. I'm a little bit confuse about something.

When I create a sample project for ASP.Net Core 1.x on <a class="postlink" href="http://www.aspnetboilerplate.com/">http://www.aspnetboilerplate.com/</a>

Why is the project.json target framework "net462" instead of "netcoreapp1.0"?

Showing 1 to 6 of 6 entries