Category: asp.net

Easy Angular Notifications with ASP.NET Core

Displaying feedback to your users is one of those common, cross-cutting (boring!) requirements that should be baked in to your application’s framework. That’s just as true with old-school ASP.NET MVC as it is with ASP.NET Core and Angular. In this post, I’ll show you how you can bake this capability in to a modern Angular…

Read MoreComment

Improving the Dev Experience with ASP.NET Core and Angular CLI

In my previous article, I showed how we could easily create an Angular 5 CLI app inside of an ASP.NET Core application. There was one big thing that bugged me about that approach though: our ASP.NET Core application and our Angular CLI application were hosted separately during local development. After spending some time with the…

Read MoreComment

Creating a New ASP.NET Core 2.1 Preview Project with Angular

The Angular project template has been updated in ASP.NET Core 2.1-preview. The new template makes several improvements over the old one. Let’s take a look!

Read MoreComment

Creating a New Project with ASP.NET Core and Angular

You would think that creating an ASP.NET Core application that uses Angular would be easy-peasy. After all, there’s an “Angular” option in the new project wizard for an ASP.NET Core application! Sadly, reality is a cruel mistress, and if you take that approach to creating your next Angular + ASP.NET Core project, you’ll be in…

Read MoreView 4 Comments

Easy Bootstrap Alerts for Your API Results with ASP.NET Core

Continuing on from last time, let’s see how to return a status message from our ASP.NET Core API endpoints, and by convention, display those results in our application as Bootstrap Alerts!

Read MoreComment

Easily Add Bootstrap Alerts to Your ViewResults with ASP.NET Core

Once upon a time, I did a course on building your own application framework with ASP.NET MVC 5. One of the most popular techniques I showed in that course was how to attach a alert message to any ActionResult, so that you could consistently display success, warnings, etc. in your app. The bad news is…

Read MoreView 1 Comment

Using Inversion of Control with the Default ASP.NET MVC App Template

I routinely get questions about using an IoC container, like StructureMap, with ASP.NET Identity, particularly with the way it’s set up in the default ASP.NET MVC project template.  In this post, I’ll show you the quickest way to IoC-enable the starter app. [more] First, fair warning: the default MVC app template is rough.  I would…

Read More

Introducing SpecsFor Helpers!

SpecsFor<Web> Helpers will help you write cleaner, easier-to-read (and maintain!) specs for your ASP.NET MVC applications.  It’s the latest addition to the SpecsFor family, and the first of the Helpers line that I’m working on.  Read on to see what it can do for you and your team! [more] I suppose this really doesn’t qualify…

Read More

Random Link Roundup–10/24/2014

It’s Friday, so prepare for incoming awesomeness in the form of random links! [more] AngularJS 1.3 is out!  The name makes me think of Guardians of the Galaxy for some reason… Further proof that we will eventually JavaScript All the Things: speech recognition in JavaScript has arrived. 🙁 You can never have too many icons! …

Read More

Random Link Roundup–10/17/2014

It’s been a while since I’ve posted a batch of links, mostly due to me catching pneumonia!  So, I have a ton of stuff for you today!  Oh, and it’s late! [more] I can tell I’m spending the bulk of my time in the Angular world these days… Angular JS "Why does there have to…

Read More