Quantcast
Channel: OdeToCode by K. Scott Allen
Browsing index pages (513 articles)
↧

Image may be NSFW.
Clik here to view.

Markdown Front Matter For Metadata

Continuing the story of replacing Windows Live Writer with some custom tools...In addition to image uploads and code formatting, I also needed the ability to:Specify the date and time for the post to...

View Article


Image may be NSFW.
Clik here to view.

Automatic Image Uploads with Markdig Processing

Continuing the story of replacing Windows Live Writer with some custom tools...One of the best features of WLW was the ability to paste an image into a post and have the image magically appear on the...

View Article


Image may be NSFW.
Clik here to view.

A Custom Renderer Extension for Markdig

A couple years ago I decided to stop using Windows Live Writer for authoring blog posts and build my own publishing tools using markdown and VSCode. Live Writer was a fantastic tool during its heyday,...

View Article

Image may be NSFW.
Clik here to view.

The C# Interactive Window

The C# Interactive window in VS is not the best interactive C# experience, LINQPad still has the honor, I believe, but it is a quick and convenient option for trying out a few lines of code.

View Article

Image may be NSFW.
Clik here to view.

Avoiding the Debugger with Better Logging

There's actually two reasons why I tend to avoid using debuggers. The first reason is a genuine belief that debuggers encourage short term thinking and quick fixes in software. The second reason is the...

View Article


Image may be NSFW.
Clik here to view.

Moving Complexity

I always feel a sense of satisfaction when I move a piece of complexity from outside an object to inside an object. It doesn't need to be a large amount of code, I've learned. Every little step helps...

View Article

Image may be NSFW.
Clik here to view.

Nine Performance Tips for Azure App Services

This post originally appeared on the Progress Telerik blog.IntroductionWe always want the best performance from the software we deploy to Azure App Services. Not only does better performance make our...

View Article

Image may be NSFW.
Clik here to view.

Solving Access Denied in Crypto Machine Keys

Previously on OdeToCode I posted about tracking down an AspNetCore build error. Once I realized the access denied message came from the ProgramData\Microsoft\Crypto\RSA\MachineKeys folder, I went...

View Article


Image may be NSFW.
Clik here to view.

Tracking Down an AspNetCore Build Error

Building AspNet Core from source is straightforward, unless, like me, you run into strange errors. My first build compiled over 600 projects successfully, but ended up failing and showing the following...

View Article


Image may be NSFW.
Clik here to view.

Beautiful Binary Literals

Finally! I've used binary literals in real code. This feature, and the digits separator have been good additions to the C# language. public static byte[] BreakIntoTwos(byte value) { var result = new...

View Article

Image may be NSFW.
Clik here to view.

Switch Expressions are the Best Feature of C# 8

I thought <Nullable>enable</Nullalble> would be the star of the C# 8 show by now, but in day to day work I'm finding that switch expressions are stealing the show.Size = 1 + Operands.Size;...

View Article

Image may be NSFW.
Clik here to view.

Something to Know about gRPC in ASP.NET Core 3

gRPC is a framework you can use in ASP.NET Core 3 to build APIs. The gRPC framework offers both advantages and disadvantages compared to the HTTP based APIs we’ve always been able to build using...

View Article

Image may be NSFW.
Clik here to view.

UseNodeModules Updated for .NET Core 3

UseNodeModules is a NuGet package I put together a few years ago. The package gives you an easy way to install middleware for serving content directly from the node_modules folder in an ASP.NET Core...

View Article


Image may be NSFW.
Clik here to view.

The Blazor Bet

Today's release of .NET Core 3 is significant. By supporting Windows desktop development and dropping support for the full .NET framework, v3 makes a statement - not only is .NET Core here to stay, but...

View Article

Image may be NSFW.
Clik here to view.

New Pluralsight Course – ASP.NET MVC 5 Fundamentals

Yes, ASP.NET MVC 5 Fundamentals is a new course, made from scratch, and made with care.I’ve been asked why I’m taking the time to make courses on frameworks that are old and out of fashion. The answer...

View Article


Image may be NSFW.
Clik here to view.

.NET Core Opinion 14 - Razor Pages for HTML, Controllers for APIs

.NET Core opinions are returning from a summer holiday in time to brave the melancholia of autumn.ASP.NET Core 2.0 introduced Razor Pages, which I believe are superior to the MVC framework when...

View Article

Image may be NSFW.
Clik here to view.

Thoughts on 'Are We Done Yet?'

A classic question in software is "are we done yet?". This is not just a question for software developers. Anyone who is working in IT needs to ask the question when writing code, testing a feature,...

View Article


Image may be NSFW.
Clik here to view.

Question and Answers from Pluralsight LIVE! 2019

Here are some questions, with answers, from my interview session at Pluralsight LIVE!.How did you get started in .NET programming?I was working for a Microsoft shop when Microsoft first released .NET....

View Article

Image may be NSFW.
Clik here to view.

Think Twice Before Returning null

Let’s say you are working in the kitchen and preparing a five-course meal. A five-course meal is a considerable amount of work, but fortunately, you have an assistant who can help you with the mise en...

View Article

Image may be NSFW.
Clik here to view.

Remember the Principal of Least Privilege When Upgrading Those Older ASP.NET...

When I started developing with ASP.NET many years ago, we used two tools on a regular basis. We used Visual Studio to write code for applications, and Internet Information Services (IIS) to host the...

View Article
Browsing index pages (513 articles)


Latest Images