Blog posts

61 results found

61 results in .NET

dotnet How to display the current time in British Summer Time using C#

I was asked by someone to help them display the current date and time as it is in British Summer Time or Daylight Saving Time on their website using C#

dotnet How to create a vCard in .NET

This is just a quick post to give you the code needed to create a vCard in .NET

dotnet How to fix corrupt accented characters in Excel for a C# export as CSV

This post will help you fix the issue where you csv export has corrupt characters when opening it in excel.

dotnet How to send Slack messages programmatically using C#

In this post I show you how you can send Slack messages programmatically using C#

dotnet How to fix the error 'Authentication failed because the remote party has closed the transport stream'

This post will show you how to fix the error "Authentication failed because the remote party has closed the transport stream"

dotnet How to solve the error Could not load file or assembly System.Security.Principal.Windows

This post help you solve the error System.IO.FileNotFoundException Could not load file or assembly System.Security.Principal.Windows

dotnet How to solve the error 'Could not load file or assembly Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0'

This post will show you how to solve the error "Could not load file or assembly 'Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0..."

dotnet How to solve Multiple types were found that match the controller named x

This post shows you how to solve the error 'Multiple types were found that match the controller named x'

dotnet How to solve the Web API error 405 Method Not Allowed

This post shows you how to solve this 405 error and get it working properly.

dotnet How to upload multiple files at once in an MVC form

This post will help you if you need to upload multiple files at once in an MVC form.  The examples are for an umbraco website, but the principles are the same.

dotnet How to force a .NET website to use TLS 1.2

This post shows you how you can force your .NET website to run using TLS 1.2

dotnet How to fix the MVC Textbox date time format issue

This post shows you how you can remove the time off the end of a date value when rendering it in an MVC TextBoxFor.