Skip to content

.NET (Core and Framework)

Discussions on the .NET Core, .NET Framework and .NET 5 frameworks

This category can be followed from the open social web via the handle .net-core-and-framework@forum.codeproject.com

10.2k Topics 32.0k Posts
  • 0 Votes
    14 Posts
    59 Views
    S
    Working with fonts and characters in Windows Forms applications can indeed vary between different Windows OS versions. Windows 10 introduced several improvements and changes in font rendering and character support compared to Windows 7. Here are some key points to consider: Font Rendering: Windows 10 introduced improvements in font rendering, offering better ClearType and subpixel rendering. This results in crisper and more visually pleasing text. Windows 7 also supports ClearType, but Windows 10 may offer a more refined experience. Font Compatibility: Windows 10 typically supports a wider range of fonts and character sets out of the box, including enhanced support for Unicode characters. This can be important if your application involves internationalization or special symbols like ⬤. DPI Scaling: Windows 10 has better support for high-DPI displays, allowing for more precise scaling of fonts and user interface elements. This can be crucial for ensuring your application looks good on modern high-resolution screens. Theme and UI Elements: Windows 10 offers a more modern and flexible user interface framework compared to Windows 7. This may affect the appearance of your WinForms application, including how fonts and characters are rendered within the UI elements. Compatibility Modes: Windows 10 includes compatibility modes that allow you to run older Windows 7 applications without significant issues. However, it's still essential to test your application on different OS versions to ensure proper functionality. for more info visit my page MOFA Attestation | MoFAIC | MOFA Attestation in Dubai[^] Mofa atteststation in Dubai
  • 0 Votes
    0 Posts
    4 Views
    No one has replied
  • 0 Votes
    5 Posts
    26 Views
    J
    Your app's connector could not connect to the database host, or it connected and failed authentication. TLS is a transport protocol, a newer version of handshaking or validating in more detail. TLS last I checked is at V1.3, and V1.0, V1.1 was discontinued, but that was years ago. If your database is hosted at home or in your shop, then that's a local connection, and could be a firewall blocking a port number for MySQL. If your using a cloud host, then perhaps they upgraded. But if you wrote the app personally, you should remember how that part works, and be able to fix it fairly quickly. EF has nothing to do with the connection to the database server. You can use Fiddler to watch the connection, or check error logs, there is something out there that will guide you. If it ain't broke don't fix it Discover my world at jkirkerx.com
  • 0 Votes
    1 Posts
    7 Views
    No one has replied
  • On which language remini app is build on?

    swift android java ios collaboration
    1
    0 Votes
    1 Posts
    6 Views
    No one has replied
  • How Cenforce 200 Work?

    com question
    1
    0 Votes
    1 Posts
    6 Views
    No one has replied
  • Capturing a still from a RTSP stream

    help csharp
    4
    0 Votes
    4 Posts
    23 Views
    J
    Myself it just seemed like an interesting problem. So I googled using the following capture an image from a RTSP stream still shot Interesting that they mention this tool right away. This one seems useful https://stackoverflow.com/questions/25360470/ffmpeg-capture-current-frame-and-overwrite-the-image-output-file[^] So the tool itself will capture it as long as the correct options are provided. Another link suggests that streams can be corrupted because, not surprisingly, streams can drop packets.
  • 0 Votes
    3 Posts
    19 Views
    L
    What Dave said and use ObservableCollections to have the UC's update "live". "Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
  • NuGet Packages and Library Files

    csharp dotnet visual-studio question
    7
    0 Votes
    7 Posts
    36 Views
    M
    The classes and functionality from the NuGet package won't be automatically available to the executables (EXE files) that reference this DLL. Each executable project that uses the DLL must also have its own references to the required NuGet packages.
  • Bad Programming??...

    question csharp c++ hardware regex
    6
    0 Votes
    6 Posts
    31 Views
    V
    I know this is a few months old, but I got a chuckle out of this! =) Back in the day I moved from C++ to VB6, then to .NET and I've been there since. Honestly I wasn't the most excited about the changes, and I probably went through all the states of acceptance getting to know VB. It's funny how things turned out, because even though I don't use it much at all any more, I actually have fond memories of it. This code though, it's funny to look at. But I'm not sure I would call it horrible for the ways that most might in knee-jerk reaction. In plain English, it's intended to do the same thing over and over again. Listen for a a message, check if it meets a criteria "good enough to try getting what it wants", if it met the first challenge, but ultimately didn't work, try again. What I dislike about it is more the fact that it's not as explicit about exactly what it's looking for, and the fact that it's not even logging errors. The fact that it's destroying and re-creating the client in this case might be wasteful at first glance, but it's clear that whatever it's looking for is just meant to wake something else up, and it probably works as intended... For all we know if it received a malformed packet and they ignored it and tried again with the same instance of the client, the old "UNIX server in the back that nobody knows how to use any more" would catch fire and have to be hit with a hammer. =)
  • 0 Votes
    7 Posts
    33 Views
    J
    YASH PATEL 2023 wrote: How can Power BI development services assist businesses in transforming raw data into meaningful insights and visualizations? Answer: It cannot. But people can. They might or might not use that.
  • 0 Votes
    4 Posts
    20 Views
    N
    Thank you for the response! May I ask you how exactly can we access the dictionary after let's say we add a student with a POST request using reflection? We can also check if the count (the number of elements of the dictionary) is correct (if we add one student, it should be 1; if we add 2 students, then it should be 2, and so on). I couldn't achieve that because we are actually using a WebApplicationBuilder. What is the approach? Also, if I use the first method, how exactly do I expose it with a getter? I guess I cannot use the top-level statements syntax then, because we cannot define properties in namespaces. Thanks!
  • Convert image pdf to text in c#

    csharp
    8
    0 Votes
    8 Posts
    45 Views
    K
    Here's a working API using Tesseract. Not pretty but it works. GitHub - LeeKirkHawley/KOCR_Web[^] Recursion is for programmers who haven't blown enough stacks yet.
  • 0 Votes
    5 Posts
    24 Views
    J
    I'm beginning to realize that now. If it ain't broke don't fix it Discover my world at jkirkerx.com
  • Best Angular Training Institute In Pune

    javascript css php com testing
    1
    0 Votes
    1 Posts
    7 Views
    No one has replied
  • Question about Dependency Injection

    json help question csharp dotnet
    6
    0 Votes
    6 Posts
    30 Views
    R
    Ok, a few months late admittedly. I'm not a fan of all this functional style boostrapping in ASP.NET core. I find the whole thing obfuscated and difficult to work with and often grapple just to do something simple like config or logging. Anyway, I have this in my code: services.AddHttpClient((serviceProvider, httpClient) => { var opts = serviceProvider.GetRequiredService>(); httpClient.BaseAddress = opts.Value.BaseUrl; }) So, if you just want to get access to config, I think you can just retrieve it from the service provider given as the second parameter to the lambda, no BuildServiceProvider() required. Regards, Rob Philpott.
  • 0 Votes
    1 Posts
    7 Views
    No one has replied
  • Buy Real Registered Passport Online

    com cryptography question
    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • Buy Real Registered Passport Online

    com cryptography question
    1
    0 Votes
    1 Posts
    4 Views
    No one has replied
  • ASP.NET Core on Linux Web Space

    asp-net question learning csharp php
    4
    0 Votes
    4 Posts
    24 Views
    T
    Thank you, I will ask. You're right, I hadn't thought about that.