I already implemented basic auth in a regular webapi project, but I'm not 100% safe in my knowledge. I'll try first the way you demonstrated in your very nice documentation.
Thanks for your answer.
Yes, I'm a bit bothered about deriving from Entity for my DTO. I'm wondering if I'm going to create a MyEntity implementing IEntity just so I can play with attributes. Not sure too.
Thanks for your answer !
So, I created a unique Migration file (create default database, remove all migration files, Add-Migration Initial) and it worked in My SQl
Maybe you should do that in the srtartup template - nobody is going to down migrate from your migrations.
on a regular asp.net mvc project, I used this successfully : <a class="postlink" href="https://www.nuget.org/packages/RedWillow.MvcToastrFlash/">https://www.nuget.org/packages/RedWillo ... astrFlash/</a>
Ok, got it
adminUser = User.CreateTenantAdminUser(_tenantId, "[email protected]","123qwe");
Instead of using DefaultPassword. Should I raise an issue, fix it on github ?
In my case , I got this exception because I was not adding a Module. I copied the one from the generated test project, and it worked.
I was thinking it was unneeded for testing an application services, seems I was wrong.
<cite>joemo: </cite> If its the log4net file thats locking, I had the same problem. You can get around it by adding this line to log4net.config before the </appender> line:-
<lockingModel type="log4net.Appender.FileAppender+MinimalLock" />
Thanks !
I get this error
[ComponentNotFoundException: No component for supporting the service Elmah.Mvc.ElmahController was found]
Castle.MicroKernel.DefaultKernel.Castle.MicroKernel.IKernelInternal.Resolve(Type service, IDictionary arguments, IReleasePolicy policy) +99
which I solved using this : <a class="postlink" href="http://stackoverflow.com/a/13573059/130420">http://stackoverflow.com/a/13573059/130420</a>
Elmah being a very useful / used component, you should add it to the documentation I think.
Everytime I deploy to Azure AND the application is running (in Azure), I got an error "Web deployment task failed") because it can't suppress Logs.txt (locked by a process)
I can change by removing the "Suppress extra files during publish", but it seems to me that having the logs.txt file locked is wrong.
I'm starting to believe it's quite had to use ABP out of its comfort zone. Then, I don't think my problem is specific to ABP :)
I tried to make it using MySql : first, I had to apply <a class="postlink" href="https://github.com/aspnetboilerplate/module-zero/issues/77">https://github.com/aspnetboilerplate/mo ... /issues/77</a> (after fixing it since the ABP code seems to have evolved), and now I'm stuck on an error during migration :
alter table AbpPermissions
drop index IX_UserId
MySql.Data.MySqlClient.MySqlException (0x80004005): Cannot drop index 'IX_UserId': needed in a foreign key constraint
I assume I can fix it using <a class="postlink" href="http://stackoverflow.com/a/8482400">http://stackoverflow.com/a/8482400</a> but there's a lot of fk to remove. I'm going to try to create a single migration files and see it's better handled by mysql