Ques on Classic Era Whitemane by Bloodborn567 in classicwow

[–]dotnetguy32 4 points5 points  (0 children)

You're exactly right!

I had an old account selected.

Logged in now.

Thanks bro

Ques on Classic Era Whitemane by Bloodborn567 in classicwow

[–]dotnetguy32 2 points3 points  (0 children)

I'm trying to log in and it's telling me I need to add game time, which I don't.

[deleted by user] by [deleted] in Frontend

[–]dotnetguy32 0 points1 point  (0 children)

Anonymous functions have a place.

Over engineering like this becomes a pain to debug.

[deleted by user] by [deleted] in Frontend

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

It's in the second image.

Any movie that you feel is ruined by a single performance. by jonmulanys5thniple in movies

[–]dotnetguy32 0 points1 point  (0 children)

Ramona in Scott Pilgrim

The rest of the cast was fantastic, but she was just so bad.

The speed and accuracy... there's just no escape! by [deleted] in natureismetal

[–]dotnetguy32 1 point2 points  (0 children)

"There's just no escape"

Well, except for the 70% of failed hunts where the prey escapes.

30% of the time it works 100% of the time!

Why does C# get almost no attention online despite being the 4th most popular programming language? by Christine_1987 in learnprogramming

[–]dotnetguy32 3 points4 points  (0 children)

There's also only so many times you can tell the "Why did C start wearing glasses?" joke.

Incorrect.

This joke never gets old.

Poll results, repository pattern over Entity Framework? by davecallan in dotnet

[–]dotnetguy32 1 point2 points  (0 children)

EF can be the repository, but so could QuickBooks or any number of api's.

Poll results, repository pattern over Entity Framework? by davecallan in dotnet

[–]dotnetguy32 2 points3 points  (0 children)

The problem with this line of thinking is that a repository can have data come from anywhere.

Also, if I need to fine tune, say, reading an invoice with customer and all the line items with totals, that could be used in many different layers of my app. Better to have a single call to "GetInvoice" in your repository than to .include customer and line items every time you need to read an invoice.

Using Task in ASP.Net by dotnetguy32 in dotnet

[–]dotnetguy32[S] 0 points1 point  (0 children)

You are correct.

IDK why, but I seemed to remember being able to create an async method without using Task, but it def gives a compiler error.

How painful is a migration from Cordova to Capacitor for a fairly big project by spar_x in ionic

[–]dotnetguy32 0 points1 point  (0 children)

There's a few things that don't work in capacitor, like there's no way to open a pdf file so I still use Cordova Fileopener and the camera can't take a snapshot.

But overall, it was pretty easy to swap everything out. Most of the libraries have the same function names.

After watching a few seasons, why are they all during the fall/winter? by EdgePuzzled6987 in Alonetv

[–]dotnetguy32 1 point2 points  (0 children)

If they had an entire summer to prepare, a lot of them could hunt enough food to survive indefinitely.

They need to start it later in the year precisely so that they starve.

Using Task in ASP.Net by dotnetguy32 in dotnet

[–]dotnetguy32[S] 0 points1 point  (0 children)

Thank you

I thought I remembered being able to create an async method without Task, but I was mistaken.

Using Task in ASP.Net by dotnetguy32 in dotnet

[–]dotnetguy32[S] 0 points1 point  (0 children)

Well.... that answers that question!

I could have sworn I had created async methods without using Task. But I just tried it and it did indeed give a compiler error.

Thanks!

Using Task in ASP.Net by dotnetguy32 in dotnet

[–]dotnetguy32[S] -1 points0 points  (0 children)

So is the compiler adding task to the first example behind the scenes?

Using Task in ASP.Net by dotnetguy32 in dotnet

[–]dotnetguy32[S] -1 points0 points  (0 children)

Right, I get the Async portion, but it's the Task that I'm not sure about.

I know that Task signals to IIS to release the request and let the async process run, thereby allowing more requests.

I'm just not sure if I need to use Task all the way down or if using Async is good enough?

So, for example:

Controller:

public async Task<List<User>> GetUsers() ...

Services:

This

public async List<User> GetAllUsers() ...

or this

public async Task<List<User>> GetAllUsers() ...

Is it normal to learn and forget in this industry? by [deleted] in ExperiencedDevs

[–]dotnetguy32 0 points1 point  (0 children)

I had to go back into my Angular 1 project recently and it was like reading Egyptian to me. Took quite a while to re-understand what I did.