Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Dennis
    @dengara_gitlab
    Thank you very much, Manuel - commented + referenced this article from our performance troubleshooter (https://supportcenter.devexpress.com/ticket/details/t148978/how-to-measure-and-improve-application-performance).
    Manuel Grundner
    @biohazard999
    I'll rework a little Bit in the article cause it caused some confusion. Man writing that Kind of Posts is HARD work.
    Shout Out to all technical writers
    Thanks Dennis for the Feedback!
    Alex Miller
    @Paramethod
    Shout out to MVPs using their free time to share knowledge and create great content for the community! πŸ¦Έβ€β™‚οΈ
    noxe
    @noxe

    @noxe

    Cannot hide anything from you, Noxe)CompositeObjectSpace and NonPersistentObjectAdapter are not yet complete, I will comment on this next week when I am back.

    We cannot yet avoid CreateObjectSpace(Type) because: 1. not all operations are propagated to additional object spaces, only in known scenarios (probably it is temporary). 2. it is important to keep the order of operations, e.g. CommitChanges first commits additional object spaces and then commits the main object space (when no errors).

    understand Dennis - since we are migrating more and more classes now we hit several places where we have a mixed scenario. the typical one is we create a nonpersistent objectspace and show and view - works perfect since there is an additional xpobjectspace for persistent types

    but there are also scenarios where we have an persistent object - so we have an xpobjectspace - and we need to create an nonpersistent object - so the xpobjectspace needs and additional nonpersistent OS - so both sides are needed
    kashiash
    @kashiash
    a question to @jmojeda_twitter . On you page https://www.bitframeworks.com/coderush/coderush-field-position-detailview/ is link to coderush templates, but this link is broken. Is any way to get access to these templates ?
    BahaaEldin Ahmed Elsayed
    @Bhalddin
    Hi guys, In last standup I heard about a tool or somthing allows me to convert the security configurations done on xaf interface to written codes. can any one elaborate on this. or maybe guide me to a URL or something?
    jmojeda
    @jmojeda_twitter
    hi @kashiash yes the link is broken, i will publish al the shortcuts to a GitHub repository instead of the dowload link in my page
    Dennis
    @dengara_gitlab
    Dennis
    @dengara_gitlab
    @noxe , thank you for sharing your requirements - my team and I will take it into account.
    BahaaEldin Ahmed Elsayed
    @Bhalddin
    Thank you @dengara_gitlab
    Alex Miller
    @Paramethod
    Standup live now -> https://zoom.us/j/98227223293
    BahaaEldin Ahmed Elsayed
    @Bhalddin
    integaration betwen XAF and Autodesk Forge in windows application:
    https://www.screencast.com/t/DxyPgL8mZHa2
    domsinclair
    @domsinclair
    Very neat!
    Alex Miller
    @Paramethod
    @Bhalddin Very neat indeed! I believe this CAD viewer is WebGL based, did you integrate a web control to achieve this? If yes and don't mind sharing, which did you use? CefSharp, WebView, DotNetBrowser, another?
    BahaaEldin Ahmed Elsayed
    @Bhalddin
    @Paramethod of course I don't mind to share, and yes I used webcontorl. it is the CefSharp. you can find similar implementation in this link: https://github.com/Autodesk-Forge/forge-api-dotnet-client
    Alex Miller
    @Paramethod
    @Bhalddin Thanks! Have you tested other WebControls with Xaf? How is CefSharp memory wise? I have a TODO to implement a web viewer for Xaf, but i'm kinda of waiting for webview2 to come out of preview to do proper test between the various web controls.
    BahaaEldin Ahmed Elsayed
    @Bhalddin
    @Paramethod no I haven't tested other WebControls. I was playing arround the CefSharp lately and did this web view item to test the JSB in the Cefsharp. Regarding the memory. I haven't test it yet.
    Alex Miller
    @Paramethod
    @Bhalddin Since most of the available web controls embed some version of Chrome, i'm expecting memory usage to be comparable, but I think WebView2 might have the edge πŸ˜‰ in download size. I'll post my results when I get to testing them. Please share your results if you end up trying other web controls.
    BahaaEldin Ahmed Elsayed
    @Bhalddin
    @Paramethod Thanks for the tip. Okay!, it is a deal :)
    BahaaEldin Ahmed Elsayed
    @Bhalddin
    Beginner's question: I notice that when an objectspase instance passed to ShwoViewStrategy.ShowViewInPopWindow(os as IObjectSpace, .... ), it get disposed once the popup dialog close. is there any way to avoid this?
    kashiash
    @kashiash
    declare os globally in controller
    BahaaEldin Ahmed Elsayed
    @Bhalddin
    @kashiash Thanks, I will give it a try
    Dennis
    @dengara_gitlab
    @Bhalddin , really interesting user-case and implementation - thank you for sharing it.
    If you would love to work with me to make a case study (should only take 20-30 minutes to complete), please email me at dennis@devexpress.com - I will send you a short case study form and we will be able to feature your product and team at https://community.devexpress.com/blogs/xaf/default.aspx and https://www.devexpress.com/aboutus/testimonials/.
    BahaaEldin Ahmed Elsayed
    @Bhalddin
    @Dennis, Thank you, I will send you an email shortly
    Dennis
    @dengara_gitlab
    Appreciate it, @Bhalddin
    does it mean no .net5.0 until 21.1? :(
    It is not possible to invoke the Model Editor for .NET 5 projects ( <TargetFramework\>net5.0</TargetFramework\>). We will remove this limitation in the final release (v21.1). In the meantime, please target .NET Core 3.0+ or .NET Standard 2.0+ for such XAF projects.
    Dennis
    @dengara_gitlab
    Hi Noxe, yes, the Model Editor will support only .NET Core 3.0+ or .NET Standard 2.0+ projects in v20.2.3. It is possible that we will support .NET 5.0 projects for the Model Editor before v21.1, but I cannot give any specific time frames.
    noxe
    @noxe
    i see some tactics here promoting XAFML in C# 🀣😎
    Dennis
    @dengara_gitlab
    ))))))))))
    I still believe that you will be fine in many cases with .NET Standard and .NET Core target in the meantime, for instance, Blazor Server and WinForms apps.
    noxe
    @noxe
    lets see - main idea was to skip netcore 3.0 and go directly to .net5.0 now to gain all the latest stuff.
    kashiash
    @kashiash
    Hi guys. Where can i change default port for deployed xaf blazor app ?
    i find launchsetting.json and applicationUrl node, but these changes doesnt take effect
    Dennis
    @dengara_gitlab
    image.png
    @noxe , just wanted to clarify that you can still target .NET 5.0 in the executable Blazor or WinForms projects and edit XAFML in other .NET Standard 2.0+ or .NET Core 3.0+ projects.
    image.png
    noxe
    @noxe
    fully understand dennis - the plan was to avoid netstandard in our team - i dont wanted to need them to deal with something which is in fact obsolete right now ;)
    Dennis
    @dengara_gitlab
    image.png
    Manuel Grundner
    @biohazard999
    @dengara_gitlab now @noxe can sleep well :P
    Dennis
    @dengara_gitlab

    @noxe , specially for you I wanted to share a solution that I was "smoking" over the weekend and which you can try even with the existing v20.2.2 (Beta) and .NET 5.0 RC2:

    The idea is to modify the "c:\Program Files (x86)\DevExpress 20.2\Components\Tools\eXpressAppFrameworkNetCore\Model Editor\DevExpress.ExpressApp.Design.ModelEditorServer.NetCore.v20.2.runtimeconfig.json" file as follows:
    {
    "runtimeOptions": {
    "tfm": "net5.0",
    "frameworks": [
    {
    "name": "Microsoft.AspNetCore.App",
    "version": "5.0.0-rc.2.20475.17"
    },
    {
    "name": "Microsoft.WindowsDesktop.App",
    "version": "5.0.0-rc.2.20475.6"
    }
    ]
    }
    }

    These crazy versions come from "dotnet --info". For more information on this magic, see https://gist.github.com/natemcmaster/0bdee16450f8ec1823f2c11af880ceeb and https://github.com/dotnet/designs/blob/main/accepted/2019/runtime-binding.md. I would not want to publish this solution yet, because we have not researched all its consequences. For instance, if a developer has only older (v3.0) dependencies - the .NET 5.0 runtime may fail to load them...Once we finish our tests, we will likely specify multiple shared frameworks in the DevExpress.ExpressApp.Design.ModelEditorServer.NetCore.v20.2.CSPROJ so that developers do not need to touch anything.

    In general, I think that .NET Standard 2.0+ will not be obsolete for ~5 years or so. Also don't forget that .NET 6.0 will be LTS. I would also love to jump to .NET 5+ directly for all our assemblies, but this is a dream for us in reality:-)
    noxe
    @noxe
    nice one - thx Dennis - i give it a try!
    kashiash
    @kashiash
    Dennis when 20.2. gold ?
    noxe
    @noxe
    i guess soon :)
    image.png