In this tutorial, we will go step by step on how to add a React App to a NET Core MVC App. Handling 404 pages and client routing. I am one to think that not everything I build has to be a Single Page Application (SPA). Recently I was building a project for a client, […]
Compile Sass Files in Visual Studio and Webpack
Sass is a very popular CSS pre-processors and the intent of the tutorial is to show you how to compile Sass files within Visual Studio using Webpack, this will include minification and autoprefixing for production. Sure, there are some plug-ins on the Visual Studio Marketplace, and is nice to just install a plug-in and forget […]
Calling Instructure Canvas LMS API in C# ASP.NET MVC Using RestSharp
In this example I am calling the Canvas LMS API to get a list of enrolled students, including their grades, for a specific course.
Create iCal ics Files in C# ASP.NET MVC – Several Methods
Creating an iCal (ics file) is really simple. In this post I will show you how to create one using iCal.NET library and one using plain ol StringBuilder.
How to Override Default Validation Error Message for Integer or Decimal Property in ASP.NET MVC – The value ‘xxx’ is not valid for Property
Unfortunately Microsoft did not incorporate a DataAnnotation to change the default message The value ‘xxx’ is not valid for Property to a custom one. This is when you create an int or decimal property in your model, you bind it to an input box (TextBoxFor) then try to submit the form, then you get this […]