dotnetomaniak.pl - Artykuły z tagiem C#

Do You ever wanted to run C# code in a scripty inline way to check if code will execute the way you want? This could be especially useful when you don’t have powerful visual studio with repl(interactive) and You are writing C# in something lightweight like vs code. I decided to write this post because installing scriptcs is cumbersom...

Tagi: .Net, C#
Źródło: deaddesk.top
Dziel się z innymi:
Running C# in REPL using scriptcs - DeadDesk.top

Narzędzia 2403 dni, 15 godzin, 8 minut temu undernotic 63 źrodło rozwiń

Każdy z programistów, który choć raz miał do czynienia z wielowątkowością, chociaż raz musiał użyć konstrukcjo lock(). Dlaczego nie wolno tego używać razem z async/await? I co użyć zamiast tego? O tym w dzisiejszym wpisie.

Źródło: solidev.pl
Dziel się z innymi:
Asynchroniczny Lock w C# – Solidny programista | blog o programowaniu

Sztuka programowania 2414 dni, 17 godzin, 7 minut temu ogrod87 311 źrodło rozwiń

ConnectionManagement is a property found in app.config that allows to put a limit on number of connections to a specific host at tcp level. This affects http calls, every one of these need estabilished tcp connection “underneath”, client needs to reuse or open a new port to listen for the response fr...

Tagi: .Net, App.config, C#, HTTP, tcp
Źródło: deaddesk.top
Dziel się z innymi:
connectionManagement can ruin your day - DeadDesk.top

Web 2418 dni, 16 godzin, 59 minut temu undernotic 68 ź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 2419 dni, 15 godzin temu AGirlAmongGeeks 135 źrodło rozwiń

Różnice między klasą a strukturą w C#, szczególnie na początku przygody z programowaniem, mogą wydawać się niewielkie i nieistotne, jednak pytania o nie często pojawiają się na rozmowach kwalifikacyjnych dla junior developerów, a ich znajomość jest dodatkowo kluczowa ze względów wydajnościowych, Jeżeli programowałeś w C++ pamiętasz zapewne, że różnica między klasą a strukturą polega tam jedynie na tym, że class ma pola domyślnie prywatne, a struct publiczne, natomiast w pamięci reprezentowane są w taki ...

Dziel się z innymi:
Klasy i struktury – Michał Walczyński

Sztuka programowania 2433 dni, 14 godzin, 25 minut temu macabre13 230 źrodło rozwiń

Welcome to the twenty-third episode of my course “Becoming a software developer” in which we will focus on the vast topic of DevOps which is all about building, testing and deploying the application. And we will use Docker to help with the overall process.

Dziel się z innymi:
Becoming a software developer – episode XXIII | Piotr Gankiewicz

Inne 2453 dni, 6 godzin, 54 minuty temu spetz 59 źrodło rozwiń

Written by Dawid Sibińskion I’ve recently been presented a concept of initializing the database (creating or re-creating it) with Unit Test method. Initially I thought it’s a non-sense, but after a while of taking a deeper look… The method of initializing the database I mentioned was used with Entity Framework Core in ASP.NET Core project, where Code First database creation approach was used. As you know, this approach implies that we create models (classes) representing our database entities i...

Źródło: www.dsibinski.pl
Dziel się z innymi:
Entity Framework Core – database initialization with Unit Test – Dawid’s blog

Web 2457 dni, 4 godziny, 31 minut temu dsibinski 95 źrodło rozwiń

Let’s say you are one man-army, single developer who develops next-great-thing-on-desktop. You have only one client for whom you send each day latest build to test.

Tagi: C#, git, Visual Studio
Źródło: blog.soltysiak.it
Dziel się z innymi:
Attach git commit SHA1 hash to your assembly – Soltys Blog

Narzędzia 2466 dni, 1 godzinę, 25 minut temu Paweł Sołtysiak 89 źrodło rozwiń

Welcome to the twenty-second episode of my course “Becoming a software developer” in which we will use SQL Server database along with Entity Framework Core library.

Dziel się z innymi:
Becoming a software developer – episode XXII | Piotr Gankiewicz

Inne 2466 dni, 1 godzinę, 25 minut temu spetz 85 źrodło rozwiń

O narzędziu CodeFormatter, służącym do formatowania projektów dotnetowych, działający z linii poleceń zarówno pod Windowsem jak i pod Linuxem pod Mono. Do tego napisałem skrypt instalujący go na Linuxie.

Dziel się z innymi:
Formatowanie kodu dotnetowego | MD Tech Blog

Narzędzia 2487 dni, 2 godziny, 24 minuty temu manio143 154 źrodło rozwiń

"The code that a computer can understand can be written by anyone. A good programmer writes code that people can understand."

Dziel się z innymi:
Why I cannot understand this code?

Sztuka programowania 2492 dni, 2 godziny, 23 minuty temu kw677 168 źrodło rozwiń

W mojej pracy potrzebowałem narzędzia, które w łatwy sposób pozwoli na konfigurację kolejnych kroków budowania projektów i sprawdzania testów jednostkowych. Normalnie zadanie to zlecałem w 100% Bamboo, któremu przez pewien czas miałem przyjemność administrować pod kątem konfiguracji procesów CI. Problem pojawiał się w momencie, gdy cała konfiguracja leżała po stronie tego ...

Źródło: lmarcinek.pl
Dziel się z innymi:
Cake (C# Make) – niezależny build – Łukasz Marcinek

Narzędzia 2492 dni, 2 godziny, 23 minuty temu Łukasz Marcinek 208 źrodło rozwiń

Co możemy zrobić z Azure Functions za pomocą VS - jakie mamy dostępne opcje, co i jak możemy deployować oraż jak możemy to wszystko testować/debuggować.

Źródło: blog.gutek.pl
Dziel się z innymi:
Serverless – Azure Functions w Visual Studio - Jakub Gutkowski

Cloud 2493 dni, 16 godzin, 42 minuty temu Gutek 83 źrodło rozwiń

It’s pretty funny to me when you think that you know some programming language quite well and suddenly you find out some feature, you’ve never heard before. I mean at all. That’s exactly what happened to me yesterday. Let’s see what’s that. Generics are very useful in programming since we can avoid writing similar code multiple times. But when we start to complicate them too much, it quickly reduces the legibility of the code. Of course, I don’t claim that whe...

Tagi: alias, C#, generics
Źródło: foreverframe.net
Dziel się z innymi:
CodeTip #7 - Aliased generics in C# - Forever F[r]ame

Sztuka programowania 2493 dni, 16 godzin, 42 minuty temu dpawlukiewicz 208 źrodło rozwiń

Welcome to the twenty-first episode of my course “Becoming a software developer” in which we will use MongoDB which is a NoSQL database for storing the data of our application.

Dziel się z innymi:
Becoming a software developer – episode XXI | Piotr Gankiewicz

Inne 2501 dni, 3 godziny, 22 minuty temu spetz 47 źrodło rozwiń

Welcome to the twenty episode of my course “Becoming a software developer” in which we will implement our custom “handler” that will be responsible for executing the given methods, dealing with exceptions etc.

Dziel się z innymi:
Becoming a software developer – episode XX | Piotr Gankiewicz

Inne 2509 dni, 9 godzin, 13 minut temu spetz 33 źrodło 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 2505 dni, 23 godziny, 40 minut temu AGirlAmongGeeks 401 źrodło rozwiń

How often you wondering what this code is responsible? Why it not working or why it working good although it should not? 🙂 How often you must use debugger to find code which do specific action?

Tagi: .Net, C#
Źródło: even-simpler.com
Dziel się z innymi:
Understandable code for human, not only for computer! – Prelude – Dev level up!

Sztuka programowania 2514 dni, 13 godzin, 5 minut temu kw677 61 źrodło rozwiń

Krótkie podsumowanie na zakończenie Daj się poznać 2017 wraz z prezentacją aplikacji stworzonej w ramach konkursu.

Źródło: radekkoduje.pl
Dziel się z innymi:
DSP 2017 – Project summary (X)

Daj się poznać 2017 2514 dni, 13 godzin, 5 minut temu Bartosz Radlak 29 źrodło rozwiń

Welcome to the nineteenth episode of my course “Becoming a software developer” in which we will gracefully handle the exceptions and extend logging services with NLog.

Dziel się z innymi:
Becoming a software developer – episode XIX | Piotr Gankiewicz

Inne 2516 dni, 16 godzin, 49 minut temu spetz 30 źrodło rozwiń

1 2... 11 12 13 14 15 16... 72 73

Najaktywniejsi w tym miesiącu