What is this Net Core everyone is talking about? Net Core is a cross-platform application framework for C#. With Visual Studio or the Net Core tool set, it’s not too hard to build server applications on any platform that can be deployed to any platform. This is remarkable considering the source code for C#/NET was proprietary code until Nov. 2014 when Net Core and parts of Net … Continue reading Hello World from NET Core and NET Standard
Virtually every website nowadays follows a God-awful trend in UI that generally replaces hyperlinked text with illustration-heavy art work arranged in a grid layout, making it not easier but HARDER for people to find a specific page. You cannot search for text on the page as it’s all now pictures; and, each page shows less links as a picture takes up more real estate than simple text. … Continue reading Where are my MSDN downloads, Microsoft????
If you’ve been working with Cygwin or MinGW, you may want to step over to Windows Subsystem for Linux (WSL) to take advantage of building and running tools in that environment. While the goal of Cygwin and MinGW has been to provide a Linux command-line tool set to Windows, it’s too easy to run the wrong tool (e.g., forgetting to install a tool in one environment, and picking up the identically named tool in another). In fact, many tools install their own private copy of MinGW (Git for Windows, SourceTree, Vagrant, …), so you find yourself constantly manipulating the search path.
Years ago, I bought a MacIntosh–the original 128K 68000 Motorola CPU box. Like the Apple 2 before that, I upgraded it as best I could, and tried to develop programs for it. But, it was all not easy. And, it was exceedingly expensive–from the computer, to the upgrades, to the software, to the books detailing how to program the system. The decision by Apple to … Continue reading Hackintosh for Development
More brain twisters. From http://stackoverflow.com/questions/241134/what-is-the-worst-gotcha-in-c-sharp-or-net, http://www.softwire.com/blog/2012/08/13/dont-be-too-lazy-linqs-lazy-evaluation-gotchas/, and others. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. Continue reading C# Twisters–Round 2
There are several Visual Studio extensions for Antlr: Antlr4Code, ANTLR Language Support, Actipro SyntaxEditor for WPF, and Syntax Highlighting Pack. However, each has problems (works on Antlr3, has advertisements, does not offer a “go to definition” right-click context menu command, etc). So, over the last few days, I implemented a simple VS 2015/2017 extension for Antlr4 grammars. You can find the sources on Github (https://github.com/kaby76/AntlrVSIX). … Continue reading Another Visual Studio Extension for Antlr4 Files: AntlrVSIX
For those who have free time on their hands, and who would like to work through some brain twisters, here is a list of C# code snippets for your perusal. See https://www.toptal.com/c-sharp/top-10-mistakes-that-c-sharp-programmers-make for more details. 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. Continue reading CSharp Puzzles for the Agile – Round 1
Recently, I was trying to write a Xamarin.Forms app that uses Roslyn, Microsoft’s NET languages compiler framework. But, no matter what I did, it seemed as though it wasn’t possible. But, I tried a few things, and noticed that the Roslyn library could link with Android and iOS applications. That’s when I realized it might be possible. That said, it depends on what you will … Continue reading Getting Xamarin.Forms apps working with .NET Standard and Roslyn
Visual Studio “15” Preview 4 was recently released, so I decided to take it for a spin. In the upcoming C# 7.0, of the features being implemented, pattern matching is probably the most interesting. Consider how often we’ve designed code that uses a switch statement with complex cases, but then when we go to implement the design, a nested if-then-else statement must be coded instead because switch labels … Continue reading C# v7.0 pattern matching