by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Gerrit Mulder
    @gerritmulder
    DevExpress.XtraScheduler.RecurrenceInfo
    Manuel Grundner
    @biohazard999
    Do you need to run cross platform?
    I don't have a linux box by hand now, but as far as i know, you can load any DLL even crossplat with the https://docs.microsoft.com/en-us/dotnet/core/porting/third-party-deps#net-framework-compatibility-mode
    but you have to make sure no runtime apis get called or it will crash/throw not supported exceptions
    I'm not totally sure why they didn't move the Data stuff to DX.Data, but let them know in a support ticket :)
    Gerrit Mulder
    @gerritmulder
    I'll make a ticket yes. I can move the code later to win specific code. Thank you
    Dennis
    @dengara_gitlab

    Hello,

    Thank you for creating a ticket on RecurrenceInfo and RecurrenceInfoXmlPersistenceHelper: https://devexpress.com/issue=t887782. The Scheduler Team posted a temporary solution in that ticket.

    It was not easy to port these APIs to .NET Standard because they depend on COM related to Outlook synchronization (you may notice that some code inside RecurrenceInfoXmlPersistenceHelper that we shared in the sample is commented out). We also wanted to avoid breaking changes for the majority of .NET Framework users.

    We will be happy to reevaluate this decision with your help - please comment at https://devexpress.com/issue=t887782 on whether this temporary solution meets your needs and whether you require other scheduler APIs in .NET Standard (include your code usage scenarios for us to analyze). Thank you for your help.

    Gerrit Mulder
    @gerritmulder
    Hey Dennis, I will try to test it this weekend and answer the ticket. It is kind of busy around here and it's not an easy task to test this in our huge application, I'll do my best tho
    Dennis
    @dengara_gitlab
    Appreciate it. We are also considering to add DevExpress.Persistent.Base.Scheduler.RecurrenceInfoConverter with two methods just for this use-case scenario:
    public static IRecurrenceInfo FromXml(string xmlString)
    public static string ToXml(IRecurrenceInfo recurrenceInfo)
    But we would appreciate your feedback on the previous topic first. Thanks.
    Alex Miller
    @Paramethod
    @jjcolumb ๐Ÿค” I wonder if changing your canyon background would reduce the echo ๐Ÿ˜‰
    image.png
    Alex Miller
    @Paramethod
    Love the community standup.
    Jose Columbie
    @jjcolumb
    I will try anything to reduce the echo ๐Ÿ˜‚๐Ÿ˜‚
    And I am really glad to hear that you enjoy the community standup. Feel free to suggest any topic and even turn the camera on and say hi ๐Ÿ˜Ž
    Jose Columbie
    @jjcolumb
    Maybe @dengara_gitlab can join us in the future for a live Q&A. Who's in favor? @biohazard999
    Dennis
    @dengara_gitlab
    @jjcolumb , I attended the last presentation in listen-only mode just to see how it goes (from the very beginning to the end, btw, was jealous of Manual drinking my favorite Gosser beer:-)).
    I will see if I can contribute to these meetings in the future, for instance, explain the security schema:-).
    Hopefully, more registered DevExpress customers will join and find these meetings helpful.
    jmojeda
    @jmojeda_twitter
    @dengara_gitlab it will be nice to have you in the standup dennis
    Jose Columbie
    @jjcolumb
    @dengara_gitlab It is great to hear you were in the standup. I saw a Dennis but was not sure it was you. Now I will have to get a six pack of the Gosser beer for the next one to see how good they are.
    We could definitely use an explanation of the security schema :) and that is our goal as well, that more XAF developers find it useful and actually contribute with suggestions, topics, personal projects etc
    Manuel Grundner
    @biohazard999
    @jjcolumb would love to have @dengara_gitlab on the standup! Some Gรถsser is on my Bill for that ๐Ÿ˜
    kashiash
    @kashiash
    Jose, the example you deploy to azure its simply geneated xaf blazor app or you do some changes in code before deploy ?
    Jose Columbie
    @jjcolumb
    That was file new project and I added a customer class, nothing else
    Jose Columbie
    @jjcolumb
    You can take a look at the source here https://github.com/jjcolumb/BlazorDeploy
    Manuel Grundner
    @biohazard999
    Hey folks! Something I was working for the last couple of months: https://blog.delegate.at/2020/07/06/tasty-delicious-dotnet-testing.html
    Jose Columbie
    @jjcolumb
    XAFers Community StandUp #4 happening tomorrow!!! https://www.meetup.com/Arizona-XAFers-User-Group/events/271399072/
    Jose Columbie
    @jjcolumb
    XAFers Community StandUp #4 completed ๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰: https://www.youtube.com/watch?v=VSeuxJ4doJo
    Dennis
    @dengara_gitlab
    Hi Guys, as you probably know, we supported Microsoft.Data.SqlClient in v20.1.3: https://supportcenter.devexpress.com/ticket/details/t885153/mssqlconnectionprovider-creates-idbconnection-and-idbcommand-objects-via-reflection
    While resolving between Microsoft.Data.SqlClient and System.Data.SqlClient, Visual Studio may stop at FileNotFoundException and TypeLoadException related to Microsoft.Data.SqlClient and System.Data.SqlClient.
    I wanted to clarify whether it bothers you while debugging or causes other inconveniences outside of debugging.
    Just need opinion from more users - thank you.
    jmojeda
    @jmojeda_twitter
    @dengara_gitlab that happened to me yesterday for the first time after update to 20.1.6, and it only seems to happen during the schema update, when I ran the app for second time then everything was good, so my suggestion is to handle that exception and just show a message to the user letting him know that he might get that exception
    Mario Blatariฤ‡
    @mblataric
    I did not encounter this yet, but I migrated only one user to 20.1 for testing and I am spending most of debugging in 19.2 still.
    I will pay more attention and try to debug everything in 20.1.
    Alex Miller
    @Paramethod
    Same here. Recently updated to 20.1.6, but haven't encountered this yet.
    Dennis
    @dengara_gitlab
    I want to clarify that this behavior was there from v20.1.3 and it is not new for v20.1.6.
    In v20.1.6 we just reduced the number of these exceptions, because it become boring for us ourselves (who build and debug from the source or use PDB).
    Most users should be unaffected, because our debugging habits are not the same as for users who use released versions of assemblies.
    My post is just to ensure that things are really OK for you guys.
    In some very extreme scenarios this assembly resolution could cause performance issues, but this again should not affect most users. XPO v20.1.6 is also better in this regard.
    noxe
    @noxe
    Hi Guys / Dennis,
    in VS Studio this does mostly not really bother is - currentl no one of our team yet complained about this - so everything is ok!
    But while we are at this topic - i encountered something other. We have a custom provider - derived from MSSqlConnectionProvider
    currently we have code like
    public new static IDataStore CreateProviderFromString(string connectionString, AutoCreateOption autoCreateOption, out IDisposable[] objectsToDisposeOnDisconnect)
    {
    var connection = new SqlConnection(co
    i recently played around with converting our libs to netstandard - and it seems that i have to change this code and use ReflectConnectionHelper.GetConnection - but the static assemblyNames and connectionTypes are^private
    noxe
    @noxe
    we have our provider in an netstandard library - so System.Data was missing - i did copy assemblyNames and connectionTypes from your source and added the last line which in DX source was removed when #if !DXPORTABLE && !DXCORE3
    wondering if our approach is wrong - to have our custom provider in an netstandard project?
    Mario Blatariฤ‡
    @mblataric
    @dengara_gitlab I am fully aware new Model Editor (.net core desktop) is new and issues are to be expected, just wondering how often does it hang on your side when saving and or closing model editor and if there is anything to reduce this? On my side it hangs less often on Save and almost every time when I close it.
    Dennis
    @dengara_gitlab
    Mario, it did not hang in my tests so far, only a bit slower first startup. Please submit an issue using the Support Center and attach log files as per https://supportcenter.devexpress.com/ticket/details/t878452/faq-model-editor-for-net-core-and-net-standard-ctp
    Additionally, attach callstacks from all threads after you attach to the hanging VS process from another VS - thanks.
    Uriah
    @Uriah21073277_twitter

    Hi @noxe ,

    Your current code implements the CreateProviderFromString method in the most efficient way. You can leave your code unchanged if you install System.Data.SqlClient in .NET Core projects.

    If you want to use Microsoft.Data.SqlClient, I would suggest using it in .NET Framework projects, as well. In this case, you need to change only the namespace.

    //var connection = new System.Data.SqlClient.SqlConnection(connectionString);
    var connection = new Microsoft.Data.SqlClient.SqlConnection(connectionString);

    You do not need to use ReflectConnectionHelper even if you want to support multiple ADO.NET libraries, as built-in XPO connection providers do. Most of XPO providers have the static CreateConnection method that calls the ReflectConnectionHelper.GetConnection method with appropriate parameters and returns an IDbConnection instance.

    In the next version (v20.1.7), we will change the access modifier of the CreateConnection method to public, and the following code will work:

    public new static IDataStore CreateProviderFromString(string connectionString, AutoCreateOption autoCreate, out IDisposable[] objectsToDisposeOnDisconnect) {
        var connection = CreateConnection(connectionString);
    noxe
    @noxe
    Thx for the Update Uriah!
    Dennis
    @dengara_gitlab

    In v20.1.6 we just reduced the number of these exceptions, because it become boring for us ourselves (who build and debug from the source or use PDB).

    Correction: in v20.1.7 (I mistakenly meant the latest hot fix build earlier).

    GenesisSupzup
    @GenesisSupzup

    @dengara_gitlab

    There's been several articles/code for using XAF Security System from non-XAF applications. How can connect to an existing XAF Security System via another XAF application? For example, I have a Student Information System (in XAF) with another stand-alone Billing System (also in XAF, separate solution). Each having their own separate Security System (i.e. SisUser/SisRole types, BillingUser/BillingRole types, etc) structure/definition.

    If this is possible, what's the recommended way of doing this? Do I need to setup a middle-tier of SIS where my Billing System can connect to?

    • I hope anyone can help. Thanks in advance.
    Dennis
    @dengara_gitlab
    @GenesisSupzup , I do not see how the ticket you found is relevant, but it is possible to use XAF's security system API from multiple XAF and non-XAF apps storing user, role and permission information inside the same database. We did our best to describe non-XAF integration here for different platforms: https://github.com/DevExpress-Examples/XAF_how-to-use-the-integrated-mode-of-the-security-system-in-non-xaf-applications-e4908. I do not think that you need a middle-tier here, at least based on your initial description. Please contact us in the DevExpress Support Center and share more information on what you tried to implement based on this documentation, what did not work as expected so that we can assist you further.