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
So I do it on the client side not server side?
OK, so a normal class that contains my validation rules (read from DB), if the validation fails, I throw an exception, any such sample in your samples online?
Thanks
Do you think I can inherit from this class: AbpWebViewPage
then add my code there? In my case, the things I want to read from DB are specific for a View, so is it possible for that View only, to use a class that inherits from AbpWebViewPage and that read some data from DB to use on the View?
Thanks
How can I get latest features so that I have latest features? Can I upgrade the code? or I have to replace the entire code?
Problem solved!
In the Web.config I was setting this:
<add key="WebSiteRootAddress" value="http://localhost:6240/{TENANCY_NAME}" />
Seems this doesn't work. On production, I will just put the placeholder as a subdomain.
Thanks