typescript

A 5-post collection

Weekly Ink - 6/21/16

After a week of vacation it's good to get back to some technology. Here are some of my favorites from last week, Dockercon 2016 and my various feeds. Enjoy! ASP.NET Core Angular 2, React, and Knockout apps on ASP.NET Core - Steve Sanderson ASP.NET Core and .NET Core Overview - Rick Strahl Using ASP.NET Core with the Command Line, Yeoman and Visual Studio Code - Jerrie Pelser Angular 2 / TypeScript The Future of Declaration Files - TypeScript Team Angular 2 Router Announcement - Angular Team Angular 2 RC 2 Released - Angular Team Docker Docker for AWS and Azure - Docker Blog Free HTTPS certificates for Docker containers running ASP.NET Core RC2 on Microsoft Azure...


Weekly Ink - 6/6/16

ASP.NET Core Here is another edition of "Weekly Ink", this week's post has a great entry from Rick on running ASP.NET Core on IIS, Cory shows how to add 3rd party libraries when using the angular CLI, see how to deploy docker containers to kubernetes on AWS seriously? and my favorite request has surfaced within VS Code; terminal built in! How To Specify Framework When Running ASP.NET Core Apps - Steve Smith Publishing and Running ASP.NET Core Applications with IIS - Rick Strahl Introduction to integration testing with xUnit and TestServer in ASP.NET Core - Andrew Lock Angular 2 Quick Angular 2 Hosting with the Angular CLI and GitHub Pages - TJ VanToll Angular 2...


Angular 2 : Organization Using {barrels}

The import statements in Angular 2 can get pretty cumbersome if you're using a lot of services, models, directives etc in any specific component. Looking at the basic "QuickStart", the app.component.ts doesn't seem very obtuse. import {Component} from 'angular2/core'; @Component({ selector: 'my-app', template: '<h1>Quickstart</h1>' }) export class AppComponent { } However, looking at the Tour of Heroes example: import { Component } from '@angular/core'; import { RouteConfig, ROUTER_DIRECTIVES, ROUTER_PROVIDERS } from '@angular/router-deprecated'; import { HeroService } from './hero.service'; import { DashboardComponent } from './dashboard.component'; import { HeroesComponent } from './heroes.component'; import { HeroDetailComponent } from './hero-detail.component'; @Component({ selector: 'my-app', template: ` <h1>{{title}}</h1> <nav>...


A Chat on Adventures in Angular: Episode 82

I recently had an opportunity to sit with the team on the Adventures in Angular podcast and talk about my NON experience with Angular 1 and how my path into Angular 2 was going given I had some in depth TypeScript knowledge. AiA is a regular listen for me, the guest and panel are often either friends in the community or people to pay attention to and the content is always great. Of course we cover TypeScript & Angular 2 but also talked about node.js, ASP.NET Core, ReactiveX and more. Check out the show - https://devchat.tv/adventures-in-angular/082-aia-getting-started-with-angular-2-with-no-angular-1-experience-with-shayne-boyer Be sure to checkout my Pluralsight Play by Play with John Papa as well on ASP.NET Core...


Gulp Your TypeScript in ASP.NET 5

CodeProject If you have done any typescript development in Visual Studio in previous versions, you more than like are using the Web Essentials add in to perform the compilation to Javascript. Another option is to add a gulp task now that we have gulp and grunt support within Visual Studio. The other value add is if you are a non Visual Studio user this solution works just the same. Project Creation In Visual Studio 2015, File > New Project > ASP.NET Web Application > ASP.NET 5 Empty or using the ASP.NET Yeoman Generator $ yo aspnet _-----_ | | .--------------------------. |--(o)--| | Welcome to the | `---------´ | marvellous ASP.NET 5 | ( _´U`_ ) | generator! | /___A___\ '--------------------------' | ~ | __'.___.'__ ´ ` |° ´ Y ` ? What type of application do...