Base solution for your next web application

Activities of "benjaminrivero"

I figure that is (now obviously) required include Entity Framework Package in Application Project. (where the DTO Resides)

Just open console, set Project default to Application and install Entity Framework

Thanks, I think that i will doing it using migrations or custom code, I dont want mix the terminology (features - permissions) perhaps in future this could be confusing.

Thankssss

To me seems like signal IR is more apropiate to this target.

Yes, imagine that I have an application and add some new functionallity, and require new permissions. This new functionallity will be available to all the tenants registered and also the new ones. How update this new permissions to all pre registered tenants??

There is some "magic" code to do that? Or we have to iterate over the tenants/roles and update? like some migration

Thanks

Any one has a answer please? :(

I was checking that file and on the line (115, check the link):

<a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/blob/f10fa5205c780bcc27adfe38aaae631f412eb7df/src/Abp.Web.Mvc/Web/Mvc/Views/AbpWebViewPageOfTModel.cs#L115">https://github.com/aspnetboilerplate/as ... el.cs#L115</a>

Is defined the method Ls. This method: "Gets localized string from given source for given key name..." so, is already done!!!

On the Razor views can be called like this:

<span>@Ls("SOURCENAME", "NameToShow")</span>

And this will show the value for the key name (2 parameter) of the Localization Source passed (1 parameter)

:mrgreen: :mrgreen: :mrgreen:

OK, I found that the problem was the XML, I change this just for testing:

<?xml version="1.0" encoding="utf-8" ?>
<localizationDictionary culture="en">
  <texts>
    <text name="Directorio" value="Directoriooooooo" />    
  </texts>
</localizationDictionary>

And in the menu the Word "Directoriooooo" appears, if I use the next code on the file PROYECTNAMENavigationProvider.cs:

AddItem(
                    new MenuItemDefinition(
                        "Directorio",
                        new LocalizableString("Directorio", "DirectorioSource"),
                        url: "#/directorio",
                        icon: "fa fa-phone"
                        )
                )

Now the problem is on my razor view, where I am trying to show the word with this code:

@L("Directorio")

But this show [Directorio] again.

Showing 1 to 7 of 7 entries