Strona głównaUżytkownik

Sam Smith | użytkownik

Sam Smith
Sam Smith
750,04
2936 dni, 5 godzin, 16 minut temu
7 grudnia, 2015
dotnetomaniak.pl

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.

Źródło: stapp.space
Dziel się z innymi:
[EN] Project.json made my life easier and it is not a joke in Stapp.space

Narzędzia 2928 dni, 11 godzin, 16 minut temu Sam Smith 92 źrodło 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.

Źródło: stapp.space
Dziel się z innymi:
[EN] How to enhance debugging in Visual Studio with just one simple step

Narzędzia 2968 dni, 10 godzin, 28 minut temu Sam Smith 243 źrodło 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
Źródło: stapp.space
Dziel się z innymi:
[EN]How to split monolith solution - part 2 - find cut lines in Stapp.space

Architektura 3044 dni, 2 godziny, 36 minut temu Sam Smith 46 źrodło 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
Źródło: stapp.space
Dziel się z innymi:
[EN] How to split monolit solution - part 1: common myths in Stapp.space

Architektura 3045 dni, 5 godzin, 1 minutę temu Sam Smith 64 źrodło 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
Źródło: stapp.space
Dziel się z innymi:
[EN] sudo !! - run last command in elevated PowerShell prompt in Stapp.space

Narzędzia 3069 dni, 6 godzin, 11 minut temu Sam Smith 31 źrodło 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
Źródło: stapp.space
Dziel się z innymi:
[EN]Docker: Windows containers on Windows host - step by step in Stapp.space

Narzędzia 3084 dni, 8 godzin, 22 minuty temu Sam Smith 72 źrodło 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
Źródło: stapp.space
Dziel się z innymi:
[EN] Make you code editor a little more bloody in Stapp.space

Narzędzia 3084 dni, 8 godzin, 22 minuty temu Sam Smith 61 źrodło 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
Źródło: stapp.space
Dziel się z innymi:
[EN]How to setup Bash and Ubuntu on Windows - step by step guide in Stapp.space

Windows 3122 dni, 13 godzin, 25 minut temu Sam Smith 43 źrodło 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
Źródło: stapp.space
Dziel się z innymi:
[EN]Top news from Build 2016 - my private ranking in Stapp.space

Inne 3137 dni, 13 godzin, 8 minut temu Sam Smith 61 źrodło 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
Źródło: stapp.space
Dziel się z innymi:
[EN] Why HTML form with AJAX submit gives 404? in Stapp.space

Web 3156 dni, 1 godzinę, 50 minut temu Sam Smith 41 źrodło 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
Źródło: stapp.space
Dziel się z innymi:
[EN] Should I refactor my code? in Stapp.space

Sztuka programowania 3174 dni, 1 godzinę, 6 minut temu Sam Smith 124 źrodło 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
Źródło: stapp.space
Dziel się z innymi:
[EN] 4developers is coming (CFP is open till 22.02.2016)

Inne 3183 dni, 9 godzin, 32 minuty temu Sam Smith 47 źrodło 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
Źródło: stapp.space
Dziel się z innymi:
[EN] How to remove JavaScript console.log - pros&cons in Stapp.space

Web 3194 dni, 12 godzin, 39 minut temu Sam Smith 85 źrodło 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.

Źródło: stapp.space
Dziel się z innymi:
[EN] New features in  jQuery 3.0 in Stapp.space

Web 3202 dni, 11 godzin, 56 minut temu Sam Smith 181 źrodło 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?

Źródło: stapp.space
Dziel się z innymi:
[EN] ReAttach - how to easily (re)attach the debugger in Visual Studio in Stapp.space

Narzędzia 3206 dni, 11 godzin, 32 minuty temu Sam Smith 90 źrodło 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
Źródło: stapp.space
Dziel się z innymi:
[EN] New Year's resolution: try new front-end JavaScript frameworks in Stapp.space

Inne 3213 dni, 11 godzin, 20 minut temu Sam Smith 83 źrodło 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. ...

Źródło: stapp.space
Dziel się z innymi:
[EN] Private npm registry with fallback to global registry in Stapp.space

Narzędzia 3217 dni, 14 godzin, 1 minutę temu Sam Smith 33 źrodło 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...

Źródło: stapp.space
Dziel się z innymi:
[EN] Clean code - regular expression

Inne 3221 dni, 13 godzin, 45 minut temu Sam Smith 212 źrodło 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: asp.net, NuGet
Źródło: stapp.space
Dziel się z innymi:
[EN]Floating versions in Nuget

Web 3240 dni, 5 godzin, 2 minuty temu Sam Smith 115 źrodło 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 (https://www.vagrantup.com/downloads.html) (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
Źródło: stapp.space
Dziel się z innymi:
[EN] Setup vagrant with Azure - step by step guide

Narzędzia 3243 dni, 11 godzin, 58 minut temu Sam Smith 32 źrodło rozwiń

1 2