Base solution for your next web application

Activities of "damir"

Question

I am having problem with the localization in the AspNet Zero project I am using for my application.

My plan is to use the @L() helper for localizing the MVC views I am using in the single page Angular App. My plan was to use first the @L() with a new text key and then go to Application#/languages/texts/en the UI and enter the translation for the newly used text.

Here is a printscreen of my source code and how it looks in the app: <a class="postlink" href="https://gyazo.com/0242c8fcfd5c4384f0109d59519e1a36">https://gyazo.com/0242c8fcfd5c4384f0109d59519e1a36</a>

The problem is now that I don't find the new key "languagesTest" in the UI for editing the texts.

Is my approach possible? What am I missing?

Do I need to have a XML localization file?

Regards, Damir

Thx for the hint. I already tried this but with no luck. In couple of variations of my code I managed to get some tables into the DB ( see image ) but this is still far from a working solution.

I would realy like to use ABP in a project but first I need to solve the user management.

Is there a working demo of the module Zero sample aplication in combination with NHibernate?

Regards, Damir

Thank you for your help!

I checked out the sample application in Zero module. This implementation is working and is exactly what I need. I tried to implement it the similar way in my application that is using NHibernate instead of EF.

I added the needed references and code. The problem is I am missing NH mapping files. I am getting error: NHibernate.MappingException: No persister for: TestProject.Users.User

I see that the mappings already exist in your Zero.NHibernate project.

How to use the existing mappings? What am I missing?

Best regards, Damir

I started my project based on the project generated by ABP. Now I need to add usermanagement with login functionality.

There is a Zero project that should offer this functionality but how to use it?

I checked out also the TaskEver project but it is not using the Zero module. I had also problems getting it to run.

Wha is the best way to implement user management?

Best regards, Damir

Showing 1 to 4 of 4 entries