Sunday, December 6, 2026Software, technology and IT culture since 2014
Archive

Articles

1,163 articles

Articles 997–1,008 of 1,163

  1. Coding

    How to handle multipage TIFF files with ASP.NET C# (GDI+ alternative)

    If you’re into image processing using ASP.NET you’re probably well aware of what GDI+ is: in case you’re not, here it is in few words: a class-based API to handle graphics and formatted text, interacting with device drivers on behalf of applications. The good thing

    4 min read
  2. Coding

    Case-Insensitive Dictionary in ASP.NET C#

    When working in ASP.NET, we often make use of the powerful Dictionary class, which is one of the most awesome ways – although not always the most efficient one – to handle key-value pairs of (almost) any sort. When using a String object as key,

    2 min read
  3. Coding

    HTML input type number with (localized) decimal values using JQuery

    Among the many great features introduced with HTML5 there are the new types added for the elements: these are color, date, datetime-local, email, month, number, range, search, tel, time, url, week. If you’re into web design you most certainly know how painful it was to

    3 min read
  4. Coding

    How to strip invalid characters from an UTF-8 XML file or string in PHP

    Yesterday I wrote something about stripping out P7M data from a XML P7M file or string, as long as it was encoded using CAdES format. It was quite ugly, yet it does the job for the most part – which is stripping the header &

    3 min read
  5. Operating Systems

    How to retrieve the Windows 10 Product Key from BIOS / UEFI / Windows Registry

    Do you remember the good old times when PC manufacturers used to apply those fancy stickers to the back of your laptop or desktop PC depicting your Windows Product Key? If you’re a system administrator you probably already know that these times are gone since

    3 min read
  6. Operating Systems

    How to go into Safe Mode in Windows 10 without having to log in

    Among the many changes introduced with Windows 10 there is one that nearly no one is happy about: the missing F8 key (or SHIFT+F8) we could press to activate the boot selection screen, where we could choose between various startup settings – including Safe Mode,

    3 min read
  7. Web

    How to block File Sharing for one or more IP Addresses in Windows

    A rather common requirement in Windows-based networks is restricting the access to the shared file system for some specific machines. The reasons for wanting that can be many: security issues, simplifying the user experience for non-expert operators and so on. For almost all of them

    3 min read
  8. Coding

    PHP - How to strip P7M data from a XML.P7M file or string (CAdES, FatturaPA)

    Some days ago I had to write some PHP code to extract the contents from some XML files (italian electronic invoices for Public Administrations, also known in Italy as FatturaPA): the work was pretty simple, yet I had to quickly solve two main problems: extracting

    3 min read
  9. Coding

    How to URLEncode in UTF8 with Visual Basic 6

    Visual Basic 6 (VB6) is like a mythical creature: no matter how hard you try to get rid of it, it always comes back haunting you sooner or later: most of the times it assumes the form of some old and outdated home-made software you

    3 min read
  10. Coding

    Get a File Content-Type / MIME-type from file extension in ASP.NET C#

    How can I get the MIME type from a file extension in C#? This is a rather common question among developers, an evergreen requirement that I happen to heard at least once a year from friends & colleagues working with ASP.NET MVC,ASP.NET Web API and

    15 min read
  11. ASP.NET

    ASP.NET - CSS Media Queries in Razor Pages - How to embed @media syntax

    If you’re working with ASP.NET MVC or ASP.NET Core using Razor pages and you want to put a CSS style within the page (CSS embed), you might stumble upon one of these following errors: CS0103: The name ‘media’ does not exist in the current context.

    1 min read
  12. Coding

    ASP.NET C# Helper Class to execute a ICMPv4 PING to any remote host using hostname or IP Address

    Today I want to share this small, yet useful C# helper class that I still use when I need to retrieve, check or validate one or more IP Addresses registered on the Web Server. You can use it for a number of tasks/scenarios, including: Retrieve

    2 min read

Newsletter

Get our new articles, in-depth pieces and updates on our software projects.

We will ask you to confirm your subscription by email. You can unsubscribe at any time; your data is handled as described in the privacy policy.

{"prefetch":[{"source":"document","where":{"and":[{"href_matches":"/*"},{"not":{"href_matches":["/wp-*.php","/wp-admin/*","/wp-content/uploads/*","/wp-content/*","/wp-content/plugins/*","/wp-content/themes/monstrance-ryadel/*","/wp-content/themes/monstrance/*","/*\\?(.+)","/*ao_noptirocket*","/*jetpack=comms*","/*kinsta-monitor*","/*ao_speedup_cachebuster*","/*removed_item*","/my-account*","/wc-api/*","/edd-api/*","/wp-json*"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]}