Quantcast
Channel: Rick Strahl's Web Log
Browsing latest articles
Browse All 699 View Live

Using .NET Native AOT to build Windows WinAPI Dlls

Did you know that you can use .NET AOT compilation to create native Windows DLLs to potentially replace traditional C/C++ compiled DLLs? It's now possible to build completely native DLLs that can be...

View Article


Image may be NSFW.
Clik here to view.

Revisiting C# Scripting with the Westwind.Scripting Templating Library, Part 1

This is a two part series that discusses the Westwind.Scripting Template libraryPart 1: An introduction to Template Scripting and how it works (this post)Part 2: Real world integration for Local...

View Article


Image may be NSFW.
Clik here to view.

Putting the Westwind.Scripting C# Templating Library to work, Part 2

This is a two part series that discusses the Westwind.Scripting Template libraryPart 1: Revisiting C# Scripting with the Westwind.Scripting Templating LibraryPart 2: Real world integration for a Local...

View Article

Image may be NSFW.
Clik here to view.

Getting the Client IP Address in ASP.NET Core

When I need to pick up the client IP Address in ASP.NET Core I always forget where to find the connection information.It's also useful to remember that if requests are proxied we need to return the...

View Article

Image may be NSFW.
Clik here to view.

Running ASP.NET Core Applications in an IIS Subfolder Application

ASP.NET Core applications by default want to run in a root folder - and to be fair that's the 99% use case. But there are those occasional situations where you want to run a Web site in a sub folder...

View Article


Image may be NSFW.
Clik here to view.

Lost ASP.NET Identity Cookies on IIS Application Pool Restarts

Last week I finally updated my blog and moved it to .NET 10 from the ancient WebForms based engine I built 20 years ago. The app is deployed onto a Windows server running IIS and I ran into a snag...

View Article

Image may be NSFW.
Clik here to view.

Creating a Packaged Windows Single File Web Site Viewer Executable

This post falls squarely into the stupid pet tricks category, but I'm going to post about it anyway, because it was an interesting experiment in dynamically creating a single file, self-contained...

View Article

Image may be NSFW.
Clik here to view.

Creating Dual Use Windows GUI and Console Applications

In my last post I described a WebPackageViewer tool tool that acts as a static Web site packager and self-contained Web site viewer all contained in a single Executable. One feature of this single...

View Article


Image may be NSFW.
Clik here to view.

Getting Inherited Controller Routes to work in ASP.NET Core

By default ASP.NET applies Controller Attribute Routes on concrete types. If you create a Controller class, the class and its routes are automatically recognized by ASP.NET during the startup process....

View Article


Image may be NSFW.
Clik here to view.

Back to Basics: JavaScript and Timezones

Classic native Date values in JavaScript are internally represented as UTC dates. However, when you display values they are by default shown as local date/time values. I've run into this recently...

View Article
Browsing latest articles
Browse All 699 View Live


Latest Images