• simon@simonholman.blog

Tag: ASP.NET MVC

Expeed Screenshot

Lower case URLs in ASP.NET Core

Every time I start a new ASP.NET project, I forget the function required to ensure that all links generated out of ASP.NET are lowercase. So this post is as much a reminder for me, than information for anyone else. Personally think all lowercase URLs look better rather than the usual mismatch of cases that a

Read More »
Redic Cache

Implementing ASP.NET Core session with Redis Cache on Azure

Using Redis cache in Windows Azure to save session state for an ASP.NET Core web app is quick and easy to configure. Create your Redis Cache in Azure Firstly, if you don’t have an Azure account create a Free Azure Trial Account. Once you’re logged into your Azure account, Click the + Create a resource

Read More »

Using Data annotations with partial classes and LINQ to SQL

If you’re using LINQ to SQL as your data provider then you will need to add a few extra steps to utilise Data annotations with ASP.NET MVC. If you have created your own objects then you can append annotations such as [DisplayName(“This is the display name I want in the view”)] directly to the object

Read More »