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

Activities of "vladsd"

Question

Metronic theme is 2Mb+ of css and Javascript and only some is used b AspNetZero.

Is there a way to scrape what is actually used by AspNetZero and create css, javascript file based on usage?

Thanks.

they work for me, you need to be logged in and I guess approved to view posts in this forum by admin

Like I said, I used to get all messages that are posted to forum as I subscribed to it. No more!

Here are my preference again: <a class="postlink" href="https://gyazo.com/d50bd957b55017392473f7baf2e1db72">https://gyazo.com/d50bd957b55017392473f7baf2e1db72</a>

I checked spam, aspnetboilerplate.com in my contacts so it comes to inbox.

Subscribe to forum does not work for me.

I am getting messages now, not all, any updates from Mar 27 to 30 still do not come through...

FYI,

For my own services I can map routes with one line: [Route("myroute/[controller]/[action]")] in front AppService definition

One gotcha - methods needs to be defined for each function.

What I am asking is a fix for the framework issue.

Here is a link I found teaching how to document API with swagger <a class="postlink" href="https://swagger.io/blog/how-to-generate-openapi-swagger/">https://swagger.io/blog/how-to-generate ... i-swagger/</a>

I used to receive email on new posts on this forum and updates to existing one!

But 3 days ago it all stopped. I am still subscribed to this forum, I did not change anything, please see screenshot: <a class="postlink" href="https://gyazo.com/4cabffc9806ebfd874e654d7ee428590">https://gyazo.com/4cabffc9806ebfd874e654d7ee428590</a>

Any advice?

I looked into fixing and found that "api/services/" is hard coded all over the place. It is better for creators of the framework to fix such a simple oversight.

Answer

Here you go, solution, not pretty but works:)

// reorg languages with english first
            var langs = abp.localization.languages;
            var languages = [];
            for (var i = 0; i < langs.length; i++) {
                var info = langs[i];
                if (info.name == 'en') languages.push(info);
            }
            for (var i = 0; i < langs.length; i++) {
                var info = langs[i];
                if (info.name != 'en') languages.push(info);
            }
            abp.localization.languages = languages;

After research I found a better solution to use ResourceFileLocalizationSource provided by apb

but it has bugs and does not work, see <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues/952">https://github.com/aspnetzero/aspnet-ze ... issues/952</a>

Showing 61 to 70 of 166 entries