Friday, June 28, 2019
Thursday, June 27, 2019
LiteDB
LiteDB
- How to work with LiteDB in C#
- Getting Started
- Embedded NoSQL database for .NET
- LiteDB - A .NET NoSQL Document Store in a single data file
- download LiteDB
- LiteDb Review
- LinqPad: The .NET Programmer’s Playground
- LINQPad, A developer’s best friend
- Pushing C# to the limit - Joe Albahari
- O'Reilly Webcast: Writing LINQ Queries with LINQPad
- Part 1 LINQ to SQL
- Part 1 LINQ to SQ
- LINQ Basics and LinqPad
- Getting Started with LiteDB in .NET
- LiteDB - A .NET NoSQL Document Store in a single data file
- Getting Started With LiteDB
- C# (CSharp) LiteDB LiteDatabase Examples
- Embedded NoSQL with LiteDB
- LiteDB: Embedded .NET NoSQL Database
- LiteDB Manager (0.3.0)
- C# Attributes in 5 minutes
- FileUtilities - A Library for Reading Flat Files into POCOs
- Cinchoo ETL - Xml Reader
- XML Explorer
- 5 best software to view/read XML files
Monday, June 24, 2019
good C# articles
good C# articles
- Professional techniques for C# - Lecture Notes Part 4 of 4
- Advanced programming with C# - Lecture Notes Part 3 of 4
- Mastering C# - Lecture Notes Part 2 of 4
- An advanced introduction to C# - Lecture Notes Part 1 of 4
- Yet Another Math Parser (YAMP)
- Modernize Your C# Code - Part I: Properties
- Modernize Your C# Code - Part II: Methods
- Modernize Your C# Code - Part III: Values
Friday, June 21, 2019
research on C# List and in-place multidimensional array
C# List
I ordered the reading list. they are enough for me to finish my application development.
- 新款投影仪家用办公高清1080p手机wifi无线同屏投影机便携式投影
- Object-oriented Programming in C# for C programmer
- 45. Generic Collections in C#
-
List
Class -
List
Class - C# List
- String Format for DateTime [C#]
- String Format for Double [C#]
- The List in C#
-
C# - List
-
C# List (List
) - C# | List Class
-
Using List
in C# (Generics) -
C# Generic Lists
With Complete Programming Example - Generic List (C#)
- An In-place Multidimensional C++ Array
- Arrays Basics in CSharpDotNetTech
- Converting Hexadecimal String to/from Byte Array in C#
- Blue Vending App on C71
- Binding a two dimensional array to a DataGrid
- Conversion Between DataTable and List in C#
- File List Downloader
- List of .NET 2.0 and C# 2.0 new features
- Diff two lists
- Converting a List to a DataTable
- The List Trifecta, Part 1
- The List Trifecta, part 2
- The List Trifecta, part 3
- October 21st, 2015 Comments 5 C# Collections that Every C# Developer Must Know
- Buggy C# Code: The 10 Most Common Mistakes in C# Programming
- Chiniese BBS
Wednesday, June 12, 2019
research project on plot library
research project on plot library
- Target “build” does not exist in the project for Visual Studio
- Build error when signing with snk key
- Incorrect warning CS1616: Option 'CryptoKeyFile' overrides attribute 'System.Reflection.AssemblyKeyFileAttribute' given in a source file or added module #10339
- C#'s GetManifestResourceStream Gotcha
- How to read embedded resource text file: this is the most recent version of Visual Studio
- Visual Studio : can't find “resource file” in list of items to add to project
- How to use resource files in your C# WPF project
- Adding Files to Visual Studio Projects
- 10 ways to make your .NET projects play nice with others
- Working with .resx files programmatically
- ComboBox In C#
- quick introduction to NPlot in PDF
- NPlot on GitHub
- Generate graph using Nplot
- NPlot on github
- NPlot Charting Library
- NPlot Charting Library
- NPlot Documentation
- SDK stable documentation
- NPlot Documented Class Library: it is the same as above link
- hwthomas/NPlot
- NPLOT Home Page
- Windows Developer Power Tools:
- Creating a Mechanical Trading System Part 1: Technical Indicators
- Comparing .NET chart solutions for web-applications
- Volume Weighted Average Price (VWAP) Algorithm
- A Simple Moving Average Algorithm
- A Simple Moving Average Algorithm
- Time moving average
- Precise and safe calculation method for the average of large integer arrays
-
IEnumerable
Interface - Simple Moving Average
- cheind-blog-files:simple moving average
- Move Controls on a Form at Runtime
- Move and Resize Controls on a Form at Runtime (With Mouse)
- 食管癌会偷袭8类人
- 我与反流性食管炎抗争的日子!
- 反流性食管炎
- 沙棘果油正品口服 野生新疆天然滋补保健品60粒 沙棘油软胶囊正品
- 沙棘果油软胶囊瑞典buckthorn正品天然养胃护心脏护肝500mg/粒
- Membra Femin Forte 120 capsules
when convert Nplot project from sourceforge, I tried to load this project into VS 2017. surely it got a lot of error. I opebed csharp project file, removed two imports statement because it needs MSBEE to build targeting version 1.1 framework. then I got first error and overcome like following. then I added back one import statement from the following suggestion. it works. continue to build this project. then I got the second error. so I searched and find the second link for my new error.
the second error is fixed from the link below. I give a new snk file.:
I build this project again and look at bin folder. this folder contains few subfolder. to make it simple, I just keep bin folder, removed all subfolders. also update project property page, set output folder to "bin\debug\" only. I build it for debug mode, it works as expected. in release mode, I have to update this property page again to "bin\release\" only.
when I try to load demo project, I moved it up and change folder name to nplot-demo. load it into VS 2017, failed.
I opened csproj file and removed the following three imports statements and building still failed. so to be short, I create a brand new WinForm project, and load orginial files one by one
then I have an error to use resource file. after research, I got the following few links. to summarize, there are two ways to use resource files. one is to add resource files into project, then set build action to "embedded resource". it looks like this demo project is using this approach. but it can not get the right reference from resource files. so I need to dig further.
a working resolution is from dtb in the above link. I summarize here:
You can use the Assembly.GetManifestResourceStream Method:
Add the following usings
using System.IO;
using System.Reflection;
Set property of relevant file:
Parameter Build Action with value Embedded Resource
Use the following code
var assembly = Assembly.GetExecutingAssembly();
var resourceName = "MyCompany.MyProduct.MyFile.txt";
using (Stream stream = assembly.GetManifestResourceStream(resourceName))
using (StreamReader reader = new StreamReader(stream))
{
string result = reader.ReadToEnd();
}
resourceName is the name of one of the resources embedded in assembly. For example, if you embed a text file named "MyFile.txt" that is placed in the root of a project with default namespace "MyCompany.MyProduct", then resourceName is "MyCompany.MyProduct.MyFile.txt". You can get a list of all resources in an assembly using the Assembly.GetManifestResourceNames Method.
how to use comboBox control
NPlot is an open source charting library for .NET. It boasts an elegant and flexible API. NPlot includes controls for Windows.Forms, ASP.NET and a class for creating Bitmaps. A GTK# control is also available.
Saturday, June 8, 2019
details on release mode vs debug mode
details on release mode vs debug mode
- C# Debug vs. Release Builds and Debugging in Visual Studio – from Novice to Expert in One Blog Article
- (C#) Determining whether the current build mode is Debug or Release
- Building Snap-In Applications
- Building Snap-In Applications: Appendix A, Code Signing for Security
- Sign Code
- Basics of Signing and Verifying code
- Implementing Digital Signing in .NET
- Considerations for implementing trace facilities in release builds of .NET applications
.NET registry class
.NET registry class
- Application Settings the .NET way. INI, Registry, or XML
- Read/Write XML files, Config files, INI files, or the Registry
- A .NET NT Registry Library and NT Registry Editor
- A C# class that deals with System Registry
- A Small Class Providing Typed Access To The Registry
- How to access the Windows Registry using C#
how to detect .NET version installed
how to detect .NET version installed
- XFxDetect - A utility to detect which versions of .Net are installed
- How to: Determine which .NET Framework versions are installed
- Part1: Overcoming Windows 8.1's deprecation of GetVersionEx and GetVersion APIs
- Part 2: Overcoming Windows 8.1's Deprecation of GetVersionEx and GetVersion APIs
- Get .NET Framework version
SOS.dll how-to guide
- SOS.dll (SOS debugging extension)
- Debugging Managed Code Using the Windows Debugger
- Automatically Load the Right SOS for the Minidump
- Where can I find .net 4.0 SOS.dll? [closed]
- WinDbg / SOS Cheat Sheet
- using windbg.exe and sos.dll to debug a .net 4.0 application
- .NET Core and WinDbg
- SOS Extension Commands
- How to install WinDbg
- Load SOS dll in to windbg for .NET debugging
- Why user required to load SOS dll to windbg for .NET debugging
- Load SOS dll - How to prepare WinDBG for .NET application debugging
- How to load sos.dll into intermediate window VS 2017?
this is a good collection of WinDbg tutorials.
how to use WinDBG and AppVerifier
how to use WinDBG and AppVerifier
- 芒种养生这样做 帮你健康度过炎炎夏日
- Windows Debuggers: Part 1: A WinDbg Tutorial
- Quick start to using WinDbg
- NET Debugging: Dump All Strings from a Managed Code Process Running
- SOSEX - A New Debugging Extension for Managed Code
- Advanced .NET Debugging Extracting Information from Memory
- Get Started: Debugging Memory Related Issues in .Net Application Using WinDBG and SOS
- Part 1: Windows Debugging Techniques - Debugging Application Crash (Windbg)
- Part 2: Windows Debugging Techniques - Debugging Application Crash (DebugDiag, AppVerifier)
- Part 3: Windows Debugging Techniques - Debugging Application Crash (Self Dump Generation)
- Part 4: Windows Debugging Techniques - Debugging Memory Leaks (Perfmon)
- Part 5: Windows Debugging Techniques - Debugging Memory Leaks (CRT APIs)
- CRT Debug Heap Details
- CRT Debug Heap Details
- xtending windbg with Page Fault Breakpoints
- Using Windbg to Answer Implementation Questions for Yourself (Can a Delegate Invocation be Inlined?)
- writing high performonce code for .NET website
- Developer blog - otto@: New Otto malloc helps spot ancient bugs
- Download Debugging Tools for Windows
- Download and install the Windows ADK
- Get the latest hardware development kits and tools
Friday, June 7, 2019
issuses to install Windows on SSD NVME
issuses to install Windows on SSD NVME
- How to Fix USB Device Not Recognized in Windows
- PCIe samsung 970 EVO not recognized while installing Win 10
- Why is Windows 7 installation not showing my NVMe drive?
- Hard Drive Not Showing Up or Recognized in Windows 10/8.1/8/7? Solution is Here
- T6 PC Stick, Mini PC Computer Stick Z8350 Fanless Intel Stick with Windows 10 Pro 4GB/64GB Support 2.4G/5G WiFi,BT 4.2 with Integrated Intel 4K Support
USB inot recognizable in my computer but shows up in computer mamangement
USB inot recognizable in my computer but shows up in computer mamangement. the first link, method 1(case 1) works well.
- USB/External Hard Drive Not Showing up in My Computer or Disk Management
- Fix 'USB/External Hard Drive Shows Up in Device Manager Not in This PC' Error
- usb disk appears on disk management but not on "my computer"
- HxD - Freeware Hex Editor and Disk Editor
- How to use HxD as aDisk Editor to saveSectors as Binary Files
- Guida operativa a HxD, il bisturi per la rimozione definitiva dei rootkit
- The Starman's Realm
- An Introduction to the PC's (Personal Computer's) BIOS (Basic I/O System)
XPORd assembly language exercises
XPORd assembly language exercises
- Exercises for Assembly language course https://www.xorpd.net
- A sophisticated text editor for code, markup and prose
- Hex Workshop Hex Editor v6.8.0
- 010 Editor: Professional Text Editor
- HxD - Freeware Hex Editor and Disk Editor
- How to use HxD as aDisk Editor to saveSectors as Binary Files
- Guida operativa a HxD, il bisturi per la rimozione definitiva dei rootkit
- The Starman's Realm
- An Introduction to the PC's (Personal Computer's) BIOS (Basic I/O System)
- Toolkit for Independent .NET Developers
- Cryptographic Hashes: What They Are, and Why You Should be Friends
- “A Developer Is Only As Good As His Tools”
- Many additional applications (OpenOffice, VLC VideoLan, Gimp etc..) are available on the page Browse catalog
Monday, June 3, 2019
software protection
software protection
- Anti-Reflector .NET Code Protection
- How to Read in Memory Code of .NET Application Protected with Anti-Reflector
- Injecting .NET Assemblies Into Unmanaged Processes
- .NET Internals and Code Injection
- Protecting .NET 4.+ Application By C++ [Unmanaged]
- Software Copy Protection for .Net Applications - a Tutorial
- A simple software key useful to protect software components
- Protection & Decompiling Software - Start Point Info
- Copy Protection for Windows Applications
- Copy Protection for Windows Applications (Part 2)
- Copy Protection for Windows Applications (Part 3)
- Copy Protection for Windows Applications (Part 4)
- How To Protect Your .NET Code, Easily, And For Free
- BoxedApp Packer
- .NET Power Tip 10: Merging Assemblies
- Get BoxedApp Packer
- How to pack Corona-built Win32 desktop app into a single executable file?
- Contact Customer Service
- HOWTO: Combine Managed and Unmanaged Projects into a Single Visual Studio Solution
- Using managed code in an unmanaged application
- Anti-Reflector .NET Code Protection
- How to Read in Memory Code of .NET Application Protected with Anti-Reflector
- A Code Protection Framework For .NET
- Calling Managed Code from Unmanaged Code and vice-versa
- Unmanaged to Managed Calls
the above two articles are good article to test.
Saturday, June 1, 2019
CLR customize project
CLR customize project
- The Windows SDK version 8.1 was not found in VS 2015 update 3
- Earlier releases
- Online GUID Generator
- Common macros for MSBuild commands and properties
- ERROR: Cannot open source file “ ”
- Visual Studio 2010 Professional: Cannot find include file “new.h”
This problem happened to me after importing an old VS2003 solution into VS2017.
To fix it, I had to change "Windows SDK version" in project settings > "Generic" to the latest "10.x.x.x" version available from the drop-down list.
flat assembler
flat assembler. the firsit article showed how to set up Flat Assembler.
- Intro to x86 Assembly with FASM
- Intro to x86 Assembly with FASM – Part 2
- flat assembler
- Programming with FASM – first steps
- flat assembler-older version
- Hello world on x64
- Basic Setup and Installation of DosBox
- x8 assembly
- How To Set Up An Assembly Project in Visual Studios
- Assembly Tutorial: Compiling Your First Assembly Program Using Visual Studio 2017
- Assembly Language Tutorial: How To Setup Visual Studio 2017 For Assembly
- How To Set Up Irvine32 Library
Hello! Windows 64bit does not, in anyway support 16bit programs, this could only be run properly on windows XP 32bit.
To run the program on x64 you can do one of 3 things.
1) Find different code that uses 32bit or 64bit.
2) Download a DOS emulator like DOSBOX, with DOSBOX you can drag and drop your 16bit program onto the DOSBOX.EXE and it will emulate it wonderfully!
3) You can downgrade to windows XP 32bit, but I do not sugjest this on a 64bit machine as 64bit OS runs faster on 64bit machines.
Get DOSBOX here: http://www.dosbox.com/
how to set up assembly in Visual Studio 2015
how to replace motherboard without reinstalling Windows?
how to replace motherboard without reinstalling Windows?
- How to Replace Motherboard without Reinstalling Windows.
- How to install a new motherboard without reinstalling Windows
- replace dead motherboard without reinstalling windows
- Reliably protect systems and data
- Replace Dead Motherboard Without Reinstalling Windows
- Change Motherboard Without Fresh Install of Windows
- Upgrade your motherboard without reinstalling Windows 10
- Upgrade Your Motherboard Without Reinstalling your OS
- Upgrade Motherboard and CPU without Reinstalling Windows 10/8/7 Easily
- Can you upgrade motherboard and CPU without a fresh install?
- How to upgrade motherboard without reinstalling windows
- How to Upgrade Motherboard and CPU Without Reinstalling Windows 10/8/7
- Explained: New Motherboard, CPU. Do I need a new license / reinstall Windows?
- How to replace motherboard without reinstalling Windows?
- Motherboard problem: Can I replace the motherboard of my PC without having to reinstall Windows 7/8.1/10?
- Replace motherboard without reinstalling Windows