dotnetcore

42 items tagged with "dotnetcore"

42 Articles

Articles

Error: database static dir ... does not match our static dir ... database configuration mismatch

2025-01-09
.NET Programming

Semantic Kernel with Local LLMs in C#/.NET

2024-05-21
.NET Programming

Resolve error MSB4126: The specified solution configuration "Debug|x64" is invalid

2024-05-19
.NET Programming

Install .NET 8 and 9 SDKs on a Non-System Drive

2024-04-28
.NET Programming

Danger: Bypass SSL Interception Proxy Server Certificate Validation in .NET or Python HTTP Requests

2024-01-05
.NET Programming

Mount Azure File Share to Azure App Service or Azure Functions Linux Container Apps

This code snippet shows you how to mount Azure Storage file share as a local drive in a Linux container app hosted in Azure App Service or Azure Functions. Outline of the code The code snippet does the following: Create a storage account Create file service Create a file share Create an App Service resource with Linux container Mount the file share to the app For .NET 8 containers If you use .NET 8 images that runs without root permissions, please mount the file share to path under /home. Otherwise, you may encounter errors like the following when deploying to Azure: "message":"The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'.","details":[{"code":"DeploymentFailed","target":"/subscriptions/\\\/resourceGroups/\\\/providers/Microsoft.Resources/deployments/kontext-web","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[{"code":"InternalServerError","message":"There was an unexpected InternalServerError. Please try again later. x-ms-correlation-request-id: \\\*"}

2023-12-26
Microsoft Azure

Azure Function App - Failed to start a new language worker for runtime: dotnet-isolated

2023-09-27
Microsoft Azure

Deploy Azure Function App with .NET 8 to Azure Container Apps via Bicep

Azure Function App can now be deployed into Azure Container Apps managed environment. This code snippet shows you how to deploy an Azure Function App created with .NET 8 (dotnet-isolated as runtime) into a managed environment of Azure Container Apps. The container source image is from GitHub (ghcr.io). You can also use any other container registry. Resources created This Bicep template creates the following resources: Blob Storage account Azure Log Analytics workspace Azure Application Insights Azure Container Apps managed environment Azure Function App Required credential You need to provide a container registry user name and password if you are using private registry. This template uses GitHub Packages.

2023-09-16
Microsoft Azure

InvalidOperationException: A second operation was started on this context instance before a previous operation completed

2023-09-05
.NET Programming

Install .NET 8 SDK on Ubuntu

2023-05-06
Tools & Systems

System.Globalization.CultureNotFoundException: Only the invariant culture is supported in globalization-invariant mode.

2023-04-25
ASP.NET Core

Visual Studio Code: Debug ASP.NET Application with Hot Reload

2022-03-26
Tools & Systems

.NET Hot Reload in Visual Studio Code

2022-03-26
Tools & Systems

Query JSON via JMESPath in .NET

2021-12-21
.NET Programming

About --idempotent Flag in dotnet ef migrations script

2021-09-18
.NET Programming

Fix Error CryptographicException: The payload was invalid.

2021-08-24
.NET Programming

Read Embedded Assembly Resource Files in .NET

2021-08-13
.NET Programming

EntityFramework Core: Generate Migration Scripts in a Separate Project

2021-05-15
.NET Programming

EntityFramework Core Database Migration in Azure DevOps Pipeline

2021-04-05
Microsoft Azure

The Entity Framework tools version '3.1.7' is older than that of the runtime '5.0.3'.

2021-03-08
.NET Programming

Draw Images in ASP.NET Core 5

2021-02-16
ASP.NET Core

EntityFramework Core - Update Only One Field

2021-02-14
.NET Programming

EntityFramework Core - Connect to MySQL

2021-01-23
.NET Programming

Connect to MySQL in .NET 5

2021-01-23
.NET Programming

LINQ to SQL - Select N Random Records

2020-09-22
.NET Programming

Modern Web Application - Azure Blob Storage for Uploaded Files

With cloud platforms like Azure, we can totally separate user content storage from web application storage to decouple components from each other and to make the application easy to scale and deploy. This article provides detailed information with code snippets about how to use Azure server-less product Blob Storage and App Service to enable horizontally scalable web application for users to upload files (BLOBs).

2020-04-11
Microsoft Azure

Machine Learning with .NET in Jupyter Notebooks

2020-01-02
.NET Programming

.NET for Apache Spark Preview with Examples

2019-04-26
Spark & PySpark

Set AttachDbFilename as Relative Path in .NET Core

2018-07-08
.NET Programming

Instantiate a Service in ConfigureServices Method in .NET Core

2018-07-08
C# Programming

ASP.NET Core 2.1 Error - 'Cyrillic' is not a supported encoding name

2018-07-02
ASP.NET Core

SQLite in .NET Core with Entity Framework Core

2018-06-29
.NET Programming

Graphics Programming and Image Processing in .NET Core 2.x

2018-06-27
ASP.NET Core

ASP.NET Core 2 with Bootstrap 4 Bundler Minifier Issue: Expected semicolon or closing curly-brace found '-'

2018-01-23
ASP.NET Core

Logging configuration in .NET core

.NET core introduces a logging API that works with a number of logging frameworks. The built-in providers are configurable and extensible to support different level loggings.

2017-10-15
.NET Programming

Sending Emails in .NET Core Applications

Sending emails are common in applications. For example, when user registers, we need to send account activation emails. This post summarize the approaches we can use to send emails in .NET Core 1.x and 2.x.

2017-10-15
.NET Programming

Retrieve Http client request metadata like IP address and languages in asp.net core

2017-10-15
ASP.NET Core

Retrieve Azure AppSettings and Connection String Settings in ASP.NET Core Apps

In ASP.NET Core, we can easily use user secrets to manage our password or credentials. This post will summarize the approaches we can use after the websites are deployed into Azure.

2017-10-10
ASP.NET Core

Migrating from ASP.NET Core 1.x to ASP.NET Core 2.0

2017-09-08
ASP.NET Core

Issue - Unable to get property 'apply' of undefined or null reference occurred in Angular 4.*, VS2017 15.3, ASP.NET Core 2.0

2017-05-20
Frontend & JavaScript

[Link] Build SPA on ASP.NET Core with JavaScript Services

2017-04-19
ASP.NET Core

Use NDepend to Improve your .NET Code Quality

2015-03-15
Tools & Systems