Skip to content
  • Project flagged as "Wrong type"?

    Article Writing csharp asp-net dotnet com security
    2
    0 Votes
    2 Posts
    0 Views
    S
    Project type submissions are actually supposed to be the same full-fledged articles; a thorough explanation of their code, how it works, why they made it, etc. Unfortunately, most of these Proejct submissions are just people sharing their GitHub projects, which is totally understandable. If it were me, that's what I would expect. What usually happens is this gets into the realm of tool sharing, which is not what CodeProject articles (or CodeProject) is about. So sadly, I delete most of these submissions, while offering to the author, "hey, we'd love to have this if you were able to make these additions." If I had to guess, these reviewers are flagging this article as "Wrong type" because they want it to be a tip. My experience is that reviewers feel like anything that's short, or simply "not good enough to be an article" should just be a tip. Like a dumping ground of sorts. "This is good, but not article good, so, it can stay, just over there." But what tips are supposed to be is essentially extremely condensed articles. You still have to explain your code, what you're doing, why you did it, but it's a short solution to a simple problem that doesn't require / ask for in-depth explanation. Here's a recent, perfect example: Access your Microsoft JSON DOM the easy way with the dynamic keyword[^] Thanks, Sean Ewington CodeProject
  • 0 Votes
    5 Posts
    0 Views
    OriginalGriffO
    Cheers mate! "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!
  • Creating a shortcut (LNK)

    C# csharp dotnet tools question
    4
    0 Votes
    4 Posts
    0 Views
    D
    Huh. You can try clearing the component caches. Quit VS and open the C:\Users\xxxx\AppData\Local\Microsoft\VisualStudio\_version_\ComponentModelCache folder and kill everything in it. Restart VS and see what happens. If that doesn't work, there's a cache folder for Roslyn too at C:\Users\xxxx\AppData\Local\Microsoft\VisualStudio\Roslyn. Wipe that one out too. Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles. Dave Kreskowiak
  • WPF .Net 6

    WPF csharp wpf question asp-net dotnet
    2
    0 Votes
    2 Posts
    5 Views
    P
    You definitely have using Microsoft.Xaml.Behaviors; in this file? As long as you Nugeted from here[^] that should be all you need. Advanced TypeScript Programming Projects
  • PageAsyncTask with Multiple Page Requests

    C# csharp dotnet tutorial
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    3 Posts
    0 Views
    N
    Microsoft has integrity? M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.
  • 0 Votes
    6 Posts
    0 Views
    1
    raddevus wrote: I am vim-weak and don't know how to exit vim How to exit vim: Try to turn off the computer. If you cannot - buy the new one. Turn on the computer and reinstall OS.
  • 0 Votes
    2 Posts
    0 Views
    N
    With the 32 bit Framwork? With the people working hard for it? or with all of them? :rolleyes: M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.
  • Rust and its ways

    The Lounge csharp dotnet question lounge
    6
    0 Votes
    6 Posts
    0 Views
    R
    Aha! I should, perhaps, read the documentation sometimes, what with it being the first sentence and that. The crazy lengths we are forced to go to stop mitigate people attacking our software... Regards, Rob Philpott.
  • Keeping track

    The Lounge javascript dotnet csharp cloud css
    41
    0 Votes
    41 Posts
    0 Views
    A
    I have made a number of improvements, if you have questions let me know. It is also possible to run this in a Azure DevOps pipeline.
  • 0 Votes
    1 Posts
    6 Views
    No one has replied
  • Having trouble opening a registry key

    C# csharp dotnet windows-admin
    7
    0 Votes
    7 Posts
    0 Views
    OriginalGriffO
    That was the original idea: a single centralized depository for all config info. So it grew and grew, and bloated massively, slowed down everything and became a source of problems because there was no defined (or enforceable) separation of App A info from App B, much less system related info. It also added a route by which trojans could inject themselves into other apps very simply by modifying the config info. So it became depreciated as a centralized store for new apps because of the problems it caused, and security features evolved as UAC was introduced which deliberately made it harder to use. Those continue to become more restrictive as the OS evolves - at some point it will probably become off limits to all non-admin apps (it's only not at present for backward compatibility with legacy applications). If it had been designed as a sandbox environment in the first place, it could have been a really useful secure store - but it never was and that lack of foresight shows in the zombie version we currently have! :D "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!
  • 0 Votes
    2 Posts
    0 Views
    R
    Navigation properties cannot span multiple DbContext types. If you want an entity type in one context to map to the same table as a type in a different context, then you will need to use the OnModelCreating method to explicitly map it to the correct table. You may also need to exclude it from migrations. There's a good example in this blog post for EF Core 5 RC1: Announcing Entity Framework Core (EFCore) 5.0 RC1 - .NET Blog[^] "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
  • 0 Votes
    4 Posts
    0 Views
    J
    Many of what you'd probably think of as common to .NET dependencies are out there in various forms. Dependency chaining has changed a little bit though. Mostly for the better. For the most part, transients can now be consumed without a direct reference and very little effort. If you have a nuget that then has as a dependency and you are already including that original nuget package, you do not generally also need a direct package reference in there... dotnet build will just figure that all out. (Assuming packagereference, but don't do packages.config anymore, ever)
  • 0 Votes
    2 Posts
    0 Views
    L
    Please post your question in the CodeProject.AI Discussions[^] forum.
  • In my best 'Sneakers' voice

    The Lounge csharp design dotnet com graphics
    7
    0 Votes
    7 Posts
    0 Views
    H
    I'd be fine with 7.1. Or for .NET Framework to hurry up and go away. Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix
  • .NET growing pains

    The Lounge csharp data-structures css dotnet
    10
    0 Votes
    10 Posts
    0 Views
    H
    Deslang is a code generator for generating code that generates code. Deslang: From Code to CodeDOM and Back[^] Reflection is available in Core and Standard, but not the particular bits I am using. I get a NotSupported exception coming from deep within the bowels of my CodeDomResolver class due to some reflection chicanery not being functional under anything other than Framework. I haven't run down all the details yet since I found another path forward. Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix
  • 0 Votes
    4 Posts
    0 Views
    P
    You appear to be mixing FluentValidation with ASP MVC Validation. I would choose one and stick with that. In this case, FluentValidation is going to be more flexible for you. Advanced TypeScript Programming Projects
  • Compatibity

    C# csharp dotnet help question
    2
    0 Votes
    2 Posts
    0 Views
    P
    It's almost impossible to give a blanket answer to this. It depends on what you have used in there. If you're referencing a .NET package that has no .NET 8 equivalent then, no, you can't use it. You're most likely going to have to do more work to include appropriate NuGet packages for items that you took for granted in the full fat framework. Advanced TypeScript Programming Projects
  • I did a thing. It's neat.

    The Lounge csharp design regex dotnet com
    15
    0 Votes
    15 Posts
    0 Views
    P
    Glad to be of service.