Strona głównaUżytkownik

Sam Smith | użytkownik

Sam Smith
Sam Smith
87 dni, 12 godzin, 43 minuty temu
7 grudnia, 2015

Project.json is a celeb in .NET world. But its status is rather "famous for being famous", instead of usefulness. Probably you heard some time ago that it will replace csproj and a few months later that it won't. What is it still doing here? Only one word: dependencies.

Dziel się z innymi:
[EN] Project.json made my life easier and it is not a joke in

Narzędzia 79 dni, 18 godzin, 43 minuty temu Sam Smith 91 rozwiń

During the debugging session, I always had problems with complex structures. Preview most interesting properties were irritating, we need to expand a variable. In most cases, I tried to override ToString method. But it isn't always possible.

Dziel się z innymi:
[EN] How to enhance debugging in Visual Studio with just one simple step

Narzędzia 119 dni, 17 godzin, 55 minut temu Sam Smith 239 rozwiń

In the first part How to split monolith solution - part 1: common myths I wrote about common myths. In this post I will try to find "lines" to cut, using the Visual Studio and the ReSharper. Let's go!

Tagi: clean code
Dziel się z innymi:
[EN]How to split monolith solution - part 2 - find cut lines in

Architektura 195 dni, 10 godzin, 3 minuty temu Sam Smith 41 rozwiń

Do you have a big and heavy solution? Do you want to split it? Are you afraid? I will try to help.

Tagi: clean code
Dziel się z innymi:
[EN] How to split monolit solution - part 1: common myths in

Architektura 196 dni, 12 godzin, 28 minut temu Sam Smith 61 rozwiń

Last week I have a lot of fun with docker on windows, but I have one small problem. I usually run PowerShell in standard mode, without admin rights. And from time to time I want to restart service, run docker command or ... - run the previous command in the elevated prompt. In Linux, there is a sudo !!. But in PowerShell, there is no even built-in sudo. Today at least I found a solution. Check it out on my latest blog post.

Tagi: Powershell
Dziel się z innymi:
[EN] sudo !! - run last command in elevated PowerShell prompt in

Narzędzia 220 dni, 13 godzin, 38 minut temu Sam Smith 30 rozwiń

For more than one year Windows developers can hear about Docker stuff. Now we are ready to run it: windows containers on windows host. Check it out and have some fun

Tagi: docker
Dziel się z innymi:
[EN]Docker: Windows containers on Windows host - step by step in

Narzędzia 235 dni, 15 godzin, 49 minut temu Sam Smith 66 rozwiń

Your editor is Your main tool. Nowadays we are using usually more than one. Read more to check how to make them look similar

Tagi: IDE
Dziel się z innymi:
[EN] Make you code editor a little more bloody in

Narzędzia 235 dni, 15 godzin, 49 minut temu Sam Smith 60 rozwiń

Running Ubuntu apps on Windows is now a piece of cake. We just need to setup Ubuntu (with Bash) on Windows using Insider Preview Build in few simple steps.

Tagi: windows 10
Dziel się z innymi:
[EN]How to setup Bash and Ubuntu on Windows - step by step guide in

Windows 273 dni, 20 godzin, 52 minuty temu Sam Smith 40 rozwiń

Build 2016 just ended. I wasn't lucky to watch it live. Fortunately live streaming, twitter, and news were available. There were a lot of sessions and news. I decided to present my favorites.

Tagi: news
Dziel się z innymi:
[EN]Top news from Build 2016 - my private ranking in

Inne 288 dni, 20 godzin, 35 minut temu Sam Smith 61 rozwiń

Imagine you have a simple HTML form with AJAX submit. From time to time your users reports 404 error. You ask yourself: what's going on?

Tagi: AJAX, JavaScript
Dziel się z innymi:
[EN] Why HTML form with AJAX submit gives 404? in

Web 307 dni, 9 godzin, 17 minut temu Sam Smith 36 rozwiń

Refactoring it should be a simple process. But when we ask a random developer, he will be afraid of it. But why are we so afraid?

Tagi: refactoring
Dziel się z innymi:
[EN] Should I refactor my code? in

Sztuka programowania 325 dni, 8 godzin, 33 minuty temu Sam Smith 124 rozwiń

One of the biggest IT festival in Poland 4developers will be this year 11th April. Last year 4developers was superb. There were a lot of different paths like: .NET, Java, PHP, UX, Front-end, Application architecture and more.

Tagi: konferencja
Dziel się z innymi:
[EN] 4developers is coming (CFP is open till 22.02.2016)

Inne 334 dni, 16 godzin, 59 minut temu Sam Smith 47 rozwiń

A few days ago I wrote a post: Disable JavaScript console on production. Shortly after that, I had a discussion with a friend about other ways to remove console.* statements. I felt that the conclusions of that conversion are useful, so I decided to share them with you.

Tagi: JavaScript
Dziel się z innymi:
[EN] How to remove JavaScript console.log - pros&cons in

Web 345 dni, 20 godzin, 6 minut temu Sam Smith 83 rozwiń

We received a big present for the 10th anniversary of jQuery, jQuery 3.0 has reached beta status. Let’s take a look at what’s new in jQuery and how to use it.

Dziel się z innymi:
[EN] New features in  jQuery 3.0 in

Web 353 dni, 19 godzin, 23 minuty temu Sam Smith 178 rozwiń

In more complicated projects, simple F5 doesn't compile&debug. In cases where you're working with IIS (w3wp process), we need to attach the debugger manually. For the first time it's ok, but repeating this step 10 times in hour is painful. Could this be done in one button or keyboard shortcut?

Dziel się z innymi:
[EN] ReAttach - how to easily (re)attach the debugger in Visual Studio in

Narzędzia 357 dni, 18 godzin, 59 minut temu Sam Smith 89 rozwiń

Quoting Wikipedia: Blue Monday is a name given to a day in January (typically the third Monday of the month) reported to be the most depressing day of the year. The concept was first publicised as part of a 2005 press release from holiday company Sky Travel which claimed to have calculated the date using an equation. [...] In 2016 is predicted quite late, on 25th of January. So still there is a time to fulfill my New Year's resolution: try more new JavaScript front-end frameworks. Especially that there ...

Tagi: JavaScript
Dziel się z innymi:
[EN] New Year's resolution: try new front-end JavaScript frameworks in

Inne 364 dni, 18 godzin, 46 minut temu Sam Smith 81 rozwiń

From time to time we need to use npm packages on Continuous Integration build agentwith no access to internet (usually CI agent)with slow internet proxy Moreover as Windows developers we have Windows servers. ...

Dziel się z innymi:
[EN] Private npm registry with fallback to global registry in

Narzędzia 368 dni, 21 godzin, 28 minut temu Sam Smith 30 rozwiń

The most important thing I learn in 2015 is that clean code is everything. You can have bad performance or logical errors or even security issues. But without clean code you cannot fix anything above, because you don't understand the code. The regular expressions were always dramatic for fast reading. Unless there was a variable which describes it well, I need a lot of time to understand what exactly is going on. Just let look on the JavaScript example...

Dziel się z innymi:
[EN] Clean code - regular expression

Inne 372 dni, 21 godzin, 11 minut temu Sam Smith 206 rozwiń

At least ASP.NET 5 is production ready. I know that current state is release candidate, but be honest it means that it is ready. Maybe some quick fixes will be need but who cares ;) This means that we can start thinking about migrating csproj to project.jsonNuget >= 3.0 The separate part of .NET is Nuget. It is separate but very important unless you don't have one project solution, and you don't have external dependencies. In Visual Studio 2015 Update 1 Nuget 3.3. is included. I hope 3....

Tagi:, NuGet
Dziel się z innymi:
[EN]Floating versions in Nuget

Web 391 dni, 12 godzin, 29 minut temu Sam Smith 115 rozwiń

Setup Vagrant with Azure is not complicated, but require a lot of steps, especially if you never configure azure using command line Prerequisites First of all we need some tools:Vagrant ( (at least 1.7.2)NodeJS + NPMGit (for openssl.exe) or puttygenAzure account :)Powershell or other command line tool :)Setup Azure CLI Azure CLI will help us to create virtual machine in Azure. We will setup credentials and certificate, which we use in vagrant. Installation is q...

Tagi: Azure, tools, vagrant
Dziel się z innymi:
[EN] Setup vagrant with Azure - step by step guide

Narzędzia 394 dni, 19 godzin, 25 minut temu Sam Smith 30 rozwiń

1 2
Szkolenia SecurITum






Zobacz wszystkie

.NET Developer Days 2015

W tym roku ponownie jak w poprzednim jesteśmy jednym z patronów medialnych konferencji .NET Developer Days. W tym roku jednym z prelegentów będzie Scott Hanselman.  czytaj więcej



macko (32 816,53)


http://pawlos.blo... (31 510,42)


pzielinski (27 178,29)


gordon_shumway (21 178,87)


paduda (20 336,33)


psz750 (13 018,14)


rroszczyk (10 383,88)


Damian (9 011,08)


danielplawgo (7 235,99)


arek (6 642,85)


burczu (6 214,22)


PaSkol (5 393,84)


lukaszgasior (4 097,38)


jj09 (3 418,06)


jedmac (3 238,38)


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


CaMeL (2 954,87)


mnikolajuk (2 596,93)


lkurzyniec (2 466,13)


FutureProcessing (2 460,11)