A Software Dev Blog


Enable or Disable WPF DataGrid Context Menu Item

Here is an example of how to set WPF DataGrid Context Menu items Enable/Disable status, using Context Menu Opening event.

WPF ComboBox Does NOT Have a Right Item Selected When Initialized

Sometimes even we set all done (Set data binding correctly) for a ComboBox for in WPF, but the ComboBox can not still show current item but just an empty selection.

Blazor 123

Base information of Blazor

Blazor is a single-page app framework for building interactive client-side Web apps with .NET. Blazor uses open web standards without plugins or code transpilation. Blazor works in all modern web browsers, including mobile browsers. (from Microsoft ASP.NET Website)

Export All Modified and New Added Files in Git on Windows OS

If we use Git to control our source version, we might have some chances to export all modified files and new added files to a specific directory.

Blazor vs JavaScript Sample Code 01

The famous Blazor demo application provides the case of clicking a button to increment a counter.

.NET Core 3.0 is Now .NET 5

2016, Microsoft announced “ASP.NET 5 is dead”, because the next release after .NET 4.6x was changed name to ASP.NET Core 1.0 and .NET Core 1.0.

What is the Difference between a struct in C# and C++?

The main difference between Struct in C# and C++ is that a Struct in C# is a Value Type but it is a Reference Type in C++.

Marshalling C++ struct in C#

We have a WPF project that needs to communicate with a C++ project via TCP/IP socket (Winsocket). WPF project requests data from C++ project and C++ project send its data from some C++ structs.