Bashar Kokash' Blog

.Net Framework, windows and web development.

This site

Resources

Friends

Sponsors

  • MaximumASP
  • Packet Sniffer
    Custom Essay
  • premiereglobal services

Browse by Tags

All Tags » C# (RSS)
Measuring SQLCR Performance using SQL Server Profiler
Recently, I've been doing a lot of invoking .NET Assemblies within SQL Server 2005, I bloged an overview of SQLCLR here , also I posted about how to implement aggregation function in C# here . Actually invoking .NET code has many advantages but at...
USB Port Insert / Remove detection using WMI (Source Code)
This post will contain only a simple console application source code about how to detected the insertion or removal of any USB device, for more details on the code please read USB Port Insert / Remove detection using WMI using System; using System.Collections...
Posted: Mar 15 2008, 02:58 PM by BasharKokash | with no comments
Filed under: , ,
USB Port Insert / Remove detection using WMI
Almost all modern peripheral devices use the USB port as an interface to connect to the pc. This post will show how to detect an insertion or removal of a device in a USB port. I will use the Windows Management Instrumentation (WMI) which is a component...
Posted: Feb 06 2008, 09:39 PM by BasharKokash | with 2 comment(s)
Filed under: ,
Improving performance while dealing with Bitmaps using Unsafe code
Since I'm working on my graduation project ( Iris recognition system ) using C#, I got involved in building the basic methods of image processing such as: image enhancement, convert to gray, convolutions, edge detectors etc... , so I have to reach...
Posted: Nov 19 2007, 02:54 AM by BasharKokash | with 2 comment(s)
Filed under:
Convert an image to gray scale
An image in a computer consists of three main color channels, they are RED, GREEN, and BLUE. So each pixle in an image has three values one for each channel ranging from 0 up 255. In order to get the gray scale of an image one channel should be used instead...
Posted: Sep 24 2007, 02:08 AM by BasharKokash | with 3 comment(s)
Filed under:
Windows Sevice Email utility
Hi, I saw a post on the ASP.NET website that requires the following: Word files with names of particular date are stored in folder at webserver(i.e name of word file should be a date like 2.20.2007) This word file name format is like: 10.20.2007.doc One...
Increase file size to be uploaded
By Default, we can't upload files with size more the 4Mb, because it's already configured in the machine.web file. as follows: < httpRuntime maxRequestLength = "4096" /> where 4096 in kb Although you can overload these settings...
Posted: Sep 12 2007, 12:33 AM by BasharKokash | with no comments
Filed under: ,
Uploading files in ASP.NET
In this post I’ll show how to upload files to a server directory, and discuss several used techniques step by step. In ASP.NET, files can be uploaded many ways. One way is to use the FileUpload control because it’s easy and ready to use. Some...
Posted: Sep 11 2007, 10:35 PM by BasharKokash | with 1 comment(s)
Filed under: ,
The leading UI suite for ASP.NET - Telerik radControls
Outstanding performance. Full ASP.NET AJAX support. Nearly codeless development.