Base solution for your next web application

Activities of "vladsd"

I get an error.. <a class="postlink" href="https://gyazo.com/5ece69f3b2a1df9c719b05ee0758a40e">https://gyazo.com/5ece69f3b2a1df9c719b05ee0758a40e</a> I do have 5.0.6 project, so I need to copy some config files?

Thanks, got it, consider adding a link to documents page.

I installed RAD tool but cannot find any info on how to use it? Can you please direct me? Thanks.

I understand that I can define in code settings with SettingDefinition. What if I do not know what kind of settings Tenants wants, then I would like the ability to let tenant to define those settings. Have anyone implemented it? Or its a new feature? Can SettingDefinition be loaded or added on the fly? Or only in the init stage?

Thanks.

Answer

We plan to give it a try to that EF to Mongo mapping.

Not sure I would believe everything microsoft says.

Thanks, I used the attribute for image. It still not clear how to map it to the FlatFeatureSelectDto as automapping does not work. Should I do it manually for each attribute?

Not sure how .net 4.7.1 is relevant here, as I am using net.core 2.0 in all projects

Answer

Here is a framework which maps EF Core to Mongo DB. <a class="postlink" href="https://github.com/crhairr/EntityFrameworkCore.MongoDb">https://github.com/crhairr/EntityFrameworkCore.MongoDb</a>

My assumption it can be added as is, and then we should be able to configure asp.net zero database to use mongodb.

Please advise?

Thanks, I tried following this setup <a class="postlink" href="https://code.visualstudio.com/docs/editor/debugging">https://code.visualstudio.com/docs/editor/debugging</a> But this config fails to attach

{
            "type": "node",
            "request": "attach",
            "name": "Attach",
            "port": 4200
        },

Can yo share your launch.json file that works? Thanks so much.

To answer your questions: what errors are you getting? none, it would not transfer data Could you share error details (*/App_Data/Logs/logs.txt)? logs show no errors Did you add mapping configuration for these entity and DTO classess to *.Application.CustomDtoMapper.cs? There are already existing maps for features. They do not seems to work if you add new fields to classes.

//Feature
            configuration.CreateMap<FlatFeatureSelectDto, Feature>().ReverseMap();
            configuration.CreateMap<Feature, FlatFeatureDto>();
Showing 141 to 150 of 166 entries