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

Activities of "antonis"

Hi,

I created a new AppService in asp.net core and in client I have the following code:

const url = 'http://localhost:22742/api/services/app/CustomSettings/GetServiceSettings';

return new Promise((resolve) => {
	this.http.get(url).map(res => res.json())
		.subscribe(config => {
                       debugger;
			resolve();
		});
});

And I get unauthorised 401 even If I am logged in.

Any idea why am I getting this?

So that means nothing in used under that folder? Could you be more specific please. These files are killing my performance and performance is so crucial. It is pity to include files that are not used at all and they are just leftovers.

Answer

<cite>ismcagdas: </cite> @antonis default setting values are not stored in database. They are defined with the setting itself in the code. The setting values in the database overrides default values defined in the code.

That's why I suggested to insert values to the database (AbpSettigs table) for changing setting defaults. This is an example setting with a default value <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/src/Abp/Timing/TimingSettingProvider.cs">https://github.com/aspnetboilerplate/as ... rovider.cs</a>.

I have already done that. I just want to know where are the default values defined in the code?

I read the thread. The guy said that he removed metronic in order to use bootstrap-material. So this is not my case.

Please do let me know which files are not used from the metronic theme as it seems that they are huge and they have a performance impact on the load time.

Thanks

Hi,

I am about to build for production (asp.net core and angular 2) and I found out that src/asset/metronic contains a lot of files which increase the app size. Can you tell me which ones are not used at all by app?

Thanks

Answer

Hi,

The question is where are these settings (default) are stored not how to get them. I cannot debug the code because is using AbpBoilerplate dll.

Thanks

Answer

Hi,

Where are default values stored?

Also can you point on where the seed is done?

Thanks

Answer

Hi,

In which table they are stored in? I dont see any settings in a clean installation.

Question

Hi

I want to change some pre-installed settings like security settings because I am planning to remove the angular components for it and dont give the user the chance to be able to change this.

How can I change this settings and set the values in database (or where they are stored)? I am using asp.net core and angular 2.

Thanks.

An example is during logout sometimes this happens. What I noticed is the when I click logout I see duplicate requests.

[https://1drv.ms/u/s!Ap6vT6kvVLZ0jGUTGsZ-OzZHBDY0])

Showing 131 to 140 of 202 entries