Archive for the ‘.NET’ Category
Posted by jpluimers on 2019/04/30
Visual Studio Community 2017 needs a license renewal every ~30 days with a Microsoft account: [WayBack] Visual Studio Community 2017 is a 30 day trial? – Stack Overflow.
This means it is not a trial, but it does not a Microsoft account, and communicate with it every ~30 days which you can get at [WayBack] Microsoft account | Sign In or Create Your Account Today.
Messages you can get:
- “We could not download a license. Please check your network connection or proxy settings” – meaning: sign in with a Microsoft account by clicking “Add an account…”

- “We could not download a license, Please ensure your accounts are authenticated.” – meaning you have to click “Reenter your credentials”

–jeroen
Posted in .NET, Development, Software Development, Visual Studio 2017, Visual Studio and tools | Leave a Comment »
Posted by jpluimers on 2019/04/10
By now this
should be out of [WayBack] Draft – .NET Glossary Diagram – Scott Hanselman: a list of common terms to describe various parts of the .NET ecosystem.
He has a nice list of sentences where each term is used.
I’ll try to use them myself as well, so I gave it a start at paulcbetts/refit: The automatic type-safe REST library for Xamarin and .NET.
–jeroen
Posted in .NET, C#, Development, F#, Software Development, VB.NET, Visual Studio and tools | Leave a Comment »
Posted by jpluimers on 2019/04/04
I have seen this happen in various environments: people wanting to detect if their debugger is present, but trying to detect their IDE, or vice versa.
Similar reasoning is for detecting for being running on a console, or your project having been built to run on a console.
People use these decisions, for instance to determine if their application should behave as a service, or as a regular process.
Ways to determine the various permutation points:
- Running inside a debugger: use the [WayBack]
IsDebuggerPresent function (which can be true, even if Delphi DebugHook stays zero).
- Check for the IDE: tricky; as IDEs have different behaviour over time. For Delphi, check for any
TAppBuilder Window class with the [WayBack] FindWindow function.
- Compiled for console: for Delphi check
IsConsole, for .NET I could not find good information.
- Running on a console: check if you can allocate a handle to stdout
- Running as a service: check the hosting assembly or hosting process
Related links:
–jeroen
Posted in .NET, Delphi, Development, Software Development, Windows Development | Leave a Comment »
Posted by jpluimers on 2019/04/03
This is so cool: [WayBack] paulcbetts/refit: The automatic type-safe REST library for Xamarin and .NET. It’s inspired by Square’s [WayBack] Retrofit library which does the same for Java.
They basically allow you to use attributes on interfaces to define a type-safe wrapper around any REST interface, then instantiate a connection to it for making calls.
No more manual HttpClient fiddling!
Since it requires only .NET 1.4, you can basically run it on any platform as it’s supported covered by the implementations .NET Core, Mono and the full .NET Framework.
Quite a lot of projects already use it; I got there via the first link:
–jeroen
Via: [WayBack] Exploring refit, an automatic type-safe REST library for .NET Standard https://www.hanselman.com/blog/ExploringRefit… – Jeroen Wiert Pluimers – Google+
Posted in .NET, C#, Development, Java, Java Platform, Software Development | Leave a Comment »
Posted by jpluimers on 2019/03/27
The list below is based on a G+ discussion in a single language, but has way broader aspects.
It’s on value types, mutability, parameterless constructors and expectations of compiled code.
I’ve bitten myself in the foot with mutable types in too many languages too often, so I started advocating this years ago at clients, and now in this blog-post.
TL;DR:
Read the rest of this entry »
Posted in .NET, C#, C++, Delphi, Development, Jon Skeet, Software Development | 2 Comments »
Posted by jpluimers on 2019/01/22
Interesting code generator from 3D models into Xamarin, Delphi or Oxygene code:
[WayBack] Petra Sketch Plugin | Melbourne | Applying Code
Convert Sketch drawings to iOS, macOS, Android and Windows native drawing code.
[WayBack] Documentation of Petra Sketch Plugin | Melbourne | Applying Code
Via:
–jeroen
Posted in .NET, C#, Delphi, Development, Software Development, Xamarin Studio | Leave a Comment »