Way to Avoid ASP.NET UpdateModel Magic Strings

Using the UpdateModel in an ASP.NET MVC or Web API controller allows for the specification of the fields of the model to bind data from the client to a model class in an application. The default is to try and bind all fields the of the model to a field in the client request. However, this can lead to problems.

Configuring SQL Server LocalDB

SQL Server LocalDB is a uselful lightweight version of the SQL Server database system that allows for easy delevopment of SQL Server related applications.

There are a number of versions which can be used, and they can all be installed and used on the same system at the same time. This feature makes it easy to develop applications on the same computer that target different versions of SQL Server.

ASP.Net URL Rewrite with Web API and AngularJS

Looking at many AngularJS samples you will see they are served using the following format.

https://somewhere.com/index.html#/routePart1/routePart2/someId

Having the index.html# always be part of the route is not very pleasing visually, but there is a way to end this and change the application URLs to lose reference to the index page.

Allowing clean URLs for an AngularJS app served by an IIS or IIS Express server is a several step process.

Note: for IIS, you must install the the Microsoft URL Rewrite Module 2.0 for IIS (x64) for IIS so that the rewrite rules specified in the web.config are recognized. Without this extension, IIS will throw the following error:

HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.

Customize Hugo HTML and CSS

Some functionality that is normal for a blog is not provided out of the box with Hugo. Things like a contact form or comments have to be added or tacked on from a third party. Fortunately, Hugo will allow us to insert custom HTML, CSS, and JavaScript into the site to allow for this. We can add this functionality at the page level or at the site level through modifying the templates.

Setup a Hugo Blog

This is just a brief summary of setting up a Hugo site. It details the specific steps for creating an initial site.

Getting Started with a Blog

I have been in the process of getting ready for jumping back into the development arena after a long hiatus of traveling around the world, trading stocks to pay the bills, and working with trading tools and their respective development environments.

It has been fun, but I want to get back into professional development and take on new challenges. I believe that learning new technologies, processes, figuring out how to do something new, fixing something broken, and bouncing ideas off others are the only way to keep one’s mind strong.

This blog, as part of this re-entry journey, will detail what I am working on and looking at.

Enjoy!