Writing and testing custom OrderBy extension methods
Write and test an extension method to handle custom ordering on an IOrderedQueryable, based on a pre-defined ordering rule using enum values.
Write and test an extension method to handle custom ordering on an IOrderedQueryable, based on a pre-defined ordering rule using enum values.
Add data to a new table column based on data from another table with MSSQL Server.
Retrieve data from multiple locations and stream it into memory for upload to an AWS S3 bucket.
Fix for when Azure functions throw an error at runtime.
The .NET framework default limits file uploads to 128mb. For anything larger than this, you need to increase the value in configuration.
Check for keys in a dictionary, and retrieve specific values.
Define a method signature and return value for a tuple containing two or more values, and implement the values in calling code.
With an existing database, you may occasionally need to extract sections of the table schema, or full data sets - both of which can be done using SQL Server Management Studio.
Validate an optional date field which requires on the month and day values using express-validator rules.
Fix a sidebar to the viewport when scrolling. When the header moves out of the viewport, fix the sidebar to the top of the viewport, then revert when the header comes back to view
When using DateTime.Now or DateTime.UtcNow comparisons in tests, you'll likely encounter failures caused by these values differing by a few milliseconds due to the code being processed at different times. Use this overload to include a permitted margin of error.
When your usual method of accessing environment variables doesn't work because you're using Vite.
Easily load images defined in MediaPicker property editors into your MVC views.
Configure a PostgreSQL server for remote connections on your Windows server.
Typical DNS records you might have configured on your domain registrar for a typical website. Including NS, SOA, A, CNAME, MX and TXT records.
Troubleshoot this common Moq error message encountered when writing tests using MockBehavior.Strict.
If you've ever tried running a web app locally and it's failed to start because the specified port was in use, this will help you identify the application using it, and get around it.
Handle CORS between client and server apps using appropriate HTTP headers.
If you've got a directory full of documents, music etc. which needs to be quickly summarised into a list of file names. Functions recursively to display items in a directory tree format.
Resolve build issues which may occur from NuGet packages when upgrading project framework.
Remove files from source control and ignore future changes so that they stop being tracked.
Handling files in Windows or Git where the path and file name exceed the maximum default length.