This site uses cookies to deliver our services. 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. Allow Cookies and Dismiss

Programming

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

Subscribe

OpenIddict Refresh Token Flow issue ASP.NET Core 2.0

1232 views   0 comments last modified about 12 months ago

Context When I followed OpenIDDict refresh flow sample, I constantly got the issue “The refresh token is no longer valid”, which is returned by the following code in my authorization web api controller: result.Content = new OpenIdConnectResponse  &...

View detail

Migrating from ASP.NET Core 1.x to ASP.NET Core 2.0 – Issues Continued

730 views   0 comments last modified about 12 months ago

Other related issues are found during my migration. Unable to Change Identity Table Names ...

View detail
dotnet core

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

455 views   0 comments last modified about 2 years ago

Great introduction about JavaScriptServices ( JavaScriptServices GitHub repository ): Microsoft.AspNetCore.SpaTemplates plugs into dotnet new , providing project templates for Angular 2, Aurelia, Knockout...

View detail
.net asp.net dotnet core asp.net core 2

Migrate ASP.NET Core Projects – VS2015 to VS2017 and TFS2015 to TFS2017 Issues and Fixes

423 views   0 comments last modified about 2 years ago

Context Before Visual Studio 2017 was released, I was implementing my ASP.NET Core project using VS2015. TFS2015 is used for Continuous Build and Deployment for my projects. After migrating to VS2017, there are couple of issues I encountered in my environment: VS2017 has ...

View detail
dotnet core

dotnet.exe : No executable found matching command "dotnet-publish-iis"

920 views   0 comments last modified about 2 years ago

When upgrading from .net core 1.0 to 1.1, you may encounter the following error when running dotnet publish command: dotnet.exe : No executable found matching command "dotnet-publish-iis" The resolution is simple: adding the following line into the project.json file. At moment, the la...

View detail
java kerberos

Java Kerberos Authentication Configuration Sample & SQL Server Connection Practice

4865 views   2 comments last modified about 3 years ago

Overview Recently, I have been working on an ETL framework to load various source data (i.e. files, SQL Server, Oracle and Teradata) into Teradata. Due to some limitations, Java was chosen as the implementation language though IBM Infosphere DataStage is available to use. DataStage has p...

View detail

Create and Debug C/C++ Programs with Eclipse and Cygwin in Windows

3430 views   0 comments last modified about 3 years ago

In this post, I am going to demonstrate how to use Eclipse to create and debug C/C++ programs for Unix/Linux in Windows. I am going to use Cygwin GCC as toolchains. Cygwin GDB will also be installed for debugging purpose. I am using Windows 10 and JRE 1.8 in the following steps. Install E...

View detail

5 Minutes to Create a Linux VM in Microsoft Azure

276 views   0 comments last modified about 3 years ago

In my previous post ( http://kontext.tech/Blog/DotNetEssential/Archive/2014/12/31/b0...

View detail

LINQ to Teradata

869 views   0 comments last modified about 4 years ago

In my previous post, I demonstrated how to use ADO.NET to connect to Teradata in your OLTP projects.  In this sample, I am going to implement the same sample using ADO.NET Entity Model, Entity Framework and LINQ. ...

View detail

Migrate from Universal Membership Provider to ASP.NET Identity 2.1.0 - PasswordHarsher

2400 views   2 comments last modified about 4 years ago

In my previous post, I demonstrated how to migrate from ASP.NET Universal Membership Provider to ASP.NET Identity 2.1.0. ...

View detail