Strona głównaUżytkownik

AGirlAmongGeeks | użytkownik

18 godzin, 44 minuty temu
23 lutego, 2017

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 19 godzin, 20 minut temu AGirlAmongGeeks 75 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 37 dni, 14 godzin, 11 minut temu AGirlAmongGeeks 404 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 53 dni, 22 godziny, 4 minuty temu AGirlAmongGeeks 142 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 62 dni, 21 godzin, 45 minut temu AGirlAmongGeeks 106 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 70 dni, 21 godzin, 31 minut temu AGirlAmongGeeks 169 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 134 dni, 22 godziny, 2 minuty temu AGirlAmongGeeks 163 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 164 dni, 21 godzin, 45 minut temu AGirlAmongGeeks 120 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
Dziel się z innymi:
Na czym polega TDD -

Sztuka programowania 174 dni, 23 godziny, 41 minut temu ucgosupl 142 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 169 dni, 22 godziny, 13 minut temu AGirlAmongGeeks 166 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 177 dni, 22 godziny, 23 minuty 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 181 dni, 22 godziny, 28 minut temu AGirlAmongGeeks 180 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 183 dni, 22 godziny, 19 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 202 dni, 11 godzin, 16 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 251 dni, 6 godzin, 25 minut temu AGirlAmongGeeks 398 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 259 dni, 19 godzin, 50 minut temu AGirlAmongGeeks 88 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 276 dni, 8 godzin, 34 minuty temu AGirlAmongGeeks 12 rozwiń

Today’s post is rather unusual because… it slightly touches JavaScript! The language I used to hate with the whole of my heart and now I’m starting to tolerate it (or maybe even… like it? Yeah, that’s strange). So let me tell you about my recent discoveries concerning Google Maps API (v3)! Chrome doesn’t allow you to get user location on pages without https! Yep, that’s sad (hmm or not ;)), https is becoming a must! Of course, it doesn’t apply to localhost, but when you deploy your code to the...

Some fun facts about Google Maps API that surprised me – A Girl Among Geeks

Daj się poznać 2017 276 dni, 8 godzin, 34 minuty temu AGirlAmongGeeks 46 rozwiń

Last week I wrote about installing ElasticSearch on your local machine. Today I will focus on using this search engine – indexing and searching for data. First of all, I recommend installing Sense plugin for Chrome. It works like a charm and makes you be able to focus on indexing and only indexing. Very helpful...

ElasticSearch – part 1. A warm-up! – A Girl Among Geeks

Daj się poznać 2017 281 dni, 21 godzin, 25 minut temu AGirlAmongGeeks 84 rozwiń

The one conference I attended last Thursday was Software Talks organized at Rzeszów University of Technology by PGS Software. One of the two prelectors was Piotr Konieczny - I think everybody will know why I was so anticipating this event. Who knows the Polish language and is interested in the security subjects probably knows Piotr and his blog and for sure would share my excitement!

Software Talks conference review – A Girl Among Geeks

Daj się poznać 2017 305 dni, 7 godzin, 18 minut temu AGirlAmongGeeks 14 rozwiń

Jeśli używamy Gita na pewno znamy polecenie git log które to wyświetla nam historię zmian w repozytorium. Jednak polecenie to ma pewną ciekawą możliwość, którą daje nam przełącznik -L. Mianowicie wówczas możemy podać nazwę metody oraz nazwę pliku i wyświetli nam się cała historia, ale dotycząca zmian w tej konkretnej metodzie. Jest to naprawdę wygodne, gdy chcemy dokładnie przyjrzeć się zmianom tylko w jednym miejscu bez przedzierania się przez rozbudowane porównywanie i całe pliki. Mój przykładowy pli...

Dziel się z innymi:
Historia zmian danej funkcji w Git | Programistka Iwona

Daj się poznać 2017 307 dni, 10 godzin, 1 minutę temu Maga 166 rozwiń

1 2
Szkolenia SecurITum


Dodaj nowe Zobacz wszystkie



Paweł Łukasik (32 867,57)


macko (32 816,53)


pzielinski (27 178,29)


gordon_shumway (21 178,87)


paduda (20 336,33)


psz750 (13 018,14)


rroszczyk (10 391,11)


Damian (9 445,13)


danielplawgo (7 235,99)


arek (6 807,95)


burczu (6 214,22)


PaSkol (5 393,84)


lukaszgasior (4 097,38)


jj09 (3 798,06)


dpawlukiewicz (3 451,73)


spetz (3 418,34)


jedmac (3 318,39)


http://jakub-flor... (3 224,66)


AdrianBystrek (3 150,79)


CaMeL (2 954,87)