By using this site, you acknowledge that you have read and understand our Cookie and Privacy policy. Your use of Kontext website is subject to this policy. Accept

Programming

About Microsoft.NET, C#/VB/C++, WPF/WCF/WinForm/Silverlight, Windows Azure, SQL Server, Windows Phone, etc.

Subscribe

asp.net core 2 asp.net core dotnetcore open-banking

ASP.NET Core 2.2 Implementation for Consumer Data Standards

86 views   0 comments last modified about 17 days ago

I’ve just started an asp.net core 2.2 based implementation for Australia Consumer Data Standards (published by Data 61). Opening Banking initiative will follow these standards. The purpose is to help you to get familiar with these standards, especially the APIs that need to be implemented. ...

View detail
angular lite-log

ng is not recognized as an internal or external command (Windows 10)

764 views   0 comments last modified about 5 months ago

Problem When you follow Angular CLI installation guide in Windows, you may encounter the following error: ng is not recognized as an internal or external command The resolutions are available in the following link: ...

View detail
dotnet core lite-log

Set AttachDbFilename as Relative Path in .NET Core

887 views   0 comments last modified about 9 months ago

.NET Framework, you can use |DataDirectory| to configure connection string when connecting to SQL Server database file via attach mode: AttachDbFilename=|DataDirectory|\dbname.mdf In .NET Core, you cannot directly set SQL Server Express connec...

View detail
dotnet core lite-log

Instantiate a Service in ConfigureServices Method in .NET Core

85 views   0 comments last modified about 9 months ago

.NET Core is built in with dependency injection. Usually method ConfigureServices in Startup class is used to register services in the container. The signature of the method looks like the following: public void ConfigureServices(IServiceC...

View detail
.net core lite-log

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

695 views   0 comments last modified about 9 months ago

After upgrading to ASP.NET Core 2.1 (.NET Core SDK 2.1.301), you may encounter the following error about encoding: System.ArgumentException    HResult=0x80070057    Message='Cyrillic' is not a supported encoding name. For information on defining a custo...

View detail
.net core entity-framework

SQLite in .NET Core with Entity Framework Core

1561 views   0 comments last modified about 9 months ago

SQLite is a self-contained and embedded SQL database engine. In .NET Core, Entity Framework Core provides APIs to work with SQLite. This page provides sample code to create a SQLite database using package Microsoft.EntityFrameworkCore.Sqlite . Create sample project ...

View detail
asp.net core 2 .net core

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

531 views   0 comments last modified about 9 months ago

In .NET Core 2.x, Windows Forms or WPF are not implemented since they are based on GDI+ and DirectX respectively in Windows. In .NET Core 3.0, there is plan to add Desktop Packs which includes UWP. WPF and Windows Forms. However, they will still be Windows-only. In .NET Core applications, you may...

View detail
lite-log powershell

Script to Start Multiple Virtual Machines

235 views   0 comments last modified about 11 months ago

The following is a PowerShell code snippet to start multiple VMs through vmplayer.exe: # Navigate to the folder where vmplayer.exe file exists cd "D:\Program Files (x86)\VM Player" # Start the VMs by using vmplayer...

View detail
dotnetcore bootstrap

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

1316 views   1 comments last modified about 2 years ago

Background When upgrading Bootstrap to v4.0.0 release, the bundler and minifier doesn’t work properly due to CSS variable is commonly used: :root{--blue:#007bff; About 26 errors will show up in the Error List with the following message: ...

View detail
lite-log linux

Mount Windows Shared Folder in SUSE or other Linux VMware Guest

334 views   0 comments last modified about 12 months ago

This page summarizes the steps to mount a windows shared folder in a Linux VMware guest machine, i.e. SUSE. Setup shared folder In Virtual Machine Settings windows, add shared folder. ...

View detail

Contacts

  • enquiry[at]kontext.tech

Subscribe