ASP.NET Core MVC Faster View Compiling

By | Ramblings | No Comments

In previous versions of ASP.NET you could make changes to a .cshtml view file and the changes would automatically be reflected by just refreshing the browser. As of the latest dotnet core build, v3.0, this feature was missing. There is an additional library that you can bring into your project that will re-enable this power. Run the following command to…

Read More

Avoid Console Logging in Production

By | Engineering | No Comments

You probably have your JavaScript code littered with console.log(“blah blah blah”) statements throughout your code to test functionality and verify data. In production, you probably don’t want these statements written out for non-developers to see, so overwrite the window.console.log function with your own blank function that will get called instead.

Read More

CSS Variables Tutorial

By | Engineering | No Comments

CSS variables are the up and coming new feature of CSS that allows you to define variables in your styles that can ripple through styles, and external sheets, and make CSS clean, maintainable, and easy to update. You can define global variables by nesting them inside a :root selector and then using the — prefix for a variable name: value….

Read More