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

Activities of "daws"

There is a breaking change with 0.7.4, please see if it's not related. <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/releases/tag/v0.7.4.0">https://github.com/aspnetboilerplate/as ... g/v0.7.4.0</a>

Hi there !

My Website is accessible for public and registered users.

Even if there is no critical data, I would like that only users using ABP Website (public & registered) could access the WebAPI. The main reason is that I don't want that another concurrent could use my WebAPI calls.

The public user is not logged in, so i cannot use AbpAuthorize property because it does not have a token. So ... it's impossible.

My workaround idea is that each "non-registered user" should be logged as user named "public".

But in this way, I have to avoid settings changes / audit / etc for this specific user.

Is it a good idea for this workaround or you do have a better one ?

Thks !

So, related to previous answer; Is it best to use a separate file controller to manage files to download a zip file like your previous response, or create an webAPI whith a custom http response ? (if it's even possible)

thks !

my goal is to click, create file, and give it to download on frontend. I can store it temporary on disk if necessary, but i'll go for the memory only solution.

With Hibernate, I don't know. I use EF with multiple dbcontext without problem :) (multiple db context for oracle, sqlserver & sqlite)

My team asked me the same question one year ago.

I couldn't provide a response with disadvantages. Instead, i've shown that abp integrates a lot of Framework (logging, db, depedencies injection, authorizations, AngularJS webAPI integration <3, etc ...) that we could implement one by one of course (or with another Framework who can regroup a few of them). But using this Framework saved me few months of project's structuring because everything was already there.

I was using another Domain-Driven Design before ABP, & I could say that abp is tbe best DDD i've seen until now; for my needs.

I'll say that disadvantages are what you need for your project AND that are not included in ABP. If you need Something specific and that it's fast enough to integrate to ABP, go for ABP. (you can fork abp and propose your new functionnalities in Github).

If it's not possible, and another solution suits your needs better, then ... you have to make a choice ! ;)

I use ABP on my project with a database first model, since 2014. (and with oracle !) So yes, it's possible with some manipulations :)

I do not use edmx files, i directly map my domain objects to the db through the db context. You can also use DataAnnotations to map your fields, or create custom mapping with something like that : public class CompanyMap : EntityTypeConfiguration<Company>

And for class related to ABP, run the code first creation, it will provide a dbmigration file. Remove any related code from your tables, and execute only the migration with abp tables.

But after one year, i'm migrating my databasefirst schema to a codefirst schema, it will be easier to maintain.

I think keeping an edmx is not the best choice, because you don't fully control your mapping with your db. try to generate the code first schema from your db, like the previous post said ;)

Question

Hi there !

Related to SettingsDefinition; is it possible to add a custom field/column for settings ? (name, value, sortOrder) for example.

and last, I see the SettingDefinitionGroup code, to group settings by kind for the UI. Is it going to be developed/documented ? :)

related to this document line : "Group: Can be used to group settings. This is just for UI, not used in setting management."

Thks for your help !

Answer

Any plans to insert this EntityFramework.BulkInsert in abp IRepository ?

Maybe it could be a useful feature for other users :)

Anyway, i'll implement it myself in custom repository, since I need it today for myself :)

Answer

nice future thing to have :mrgreen:

Startup project should be one of these 3, depending of your choice : SimpleTaskSystem.ConsoleApp SimpleTaskSystem.WebSpaAngular SimpleTaskSystem.WebSpaDurandal

please read <a class="postlink" href="http://www.aspnetboilerplate.com/Pages/Documents/NLayer-Architecture">http://www.aspnetboilerplate.com/Pages/ ... chitecture</a> to see what application project is.

Showing 91 to 100 of 127 entries