ASP.NET CORE

CSLA and ASP.NET Core

How to make CSLA work seamlessly in an ASP.NET Core application by customizing IContextManager and configuring DI to align both worlds.

I am a fan of CSLA and I recently came accross a need to make a shiny CSLA business layer work nicely within the context of an ASP.NET Core application. This post is aimed at CSLA developers with a similar need. As of the current release, there are a few things that you will need to take care of in order to get CSLA working smoothly, and I will cover those in this post.

Read more...

ASPNET Core TagHelper's - A Better @addTagHelper type resolver

Solve dynamic plugin issues in ASP.NET Core Razor views by creating a custom TagHelper type resolver that supports globbing patterns.

This is about TagHelper's in ASP.NET Core, and how to get more flexible @addTagHelper directives.

Read more...

ASP.NET 5 Projects - NuGet-NPM-Gulp-Bower-Jspm-Aurelia-Part2

A follow-up tutorial on integrating Aurelia with ASP.NET 5 MVC, including automation, bundling, and advanced front-end configurations.

This post is part two of a series. For part one see here

In part 1 of this series we created a shiny new ASP.NET 5 project, and I introduced some fundamentals.

For reasons discussed in part 1, let's now go ahead with our first task, which is to ditch Bower in favour of JSPM as our javascript package manager.

Read more...

ASP.NET 5 Projects - NuGet-NPM-Gulp-Bower-Jspm-Aurelia

Guides beginners through integrating modern frontend tooling like NPM, Gulp, and Aurelia into an ASP.NET 5 MVC project.

This post is part 1 of a series. Part 2 is here

When you create a new ASP.NET 5 project, you will see all sorts of new-ness. I am going to guide you, the uninitiated ASP.NET 5 web developer, through creating your first ASP.NET 5 MVC application, but we won't stop there. In the next post of this series, we will then enhance the project with a number of features:

In addition, I will touch upon important tooling that you need to be aware of:

To be able to do all of this, we will be creating an ASP.NET MVC 5 project, and then we will be using Aurelia to run an Aurelia application on Home page (Index.cshtml)

Read more...

ASP.NET 5 (vNext) Projects - Your NuGet Package May Fail to Install Correctly

Explains a breaking change in ASP.NET 5 affecting NuGet package install scripts and how it impacts package authors.

Over the past year or so, I have authored a number of NuGet packages - because, well... I am just an all around great guy.

Recently, I was contacted by someone who was trying to use one of my NuGet packages with an ASP.NET vNext project (Preview release). Not something I have tried before - and this is where things get a little interesting.

Read more...