DevSquared Blog

Building your first Vue.js App with ASP.NET Core 2 and Vuetify

Vue.js (https://vuejs.org/) is a great front-end framework, especially for beginners. There are several single page application templates available from Microsoft through their “Microsoft.AspNetCore.SpaTemplates” package, including a template for Vue.js. This template works OK out of the box, but with a few small updates we can include some great material design components provided by Vuetify (https://vuetifyjs.com/) … Continued

Using ModelState for Validation with Vue.js in .Net Core 2

Controllers in .Net Core can keep track of the validation state of your models/view models through their ModelState property. While it’s very easy to do client-side validation in Vue js, server-side validation is a much stronger way to prevent data errors, and the built in ModelState capabilities provide this. Through a few steps and the … Continued

Creating a Filter for Custom Roles in .NET Core 2

Extending .Net Core 2 identity The role system built into newly created .Net Core 2 MVC apps when you select the “Individual User Accounts” option works great for most scenarios. However, there may be times when you need to pull roles in another fashion to meet your business need. Thankfully, it’s easy to hook up … Continued