-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
830 lines (579 loc) · 35.8 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
<!DOCTYPE html>
<html lang=en>
<head>
<meta charset="utf-8">
<title>Moret Consultancy</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<meta name="description" content="Freelance Software Developer. Experienced Full Stack Developer with a focus on web and a passion for agile/scrum and DevOps. Broad interest in new technologies and always looking to improve myself.">
<meta property="og:type" content="website">
<meta property="og:title" content="Moret Consultancy">
<meta property="og:url" content="http://moretconsultancy.com/index.html">
<meta property="og:site_name" content="Moret Consultancy">
<meta property="og:description" content="Freelance Software Developer. Experienced Full Stack Developer with a focus on web and a passion for agile/scrum and DevOps. Broad interest in new technologies and always looking to improve myself.">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Moret Consultancy">
<meta name="twitter:description" content="Freelance Software Developer. Experienced Full Stack Developer with a focus on web and a passion for agile/scrum and DevOps. Broad interest in new technologies and always looking to improve myself.">
<link rel="icon" href="/images/logo.png" />
<link rel="stylesheet" href="/vendor/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="/vendor/open-sans/styles.css">
<link rel="stylesheet" href="/vendor/source-code-pro/styles.css">
<link rel="stylesheet" href="/css/style.css">
<script src="/vendor/jquery/2.1.3/jquery.min.js"></script>
<script type="text/javascript">
(function(i,s,o,g,r,a,m) {i['GoogleAnalyticsObject']=r;i[r]=i[r]||function() {
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-71243417-1', 'auto');
ga('send', 'pageview');
</script>
</head>
<body>
<div id="container">
<header id="header">
<div id="header-main" class="header-inner">
<div class="outer">
<a href="/" id="logo">
<i class="logo"></i>
<span class="site-title">Moret Consultancy</span>
</a>
<nav id="main-nav">
<a class="main-nav-link" href="/.">Home</a>
<a class="main-nav-link" href="/archives">Archives</a>
<a class="main-nav-link" href="/categories">Categories</a>
<a class="main-nav-link" href="/tags">Tags</a>
<a class="main-nav-link" href="/about">About</a>
</nav>
<nav id="sub-nav">
<div class="profile" id="profile-nav">
<a id="profile-anchor" href="javascript:;">
<img class="avatar" src="/images/avatar.jpg" />
<i class="fa fa-caret-down"></i>
</a>
</div>
</nav>
<div id="search-form-wrap">
<form class="search-form">
<input type="text" class="ins-search-input search-form-input" placeholder="Search" />
<button type="submit" class="search-form-submit"></button>
</form>
<div class="ins-search">
<div class="ins-search-mask"></div>
<div class="ins-search-container">
<div class="ins-input-wrapper">
<input type="text" class="ins-search-input" placeholder="Type something..." />
<span class="ins-close ins-selectable"><i class="fa fa-times-circle"></i></span>
</div>
<div class="ins-section-wrapper">
<div class="ins-section-container"></div>
</div>
</div>
</div>
<script>
(function (window) {
var INSIGHT_CONFIG = {
TRANSLATION: {
POSTS: 'Posts',
PAGES: 'Pages',
CATEGORIES: 'Categories',
TAGS: 'Tags',
UNTITLED: '(Untitled)',
},
ROOT_URL: '/',
CONTENT_URL: '/content.json',
};
window.INSIGHT_CONFIG = INSIGHT_CONFIG;
})(window);
</script>
<script src="/js/insight.js"></script>
</div>
</div>
</div>
<div id="main-nav-mobile" class="header-sub header-inner">
<table class="menu outer">
<tr>
<td><a class="main-nav-link" href="/.">Home</a></td>
<td><a class="main-nav-link" href="/archives">Archives</a></td>
<td><a class="main-nav-link" href="/categories">Categories</a></td>
<td><a class="main-nav-link" href="/tags">Tags</a></td>
<td><a class="main-nav-link" href="/about">About</a></td>
<td>
<div class="search-form">
<input type="text" class="ins-search-input search-form-input" placeholder="Search" />
</div>
</td>
</tr>
</table>
</div>
</header>
<div class="outer">
<aside id="profile">
<div class="inner profile-inner">
<div class="base-info profile-block">
<img id="avatar" src="/images/avatar.jpg" />
<h2 id="name">Luuk Moret</h2>
<h3 id="title">Freelance Developer</h3>
<span id="location"><i class="fa fa-map-marker"></i>Limburg, Netherlands</span>
<a id="follow" target="_blank" href="https://twitter.com/intent/user?screen_name=luukmoret">FOLLOW</a>
</div>
<div class="article-info profile-block">
<div class="article-info-block">
3
<span>posts</span>
</div>
<div class="article-info-block">
9
<span>tags</span>
</div>
</div>
<div class="profile-block social-links">
<table>
<tr>
<td>
<a href="https://github.com/luukmoret" target="_blank" title="github" class=tooltip>
<i class="fa fa-github"></i>
</a>
</td>
<td>
<a href="https://twitter.com/LuukMoret" target="_blank" title="twitter" class=tooltip>
<i class="fa fa-twitter"></i>
</a>
</td>
<td>
<a href="https://nl.linkedin.com/in/luukmoret" target="_blank" title="linkedin" class=tooltip>
<i class="fa fa-linkedin"></i>
</a>
</td>
<td>
<a href="http://stackoverflow.com/users/4972749/luuk-moret" target="_blank" title="stack-overflow" class=tooltip>
<i class="fa fa-stack-overflow"></i>
</a>
</td>
</tr>
</table>
</div>
</div>
</aside>
<section id="main">
<article id="post-node-api-express-es6-part2" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-inner">
<a href="/2016/08/21/node-api-express-es6-part2/" itemprop="url">
<img src="/2016/08/21/node-api-express-es6-part2/node-api-express-banner.jpg" class="article-banner" />
</a>
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2016/08/21/node-api-express-es6-part2/">How to create a modular RESTfull API with Node.js, Express and ECMAScript 6 Part 2</a>
</h1>
<div class="article-meta">
<div class="article-date">
<i class="fa fa-calendar"></i>
<a href="/2016/08/21/node-api-express-es6-part2/">
<time datetime="2016-08-21T15:54:50.000Z" itemprop="datePublished">2016-08-21</time>
</a>
</div>
<div class="article-category">
<i class="fa fa-folder"></i>
<a class="article-category-link" href="/categories/Tutorials/">Tutorials</a>
</div>
<div class="article-tag">
<i class="fa fa-tag"></i>
<a class="tag-link" href="/tags/API/">API</a>, <a class="tag-link" href="/tags/ECMAScript/">ECMAScript</a>, <a class="tag-link" href="/tags/Express/">Express</a>, <a class="tag-link" href="/tags/Node/">Node</a>, <a class="tag-link" href="/tags/REST/">REST</a>
</div>
</div>
</header>
<div class="article-entry" itemprop="articleBody">
<p><p>This is part 2 of building a RESTful API with Node.js, Express and ECMAScript 6 using a module approach. <a href="/2016/08/20/node-api-express-es6-part1/">Be sure to read part 1 first.</a></p>
<p>Go to <a href="https://github.com/LuukMoret/blog-node-api-express-es6-part2">https://github.com/LuukMoret/blog-node-api-express-es6-part2</a> to see the finished code.</p>
<p>Now that the project setup is done we can start writing our own modules.</p></p>
<p class="article-more-link">
<a href="/2016/08/21/node-api-express-es6-part2/#more">Read More</a>
</p>
</div>
<footer class="article-footer">
<div class="share-container">
</div>
<a data-url="http://moretconsultancy.com/2016/08/21/node-api-express-es6-part2/" data-id="citlgcaox00067stwy5kkiehd" class="article-share-link"><i class="fa fa-share"></i>Share</a>
<script>
(function ($) {
// Prevent duplicate binding
if (typeof(__SHARE_BUTTON_BINDED__) === 'undefined' || !__SHARE_BUTTON_BINDED__) {
__SHARE_BUTTON_BINDED__ = true;
} else {
return;
}
$('body').on('click', function() {
$('.article-share-box.on').removeClass('on');
}).on('click', '.article-share-link', function(e) {
e.stopPropagation();
var $this = $(this),
url = $this.attr('data-url'),
encodedUrl = encodeURIComponent(url),
id = 'article-share-box-' + $this.attr('data-id'),
offset = $this.offset(),
box;
if ($('#' + id).length) {
box = $('#' + id);
if (box.hasClass('on')){
box.removeClass('on');
return;
}
} else {
var html = [
'<div id="' + id + '" class="article-share-box">',
'<input class="article-share-input" value="' + url + '">',
'<div class="article-share-links">',
'<a href="https://twitter.com/intent/tweet?url=' + encodedUrl + '" class="fa fa-twitter article-share-twitter" target="_blank" title="Twitter"></a>',
'<a href="https://www.facebook.com/sharer.php?u=' + encodedUrl + '" class="fa fa-facebook article-share-facebook" target="_blank" title="Facebook"></a>',
'<a href="http://pinterest.com/pin/create/button/?url=' + encodedUrl + '" class="fa fa-pinterest article-share-pinterest" target="_blank" title="Pinterest"></a>',
'<a href="https://plus.google.com/share?url=' + encodedUrl + '" class="fa fa-google article-share-google" target="_blank" title="Google+"></a>',
'</div>',
'</div>'
].join('');
box = $(html);
$('body').append(box);
}
$('.article-share-box.on').hide();
box.css({
top: offset.top + 25,
left: offset.left
}).addClass('on');
}).on('click', '.article-share-box', function (e) {
e.stopPropagation();
}).on('click', '.article-share-box-input', function () {
$(this).select();
}).on('click', '.article-share-box-link', function (e) {
e.preventDefault();
e.stopPropagation();
window.open(this.href, 'article-share-box-window-' + Date.now(), 'width=500,height=450');
});
})(jQuery);
</script>
<a href="http://moretconsultancy.com/2016/08/21/node-api-express-es6-part2/#comments" class="article-comment-link disqus-comment-count" data-disqus-url="http://moretconsultancy.com/2016/08/21/node-api-express-es6-part2/">Comments</a>
</footer>
</div>
</article>
<article id="post-node-api-express-es6-part1" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-inner">
<a href="/2016/08/20/node-api-express-es6-part1/" itemprop="url">
<img src="/2016/08/20/node-api-express-es6-part1/node-api-express-banner.jpg" class="article-banner" />
</a>
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2016/08/20/node-api-express-es6-part1/">How to create a modular RESTfull API with Node.js, Express and ECMAScript 6 Part 1</a>
</h1>
<div class="article-meta">
<div class="article-date">
<i class="fa fa-calendar"></i>
<a href="/2016/08/20/node-api-express-es6-part1/">
<time datetime="2016-08-20T17:27:56.000Z" itemprop="datePublished">2016-08-20</time>
</a>
</div>
<div class="article-category">
<i class="fa fa-folder"></i>
<a class="article-category-link" href="/categories/Tutorials/">Tutorials</a>
</div>
<div class="article-tag">
<i class="fa fa-tag"></i>
<a class="tag-link" href="/tags/API/">API</a>, <a class="tag-link" href="/tags/ECMAScript/">ECMAScript</a>, <a class="tag-link" href="/tags/Express/">Express</a>, <a class="tag-link" href="/tags/Node/">Node</a>, <a class="tag-link" href="/tags/REST/">REST</a>
</div>
</div>
</header>
<div class="article-entry" itemprop="articleBody">
<p><p>In this 2 part blog post I will explain how to get started with building a RESTful API with Node.js, Express and ECMAScript 6 using a module approach.</p>
<p>Go to <a href="https://github.com/LuukMoret/blog-node-api-express-es6-part1">https://github.com/LuukMoret/blog-node-api-express-es6-part1</a> to see the finished code.</p>
<h3 id="Node-js"><a href="#Node-js" class="headerlink" title="Node.js"></a>Node.js</h3><p>Node.js is an asynchronous event driven JavaScript runtime, designed to build scalable network applications. Node.js can handle many connections concurrently in contrast to today’s more common concurrency model where OS threads are employed. </p>
<p>Thread-based networking is relatively inefficient and very difficult to use. Furthermore, users of Node are free from worries of dead-locking the process, since there are no locks. Almost no function in Node directly performs I/O, so the process never blocks. Because nothing blocks, scalable systems are very reasonable to develop in Node.</p>
<p>You can read more about <a href="https://github.com/nodejs/node/blob/master/doc/topics/blocking-vs-non-blocking.md">Blocking vs Non-Blocking here</a>.</p>
<h3 id="Express"><a href="#Express" class="headerlink" title="Express"></a>Express</h3><p>Express is a minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications. There are alternatives like <a href="http://koajs.com/">Koa</a> and <a href="http://hapijs.com/">Hapi</a> but Express is definitely the most widely used web framework for node.js today. </p>
<h3 id="ECMAScript-6"><a href="#ECMAScript-6" class="headerlink" title="ECMAScript 6"></a>ECMAScript 6</h3><p>ECMAScript is a subset of JavaScript. JavaScript is basically ECMAScript at it’s core but builds upon it. Languages such as ActionScript, JavaScript, JScript all use ECMAScript as its core. </p>
<p>ECMAScript 6, also known as ECMAScript 2015, is the latest version of the ECMAScript standard. ES6 is a significant update to the language, and the first update to the language since ES5 was standardized in 2009. Read more about these new features <a href="https://github.com/lukehoban/es6features">here</a>. </p>
<p>There is also a <a href="https://github.com/airbnb/javascript">fantastic JavaScript Style Guide</a> from Airbnb. If you want to enforce these rules in your project, consider using the airbnb eslint npm package <a href="https://www.npmjs.com/package/eslint-config-airbnb">found here</a> . </p>
<p>With the above technologies explained we can start writing our node api!</p></p>
<p class="article-more-link">
<a href="/2016/08/20/node-api-express-es6-part1/#more">Read More</a>
</p>
</div>
<footer class="article-footer">
<div class="share-container">
</div>
<a data-url="http://moretconsultancy.com/2016/08/20/node-api-express-es6-part1/" data-id="citlgcaoe00027stw64hzzrpe" class="article-share-link"><i class="fa fa-share"></i>Share</a>
<script>
(function ($) {
// Prevent duplicate binding
if (typeof(__SHARE_BUTTON_BINDED__) === 'undefined' || !__SHARE_BUTTON_BINDED__) {
__SHARE_BUTTON_BINDED__ = true;
} else {
return;
}
$('body').on('click', function() {
$('.article-share-box.on').removeClass('on');
}).on('click', '.article-share-link', function(e) {
e.stopPropagation();
var $this = $(this),
url = $this.attr('data-url'),
encodedUrl = encodeURIComponent(url),
id = 'article-share-box-' + $this.attr('data-id'),
offset = $this.offset(),
box;
if ($('#' + id).length) {
box = $('#' + id);
if (box.hasClass('on')){
box.removeClass('on');
return;
}
} else {
var html = [
'<div id="' + id + '" class="article-share-box">',
'<input class="article-share-input" value="' + url + '">',
'<div class="article-share-links">',
'<a href="https://twitter.com/intent/tweet?url=' + encodedUrl + '" class="fa fa-twitter article-share-twitter" target="_blank" title="Twitter"></a>',
'<a href="https://www.facebook.com/sharer.php?u=' + encodedUrl + '" class="fa fa-facebook article-share-facebook" target="_blank" title="Facebook"></a>',
'<a href="http://pinterest.com/pin/create/button/?url=' + encodedUrl + '" class="fa fa-pinterest article-share-pinterest" target="_blank" title="Pinterest"></a>',
'<a href="https://plus.google.com/share?url=' + encodedUrl + '" class="fa fa-google article-share-google" target="_blank" title="Google+"></a>',
'</div>',
'</div>'
].join('');
box = $(html);
$('body').append(box);
}
$('.article-share-box.on').hide();
box.css({
top: offset.top + 25,
left: offset.left
}).addClass('on');
}).on('click', '.article-share-box', function (e) {
e.stopPropagation();
}).on('click', '.article-share-box-input', function () {
$(this).select();
}).on('click', '.article-share-box-link', function (e) {
e.preventDefault();
e.stopPropagation();
window.open(this.href, 'article-share-box-window-' + Date.now(), 'width=500,height=450');
});
})(jQuery);
</script>
<a href="http://moretconsultancy.com/2016/08/20/node-api-express-es6-part1/#comments" class="article-comment-link disqus-comment-count" data-disqus-url="http://moretconsultancy.com/2016/08/20/node-api-express-es6-part1/">Comments</a>
</footer>
</div>
</article>
<article id="post-asp-net-5-with-docker" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-inner">
<a href="/2015/12/08/asp-net-5-with-docker/" itemprop="url">
<img src="/2015/12/08/asp-net-5-with-docker/asp-net5-docker.png" class="article-banner" />
</a>
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2015/12/08/asp-net-5-with-docker/">Getting started with ASP.NET 5 and Docker</a>
</h1>
<div class="article-meta">
<div class="article-date">
<i class="fa fa-calendar"></i>
<a href="/2015/12/08/asp-net-5-with-docker/">
<time datetime="2015-12-08T21:54:02.000Z" itemprop="datePublished">2015-12-08</time>
</a>
</div>
<div class="article-category">
<i class="fa fa-folder"></i>
<a class="article-category-link" href="/categories/Tutorials/">Tutorials</a>
</div>
<div class="article-tag">
<i class="fa fa-tag"></i>
<a class="tag-link" href="/tags/API/">API</a>, <a class="tag-link" href="/tags/ASPNET/">ASPNET</a>, <a class="tag-link" href="/tags/Docker/">Docker</a>, <a class="tag-link" href="/tags/REST/">REST</a>, <a class="tag-link" href="/tags/WebAPI/">WebAPI</a>, <a class="tag-link" href="/tags/Yeoman/">Yeoman</a>
</div>
</div>
</header>
<div class="article-entry" itemprop="articleBody">
<p><p>In this short tutorial I will explain how to get started with an ASP.NET 5 WebAPI application and how to deploy this in a Docker Container.</p>
<p>ASP.NET 5 is an open source web framework for building modern web applications that can be developed and run on Windows, Linux and the Mac. It includes the MVC 6 framework, which now combines the features of MVC and Web API into a single web programming framework. ASP.NET 5 will also be the basis for SignalR 3 - enabling you to add real time functionality to cloud connected applications. ASP.NET 5 is built on the .NET Core runtime, but it can also be run on the full .NET Framework for maximum compatibility.</p>
<p><strong>Some of the improvements of ASP.NET 5:</strong></p>
<ul>
<li>Build and run cross-platform ASP.NET apps on Windows, Mac and Linux</li>
<li>Built on .NET Core, which supports true side-by-side app versioning</li>
<li>New tooling that simplifies modern Web development</li>
<li>Single aligned web stack for Web UI and Web APIs</li>
<li>Cloud-ready environment-based configuration</li>
<li>Integrated support for creating and using NuGet packages</li>
<li>Built-in support for dependency injection</li>
<li>Ability to host on IIS or self-host in your own process</li>
</ul>
<p>Docker is a platform for developers and sysadmins to develop, ship, and run applications. Docker lets you quickly assemble applications from components and eliminates the friction that can come when shipping code. Docker lets you get your code tested and deployed into production as fast as possible.</p>
<p><strong>Some of the benefits of Docker:</strong></p>
<ul>
<li>Easily build new containers, enable rapid iteration of your applications, and increase the visibility of changes. This helps everyone in your organization understand how an application works and how it is built.</li>
<li>Docker containers are lightweight and fast! Containers have sub-second launch times, reducing the cycle time of development, testing, and deployment.</li>
<li>Docker containers run (almost) everywhere. You can deploy containers on desktops, physical servers, virtual machines, into data centers, and up to public and private clouds.</li>
<li>Since Docker runs on so many platforms, it’s easy to move your applications around. You can easily move an application from a testing environment into the cloud and back whenever you need.</li>
<li>Docker’s lightweight containers also make scaling up and down fast and easy. You can quickly launch more containers when needed and then shut them down easily when they’re no longer needed.</li>
<li>Docker containers don’t need a hypervisor, so you can pack more of them onto your hosts. This means you get more value out of every server and can potentially reduce what you spend on equipment and licenses.</li>
<li>As Docker speeds up your work flow, it gets easier to make lots of small changes instead of huge, big bang updates. Smaller changes mean reduced risk and more uptime.</li>
</ul></p>
<p class="article-more-link">
<a href="/2015/12/08/asp-net-5-with-docker/#more">Read More</a>
</p>
</div>
<footer class="article-footer">
<div class="share-container">
</div>
<a data-url="http://moretconsultancy.com/2015/12/08/asp-net-5-with-docker/" data-id="citlgcao600007stwz1au9g4b" class="article-share-link"><i class="fa fa-share"></i>Share</a>
<script>
(function ($) {
// Prevent duplicate binding
if (typeof(__SHARE_BUTTON_BINDED__) === 'undefined' || !__SHARE_BUTTON_BINDED__) {
__SHARE_BUTTON_BINDED__ = true;
} else {
return;
}
$('body').on('click', function() {
$('.article-share-box.on').removeClass('on');
}).on('click', '.article-share-link', function(e) {
e.stopPropagation();
var $this = $(this),
url = $this.attr('data-url'),
encodedUrl = encodeURIComponent(url),
id = 'article-share-box-' + $this.attr('data-id'),
offset = $this.offset(),
box;
if ($('#' + id).length) {
box = $('#' + id);
if (box.hasClass('on')){
box.removeClass('on');
return;
}
} else {
var html = [
'<div id="' + id + '" class="article-share-box">',
'<input class="article-share-input" value="' + url + '">',
'<div class="article-share-links">',
'<a href="https://twitter.com/intent/tweet?url=' + encodedUrl + '" class="fa fa-twitter article-share-twitter" target="_blank" title="Twitter"></a>',
'<a href="https://www.facebook.com/sharer.php?u=' + encodedUrl + '" class="fa fa-facebook article-share-facebook" target="_blank" title="Facebook"></a>',
'<a href="http://pinterest.com/pin/create/button/?url=' + encodedUrl + '" class="fa fa-pinterest article-share-pinterest" target="_blank" title="Pinterest"></a>',
'<a href="https://plus.google.com/share?url=' + encodedUrl + '" class="fa fa-google article-share-google" target="_blank" title="Google+"></a>',
'</div>',
'</div>'
].join('');
box = $(html);
$('body').append(box);
}
$('.article-share-box.on').hide();
box.css({
top: offset.top + 25,
left: offset.left
}).addClass('on');
}).on('click', '.article-share-box', function (e) {
e.stopPropagation();
}).on('click', '.article-share-box-input', function () {
$(this).select();
}).on('click', '.article-share-box-link', function (e) {
e.preventDefault();
e.stopPropagation();
window.open(this.href, 'article-share-box-window-' + Date.now(), 'width=500,height=450');
});
})(jQuery);
</script>
<a href="http://moretconsultancy.com/2015/12/08/asp-net-5-with-docker/#comments" class="article-comment-link disqus-comment-count" data-disqus-url="http://moretconsultancy.com/2015/12/08/asp-net-5-with-docker/">Comments</a>
</footer>
</div>
</article>
</section>
<aside id="sidebar">
<div class="widget-wrap">
<h3 class="widget-title">recent</h3>
<div class="widget">
<ul id="recent-post" class="">
<li>
<div class="item-thumbnail">
<a href="/2016/08/21/node-api-express-es6-part2/" class="thumbnail">
<span style="background-image:url(/2016/08/21/node-api-express-es6-part2/node-api-express-thumbnail.png)" alt="How to create a modular RESTfull API with Node.js, Express and ECMAScript 6 Part 2" class="thumbnail-image"></span>
</a>
</div>
<div class="item-inner">
<p class="item-category"><a class="article-category-link" href="/categories/Tutorials/">Tutorials</a></p>
<p class="item-title"><a href="/2016/08/21/node-api-express-es6-part2/" class="title">How to create a modular RESTfull API with Node.js, Express and ECMAScript 6 Part 2</a></p>
<p class="item-date"><time datetime="2016-08-21T15:54:50.000Z" itemprop="datePublished">2016-08-21</time></p>
</div>
</li>
<li>
<div class="item-thumbnail">
<a href="/2016/08/20/node-api-express-es6-part1/" class="thumbnail">
<span style="background-image:url(/2016/08/20/node-api-express-es6-part1/node-api-express-thumbnail.png)" alt="How to create a modular RESTfull API with Node.js, Express and ECMAScript 6 Part 1" class="thumbnail-image"></span>
</a>
</div>
<div class="item-inner">
<p class="item-category"><a class="article-category-link" href="/categories/Tutorials/">Tutorials</a></p>
<p class="item-title"><a href="/2016/08/20/node-api-express-es6-part1/" class="title">How to create a modular RESTfull API with Node.js, Express and ECMAScript 6 Part 1</a></p>
<p class="item-date"><time datetime="2016-08-20T17:27:56.000Z" itemprop="datePublished">2016-08-20</time></p>
</div>
</li>
<li>
<div class="item-thumbnail">
<a href="/2015/12/08/asp-net-5-with-docker/" class="thumbnail">
<span style="background-image:url(/2015/12/08/asp-net-5-with-docker/asp-net5-docker-thumbnail.png)" alt="Getting started with ASP.NET 5 and Docker" class="thumbnail-image"></span>
</a>
</div>
<div class="item-inner">
<p class="item-category"><a class="article-category-link" href="/categories/Tutorials/">Tutorials</a></p>
<p class="item-title"><a href="/2015/12/08/asp-net-5-with-docker/" class="title">Getting started with ASP.NET 5 and Docker</a></p>
<p class="item-date"><time datetime="2015-12-08T21:54:02.000Z" itemprop="datePublished">2015-12-08</time></p>
</div>
</li>
</ul>
</div>
</div>
<div class="widget-wrap">
<h3 class="widget-title">categories</h3>
<div class="widget">
<ul class="category-list"><li class="category-list-item"><a class="category-list-link" href="/categories/Tutorials/">Tutorials</a><span class="category-list-count">3</span></li></ul>
</div>
</div>
<div class="widget-wrap">
<h3 class="widget-title">archives</h3>
<div class="widget">
<ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/08/">August 2016</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/12/">December 2015</a><span class="archive-list-count">1</span></li></ul>
</div>
</div>
<div class="widget-wrap">
<h3 class="widget-title">tags</h3>
<div class="widget">
<ul class="tag-list"><li class="tag-list-item"><a class="tag-list-link" href="/tags/API/">API</a><span class="tag-list-count">3</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/ASPNET/">ASPNET</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/Docker/">Docker</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/ECMAScript/">ECMAScript</a><span class="tag-list-count">2</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/Express/">Express</a><span class="tag-list-count">2</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/Node/">Node</a><span class="tag-list-count">2</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/REST/">REST</a><span class="tag-list-count">3</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/WebAPI/">WebAPI</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/Yeoman/">Yeoman</a><span class="tag-list-count">1</span></li></ul>
</div>
</div>
<div class="widget-wrap">
<h3 class="widget-title">tag cloud</h3>
<div class="widget tagcloud">
<a href="/tags/API/" style="font-size: 20px;">API</a> <a href="/tags/ASPNET/" style="font-size: 10px;">ASPNET</a> <a href="/tags/Docker/" style="font-size: 10px;">Docker</a> <a href="/tags/ECMAScript/" style="font-size: 15px;">ECMAScript</a> <a href="/tags/Express/" style="font-size: 15px;">Express</a> <a href="/tags/Node/" style="font-size: 15px;">Node</a> <a href="/tags/REST/" style="font-size: 20px;">REST</a> <a href="/tags/WebAPI/" style="font-size: 10px;">WebAPI</a> <a href="/tags/Yeoman/" style="font-size: 10px;">Yeoman</a>
</div>
</div>
<div class="widget-wrap widget-list">
<h3 class="widget-title">links</h3>
<div class="widget">
<ul>
</ul>
</div>
</div>
<div id="toTop" class="fa fa-angle-up"></div>
</aside>
</div>
<footer id="footer">
<div class="outer">
<div id="footer-info" class="inner">
© 2016 Luuk Moret<br>
Powered by <a href="http://hexo.io/" target="_blank">Hexo</a>. Theme by <a href="http://github.com/ppoffice">PPOffice</a>
</div>
</div>
</footer>
<script>
var disqus_config = function () {
this.page.identifier = 'undefined';
};
(function() {
var d = document, s = d.createElement('script');
s.src = '//' + 'luukmoret' + '.disqus.com/count.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<!-- Custom Scripts -->
<script src="/js/main.js"></script>
</div>
</body>
</html>