After a long wait, ASP.NET Core RC2 was released yesterday. Finally.. Earlier I posted about Quick summary of what’s changed in ASP.NET 5 but after that ASP.NET 5 was renamed to ASP.NET Core 1.0 and earlier this year ASP.NET team in NDC conference gave overview of what’s coming and what’s new in ASP.NET Core RC 2. And in mid April 2016 ASP.NET team gave a glimpse of ASP.NET Core RC2, when they published a sample project on github using ASP.NET Core RC2. I also covered it in my post First look at ASP.NET Core 1.0 RC2. Since RC2 is finally out, so in this post, find a quick and short summary of what’s new and what’s changed in ASP.NET Core RC2. (more…)
Middleware is the heart of an ASP.NET Core application. You can think of middleware as small connectors which makes a pipeline to accept requests and send responses. Anything which your ASP.NET core application does is performed by middleware. Middleware are small application components that can be incorporated into an HTTP request pipeline like HttpHandlers and HttpModules. But middleware are different from HttpModules. In this post, we take a look at various ASP.NET Core Diagnostics middleware examples which are used for error logging and handling, exception handling and runtime environment information. (more…)
Yes, you read it right. Project.JSON for ASP.NET Core is going away. One of the biggest change with ASP.NET Core 1.0 was moving towards JSON over XML for configuration settings. And Project.json is the way to define dependencies, managing your runtime frameworks, compilation settings, adding scripts to execute at different events (Prebuild, Postbuild etc.). (more…)
Setting up Angular 2 in your application is quite time-consuming compare to AngularJS 1. For setting up Angular 1.x, all you need to do is to just add the reference of library but with Angular 2, it requires some more work due to dependency on Grunt or Gulp for build process, TypeScript and it’s compiler. And setting this with Visual Studio 2015 is even more time-consuming. Angular Team is aware of this and they came up with a solution and introduced a new command line tool (cli) for Angular 2. Yes, Angular CLI is here for Angular 2 applications.
Earlier I posted about Cascading DropDown List using Angular 2 and in this post, we take it to next level and implement it with ASP.NET Core Web API and Angular 2. But starting/configuring AngularJS 2 with ASP.NET Core is not straightforward and it requires some manual configurations to be done. If you are not sure how to do it, I recommend you to read this helpful post to find out post how to start with Angular 2 in ASP.NET Core with TypeScript using Visual Studio 2015.