Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Benjamin Nolmans
    @Xarkam
    @westonsoftware actually, it's not possible to load/unload dynamically net assembly in .NET Core 2.x. The .NET Core 3.0 will make this possible.
    Benjamin Nolmans
    @Xarkam
    @alaa-m I not sure if I understand your problem. But, in our app, we using a parent controller for all controllers, injecting a IStorage: https://github.com/SOFTINUX/Base/blob/master/src/SoftinuxBase.Infrastructure/ControllerBase.cs
    Dmitry Sikorsky
    @DmitrySikorsky
    Hi! I've released version 4.1.0. Added SaveAsync to the IStorage interface.
    Nastya Scherbakova
    @Nastya-Scherbakova
    @DmitrySikorsky Hi. How can I get another services in repo? When I try to get them in the constructor I get the error "Constructor on type 'APP.Repositories.XXXRepository' not found."
    Nastya Scherbakova
    @Nastya-Scherbakova
    @DmitrySikorsky solved by manually using ExtensionManager.GetInstance with needed args. It will be better if you'll resolve needed params automatically.
    Dmitry Sikorsky
    @DmitrySikorsky
    Hi Nastya! Sorry for the late answer, didn't look here for a while. Please review this issue, maybe you could add something there. Thanks. ExtCore/ExtCore#164
    Alok Sharma
    @aloksharma1
    guys i have a react question
    in our mvc app we are integrating react but i want to keep admin side non react
    so i am using reactjs.net for this, have anyone tried this
    does react routing works side by side or do we need to reqrite everything?
    Chung Thành Phước
    @chungthanhphuoc_gitlab
    hello
    Make it possible to load extensions at runtime ?
    Dmitry Sikorsky
    @DmitrySikorsky
    Hi @aloksharma1, sorry, can't answer react questions :(
    @chungthanhphuoc_gitlab I think it will be possible in ExtCore 5.0.0 (I'm currently on it), but not sure about extensions unloading. Because current extensions mechanism uses application parts, and I don't see any way to remove a part after it is added.
    Oh, I can see that it should be possible :) Will write here when have something working.
    Dmitry Sikorsky
    @DmitrySikorsky
    I have some results: ExtCore/ExtCore#43
    Dmitry Sikorsky
    @DmitrySikorsky
    So, now I can add/remove extension at runtime :) It works. So I think we will have that feature in the new 5.0.0.
    Dmitry Sikorsky
    @DmitrySikorsky
    ExtCore 5.0.0-alpha1 is released and available in NuGet. Also, I've updated one of the samples (https://github.com/ExtCore/ExtCore-Sample) and wrote simple migration notes (http://docs.extcore.net/en/latest/migration/4_x_x_to_5_x_x.html).
    Benjamin Nolmans
    @Xarkam
    I looked at the breaking changes with net core 3.
    I wonder if we should not maintain a branch for .net core 2.2 and one for 3.0 and after.
    A lot of tools like swagger are not yet up to date and no dates are given for compatibility
    Andrew Camilleri
    @Kukks
    @DmitrySikorsky Hey there, just updated to 5.0alpha sincewe migrated to .net core 3
    I have an issue where the embedded resource files arent being discovered from non referenced extensions
    Dmitry Sikorsky
    @DmitrySikorsky
    Hi @Kukks, thanks for the information. I've also updated ExtCore-Sample project, and I have tested it with CSS file from the extension's DLL file. It works with no problems. Views from resources ARE NOT discovered anymore.
    Please take a look at that sample or share your code.
    @Xarkam I have created tag and release, so we will be able to create a branch any moment we need it.
    Now I'm goint to fix task by task, and release a new alpha every 1-2 tasks.
    Andrew Camilleri
    @Kukks

    https://github.com/btcpayserver/btcTransmuter/pull/41/files

    Yeah my issue is that partials in embedded resources aren't being found from plugins that aren't referenced

    Chung Thành Phước
    @chungthanhphuoc_gitlab
    ExtCore 5.0.0 has been runtime ?
    RJ KUMAR
    @ratnesh8755_twitter
    Hello all, I want to store migrations in different projects (5 projects having migrations) and use it webapp host. Is it possible, I am new to ExtCore.. please help
    RJ KUMAR
    @ratnesh8755_twitter
    Hi please help
    RJ KUMAR
    @ratnesh8755_twitter
    Can anybody please share starter template for ext core. It will be great help..
    Benjamin Nolmans
    @Xarkam
    @ratnesh8755_twitter I don't understand you question. Migrations are not relation with ExtCore.
    RJ KUMAR
    @ratnesh8755_twitter
    Hello Benjamin can you provide a working template of ext core with database and migrations
    With MSSql
    Armarr
    @Armarr
    @ratnesh8755_twitter You can't separate the migrations between projects but you don't have to. Instead you separate the entity registrations (IEntityRegistrar) between the projects. http://docs.extcore.net/en/latest/getting_started/using_migrations.html ExtCore/ExtCore#89
    RJ KUMAR
    @ratnesh8755_twitter
    Hello Sir, can you please share me the working template
    Also I want to know do I have to register all controller/action in usemvc method individually
    Benjamin Nolmans
    @Xarkam
    RJ KUMAR
    @ratnesh8755_twitter
    Hello sir, thank you very much.. it did a great help in understanding structure.
    Sir I want to know can I use ext core 5.00 rc1 in production
    Is it safe to use
    RJ KUMAR
    @ratnesh8755_twitter
    Hello all, I want to keep extension folder when webapp published and then on published app, I want to add modules dll to extend app
    How can I achieve this? Please help
    RJ KUMAR
    @ratnesh8755_twitter
    Hello @Dimitri
    Can you please provide sample of ExtCore/ExtCore#43
    Please provide sample to load unload extension at runtime
    Benjamin Nolmans
    @Xarkam
    1. you must add your dll into extension folder and restart you add.
    2. For production use always use a stable version that is not in development
    3. it's hard time for create sample app at the ending of the year. We have many work
    Dmitry Sikorsky
    @DmitrySikorsky
    Guys, I've released 5.0.0 only with .NET Core 3 issue fixed. I decided to do so because a lot of projects are blocked on moving to .NET Core 3 because of the ExtCore, and they can't wait until I fix all that tasks. So I released it as 5.0.0. Currently I've fixed extensions loading/unloading, but this feature works partially. For now precompiled views doesn't work (I've created an issue aspnet/AspNetCore#17171, please look at it). Also, I don't know how to modify routes at runtime. I need to re-initialize routes when some extension is loaded or unloaded. But controllers and other things already work. I will try to find solution to fix this.
    Dmitry Sikorsky
    @DmitrySikorsky
    For now, I'm able to load/unload DLLs. I can resolve types and create objects. Controllers works too(!). But for now I'm not sure that it is possible to support full-features extension loading/unloading. There are some big problems on that way:1. Precompiled views doesn't work.2. It is not possible to change the endpoints.3. I didn't try, but I think there will be problems with EF data context building.4. It is not possible to register middleware defined inside extension.5. All the code that initialize something at startup won't do that when some extension is added/removed.
    So at this point I think that the best option is to find a way how to re-run application ConfigureServices and Configure methods without restarting it. As I read somewhere, something similar is done in Orchard CMS. It would be very flexible solution. I even think to make a simple way to add/remove DLLs and just restart an app. It is not possible to remove DLLs from a working application, so I think to create some temp file, then restart an app, delete that files and then load the others. But it is temp solution until I find the way to re-run Startup's code.
    What do you think?
    Chung Thành Phước
    @chungthanhphuoc_gitlab
    hello
    extcore version 5 support reload views runtime ?
    Dmitry Sikorsky
    @DmitrySikorsky
    Hi! Please see #43.