Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Jantje2000
    @Jantje2000
    Ehm, I want the plugins to be in a zip package. That has nothing to do with publishing an app I think?
    Jantje2000
    @Jantje2000
    Hi, I am using extcore now, but sometimes , the body in my api controller is null, however I use the [FromBody] attribute and my body isn't empty in Postman
    Anyone who knows what's the problem?
    Benjamin Nolmans
    @Xarkam
    I don't think this is a problem with extcore
    I have never had any problems with my controllers and extcore
    Johannes Jacobs
    @johmarjac
    hi, is it possible to use ExtCore for long running services too?
    For example, I want to run a .NET Core 3.1 WebApi Application which uses ExtCore. Then I want to make an Extension which is NOT invoked upon request. It more should make use of the Discord.NET Api and act as a discord bot... can i use ExtCore for something like that?
    Armarr
    @Armarr
    @johmarjac Asp Core can do this with hosted services and using ExtCore to initialize it shouldn't be an issue. https://docs.microsoft.com/en-us/aspnet/core/fundamentals/host/hosted-services?view=aspnetcore-3.1&tabs=visual-studio
    Johannes Jacobs
    @johmarjac
    @Armarr Can I use the DI on the ConfigureServices already to call a Contract Interface which tells the service to execute?
    or how wuld you approach
    because the service would be one in an extension
    Armarr
    @Armarr
    Yeah, sounds about right
    Caesar moussalli
    @CaesarMoussalli_twitter
    How to replace a dll (in case of new version update) while the host application is running ? I don't want to stop the host app cause this will stop all the modules
    Johannes Jacobs
    @johmarjac
    is it possible that an extension can use the Shared Layout from the Host Application? I think it is kinda redundant having the layout separate for each extension the host is loading.
    Alok Sharma
    @aloksharma1
    have anyone used plugin architecture in a microservice environment powered by angular or react... my frontend is angular for my next project, so instead of razor views i will need to use angular/react (possibly).. any reference or help is very much appreciated
    Armarr
    @Armarr
    @aloksharma1 ExtCore can make your WebApi back-end modular but it will not help you in splitting up the front-end.
    There's a discussion about this here: ExtCore/ExtCore#164
    Alok Sharma
    @aloksharma1
    @Armarr thanks for the reply, i found something called ngmodule plugin architecture but i am checking if extcore will be able to handle it in modular design
    Alok Sharma
    @aloksharma1
    how to handle viewcomponents in extcore sitting in a plugin?
    Alok Sharma
    @aloksharma1
    is hot reload available now with 3.1 update or its still a wip?
    Trk Kcm
    @tarkankocaman1919_gitlab
    C#(game) algorithm open source code,How can I assure the samples..or paid.?
    Benjamin Nolmans
    @Xarkam
    @aloksharma1 hi, no hot reload not available. I've proposed a full transitional netcore 3.1 before make change for net 5.0. @DmitrySikorsky is very fully occupied with his work. I don't know when my pullrequest will be validated. With the future net 5.0 version, I will see with him how we could work on a hotreload
    Dmitry Sikorsky
    @DmitrySikorsky
    Hi guys, I've updated ExtCore to use .NET 5.0. It was very easy, it worked just after changing target frameworks... It is release as 6.0.0-beta1: https://github.com/ExtCore/ExtCore/releases/tag/6.0.0-beta1
    Paris
    @angaratosurion
    hi
    ihave a problem with the migration part of thedatamodels
    the class public class DesignTimeStorageContextFactory : DesignTimeStorageContextFactoryBase<SlimeDbContext>
    {
    }
    doesnt like the applciation context
    Paris
    @angaratosurion
    that it implements the : IdentityDbContext<ApplicationUser, ApplicationRole, int>, IStorageContext classes and interfaces any idea what it needs to be changed?
    Reza E Rabby
    @Reza-E-Rabby
    Hello Dmitry. Recently working with ExtCore 5 and having a trouble switching to Extensions.
    Hello Dmitry. Recently working with ExtCore 5 and having a trouble switching to Extensions.
    The Startup.cs of my inner project is not recognized by the Project. So Dependency Injection not working
    Reza E Rabby
    @Reza-E-Rabby
    Please answer if anyone sees this
    Dmitry Sikorsky
    @DmitrySikorsky
    @Reza-E-Rabby hi! Could you share some details about the problem?
    Dmitry Sikorsky
    @DmitrySikorsky
    Alok Sharma
    @aloksharma1
    guys @Xarkam were you able to make hotreload available in new release?
    Dmitry Sikorsky
    @DmitrySikorsky
    Hi, if you like the project you can now support its development on Patreon: https://www.patreon.com/dmitry_sikorsky
    Erdem Avni SELÇUK
    @eravse
    Hello, I am experiencing some identity problems similar to those written above on PostgreSql. I can't migrate to tables like AspNetUsers on migration. Unfortunately, the operations that should happen automatically do not create the table. I am editing as written in the document, but I could not reach the result. How can I find a solution about the issue?
    lalriteshsingh
    @lalriteshsingh
    Is there any example of using ExtCore with Angular?
    dremaditya
    @dremaditya

    @DmitrySikorsky Aha, the ** !
    Thank you, another lifesaver :smiley:

    I am facing an issue integrating Angular into the extension. It would be great help if you will provide sample to me

    Martisek
    @Martisek
    Hi, I have got an ASP.NET Core MVC application which contains main web app and 2 extensions - both of them are quite complex, frontends are included. I would like to apply localization with resources, however I am not able to register localization services for mentioned extensions. When I place resources in main web app, everything goes properly, but there is a requirement to separate resources via extensions. What is a correct way to achieve it? Thank you for advice :-) P.S. Localization setting is done in startup file of main app, in accordance with MS examples...
    Dmitry Sikorsky
    @DmitrySikorsky

    @DmitrySikorsky Aha, the ** !
    Thank you, another lifesaver :smiley:

    I am facing an issue integrating Angular into the extension. It would be great help if you will provide sample to me

    Look, ExtCore is a server-side modular framework. So you can create an app that will combine entities, repositories, controllers, views... from the extensions. But also you can include the client-side content into the packages. Like html, css and js files. In case of Angular I don't think it will be very easy to do, because you will have to deal with paths, because by default the assembly name is included into the path when you need to access a static resource from the extension (but you can change this behaviour).

    So I don't have ready for use solution for you, but it is possible.

    Hi, I have got an ASP.NET Core MVC application which contains main web app and 2 extensions - both of them are quite complex, frontends are included. I would like to apply localization with resources, however I am not able to register localization services for mentioned extensions. When I place resources in main web app, everything goes properly, but there is a requirement to separate resources via extensions. What is a correct way to achieve it? Thank you for advice :-) P.S. Localization setting is done in startup file of main app, in accordance with MS examples...

    Hi! You can look at https://github.com/Platformus/Platformus/blob/master/src/Platformus.ECommerce.Backend/Areas/Backend/Views/Products/CreateOrEdit.cshtml#L15 for the sample

    Platformus is a CMS. It has multilingual UI and data.
    class which allows to have all the localizations inside the main (host) web application. so users can just copy the localizations they need, or add their own ones.
    ExtCore is updated to use .NET 6
    Martisek
    @Martisek
    Hi Dmitry, thank you a lot for your reply and example links. I am not sure, however it seems that you use an oposite approach than I would like to have. Your localization resources are centralized, but my aim is to place mentioned resources into every extensions (so, i get this structure: controllers, viewmodels, models, views, resources...). As I wrote in my request, there is a problem how to set up path to these resources from startup file (here you can find also a configuration of ExtCore :-)) contained in main web project.
    Saadi Shahin
    @saadishahin

    Hello, i upgraded my project from .NET core 3.1 to .NET 6 and i had an issue with EXT Core, it was including the plugins in debug but whenever i publish the project the extensions are no longer loaded.

    If anyone had this issue just add the below in your csproject file:

    <PropertyGroup>
    <PreserveCompilationContext>true</PreserveCompilationContext>
    </PropertyGroup>

    This is due to a breaking change in the .NET core 6: https://docs.microsoft.com/en-us/dotnet/core/compatibility/aspnet-core/6.0/preservecompilationcontext-not-set-by-default#:~:text=PreserveCompilationContext%20is%20an%20MSBuild%20property%20that%20causes.NET%20Core,is%20primarily%20used%20to%20support%20run-time%20compilation%20scenarios.

    Dmitry Sikorsky
    @DmitrySikorsky
    Thank you @saadishahin , I will try to look at it when have time.

    Hi Dmitry, thank you a lot for your reply and example links. I am not sure, however it seems that you use an oposite approach than I would like to have. Your localization resources are centralized, but my aim is to place mentioned resources into every extensions (so, i get this structure: controllers, viewmodels, models, views, resources...). As I wrote in my request, there is a problem how to set up path to these resources from startup file (here you can find also a configuration of ExtCore :-)) contained in main web project.

    I see. I'm not sure I can look at it now, I have to release the Platformus 3 asap. I only can suggest to debug the localization factory I've sent you, it is very simpe so you can just understand how it works and configure it as you need. I don't remember how the default one works, but I remember that I had to copy one from the .NET source code, replace the existing default implementation with it, and debug.