Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Manuel Grundner
    @biohazard999
    👍👍
    domsinclair
    @domsinclair
    Quick question for those of you who have used DX NuGet packages in your applications. I'm trying to create a simple no frills module using NuGet but have been staggered by the number of additional packages being drawn down over those added by the conventional XAF wizard. Is this something one has to 'live with' if using NuGet or is this indicative of my trying to download the wrong packages (which leads to the obvious question ...Is there a list somewhere of the basic packages required to fulfil certain tasks)?
    Manuel Grundner
    @biohazard999
    @domsinclair what do you mean by that?
    do you mean like make a leaner dependency tree, with less packages?
    for "normal module" you need DevExpress.ExpressApp and .Xpo/.EF
    for win at least the win counterpart
    domsinclair
    @domsinclair
    Yes. precisely that, I seem to be getting references to reports , pdf, sparkline etc etc, and that's just from selecting persistenBaseimpl.
    Manuel Grundner
    @biohazard999
    oh yeah, know that pain.
    2 possible solutions:
    don't use baseimpl at all and cherry pick your way through
    have a post build step (or publish step) that filters out unwanted assemblies
    I remember there was a XML file for the deps tree (or you can generate your own via reflection)
    can also help
    there is a link to a xml file somewhere
    Alex Miller
    @Paramethod
    @domsinclair Yeah the DX nuget packages are quite heavy in fat. I too have a delete task on build.
    Manuel Grundner
    @biohazard999
    "C:\Program Files (x86)\DevExpress 20.2\Components\Tools\Components\DXDependenciesGraph.xml"
    domsinclair
    @domsinclair
    Yeah, I think I'm going to have to go with the former, at least to begin with. I'm trying to get get a controller based on NuGet that can be freely distributed and because it's based that way should be relatively DX version agnostic. Ay least that's what I'm hoping!!
    Manuel Grundner
    @biohazard999
    File is for sure not documented, but I think should be easy to decipher, case its just an XML with a simple node structure
    domsinclair
    @domsinclair
    Thanks for the links, some I'd seen others I hadn't.
    Manuel Grundner
    @biohazard999
    if you want to distribute via nuget, just use the basic nugets. nuget dependency resolution should do the trick.
    Trimming down unused features need to be done on publish
    Alex Miller
    @Paramethod
    When I moved from assembly references to nugets... I was like why is there DevExpress.XtraGauges.v20.2.Core in my bin folder.
    domsinclair
    @domsinclair
    I've always been surprised at what the assembly deployment tool pulls in, guess I'm in for a lengthy experiment.
    Alex Miller
    @Paramethod
    For those interested WebView2 was finally released yesterday for Winforms (sorry i'm one day too late) 🥳 -> https://docs.microsoft.com/en-us/microsoft-edge/webview2/gettingstarted/winforms
    Manuel Grundner
    @biohazard999
    Nice!
    BahaaEldin Ahmed Elsayed
    @Bhalddin
    Cooooool!
    noxe
    @noxe
    Already using it with fixed version - looks really great!
    Alex Miller
    @Paramethod
    @noxe Can we see screenshot of task manager memory usage? 👀🙏
    noxe
    @noxe
    image.png
    here is the browser task manager which is intergrated into dev tools
    image.png
    Alex Miller
    @Paramethod
    😲😍 Thanks!
    domsinclair
    @domsinclair
    Just been reading a series of fascinating articles on Time Based One Time Passwords (TOTP) involving QR Codes. Before I set off on a potential wild goose chase has anyone tried implementing these with XAF and discovered that it definitely doesn't work?
    Manuel Grundner
    @biohazard999
    I have this currently in use in combination with IdentityServer.
    Normally in oauth this is called device flow
    basically TOTP is just a one time password in a human easy readable form (or a callback link in case of an QR code)
    but would not recommend that without any further authentification
    whats your use case for TOTP?
    domsinclair
    @domsinclair
    Accessing Financial records and submitting info to government websites (basically I want to suplement the inbuilt security system partly to encourage the end users to actually use it in the first place....Don't ask), with small caveat that users are a) morons, b) IT illiterate and c) more often than not in areas where there is little or no mobile signal. Did consider using Yubi Keys (which I personally like) but I suspect it would be a lot more work to get that to work with XAF.
    Manuel Grundner
    @biohazard999
    okay "offline support" support is a tricky one, never done that. Read about Yubi Keys, but didn't implement something like that before
    but i recall correctly its just a cert you need to trust and an algorithm to verify the one time password
    domsinclair
    @domsinclair
    Essentially that seems to be it, cert to trust and an algorithm to verify. Use something like Authy to create the code but no need for an actual signal to as it's all done in app. This looks to be something that might just tick the boxes so worth a bit more experimentation. I still prefer keys but then I've been using them for years and it lives around my neck all day. I can see a lot of people objecting to that and then they end up losing it and at that point the support calls flood in (which off course are the only ones you can't solve!).
    Alex Miller
    @Paramethod
    My end user perspective: Hardware keys are evil and Authy is the 2FA savior 😉
    domsinclair
    @domsinclair
    I'm sufficiently old school (old being the appropriate word here) to remember those halcyon days when Mobile phones didn't exist, and I'll frequently leave home without it, conversely I always have my house keys and by extension my yubi key. However , joking aside I realise why people dislike security keys, but as I alluded to earlier Mobile signals are an issue here whereas my key will always work.
    Alex Miller
    @Paramethod
    Authy works offline. But phone battery might be more an issue than the keys. My old Gemalto key is still kicking with the original battery!
    domsinclair
    @domsinclair
    It's that offline ability that's been intriguing me and got me wondering if this would sit nicely with XAF.