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

Category: General Programming

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 11028 views
Picture by Isabelle Portes

Print Out .NET Classes to String in C#

February 28, 2018May 15, 2020Munir HusseiniNo Comments

Ever needed to generate a string that contains the C#-Code of a .NET class (in other words, print out -NET…

Read More 10719 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 19309 views

Parse JavaScript Date From String

May 16, 2015September 28, 2017Munir HusseiniNo Comments

Suppose you have a string representation of a date, e.g. “2015-05-15T22:43:35.0962104+02:00” or “5/15/2015”, and you need to parse that string…

Read More 8220 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 7116 views

WF 4.0: NullReferenceException in ActivityXamlServices.Load

May 20, 2014Munir HusseiniNo Comments

I tried to dynamically load a workflow XAML from a database. Simple task, I thought, because there is an API…

Read More 2352 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 7270 views

Video links: JavaScript in Various Browsers

October 31, 2013Munir HusseiniNo Comments

Heer some videos about modern JavaScript engines and how to optimize JavaScript code. Shashwat Agarwal – JavaScript Engines – SpiderMonkey…

Read More 1731 views

Loading Assemblies In New AppDomain (And Unloading Them)

July 17, 2013Munir Husseini2 Comments

Today I had an issue with assemblies in an AppDomain. What I tried to do was to create a new…

Read More 5671 views

Change Current Thread’s Currency Symbol

July 16, 2013Munir HusseiniNo Comments

Consider the following code. It shows how a decimal value is converted into a string that contains an amount and…

Read More 2431 views
Load More
(c) 2011-2020 Munir Husseini