Category Archives: App Development

ng-content with Angular2 (Transclusion) – AngularCli

ng-content with Angular2 (Transclusion) – AngularCli

ng-content with Angular2 (Transclusion) – AngularCli In this post we are going to look at a special feature in Angular2. The feature allows to create templates such that parent components can inject parts into the view of the child component. The child components use the injected part using ng-content. When should we use ng-content? ng-content… Continue reading »

AngularCli – Passing Data In / Out of Angular2 Components

AngularCli – Passing Data In / Out of Angular2 Components In this post how we can pass data in and out of an angular2 component. Here we are creating an app to increment the input number. We have a textbox to enter a number. We are also creating a component. The number entered in the… Continue reading »

Angular2 – Using 3rd Party Libraries

Angular2 – Using 3rd Party Libraries

Angular2 – Using 3rd Party Libraries: We always need third party libraries to build any application. The same is true for applications built using Angular2. In this post, we are going to discuss how we can use 3rd party libraries in an Angular2 app. We have discussed adding these libraries to an Angular2 app with… Continue reading »

Angular2 Routes

Angular2 Routes: In this post we are going to use how to use routes with Angular2 for your components. We are going to create two components and add routes for those components. Let’s first install angular-cli. Let’s create a new project HelloWorld. The command creates the following files: The main folder structure looks like this:… Continue reading »

Swagger.ed for graphical visualization of APIs

Swagger.ed for graphical visualization of APIs

Swagger.ed for graphical visualization of APIs Swagger.ed is a chrome extension available for graphical display for our APIs exposed using swagger specification. The extension is directly available in Chrome Web Store. The package is offered by Chris Spiliotopoulos. If the extension is successfully installed, it displays these message. Plus an icon is available in toolbar… Continue reading »

Exposing ASP.Net Core Web API Documentation with Swagger

Exposing ASP.Net Core Web API Documentation with Swagger Swagger is one of the available options for API documentation and code generation. In this post, we are going to build swagger specification on top of the Student Service built in the last post [http://www.alternatestack.com/development/app-development/creating-web-apis-with-aspnet-core/] using ASP.Net Core. Let’s first add the required nuget packages. Here we… Continue reading »

Creating Web APIs with ASPNet Core

Creating Web APIs with ASPNet Core We have seen how we can setup our mac environment for .net based development. Here we discussed how we created a sample application using Visual Studio and Dotnet CLI tools. http://www.alternatestack.com/development/developing-c-applications-on-mac-os-using-vs-code/ In this post we are going to see how we can use command line tools to create our… Continue reading »