DORSETRIGS
Home

.net-core (381 post)


posts by category not found!

Pros and cons of AppSettings vs applicationSettings (.NET app.config / Web.config)

Pros and Cons of App Settings vs Application Settings in NET Applications When developing NET applications managing configuration settings is crucial for functi

3 min read 09-10-2024 57
Pros and cons of AppSettings vs applicationSettings (.NET app.config / Web.config)
Pros and cons of AppSettings vs applicationSettings (.NET app.config / Web.config)

How to determine if asp.net core has been installed on a windows server

ASP NET Core Installation Check A Comprehensive Guide Problem You re managing a Windows Server and need to verify if ASP NET Core is already installed This is c

2 min read 07-10-2024 55
How to determine if asp.net core has been installed on a windows server
How to determine if asp.net core has been installed on a windows server

Homebrew refusing to link OpenSSL

Homebrew Wont Link Open SSL Heres How to Fix It Problem You re trying to install a package on your Mac using Homebrew but its failing due to an error related to

2 min read 07-10-2024 47
Homebrew refusing to link OpenSSL
Homebrew refusing to link OpenSSL

ASP.NET CORE, Web API: No route matches the supplied values

ASP NET Core Web API No route matches the supplied values Solved Have you ever encountered the frustrating No route matches the supplied values error when worki

2 min read 07-10-2024 62
ASP.NET CORE, Web API: No route matches the supplied values
ASP.NET CORE, Web API: No route matches the supplied values

Register Service at Runtime via DI?

Registering Services at Runtime with Dependency Injection A Dynamic Approach Dependency Injection DI is a powerful technique for decoupling code and making it m

2 min read 07-10-2024 62
Register Service at Runtime via DI?
Register Service at Runtime via DI?

TimeZoneInfo in .NET Core when hosting on unix (nginx)

Navigating Time Zones in NET Core on Unix Nginx A Practical Guide The concept of time zones might seem straightforward but when you re developing a NET Core app

2 min read 07-10-2024 76
TimeZoneInfo in .NET Core when hosting on unix (nginx)
TimeZoneInfo in .NET Core when hosting on unix (nginx)

The default XML namespace of the project must be the MSBuild XML namespace

The default XML namespace of the project must be the MS Build XML namespace Unraveling the Mystery Have you ever encountered the error The default XML namespace

2 min read 07-10-2024 85
The default XML namespace of the project must be the MSBuild XML namespace
The default XML namespace of the project must be the MSBuild XML namespace

How to change Azure App Service to 64-bit

Upgrade Your Azure App Service to 64 bit for Enhanced Performance Problem You re running your web application on Azure App Service but its stuck on a 32 bit env

2 min read 07-10-2024 80
How to change Azure App Service to 64-bit
How to change Azure App Service to 64-bit

.NET Core WEB API System.Core.dll Reference Matching

Demystifying the System Core dll Reference Issue in NET Core Web API Projects Problem You re building a NET Core Web API and encounter a puzzling error message

2 min read 07-10-2024 81
.NET Core WEB API System.Core.dll Reference Matching
.NET Core WEB API System.Core.dll Reference Matching

Make an Http request through a Lambda Func

Making HTTP Requests from AWS Lambda Functions A Beginners Guide AWS Lambda functions are serverless compute services that allow you to execute code without pro

2 min read 06-10-2024 78
Make an Http request through a Lambda Func
Make an Http request through a Lambda Func

ef core doesn't use ASPNETCORE_ENVIRONMENT during update-database

EF Cores Environment Agnostic Approach to update database Problem You might have encountered a situation where your Entity Framework Core EF Core migrations don

2 min read 06-10-2024 78
ef core doesn't use ASPNETCORE_ENVIRONMENT during update-database
ef core doesn't use ASPNETCORE_ENVIRONMENT during update-database

MSBUILD throws error: The SDK 'Microsoft.NET.Sdk' specified could not be found

MSBUILD Error The SDK Microsoft NET Sdk specified could not be found Solved Scenario You re trying to build a NET project using MS Build but you re met with the

2 min read 06-10-2024 73
MSBUILD throws error: The SDK 'Microsoft.NET.Sdk' specified could not be found
MSBUILD throws error: The SDK 'Microsoft.NET.Sdk' specified could not be found

Filter Serilog logs to different sinks depending on context source?

Filtering Serilog Logs for Targeted Logging with Sinks In modern software development effective logging is essential for debugging monitoring and understanding

2 min read 06-10-2024 82
Filter Serilog logs to different sinks depending on context source?
Filter Serilog logs to different sinks depending on context source?

How to use Dependency Injection in AWS Lambda C# implementation

Injecting Dependencies into Your AWS Lambda C Functions A Guide to Cleaner Code AWS Lambda functions are a fantastic way to execute code on demand but they can

3 min read 06-10-2024 74
How to use Dependency Injection in AWS Lambda C# implementation
How to use Dependency Injection in AWS Lambda C# implementation

Visual Studio 2017 Docker - change the target for multi stage builds

Taming the Multi Stage Docker Beast Changing Targets in Visual Studio 2017 Docker multi stage builds are a powerful tool for crafting lean and efficient contain

2 min read 06-10-2024 77
Visual Studio 2017 Docker - change the target for multi stage builds
Visual Studio 2017 Docker - change the target for multi stage builds

How to filter NUnit tests by category using "dotnet test"

Filtering N Unit Tests by Category with dotnet test Running all tests in your project can be time consuming and unnecessary when you only need to focus on a spe

2 min read 06-10-2024 83
How to filter NUnit tests by category using "dotnet test"
How to filter NUnit tests by category using "dotnet test"

dotnetcore console app : rabbitmq with docker Connection refused 127.0.0.1:5672

Connection Refused Troubleshooting Rabbit MQ with Docker in NET Core Console Applications The Problem You re building a NET Core console application that uses R

2 min read 06-10-2024 77
dotnetcore console app : rabbitmq with docker Connection refused 127.0.0.1:5672
dotnetcore console app : rabbitmq with docker Connection refused 127.0.0.1:5672

Assets file project.assets.json not found. Run a NuGet package restore

Project assets json not found Troubleshooting a Common NET Development Error Have you ever encountered the frustrating error message Assets file project assets

2 min read 06-10-2024 74
Assets file project.assets.json not found. Run a NuGet package restore
Assets file project.assets.json not found. Run a NuGet package restore

IServerAddressesFeature addresses empty when running under dotnet.exe

I Server Addresses Feature Why Your Addresses are Empty in NET Running a NET application using dotnet exe and finding an empty I Server Addresses Feature can be

2 min read 06-10-2024 79
IServerAddressesFeature addresses empty when running under dotnet.exe
IServerAddressesFeature addresses empty when running under dotnet.exe

How to use .settings files in .NET core?

Harnessing Configuration Power Exploring settings Files in NET Core NET Core applications often require configuration settings to customize behavior connect to

3 min read 06-10-2024 76
How to use .settings files in .NET core?
How to use .settings files in .NET core?

VS2017: Adding environment variables to docker container for debugging

Debugging Docker Containers with Environment Variables in VS 2017 Debugging applications running inside Docker containers can be a real challenge Often you need

2 min read 06-10-2024 81
VS2017: Adding environment variables to docker container for debugging
VS2017: Adding environment variables to docker container for debugging

Why am I unable to run dotnet tool install --global bla-bla-bla?

dotnet tool install global Not Working Heres Why and How to Fix It Have you encountered the frustrating error dotnet tool install global not working as expected

2 min read 06-10-2024 62
Why am I unable to run dotnet tool install --global bla-bla-bla?
Why am I unable to run dotnet tool install --global bla-bla-bla?

InvalidOperationException on File return

Demystifying the Invalid Operation Exception When Returning Files You re working on a project diligently coding away when suddenly you encounter a dreaded error

2 min read 06-10-2024 72
InvalidOperationException on File return
InvalidOperationException on File return

dotnet core API model binding not working [frombody]

The Mystery of Missing Models Why Your NET Core API Model Binding with From Body Isnt Working Have you ever encountered this frustrating scenario in your NET Co

2 min read 06-10-2024 85
dotnet core API model binding not working [frombody]
dotnet core API model binding not working [frombody]

Move framework & native runtime files into a sub-folder

Moving Your Framework and Runtime Files into a Sub Folder A Comprehensive Guide The Problem Many developers find themselves with cluttered project directories e

2 min read 06-10-2024 82
Move framework & native runtime files into a sub-folder
Move framework & native runtime files into a sub-folder