Being Cellfish
Stuff I wished I've found in some blog (and sometimes did).
Pages
(Move to ...)
Home
About
Disclaimer
Contact
▼
Showing posts with label
.net
.
Show all posts
Showing posts with label
.net
.
Show all posts
2016-12-15
All in on async/await
›
While I haven't been coding in C# for about a year now I couldn't resist reading this recent article . A nice write-up where I only ...
2016-07-07
Military LINQ, Time and pointers for kids.
›
Wow, I was apparently very busy blogging in October 2008 . While there are some things that I will not cover below that might be worth readi...
2016-04-21
Go for C# developers: Introduction
›
When I first started to learn Go a few months ago I compared a lot of things to things that was familiar to me; C#. And I decided to make a...
1 comment:
2016-02-18
Go, maps and randomization
›
A couple of years ago it was very easy to DoS attack .Net web services as the headers were added to a dictionary. Back then the hash of the ...
2016-01-21
Alternatives to hydrating IEnumerables
›
You should know that whenever you get an IEnumerable you should only enumerate it twice as some implementations don't allow you to enum...
2015-11-12
Writing your own LINQ extension methods?
›
I stumbled upon this article with "best practices" for writing your own LINQ extension methods.
2015-06-11
Asynchronous enumerations - again
›
Almost 2 years ago I wrote about this problem with accessing data from Azure and returning it in a LINQ friendly way. Well not long ago the ...
2015-05-28
Enumerating dictionaries
›
When people work with the Dictionary class in .Net there are two common assumptions that I see used a lot. Worst part is that these assumpt...
2015-05-07
To await or not to await - that is the question
›
One question that comes up quite often is if you should always use async/await or not. Sadly enough the answer is not simple because there ...
2015-04-16
Advanced breakpoints
›
I try to live by the motto; starting the debugger is a failure when it comes to code I write. That means that through logging and just read...
1 comment:
2015-04-09
Proper collection implementation in .net
›
Most people I've worked with that needed a collection of some sort have implemented the collection by inheriting from one of the standar...
2014-11-27
The ProducerConsumerStream
›
I just wanted to let you know that I got a good idea and renamed the NoMemoryStream .
2014-11-13
The NoMemoryStream
›
The say there are two hard problems in computer science; cache invalidation, naming things and off by one errors . Hence I can proudly prese...
4 comments:
2014-10-23
When generic exceptions are useful
›
So this is not about catching the base exception but something kind of like using tuples ; having an exception template using generics .
2014-10-16
What's on tap? And stay hydrated!
›
Recently when I was experimenting with Spark and Scala I encountered two patterns that I liked; Tap and Hydrate. So I decided to add them ...
2014-09-18
Spies and Stubs
›
I was reading this article which is a response to an email from a person liking mocks but disliking spies. Before starting to read I was co...
2014-08-14
Appreciating garbage
›
I once was working with a company that complained that my code was not optimized because it used 100% of the CPU . So I asked if the user in...
2014-07-10
Writing async tests
›
Ever since async/await was introduced in .net 4.5 I've seen people happily using those keywords in their (unit) tests. A usage I believe...
2014-05-01
Abstracting vs Isolating dependencies
›
Anybody who is practicing TDD or BDD knows that it is important to abstract dependencies. Especially external dependencies you have no contr...
3 comments:
2014-03-20
When to use Tuples in C#
›
I've seen people use the Tuple class in C# code and I've even done it myself once. And I didn't like it. I'm still strugglin...
14 comments:
›
Home
View web version