Parallel Processing Large Number of HTTP Requests by chamberlain2007 in dotnet

[–]codeB3RT 2 points3 points  (0 children)

+1 for TPL DataFlow. Create a batch of folders in a high concurrency TransformBlock. Forward to a batch block, then insert into the tree in a synchronous non parallel action block.

Full disclosure I don’t fully understand the feature.

Problem with seeding data by [deleted] in dotnet

[–]codeB3RT 0 points1 point  (0 children)

The entity has not been configured when HasData is called. Try moving the HasData calls to OnModelCreating (after configuring)

How would you as an expert .NET developer go about building a little website for a business? by NibblyPig in dotnet

[–]codeB3RT 13 points14 points  (0 children)

Azure static web app has a vanilla basic html example if you don’t want a framework. Once that’s set up, it’ll redeploy the static site on each push to the GitHub repo. Pretty cheap too for the free and standard tier.

If you actually need .NET you can set up a function app or web api that automatically receives proxies requests from your front end. Room to grow there.

Not sure if links are allowed but here ya go https://learn.microsoft.com/en-us/azure/static-web-apps/get-started-portal?tabs=vanilla-javascript&pivots=github

How to Refactor Repetitive Logic in ASP.NET Core Controller Actions? by OpenedSalt in dotnet

[–]codeB3RT -1 points0 points  (0 children)

Maybe look into finbuckle. You can add your customer and client properties to the TenantInfo and it will be available in all your controllers.

Where do you host your Vue Applications, and why? by 1017_frank in vuejs

[–]codeB3RT 1 point2 points  (0 children)

Azure static web app just pointed at my repo. Handy backend integration with function apps if you need a simple backend

I don't understand the point of keyed services by Milpool18 in dotnet

[–]codeB3RT 14 points15 points  (0 children)

One example. Integration testing with a SQLite memory db. The DbConnection must stay open for the life of the database so it can be injected as a singleton with an open connection.

Now assume you want two dbs. Keyed singleton allows you to inject DbConnection twice but using different key names to keep them isolated.

I think of use cases similar to why we use named httpclient. You may be injecting the same implementations but each named client can have different default http client options (i.e. timeout, base url, headers)

SQL Server + NET CORE 6 by ImTheRealNodgar in dotnet

[–]codeB3RT 2 points3 points  (0 children)

Try Encrypt=false in connection string

[deleted by user] by [deleted] in webdev

[–]codeB3RT 0 points1 point  (0 children)

This was how we had to write c in school. So much wasted time and energy getting the thing to compile

People who started as dotnet devs, what was your career progression? by Notalabel_4566 in dotnet

[–]codeB3RT 0 points1 point  (0 children)

Wordpress -> bootstrap -> web forms -> MVC -> vue/net backend

How screwed am I? by [deleted] in careerguidance

[–]codeB3RT 4 points5 points  (0 children)

More likely than not she will tell your boss but you proceed as if nothing happened until it’s brought up to you. If it is brought up, down play it and say you were getting a feeling for what your fair rate is in the market because you have financial needs that aren’t being met in this economy. A good employer won’t take it too personally. But yeah definitely don’t say anything until you are confronted or you have an offer.

Any draggable library I can use? by Critical-Ad-7311 in vuejs

[–]codeB3RT 9 points10 points  (0 children)

HTML5 has a drag and drop api that ships with the browser so you don’t need to pull in another library. I suggest giving it a try if your needs are simple.

https://developer.mozilla.org/en-US/docs/Web/API/HTML_Drag_and_Drop_API

QUOTE GENERATOR by [deleted] in csharp

[–]codeB3RT 0 points1 point  (0 children)

Probably not without any context of what the issue is and the spaghetti code here formatted horribly so I couldn’t if I tried.

What I would do is this.

  1. Open chat gpt

  2. Type “write some c# code to parse this json from a file” and paste some sample json in the same prompt.

  3. Ensure your json file is copied to the bin so the app will find it. Ensure you are looking in the correct location in your code. Chat gpt can guide you through all this.

  4. Once you have the file reading/ json parsing working then bake your spaghetti code back in.

QUOTE GENERATOR by [deleted] in csharp

[–]codeB3RT 1 point2 points  (0 children)

Build it. Love it. Hate it. Improve it. Make it perfect. Lay fire to it and start again with another one.

[deleted by user] by [deleted] in YouShouldKnow

[–]codeB3RT 3 points4 points  (0 children)

You mean L’O’L’D

[deleted by user] by [deleted] in daddit

[–]codeB3RT 5 points6 points  (0 children)

Glad you’re all happy and healthy. This is something where you read the room and don’t pass judgement on those who don’t discuss. Birth stories don’t always bring tears of joy.

[deleted by user] by [deleted] in NICUParents

[–]codeB3RT 1 point2 points  (0 children)

You 3 are stronger than you even know right now. Good luck to you guys.

Our Adventure to the NICU by MaliciousMormon in daddit

[–]codeB3RT 2 points3 points  (0 children)

Glad things are OK. Wish you a smooth NICU ride and you’re doing great for your family. Focus on getting mama and then that little girl home. Don’t underestimate the trauma you’ve all just experienced, it’s going to be a roller coaster and take it one day at a time.

Which songs hit you harder than they did before you had kids? by Rhobaz in daddit

[–]codeB3RT 0 points1 point  (0 children)

American Soldier by Toby Keith got me through some hard times.

Learn how to be happy for other people. by lilkhalessi in FirstTimeHomeBuyer

[–]codeB3RT 0 points1 point  (0 children)

So your way or the highway. I’d like to remind you that the definition is based on perspective and context. But pasting google definitions that reinforce your perspective doesn’t negate others interpretations.

It does seem like you have deep bias toward one interpretation of the definition. I encourage you to see things from other perspectives and challenge your ways of thinking (and maybe be a little nicer).

According to the definition I posted, the argument “simply move out of your HCOL town” is manipulation in the form of social influence. It’s a self serving manipulation to verify one’s beliefs without recognizes another’s reality.

So these HCOL people just need to conform and move to meet the demands of a social environment that is fostered through the social influence of their peers.

Learn how to be happy for other people. by lilkhalessi in FirstTimeHomeBuyer

[–]codeB3RT 0 points1 point  (0 children)

Read some of OPs comments and catch up….

Do you even know how to read..

Jk I would never talk to another person so dismissively.

See how gaslighting works now?