• Skip to main content
  • Skip to primary sidebar

Technical Notes Of
Ehi Kioya

Technical Notes Of Ehi Kioya

  • Forums
  • About
  • Contact
MENUMENU
  • Blog Home
  • AWS, Azure, Cloud
  • Backend (Server-Side)
  • Frontend (Client-Side)
  • SharePoint
  • Tools & Resources
    • CM/IN Ruler
    • URL Decoder
    • Text Hasher
    • Word Count
    • IP Lookup
  • Linux & Servers
  • Zero Code Tech
  • WordPress
  • Musings
  • More
    Categories
    • Cloud
    • Server-Side
    • Front-End
    • SharePoint
    • Tools
    • Linux
    • Zero Code
    • WordPress
    • Musings

C#

Uploading files to a REST endpoint using C#

October 28, 2016 by Ehi Kioya 1 Comment

Uploading files to REST API using C#

Use this solution for uploading files to any REST endpoint using C#. Unlike the WebClient.UploadFile method from the .NET framework, this technique allows you to pass custom parameters that may be required by your API.

Filed Under: Backend (Server-Side), C# Tagged With: CSharp, Programming, REST API

Delete Folder With Read-Only Contents Using C#

January 28, 2016 by Ehi Kioya Leave a Comment

Delete Folder C#

To delete a folder and its contents using C# is not necessarily as easy and straightforward as you might think. It becomes tricky when one or more files are marked as read-only. Here’s a recursive helper method.

Filed Under: Backend (Server-Side), C# Tagged With: CSharp, Programming

Iterating List Items In Batches With C# [Chunking]

January 28, 2016 by Ehi Kioya Leave a Comment

Chunking An Enumerable In C#

There are lots of programming situations where it is necessary to break up a large amount of work into smaller more manageable pieces or chunks. The technique is known as “Chunking” and is frequently used when a huge list needs to be iterated in batches of say, 100 items at a time.

Filed Under: Backend (Server-Side), C# Tagged With: Chunking, CSharp, Programming

Get Network Path Of Mapped Drive With C#

June 16, 2015 by Ehi Kioya Leave a Comment

network path of mapped drive c#

There are a number of resources out there that attempt to explain how to get the network path of a mapped drive letter or path. However, I found most of them to be incomplete and/or full of errors. Two potential solutions are discussed here. One uses PInvoke the other is a pure .NET method.

Filed Under: Backend (Server-Side), C# Tagged With: CSharp, MappedDrive, Programming, UNC

Add Row Numbers To DataGridView in C#

March 11, 2013 by Ehi Kioya 3 Comments

DataGridView Image

The DataGridView is the control that is mostly used for displaying the contents of lists, tables etc. However, the built-in version of this control doesn’t allow for adding row numbers/count via its properties. This feature is often required because it is difficult to keep track of the records in a table with 1000 rows if row numbers are not displayed.

Filed Under: Backend (Server-Side), C# Tagged With: CSharp, Programming

Prevent Multiple Instances of Same Application in C#

March 11, 2013 by Ehi Kioya 3 Comments

Multiple Instance Image

By default, .NET windows forms applications generally allow multiple instances of the same application to be started on the same machine. However, if two or more threads attempt to access a shared resource such as shared memory at the same time, concurrency issues may occur. And in a production environment, this might result in data inconsistency or inaccuracy.

Filed Under: Backend (Server-Side), C# Tagged With: CSharp, Programming

  • « Go to Previous Page
  • Go to page 1
  • Go to page 2
  • Go to page 3
  • Go to Next Page »

Primary Sidebar

26,141
Followers
Follow
30,000
Connections
Connect
14,643
Page Fans
Like

POPULAR   FORUM   TOPICS

  • How to find the title of a song without knowing the lyrics
  • Welcome Message
  • How To Change Or Remove The WordPress Login Error Message
  • The Art of Exploratory Data Analysis (Part 1)
  • Replacing The Default SQLite Database With PostgreSQL In Django
  • How to Implement Local SEO On Your Business Website And Drive Traffic
  • Getting Started with SQL: A Beginners Guide to Databases
  • Installing Facebook Pixel on Your Business Website
  • The Rise of the No Code Movement
  • WordPress vs Blogger – Pros and Cons
  • Recently   Popular   Posts   &   Pages
  • Actual Size Online Ruler Actual Size Online Ruler
    I created this page to measure your screen resolution and produce an online ruler of actual size. It's powered with JavaScript and HTML5.
  • WordPress Password Hash Generator WordPress Password Hash Generator
    With this WordPress Password Hash Generator, you can convert a password to its hash, and then set a new password directly in the database.
  • Allowing Multiple RDP Sessions In Windows 10 Using The RDP Wrapper Library Allowing Multiple RDP Sessions In Windows 10 Using The RDP Wrapper Library
    This article explains how to bypass the single user remote desktop connection restriction on Windows 10 by using the RDP wrapper library.
  • « Go to Previous Page
  • Go to page 1
  • Go to page 2
  • Go to page 3
  • Go to Next Page »
  • Forums
  • About
  • Contact

© 2021   ·   Ehi Kioya   ·   All Rights Reserved
Privacy Policy