wforney
wforney
Bill's Tumblelog
37 posts
Don't wanna be here? Send us removal request.
wforney · 4 months ago
Text
Update on .NET Packages for Shared Code
Hello all, it’s been a while. I have fixed the build for my shared code NuGet packages and pushed a new package update targeting .NET 9 primarily. It should still work with .NET 8 as well. I dropped support for 6 and 7 since they are also out of support from Microsoft at this point. The .NET Core releases are going out much faster than in the old days, so I’ll try to keep these libraries relevant…
0 notes
wforney · 4 years ago
Text
Temporary Post Used For Theme Detection (8235fc73-2e0d-4f66-bd52-51ab7e48a5e0 - 3bfe001a-32de-4114-a6b4-4005b770f6d7)
Temporary Post Used For Theme Detection (8235fc73-2e0d-4f66-bd52-51ab7e48a5e0 – 3bfe001a-32de-4114-a6b4-4005b770f6d7)
This is a temporary post that was not deleted. Please delete this manually. (0ca05d6c-156e-4d83-91d4-a0942277af68 – 3bfe001a-32de-4114-a6b4-4005b770f6d7)
View On WordPress
0 notes
wforney · 5 years ago
Text
Using a wait cursor doesn't have to be hard...
Using a wait cursor doesn’t have to be hard…
Here is a simple disposable wait cursor class to simplify your mouse display needs…
/// /// The WaitCursor class. Implements the /// /// public class WaitCursor : IDisposable { /// /// The previous cursor. /// private readonly Cursor previousCursor; /// /// A value indicating whether the class has been disposed. /// private bool disposedValue; /// /// Initializes a new instance of the…
View On WordPress
0 notes
wforney · 5 years ago
Text
STAThread async/await got you down?
STAThread async/await got you down?
When encountering issues with async/await while building a Windows Forms application recently I came across this helpful class that allows you to await returning to the initial (usually UI) thread…
public struct SynchronizationContextAwaiter : INotifyCompletion, IEquatable { private static readonly SendOrPostCallback postCallback = state => (state as Action)?.Invoke(); private readonly…
View On WordPress
0 notes
wforney · 5 years ago
Text
How to map an IDataRecord to an entity class object without using reflection
How to map an IDataRecord to an entity class object without using reflection
Recently I had a need to map an IDataRecord to an entity class object in C# without using reflection for performance reasons, and because I can. Here is the code for reference… First we need the method that generates a function to map the properties while handling DBNull.
private static Func GenerateMapFunction(IDataReader dataReader) { if (dataReader is null) { throw new…
View On WordPress
0 notes
wforney · 5 years ago
Text
...and back to WordPress again...
…and back to WordPress again…
A while ago I swapped my blog to BlogEngine.NET, then to MiniBlog, then to Ghost, then back to MiniBlog. Now I’m going back to WordPress again after a decade or so. The other platforms were nice, and some were integrated well, but nobody has kept them up, or they were just side demo projects for people. At this point I wanted a platform that I can host that is relatively stable and is maintained…
View On WordPress
0 notes
wforney · 5 years ago
Text
The computer furniture rant
The computer furniture rant
Have you ever noticed that furniture makers always make computer desks with those closed off little cubby holes for the tower? It’s about time someone told them computers need ventilation to work properly. I’ve seen countless computers overheat and die an untimely death due to this lack of understanding of simple common sense.
Computers have fans in them for a reason: air flow. They take cool air…
View On WordPress
0 notes
wforney · 5 years ago
Text
MiniBlog
Yes, I went and did it. I converted my blog to MiniBlog. It is much lighter than BlogEngine.NET. I’m liking the HTML5 and it should be fun to tweak it out a bit more too.
I’ve nixed some things, my old resume, the VS Achievements that only worked in VS 2012, a few other things. I might bring some back later. Still poking around with this. Stay tuned.
Technorati Tags: Blog
View On WordPress
0 notes
wforney · 5 years ago
Text
single page application architecture
single page application architecture
I’ve been poking around at a lot of JavaScript over the last year or two and have been refining this layered architecture for setting up applications. The main idea behind it is to cover all the old bases in a way that also reduces the number of requests and performs very well. The layers I am using are setup like so:
Web front end (static HTML)
UI views, scripts, and related image files
Localize…
View On WordPress
0 notes
wforney · 5 years ago
Text
Handy Developer Tools & Links
Handy Developer Tools & Links
There are a lot of tools out there and others have posted lists that are handy. I’m going to put my list of common tools here and try to keep it updated every now and then for my own use as well as anyone else who may like to reference it. Feel free to send me more to add to the list.
Helpful Blogs
The Morning Brew (Chris Alcock)
Code & Text Editors
Visual Studio
Sublime
Visual Studio Extensions
Web…
View On WordPress
0 notes
wforney · 5 years ago
Text
How to open a “new window” in a Windows 10 Universal App
How to open a “new window” in a Windows 10 Universal App
Tumblr media
I had to dig a little bit to find this. Since not all form factors support multiple windows and tablet mode generally discourages floating windows this is probably buried for a reason, but I wanted to do it anyway so here it is:
var viewId = 0;
var newView = CoreApplication.CreateNewView(); await newView.Dispatcher.RunAsync( CoreDispatcherPriority.Normal, () => { var frame = new…
View On WordPress
0 notes
wforney · 5 years ago
Text
Something different, something new, something blue
Something different, something new, something blue
Amusingly today I’m looking at new cars, hence the blue and new, but that’s not all that’s going on. Today I am starting something new that will change hopefully not just my perception of the world, but others as well. It’s time for change. Let’s do this. Technorati Tags:
View On WordPress
0 notes
wforney · 5 years ago
Text
Aurelia with TypeScript on ASP.NET Core
Aurelia with TypeScript on ASP.NET Core
<p>I’ve been tracking the <a title=”ASP.NET documentation” href=”https://docs.asp.net/en/latest/&#8221; target=”_blank” rel=”nofollow noopener”>ASP.NET</a> betas and release candidates over the past year or more and it’s coming along nicely. I like the separation of client side and server side in the new folder structure and the unification of the <a title=”ASP.NET MVC” href=”https://…
View On WordPress
0 notes
wforney · 5 years ago
Text
Getting Started with Aurelia on ASP.NET Core
Getting Started with Aurelia on ASP.NET Core
<p><a href=”http://www.aurelia.io/&#8221; target=”_blank”>Aurelia, one of the leading JavaScript client frameworks for single page applications (SPAs), has been around for a while now and there are a number of resources for getting started with it. Rather than try to make yet another demo, I thought it might be fun to create a site repository that could be used as a template with a few more bells…
View On WordPress
0 notes
wforney · 5 years ago
Text
Update to ASP.NET Core
Update to ASP.NET Core
<p>Recently I updated the blog to MiniBlog.Core on ASP.NET Core. So far it seems pretty fast. I’m working on a new engine for it in my spare time using Azure Functions and blob storage. More to come when I find some time to update this.</p> Technorati Tags:
View On WordPress
0 notes
wforney · 5 years ago
Text
Temporary Post Used For Theme Detection (26dbd415-436a-4244-a199-5b54f824ff25 - 3bfe001a-32de-4114-a6b4-4005b770f6d7)
Temporary Post Used For Theme Detection (26dbd415-436a-4244-a199-5b54f824ff25 – 3bfe001a-32de-4114-a6b4-4005b770f6d7)
This is a temporary post that was not deleted. Please delete this manually. (a223f8f1-6a1c-40d0-ae24-f68ee92e3aaf – 3bfe001a-32de-4114-a6b4-4005b770f6d7)
View On WordPress
0 notes
wforney · 5 years ago
Text
A warning for anybody foolish enough to have a fingerprint reader from DigitalPersona
A warning for anybody foolish enough to have a fingerprint reader from DigitalPersona
Yeah, I know, guilty… Turns out the reason my Visual Studio 2008 has been having TypeLibBuilder.exe crash constantly on client side script is the dpAgent.exe helper process from DigitalPersona. If you kill the process all is happy again. Thanks Josh.
http://jberke.blogspot.com/2008/05/typelibbuilderexe-crashes-javascript.html
Technorati Tags: TypeLibBuilder.exe,DigitalPersona,fingerprint,reader
View On WordPress
0 notes