Close
Skip to content

Softwareproduction

Software Development Blog, mainly C# and .NET

  • ASP.NET Core
  • Mobile Development
  • Code Generation
  • General Programming
  • Development Tools
  • Servers
  • Miscellaneous

Tag: C#

Network cables

C#: Select All Active Local IP Addresses

June 9, 2018May 13, 2020Munir HusseiniNo Comments

To select all active local IP addresses (v4), use the following C# code:

Read More 9794 views

C#: Loading Dynamic Assemblies Into Other AppDomains

May 27, 2015September 28, 2017Munir HusseiniNo Comments

So you have generated dynamic assemblies (like here) and want to load the assembly into a new (or at least…

Read More 17211 views

Modify Web Platform Installer Configuration with C#

October 22, 2014Munir Husseini3 Comments

This post shows how to modify the WPI preferences file using C#. This file contains the configuration of the UI version of Web Platform Installer.

Read More 6084 views

Dynamically Determine MIME Types in C#

March 10, 2014Munir Husseini5 Comments

Suppose you need to determine the MIME type for a given file extension in your code. Since Windows already knows…

Read More 5510 views

A Flexible And Convenient Type Conversion Helper in C#

May 21, 2013July 30, 2020Munir HusseiniNo Comments

Every once in a while I need to convert objects of an unknown type into a known type; sometimes these…

Read More 1760 views
(c) 2011-2020 Munir Husseini