Download files via POST request in AngularJs
There are times when you need to download file but the download is initiated via POST request, because the request contains too much parameters to fit into limited GET request. In my case I needed to...
View ArticleC# Coding conventions
These coding conventions were originally written by my colleagues Filip Kassovic and Michal Třešňák in ST-Software. I have only made slight updates and published it on my blog. Do not use “var” keyword...
View ArticleHow to set VisualStudio 2015 to always run “as Administrator” in Windows 10
You might have the same problem like me after upgrading to Visual Studio 2015. The project could not be loaded because it depended on IIS and to run IIS it needed administration rights. Solution? Run...
View ArticleHledám kancelář
PROSÍM O SDÍLENÍ Od 1.1.2016 budu pracovat na volné noze a potřebuji si najít nějakou pěknou kancelář. Nechci být celý den zavřený v kanceláři úplně sám, takže bych se rád k někomu připojil nebo našel...
View ArticleIn defence of literate programming
We tend to write code differently when we know that someone will be reading it, don’t we … [Josh Johnston, X-Team] The thing is, you should always try to write (and rewrite) your code so that it is as...
View ArticleBindings in AnguarJs
This is something I can NEVER remember by heart. app.directive('someDirective', function () { return { scope: { oneWay: '@', twoWay: '=', expr: '&' } }; });
View ArticleVisualStudio has problem when multiple versions of Typescript are installed
You can have several versions of Typescript installed on your machine and each project in Visual Studio can be configured to use different version by specifying that version in .csproj file. Like this...
View ArticleDifference between async loops in C#
What do you think will happen when you run these 2 snippets of code? They both looks quite similar at the first sight, don’t they. This one var results = new List<SomeClass>();...
View ArticleRecover deleted files by VisualStudio
Image this: You are working on a new functionality. You open up your IDE and start hacking away. You create several new files, invest your time and effort and then you accidentally delete the wrong...
View ArticleMy Bower/Gulp settings
This is my Gulp.js workflow settings based on examples shown in this PluralSight course (I really recommend you to watch it). I am using these gulp plugins: main-bower-files for creating list of js...
View Article
More Pages to Explore .....