dotnetomaniak.pl

Strona głównaUżytkownik

AGirlAmongGeeks | użytkownik

AGirlAmongGeeks
AGirlAmongGeeks
1 095,2
106 dni, 16 godzin, 46 minut temu
23 lutego, 2017
dotnetomaniak.pl

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 113 dni, 7 godzin, 3 minuty temu AGirlAmongGeeks 52 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 132 dni, 1 godzinę, 49 minut temu AGirlAmongGeeks 99 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 187 dni, 20 godzin, 8 minut temu AGirlAmongGeeks 97 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 280 dni, 4 godziny, 41 minut temu AGirlAmongGeeks 186 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 292 dni, 6 godzin, 54 minuty temu AGirlAmongGeeks 114 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 336 dni, 1 minutę temu AGirlAmongGeeks 413 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 352 dni, 7 godzin, 55 minut temu AGirlAmongGeeks 144 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 361 dni, 7 godzin, 36 minut temu AGirlAmongGeeks 111 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 369 dni, 7 godzin, 22 minuty temu AGirlAmongGeeks 171 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 433 dni, 7 godzin, 53 minuty temu AGirlAmongGeeks 165 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 463 dni, 7 godzin, 35 minut temu AGirlAmongGeeks 129 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 473 dni, 9 godzin, 32 minuty temu ucgosupl 143 rozwiń

Last week I mentioned that together with .Net Core 2.0 we got something that makes my jaw drop. This “little” feature that made me feel slightly uncomfortable is Raroz Pages. In this post, I will show you what it really is or, in fact, what it is not 😊 and if we should be afraid of it... At first glance, you may think that Razor Pages are Microsoft’s attempt of coming back to the ASP.Net WebForms. Which I, unfortunately, still deal with damn too often so b...

Razor Pages (ASP.Net Core 2.0) – a step back or a great idea? – A Girl Among Geeks

Web 468 dni, 8 godzin, 4 minuty temu AGirlAmongGeeks 231 rozwiń

This is the third article in the series of the last Microsoft releases and this time I will focus on Visual Studio update – labeled ‘15.3’. I am usually easily pleased with most of the Microsoft IDE features so forgive me all of my ‘ohhh’ but I really love all this changes 😉. No more ‘Add -> Existing Item’! ‘Drag & Drop’ will make the world a better place! You know the struggle when you want to add a file to your project and you have to first copy it (physically) to the appropriate location and the...

Visual Studio 2017 15.3 – when you think there is nothing more you may need… – A Girl Among Geeks

Narzędzia 476 dni, 8 godzin, 13 minut temu AGirlAmongGeeks 265 rozwiń

At Monday, we have a highly anticipated release – .Net Core 2.0 ! If it is not enough, we also got a new version of Visual Studio 2017 – update 15.3 (and I will write about it in the nearest feature). So now, I will try to show you the most interesting features of the youngest .Net kid.How to start? Installing update of Visual Studio 2017 is nothing extraordinary, so I will not write about it 😉. What may not seem very obvious, is the fact that we need to (additionally) install .Net Core 2.0 SDK....

.Net Core 2.0 – summary – A Girl Among Geeks

Inne 480 dni, 8 godzin, 19 minut temu AGirlAmongGeeks 183 rozwiń

When I started learning .Net Core some time ago I was constantly encountering a ‘.Net Standard’. I knew what it means and that it is (somehow 😉 ) important for me but didn’t really care about it. It’s just the standard, right? Who would care about it, when there is so many new things to discover (yep, I was an ignorant!). I changed my mind the last week – when the .Net Standard 2.0 was finally released. So, what the .Net Standard is? It is the standard common for every .Net technology. It ensures ...

.Net Standard 2.0 is here! – A Girl Among Geeks

Inne 482 dni, 8 godzin, 9 minut temu AGirlAmongGeeks 191 rozwiń

Yes, ElasticSearch can be now installed and used much easier (that’s probably not a breaking news because I’m writing about it after one month since I have got a confirmed info) but summer is not the best time for writing a blog’s post 😉.)! In this post I will focus on the dilemma – when exactly a .msi file can be useful and when it is better to stick to the old fashioned command line. At the end of the post I also added some personal experiences with ElasticSearch logs when working with ES as a ...

ElasticSearch has a Windows Installer! – A Girl Among Geeks

Inne 500 dni, 21 godzin, 6 minut temu AGirlAmongGeeks 90 rozwiń

I can’t be the only person who hates waiting for the code to compile and run… Especially when I want to test only a small part of it! That’s a total waste of time! But good news everyone, I found a way to run a part of my C# code without building the whole project!Ctrl + E, E – the magical shortcut!

Dziel się z innymi:
Ctrl + E, E – the best Visual Studio shortcut I’ve seen so far! – A Girl Among Geeks

Inne 549 dni, 16 godzin, 15 minut temu AGirlAmongGeeks 399 rozwiń

Last time we talked about creating indexes. We also searched for some data in our index in some easy manner. Today I would like to focus on other search-alike operations – bool queries.

ElasticSearch – part 2. Bool Query (searching basis) – A Girl Among Geeks

Daj się poznać 2017 558 dni, 5 godzin, 40 minut temu AGirlAmongGeeks 90 rozwiń

This is the 20th and the last post in the GetNoticed! competition. So it means that… I DID IT! I survived till the very end, I managed to create 20 posts in 10 weeks. ReMaster is still alive (it could be fed better but let’s leave this subject :P). It’s time to celebrate, I mean, have some sleep 😉. What I’m proud of? I have a blog! One year ago I was sure that my programming life is boring and even the problems I encounter while coding are too boring to write about them. And I ...

I survived! The ‘GetNoticed’ competition is over! – A Girl Among Geeks

Daj się poznać 2017 574 dni, 18 godzin, 25 minut temu AGirlAmongGeeks 12 rozwiń

1 2