Activities of "Sturla"

But should you?

The libs folder is excluded from source control and abp install-libs recreates the files.

So your renaming of the file will not last.

There is another ~~unanswered~~ issue like this here. ** I posted a fix (for me) there! **

I have the same issue (in IdentityServer not Blazor)

It happens in the IdentityServer project where I had overridden the page. Can it be that you did that also?

And I want to make it clear that I have cleaned all obj/bin both with Visual Studio and by running delete-bin-obj-folders.bat

Sorry for being blunt but it is

I always dread having to come here and search for something because you never find anything if you use more than one word.

Take this for example, searching for "Health check" (two words)…

It does only find "check".. lots of them... and not a single "Health"...

But try searching for only "Health" and you will see "Health" with "check" as the next word..

It should be easy to fix (tune) the search to find two words next to each other but it would be even nicer if you could get result where there is some intelligence applied.

And just so you know I know that you can search for "Health check" within quotes but that is not a solution for a better search. It should have some indexing, word counting and relevance on the posts.

I hope you fix this and yeah if you think this is just like you want the search to work, don´t refund my "question"!

If I try to add an email property with Suite it fails when there are Summary comments on it.

This fails

But if I take off the comments it works. I got some heavily commented enums and am 7 of them right now so lot of work removing comments.

I expect to get this question refunded btw.

Answer

I started to get this error periodically sometime after updating to 5.x (can´t remember when it started exactly)

TypeError:Failed to fetch

This is just something that happens randomly (both locally and on Azure) and if I navigate from the page and to it again it is fixed so there is no way to replicate it... so no steps to reproduce at my end.

And the error message says "See the inner exception for details"... there is nothing more... but next time it happens I will add the more screenshots to show that.

But I was wondering if this could be connected to dynamic proxies because sometimes when I run locally the Swagger UI doesn´t display any of my methods and just the abp.io´s ones. When that happens I need to turn off VS and rerun everything for it to pop in again. Would using static proxies fix that issue?

p.s I had created an issue for this here but asked to discuss it here.

ABP Framework version. 5.13, Blazor WASM, EF Core

Answer

Suite should Camel case the namespace automatically when you create a new entity. Only when I hovered over the ? at the end it told me it needed to be Camel cased! This is a new in 5.1.1...

Answer

I can´t seem to change default language to Icelandic (on 5.1.1 but I just haven´t tried changing before) EXCEPT by clicking on the flag on the page. Settings don´t seem to do anything

Db settings

Language table

I have the file is.json

And it looks like this

And both my domain module and host have these

I have gone through these

  • Rebooted Redis
  • Restarted every AppService
  • Cleared cookies and run in private mode
  • There are no errors anywhere

Am I missing something or is this a bug?

Answer

@Sturla did you fix the file upload problem for over 30mb? web.config is being used by IIS. If you are hosting on IIS, then you need to configure it via web.config

I haven't had an opportunity to try it out yet but I will next week when I´ll be creating my production environment. I´m using Azure App Services and that uses IIS to host the application (and acts as a reverse proxy to Kestrel) if I´m not mistaken.

I´ll report back here if this is still a problem.

And one more thing... can you please not remove the comments I put on my properties? That would be awesome ;-)

can you give details and concrete examples about your solution

My services/controllers have more functions than just related to talking to the database so I have stuff like

public interface ICarsAppService : IApplicationService
{
    Task<CarsDto> GetAsync(Guid id);
    // ...etc. CRUD stuff from Suite
    
    //And then I have custom stuff like this that is not db/crud related
    Task UploadCarImageBlobAsync(string blobName);
    // ...etc
    // all of this gets removed and I need to add it again...
}

But then I also have changes in the CRUD methods e.g. swapping out their content and calling a Manager.

And then Suite also removes all the extra private readonly members (and from the constructors) so I need to add it all back in.

Now I try to add all my changes to code at the bottom so its easier to update with suite. I just copy/paste the removed code back in!

Why not just keep what is not ABP Crud? Why delete it all?

And since we are at it... can we have Suite also have the possibility to have a this. option instead of having all members starting with _ ?

I would go further and do it with services and controllers also!

I´m always adding something custom and its a pain to update. Nb. I´m not still gone live so I can iterate fast but would love to do it even faster!

Showing 71 to 80 of 137 entries
Made with ❤️ on ABP v9.2.0-preview. Updated on January 14, 2025, 14:54