Strona głównaUżytkownik

AGirlAmongGeeks | użytkownik

AGirlAmongGeeks
AGirlAmongGeeks
1 188,21
47 dni, 18 godzin, 21 minut temu
23 lutego, 2017
dotnetomaniak.pl

Working with big databases, consisting of many, many tables (like hundreds or thousands), can be really painful. Recently, this happened to me and I discovered 2 lifehacks that help me survive this hard days. Filtering tables You know the struggle when you know a part of a database table name but cannot remember the whole name? How could it be named? BasketPositions, CustomerBasketPositions or maybe PositionsOfBasket? How can you know?! Yeah, it’s the everyday struggle with huge projects! This is...

Lifehacks for working with big databases – A Girl Among Geeks

Narzędzia 47 dni, 7 godzin, 13 minut temu AGirlAmongGeeks 82 źrodło rozwiń

In my previous post I wrote about Az-900 exam I took recently. Today I will write in general about taking exams online. Maybe somebody find it useful, in times of COVID-19 pandemic.

Dziel się z innymi:
Taking Azure exams online – A Girl Among Geeks

Inne 143 dni, 10 godzin, 15 minut temu AGirlAmongGeeks 35 źrodło rozwiń

Masz do wydania milion dolarów i pomysł na produkt. Co robisz? Rekrutujesz najlepszych ludzi i wierzysz, że ich doświadczenie sprawi, że powstały zespół efektywnie wytworzy oprogramowanie wysokiej jakości, prawda?

Greenfield seniorów

Inne 151 dni, 23 godziny, 49 minut temu landeeyo 119 źrodło rozwiń

Today I will write about the way variance influences type checking in C#. Yes, the fact that one type can be passed to a generic method that requires another type, depends on these 2 small keywords we write before ‘T’ (or whatever 😉) in interface header.

Cannot implicitly convert type ‘Abc’ to ‘IAbc’ – Contravariance vs Covariance – part 2. – A Girl Among Geeks

Sztuka programowania 473 dni, 10 godzin, 44 minuty temu AGirlAmongGeeks 92 źrodło rozwiń

Have you ever seen these mysterious ‘in’ and ‘out’ keywords in generic interfaces’ definitions? If so, you’ve probably already checked what it means, but if not… You better read this and the next post. So today we will talk about the basics of variance in our own generic interfaces.

<in T> vs <out T> - Contravariance vs Covariance – (the easier) part 1. – A Girl Among Geeks

Sztuka programowania 479 dni, 10 godzin, 35 minut temu AGirlAmongGeeks 116 źrodło rozwiń

AsNoTracking()is a powerful method from DbExtensions class. And for sure – the method you should know and use 😉.Why should I use it? In short – when we call AsNoTracking(), less data is cached and tracked (we will talk about it later). And of course, the more records we retrieve from the database, the more RAM we spare.

Entity Framework .AsNoTracking() – why & how (EF and EF Core) – A Girl Among Geeks

Sztuka programowania 501 dni, 10 godzin, 22 minuty temu AGirlAmongGeeks 166 źrodło rozwiń

Today I decided to check how Enumerable.EmptyT() works and wasn’t satisfied with the knowledge I got. I started digging a little bit deeper and wasted some of the precious beauty-sleep time so if you want to know what’s happening when you add an element to an empty collection, let me tell you a story of today’s night.

Enumerable.Empty() vs new IEnumerable() – what’s better? – A Girl Among Geeks

Architektura 547 dni, 8 godzin, 27 minut temu AGirlAmongGeeks 367 źrodło rozwiń

Tech I installed Visual Studio 2019 RC recently and accidently forget to select English as default language. Of course, I realized that mistake after installation and I had to spend much too much time on searching the solution for this problem (yeah, that’s weird, I know). So, I decided to write a short tutorial how to do it. I’m 100% sure, the future me will thank myself for this :D. The easy way If you have many languages installed, you simply go to the Tools -> Options -> Environment -> Internatio...

Dziel się z innymi:
How to change language in Visual Studio 2019 (after installation) – A Girl Among Geeks

Narzędzia 558 dni, 9 godzin, 56 minut temu Piotr Stapp 59 źrodło rozwiń

Reading application’s logs is not a big fun but let’s be honest – it is part of our job and we will not avoid it. So why don’t we make it slightly more pleasant? Stack traces explorers to the rescue! In fact, I didn’t know about the existence of stack trace explorers till the day I copied a part of app’s log to my clipboard with the plan to send it to the colleague. But when I opened Visual Studio a magic happened, fairytales flew on my desk and opened a new tab in my IDE.

Painkiller for reading logs – Stack Trace Explorer – A Girl Among Geeks

Narzędzia 754 dni, 9 godzin, 29 minut temu AGirlAmongGeeks 54 źrodło rozwiń

Well, maybe not a totally ‘no’ NullReferenceException, but a whole lot less than now. Well, yeah, I had to catch your attention somehow :P. But anyway, have you heard those rumors about C# 8, how amazing it is going to be and how hard Microsoft is working on the release…? If not, you definitely should read this post! Because the promised changes sound really good and will be a must-to-know quite soon. So today I wanted to write about one of the “louder” planned features – nullable reference ty...

Tagi: C#, c# 8
Dziel się z innymi:
Imagine there’s no… NullReferenceException! (C# 8 plans) – A Girl Among Geeks

Sztuka programowania 773 dni, 4 godziny, 15 minut temu AGirlAmongGeeks 99 źrodło rozwiń

I’ve always had the impression that companies like Microsoft or Google are some magical places in the far-far-away-land (yep, America seems quite far away for a European kiddo 😉 ). People working there must be some kind of amazing scientists who write their code by setting the appropriate voltage directly on transistors. Or, at least, use assembler-like languages every day 😉. If you have a similar idea, you may like to read some facts I discovered after talking to one of Microsoft employees...

Dziel się z innymi:
Want to work at Microsoft? You need to read this! – A Girl Among Geeks

Inne 828 dni, 22 godziny, 34 minuty temu AGirlAmongGeeks 97 źrodło rozwiń

Have you ever wondered why blue screens of death happen so rarely, nowadays? Of course, we can thank Microsoft for this but the way they fixed this problem is not so obvious! According to Marino Posadas (and his book Mastering C# and .Net Framework) back in 2010, Microsoft made an analysis of this topic and they came to the conclusion that the 90% (wow!) of the blue screens were caused by drivers! So, Microsoft made manufacturers to follow the Hardware Compatibility List. That somehow solved most of...

C# stuff nobody told you – delegate is a class! And there is a good reason for that! – A Girl Among Geeks

Sztuka programowania 921 dni, 7 godzin, 8 minut temu AGirlAmongGeeks 186 źrodło rozwiń

Many people neglect C# delegates because they cannot find a reason to use them. On the other hand, there is (rather small) group of people who overuse delegates in code that could be easily replaced by literal method call. So when should we use delegates? Well, they show their real power in situations when we need a mechanism to easily switch from one logic to another, without changing our application’s core code. Sounds ok but what does it mean in a real life? It’s time for a fairy tale 😊. Imagine...

Dziel się z innymi:
C# Delegates – a fairy tale about when (and how) to use them – A Girl Among Geeks

Sztuka programowania 933 dni, 9 godzin, 20 minut temu AGirlAmongGeeks 114 źrodło rozwiń

New year, new me… Just kidding, no running or yoga plans, but I decided to have a (temporary) break with ‘C# attributes you should know’ series and start with a brand new one – C# facts that somehow surprised me. For the first article, I will show you how (friendly looking, always helpful, good guy...) enum can become an asshole. An asshole who will steal your precious time! One enum value passed to a method, other value received! What’s goin’ on?

Dziel się z innymi:
C# stuff nobody told you – enum is a b*tch! – A Girl Among Geeks

Sztuka programowania 977 dni, 2 godziny, 28 minut temu AGirlAmongGeeks 414 źrodło rozwiń

Today I (again) focus on the attributes that will make your debugging less painfull :). This time my scribbles should appeal to the programmers who prefer keeping their code clean (and adhere to the principle: the less ‘spare’ code the better). So grab a mug of whatever you like and take a look at DebbugerBrowsable and DebuggerDisplay. The first one may be a good alternative to DebuggerTypeProxyI described in previous post and the second one is just ‘a must’ (really!) that makes life easier.

C# attributes you should know #3: [DebbugerBrowsable] and [DebuggerDisplay] – A Girl Among Geeks

Inne 993 dni, 10 godzin, 21 minut temu AGirlAmongGeeks 145 źrodło rozwiń

Today I would like to introduce you to the world of attributes that helps you skip some parts of code while debugging. Most of the C# programmers probably know them well, but I realized that only a few can tell the differences between them. So, ladies and gentlemen, let me introduce you the DebuggerStepThrough and DebuggerHidden.

C# attributes you should know #2: [DebuggerStepThrough] and [DebuggerHidden] – A Girl Among Geeks

Inne 1002 dni, 10 godzin, 2 minuty temu AGirlAmongGeeks 111 źrodło rozwiń

[DebuggerTypeProxy] is very useful attribute when you have a class that inherits from another class and that one inherits from another one, and some of the classes contain collections of items and hundreds of properties that in fact are not important to you… Strictly speaking, when displaying class’ members while debugging makes you feel like quitting the job. [b]We decide how to display object while debugging[/b] Exactly! You can set a proxy that will inform debugger how you want a type to be displayed...

C# attributes you should know #1: [DebuggerTypeProxy] – A Girl Among Geeks

Inne 1010 dni, 9 godzin, 48 minut temu AGirlAmongGeeks 171 źrodło rozwiń

C# Attributes are very popular for ‘decorating’ assembly with some additional data, usually influencing on the application’s behavior or the way data are managed. You probably already used at least some of them – Obsolete, Serializable, Required, Display, MaxLength, RegularExpression, WebMethod are only a few of hundreds available in .Net world. What is more, you can write your own custom attribute and use it like a build-in one. I will write more about this in the next post. Right now, let’s focus o...

Dziel się z innymi:
C# Attributes – introduction – A Girl Among Geeks

Sztuka programowania 1074 dni, 10 godzin, 19 minut temu AGirlAmongGeeks 166 źrodło rozwiń

In the last post I wrote about one of the .Net Core 2.0 features – Razor Pages. Today, we will crawl a little bit in this mud… I mean, we will write some code. I chose a simple BMI calculator as a demo project (you can download the code from github). You know, 2 inputs and the code-behind that will tell us if we are very fat or just slightly fat or we are OK and it’s time for another cookie. Because, there is always a time for a cookie, no matter what! A warm up Last time we crea...

Razor Pages – a simple demo to learn the monster! – A Girl Among Geeks

Web 1104 dni, 10 godzin, 2 minuty temu AGirlAmongGeeks 134 źrodło rozwiń

W poprzedniej części cyklu o TDD opisałem dlaczego sposób wytwarzania oprogramowania, który praktykowałem na początku się nie sprawdzał i co mnie skłoniło do zainteresowania się Test Driven Development. Dzisiaj opiszę jak wygląda praca zgodnie z TDD. Jak to często bywa w przypadku praktyk zwinnych zasady teoretyczne są dosyć proste, a kluczem do sukcesu jest dyscyplina. Na początku musimy sobie wyjaśnić jedną bardzo ważną kwestię. TDD to nie synonim do pisania testów jednostkowych. Owszem, unit testy ...

Tagi: TDD
Źródło: ucgosu.pl
Dziel się z innymi:
Na czym polega TDD - ucgosu.pl

Sztuka programowania 1114 dni, 11 godzin, 58 minut temu ucgosupl 143 źrodło rozwiń

1 2 3

Najaktywniejsi

1
(32 895,6)
2
(32 816,53)
3
(27 178,29)
4
(21 178,88)
5
(20 336,33)
6
(13 018,14)
7
(10 512,53)
8
(9 775,28)
9
(8 418,28)
10
(6 822,96)
11
(6 214,22)
12
(5 393,84)
13
(4 142,41)
14
(4 026,73)
15
(3 908,07)
16
(3 599,64)
17
(3 448,35)
18
(3 318,39)
19
(3 224,66)
20
(3 173,43)