dotnetgram | Unsorted

Telegram-канал dotnetgram - .NET Dev

-

Try to keep discussions on topic. Any job posting = ban. Spam/ads = deleted. Spam again = ban. Piracy, porn, gore = guess what? Ban. English only. No begging! No job posting allowed.

Subscribe to a channel

.NET Dev

Read the article I sent yesterday

Читать полностью…

.NET Dev

Doesn't matter when there is no thread

Читать полностью…

.NET Dev

Yeah, it isn't a thread safe mechanism

Читать полностью…

.NET Dev

@altpeg can you help me?

Читать полностью…

.NET Dev

your help would be appreciated

Читать полностью…

.NET Dev

i remember reading about it in 2018 haha

Читать полностью…

.NET Dev

Anyone give dot net support ?

Читать полностью…

.NET Dev

Now that I write it out, I see the flaw😂. Too many responsibilities for a class whose intended job is just to return stuff

Читать полностью…

.NET Dev

IQueryable is in Linq.Expression
to ble clear:
The IQueryable<T> interface is intended for implementation by query providers.
and you don't need that in an ApiResponse, i think
an ApiResponse returns a simple object, so for example an array, an IList, something like that

Читать полностью…

.NET Dev

The missing ';' was an oversight. IQueryable is used by the ApiResponse class. First to return the count of all records, and second, to return the data itself.

Читать полностью…

.NET Dev

there is ToQueryable(), but i guess point is why return IQueryable
also why the missing ;

Читать полностью…

.NET Dev

And then in the controller, there's logic to cache the data before it is sent to the poco 'ApiResponse' class. Problem is, after setting the blogs variable and saving it in cache, I cannot use it in the return statement since it's no longer 'Queryable'

Читать полностью…

.NET Dev

that's really cool to hear

Читать полностью…

.NET Dev

How to add the image into database and display without using entity framework in MVC application

Читать полностью…

.NET Dev

I’m living that story :’(

Читать полностью…

.NET Dev

I'd like to read your blog explaning it XD

Читать полностью…

.NET Dev

You are talking about ISR, isn't it?

Читать полностью…

.NET Dev

You literally have no idea what you're talking about

Читать полностью…

.NET Dev

D i didn't forget about you, the tip i'm leaving you is in the back of my head always. i'm going to tip you in my next income which will be in the coming days

Читать полностью…

.NET Dev

basically, i'm trying to start 2 instances of the same app but with different credentials and a different copy of a .dll

Читать полностью…

.NET Dev

anyone worked with sandboxie before? i'm trying to start a program and set its working directory. i'll explain, i have modified a module and when i start the program it doesn't affect the sandboxed instance, but if i run it directly from the folder it works

Читать полностью…

.NET Dev

Thanks @altpeg

Читать полностью…

.NET Dev

Maybe I was too focused on using DRY😅. I wanted to do all caching in one place, so that I don't have to write code for cache in every other controller. in that way the code for returning a response from a controller will be a one-liner. Then all the logic will be handled in ApiResponse. caching, pagination, etc.

Читать полностью…

.NET Dev

the two* missing ;

Читать полностью…

.NET Dev

in my knowledge, better implement a separate cache on the paginated outresults

Читать полностью…

.NET Dev

I've tried converting. Nothing works

Читать полностью…

.NET Dev

I have a problem trying to implement caching with pagination.

...So this is the nature of my problem.

I have a generic POCO class that returns an object based on the controller it's called from.

Читать полностью…

.NET Dev

This, I 100% agree!
Two companies ago we had this, whole team accountability instead of single persons, measuring the quality of what we did ad a team (stories/complexity and ratio of new work vs bugfix) and that literally made us the best team in the company
Not so much for the last one where individual contributions and feature delivery speed were all that mattered with zero fucks given about quality by "upper management"

Читать полностью…

.NET Dev

I came across this thread. Suddenly the ppl that I feel into my mind is Fabio,Wizou and Bose while I read article since they are one of some good ppl who spend their period to care for others.
https://dannorth.net/2023/09/02/the-worst-programmer/

Читать полностью…

.NET Dev

In YouTube rahul nath channel you will find all. Net demo with aws

Читать полностью…
Subscribe to a channel