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

Activities of "bilalhaidar"

Hi,

I want to check the HTML/js/css for some features used in the metronic theme. Are those files freely available? If not, what's the workaround here?

Thanks

Hi, I was checking this github: <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate-samples/tree/master/MultipleDbContextDemo">https://github.com/aspnetboilerplate/as ... ontextDemo</a>

I am wondering, how would IRepository<Person> make use of "Default" DbContext, while IRepository<Course> make use of "Second" DbContext?

How do you direct each IRepository to use a different DbContext?

Thanks

Question

Hi,

I am browsing Metronic Theme online and I can see it has a lot of UI things to make use in an application.

When I want to use a certain feature of that theme, shall I do any extra thing to integrate with Abp? Or I can simply check the HTML/JS code from the online demo of Metronic and use the same in my app?

For instance, the Modal control, which one Abp boilertplate is using? Ui-Bootstrap or the one from Metronic?

Thanks

Hi,

How can I organize my code through VS Projects in such a way:

1- I want to separate "business modules" by VS Solution 2- Every VS Solution would contain (.Core), (.EntityFramework) and (.Application)

This way, multiple developers can work on separate "business modules" at the same time.

Looking forward to hearing your recommendations.

Regards Bilal

I can still inject an IXXXPolicy in the ApplicationService, and then I create run a method for example IXXXPolicy.Validate().

Inside that method I can contact DB to get for instance, if a field is required (this info should be stored in DB as client wants to dynamically change hide/show and required/optional on fields so I cannot use Data Annotations in this case). So this function would grab that info and accordingly validate. In case of something missing and it is required I can through AbpValidationException.

On the Domain Service level, still I can do other types of validations (business related ones). Then in this case I an through UserFriendlyExceptions.

Does this make sense?

Thanks

OK, if I create that on AppService layer, how would I access the info on Razor views given the fact I am loading Razor views in Angular?

Shall I extend the Views Base class with methods like @IfShown("FieldName") {} ?

You got my point? A Razor View is requested, then inside the View I need to check what fields are to be shown/hidden and render accordigly.

Thanks

Yes it exists.

I access this through Users screen not through Tenants screen. Also in my case, if I do Unlock, I will be unlocking Host Admin not specific Tenant Admin.

So in case a Tenant Admin is locked, can a host Admin unlock him?

Thanks

OK Thanks.

So it is safe to just add my keys to XML. Shall I go and save all values on the web app so that they all get into DB or there is no need?

Thanks

Hi,

I read this documentation.

Basically, it falls back to XML files when a key is not found in DB.

Then it says this: So, when you need to a new localized text, define it into XML files as you do normally. You should at least define it in default language's XML file. Also thus, you don't need to add default values of localized texts to database migration code.

Does this mean that when I want to add new keys, I add them to XML file. Then the system would know that there is a new key and it will add it to Database? Or the keys I add to XML will stay there always and not get inserted into DB?

Thanks

ASP.NET MVC 5 + Angular js 1.x

Thanks

Showing 571 to 580 of 635 entries