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

Activities of "bilalhaidar"

Hi, I saw today the Blog Module on GitHub. It is developed as having its own .Core, .Application, etc. projects.

  1. Is this a best practice way of developing new modules on top of aspnet boilerplate framework?
  2. Following the same method of adding new module, makes upgrading framework files easier?
  3. Is it a must to add nuget also? If not, what should be done just add normal reference to class library dll?

Thanks Bilal

Hi Bilal,

You need to use something like this:

employeeService.getEmployees({}).then(function (result) {
vm.employees = result.items;
});

You can also add .finally() function in case you want for example to signal loading is done.

Hope this helps, Bilal

Great!

But still first time application loads, who asks the SettingsManager to save any settings in DB? I am sure there are some settings set by SettingsProviders in different modules.

There might be something missing for me, dunno.

Thanks again

Thanks @JeffHM I will check that.

Thanks Ismail always :)

Maybe I was mistaken, a refresh is needed and it works now.

Although in the texts.cshtnl, the languages array is set to static values in the controller and it shows without problems, however, the source names because they are loaded from db, a refresh was used.

Thanks

Very true Ismail, this is what I've concluded that no need to use any of the filters, but even with IMayHaveTenant would add a filter of TenantId.

Thanks @JeffHM :-)

By the way, the data filter you employee, is it something supported by EF? Any reference on that pls.

Thanks

Thanks @JeffMH. i will follow the steps and see how it goes.

Thanks

So, let me share with you steps:

  1. Create a new Solution Folder
  2. Create .Core, .Application and .EntityFramework class libraries
  3. Add needed class references, etc.
  4. Make the main Web Module depend on the custom .Application module?

Is that it?

Thanks

Thanks for you.

Showing 481 to 490 of 635 entries