No new comments.
View All Comments
No new messages.
View All Messages
No new notifications.
View All Notifications
Request a new Category
No tag found
Refine by Author
Amit Kumar Agrawal(2)
G Gnana Arun Ganesh(1)
John O Donnell(1)
John Charles Olamendy(1)
No resource found
Asynchronous Request in .NET (C#)
Jan 09, 2000.
This code sample shows how to call a COM component in .NET framework using C#.
Creating a Class and Call it from Main Program
Sep 30, 2000.
This article explains how to create your class, add some functions and call it from Main function.
A Simple Calculator Class
Nov 28, 2000.
Code sample shows how to create a simple calculator class and call it from Main C# program.
Creating an Empty Project using VS.NET
Dec 04, 2000.
This tutorial guides you towards your first C# Empty project step by step. After that I'll show you how to add a class to the project and few members to the class and call this class members from the main method.
Creating C# Class Library (DLL) Using Visual Studio .NET
Dec 09, 2000.
This tutorial explains how to create a C# class library(dll) and call it from a C# console client application.
Calling a COM Component From C# (Late Binding)
Jan 08, 2001.
This code sample shows how to call a COM component in .NET framework using C#.
New Modifiers in C#
Jan 26, 2001.
If you come from a C++ or Java background to C# then you will of course notice some strange keywords introduced to this new language, especially the "new" and "override" modifiers.
Implementing Delegates in C#
Feb 04, 2001.
The Zip file contains two projects. One is VB.Net and the other is C#. Each project is an example of the same use of a delegate. A base class is derived and the delegate calls a method on several classes derived from the base class.
Chat Server and Client in C# Using Remoting Technology
Feb 16, 2001.
This application is a simple Chat server and Client, which is conversion of Java RMI chat server and client. The Java client was a Applet and present application client in Windows Forms.
Using Transforms with GDI+ in C#
Mar 15, 2001.
Transforms are matrices that allow you to rotate and translate your graphics shapes. In this example we are going to rotate a very powerful element in C# called the GraphicsPath.
Introduction to SOAP
Mar 22, 2001.
Since the release I have been fascinated with this thing called SOAP, This bubbly new protocol backed by the power of XML is certainly going to make waves in the world of distributed computing. The first thing which comes into our mind is “Why the heck we didn’t think of this before?
Using Delegates to Choose Right Function
Apr 01, 2001.
The need to call different class method based on some string passed to class is an old problem.
Writing Secure Code using C#
Apr 06, 2001.
Code access security is a mechanism that grants/denies access to resources within a method call. For example, code written by a person may be allowed to write to the disk while code from another one may be forbidden from accessing the disk. This control can be enforced even if the code written by both of them is used within a single application
Understanding How Assert Effects Security
Apr 25, 2001.
Assert is a security action that is evaluated at run time. Code Access Permission classes and Permission Sets support a method called Assert. Using the Assert method to control access to resources or actions will allow your code to perform actions that it normally has permission to perform and will allow other callers up stream in the call stack to have access that they would not normally have.
Ouch! There is a Hook in My C#
May 15, 2001.
As an extension to the J++ design practice, C# has a syntactic construct, called Attributes, which let you drop hooks to Windows API or modify the runtime semantics, like threading synchronization behavior. The C# has legalized the hooking practice by calling them Attributes, and including them in ECMA C# specification.
Jun 22, 2001.
This compopnent contains both a TCP/IP server and client. TcpIpClient inherits from System.Net.Sockets.TCPClient and is very straight forward. After construction, specifying the host and port, a network connection is established by calling Connect(). Internally, upon a successful connection, the client receives a TcpIpPacket, which contains a unique cookie that is used in any subsequent transactions.
Calling Java Program from C#
Jul 18, 2001.
This article shows you how to call a Java program from C#.
Get the Place Game in C#
Aug 14, 2001.
I have written a game in C# called Get the Place.
Call Control in Mobile Internet Toolkit
Aug 24, 2001.
This only provides you to make you calls easier but also gives a nice look to your program.
Brick Out in C#
Sep 17, 2001.
Way back, I'd say about 1981 (ok maybe not so far back!), there was a game for the Apple II called Brick Out.
IComparable: Under the Hood
Sep 21, 2001.
We now calling Array.Sort() on C# Types such as int, char, string will automatically do sorting based on that type.
Encapsulation in C#
Oct 12, 2001.
In Object Oriented programming Encapsulation is the first pace. Encapsulation is the procedure of covering up of data and functions into a single unit (called class).
Introduction to Pocket PC
Oct 31, 2001.
At the time of writing (Oct 2001) Microsoft has shipped Pocket PC 2002 and also has just released the Visual Studio .NET add-on for Pocket PC called the compact framework.
Mark Six on the Fly
Dec 04, 2001.
In this sample, I demonstrate how a WebForm can be called directly as an Image.
C# and ActiveX DLL
Dec 14, 2001.
As you know with Visual Basic 6.0, it is possible develop a COM server and implement them in a Visual Basic client program. But this is being done by using Visual Basic. You may wonder about the idea of calling this DLL in a C# Application. Well, C# language provides us a way to call this COM server in a program. When we compile a C# program an Intermediate Language is generated and it is called as Managed Code.
Graphics Programming in C#
Dec 26, 2001.
The new improved version of GDI is called GDI+. The .NET framework provides a rich set of classes, methods and events for developing applications with graphical capabilities.
Returning an Array Listing using Remote Procedure Call
Dec 26, 2001.
In this article we will create a Web Service that will return an ArrayList of students.
SOAP Message with Binary Attachments
Feb 28, 2002.
Recently Microsoft announced new format called DIME: Sending Binary Data with Your SOAP Messages.
Calling Managed Code from Unmanaged Code
Mar 11, 2002.
One significant part of developers (including myself) are doing some kind of automation of Microsoft Office. So I will concentrate on opposing side of problem, how to use managed assembly from MS Office or VB script. In this article, I will discuss how to call managed code from unmanaged code.
.NET COM Interoperability - Part 1: Using COM Components from .NET Framework
Apr 02, 2002.
The DotNet framework exposes COM objects through a proxy called the runtime callable wrapper (RCW). The primary function of RCW is to marshal call between a managed client (.Net) and unmanaged COM object. The runtime maintains a single RCW for each COM object.
.NET COM Interoperability - Part 2: Using .NET Component from COM
Apr 02, 2002.
When a COM client calls a DotNet object, the DotNet framework will create a COM callable wrapper (CCW). COM clients use the CCW as a proxy for the managed object.
WhoIs in ASP.NET
Apr 15, 2002.
Quite often you want to know who owns a particular domain. To obtain the registry information, you go to the respective registry and start a so called WHOIS query (lookup).
A Database Component: Inserting Serializable Objects
Apr 23, 2002.
The attached zip file contains two projects - a database component (DLL) project and a Windows forms project called Test. Both projects are written and compiled using Visual Studio .NET version 1.0.
An XY Plot User Control in GDI+
May 24, 2002.
This is a follow up of the article written originally for the beta version of .NET. called, A Graphics Component in C#.
Using MSIL Code to Close Application Programmatically
Jul 18, 2002.
You can use MSIL code to call Win32 APIs and one of the simplest example of it is by closing an application programmatically.
Calling Procedural COBOL from VB.NET
Aug 28, 2002.
Many clients will have existing COBOL source code that they will want to use within the .NET Framework.
Calling Procedural COBOL from C#
Sep 05, 2002.
In a previous article we discussed how to call procedural based COBOL programs from VB.NET.
Working with COBOL Data Groups in C#
Sep 11, 2002.
In this article we will begin with a C# console application calling a COBOL DLL file. The C# application will pass it a number of occurrences to create in the table (much like a user requesting a specific number of months to report on).
Remoting Calls Recommendations
Sep 19, 2002.
The goal of this article is not to describe remoting technology in details. It is more focused at the practical design and implementation mistakes during development process concerning garbage collection and performance.
Remoting Calls Recommendation
Sep 19, 2002.
The goal of this article is not to describe remoting technology in details. It is more focused at the practical design and implementation mistakes development process concerning garbage collection and performance.
Remote Procedure Calls using SOAP
Oct 04, 2002.
Here is the sample RPC (remote procedure call) using SOAP ( simple object access protocol).
ATL COM Component, ASP.NET Web Service, and VB Client
Oct 14, 2002.
This article describes how to use ATL COM Components in ASP.Net web service and how to consume the ASP.Net Web Service from Visual Basic 6 Client. Ultimately the VB6 client calls the method of the COM component created in Visual C++ through the ASP.Net Web Service.
Printing Directly to the Printer
Oct 21, 2002.
Using this code enables you to print directly to the printer using WIN32 api calls and therefore should enable you to print at maximum speed rather than relying in the Windows Printing subsystems.
Platform Invocation Services in .NET Framework
Oct 25, 2002.
This article will cover the details of Platform Invocation Services provided in .Net Framework. Platform Invoke Services acts as a bridge between the managed and unmanaged code. This service enables managed code to call unmanaged functions which are being exposed by any dynamic link libraries (DLL’s) such as Win32 API’s or any custom DLLs.
Working with Win32 API in .NET
Nov 21, 2002.
Windows exposes lots of functionality in the form of Win32 API. Using these API you can perform direct operation in windows, which increases performance of your application.
DigitizeAny - A .NET Windows Digitization Tool
Dec 17, 2002.
DigitizeAny uses Win32 API calls to obtain the coordinates of the cursor and then translates to the graph coordinates once set. Since a mouse click would essentially bring to focus the window where it is pointed to, this tool uses the key event to capture the coordinates of the cursor.
Accessing COBOL Properties with C#
Apr 02, 2003.
This article will review a new option for exposing those assets via the use of Properties.
BuckyBalls: An Animated DirectX9 Demonstration
Jun 02, 2003.
BuckyBalls is an animated Managed DirectX demonstration. A buckyball, or fullerene, is a complex carbon molecule whose full name is buckminsterfullerene. The molecule contains 60 carbon atoms which form what is called a truncated icosahedron. It is shaped like a soccer ball or a geodesic dome, and is named after Buckminster Fuller, the inventor of the geodesic dome.
Using Linked List in C#
Jun 25, 2003.
What we going to make is a linked list. Yeah I know there is a class which does the same as a linked list called ArrayList, but we (as a diehard C# programmer) want absolute control and knowledge of what we use.
Aug 05, 2003.
This article explains hot to define and use methods in C#.
Dynamic Data Grid for Windows Forms Sizing Routine
Nov 11, 2003.
This article and the attached source code project is called GridLayoutHelper and it allow you to size a Windows Forms DataGrid much like you can an ASP.NET DataGrid.
Migrating COM/DCOM Applications in Microsoft .NET Framework
Dec 09, 2003.
In the current Internet scenario, various classic applications run on multiple networks. These applications could have been written using different languages like Visual Basic, Visual C++. For example, a retail organization would have different systems, such as an inventory management system, a bill of material systems, and a general ledger system, all implemented using various technologies available for application development. These systems need to be integrated to form a higher-level enterprise information system for an organization.
Automatically Break into Code When Calling Debug.Assert
Dec 22, 2003.
This sample creates a dll that once referenced by your ASP.Net or Web Service app, just adding a small block of xml into your web.config file will cause the debugger to automatically break into your code.
Distributed Computing Using .NET Remoting
Jan 05, 2004.
AppDomain is an isolated environment for executing Managed code. Objects within same AppDomain are considered as local whereas object in a different AppDomain is called Remote object.
Training and Simulating a Neutral DotNetwork in C#
Jan 16, 2004.
In this article we will explore a well-known AI algorithm for modeling the training of neural networks called back propagation.
Configuring Publisher Policy File
Feb 20, 2004.
Versioning in the Microsoft .NET Framework is managed at the assembly level and is only used when locating strong-named assemblies. By default, the common language runtime loads the assembly whose entire version number matches the version number in the calling assembly's metadata.
Constructors In C#
May 06, 2004.
This article explains constructors in C# with sample examples including constructor overloading, static constructors, and constructor chaining.
HTML Client for Web Services using DHTML Behavior
May 23, 2004.
In this example we will access a Web Service created in C# from an HTML client.
Difference between passing reference types by ref and by value
Sep 02, 2004.
We all know the difference between passing value types byval and byref, if the variable is passed byval any change to the variable value in the called function is not reflected back in the callee.
Writing unsafe code - pointers in C#
Oct 13, 2004.
In this article I will give a short description of one of the feature of C# which are pointers and so-called unsafe code. This subject is particularly close for C++ programmers. Moreover, it is a feature that we do not find in Java.
Moving C Structures into .NET with Custom Marshaling
Dec 17, 2004.
Microsoft provides several attributes for marshaling C to C#. In our example we will take the case where we have hundreds of structures and only a few API calls, so we only need to generate the marshaled code for the structures.
How to Call a .NET Assembly From a SQL Server Scheduled Job
Apr 27, 2005.
This article shows you a step-by-step implementation of a COM client (a SQL Server scheduled Job) using .NET and C#.
Measure Web Service Performance using NetMon
May 03, 2005.
This article gives an idea how to identify the performance of web method calls by using NETMon tool.
Anonymous Method to Retrieve Data Reader Passed from DAL
May 03, 2005.
Anonymous method is a new feature in C# 2.0 that allows you to define an anonymous method called by a delegate.
AI: Population based Incremental Learning in C# and .NET
May 22, 2005.
In this article I would like to discuss another offshoot of the genetic algorithm called Population Based Incremental Learning (PBIL).
Enabling Membership Provider for SQL Server 2005
Aug 22, 2005.
ASP.NET 2.0 brings an important concept called provider model which is used for many new feature i.e. Membership Management, Role Management, Profiles, Web Parts Personalization etc.
Migrating from Java to C#
Oct 03, 2005.
Microsoft has created a tool called Java Language Conversion Assistant (JLCA), which automatically converts Java code into C# for developers who want to move existing applications to the .NET Framework.
Delegates and Events in C#
Oct 05, 2005.
A delegate in C# is similar to a function pointer in C or C++. Using a delegate allows the programmer to encapsulate a reference to a method inside a delegate object.
Building Managed Code Using Common Language Runtime (CLR) Integration in SQL Server 2005
Oct 24, 2005.
In this article I am going to talk about a cool new feature of SQL Server 2005 called "CLR Integration", its advantages and how to program database objects using managed code with a simple project in Visual Studio 2005 beta 2.
How do I Implement Custom Event Handling in C#
Oct 27, 2005.
In this article, we are going to show, how we can call custom event on our designed conditions.
Building Windows Longhorn Applications using Visual Studio codename Whidbey
Nov 15, 2005.
The preview version of the next version of Visual Studio 2003 is called Visual Studio codename Whidbey. Visual Studio Whidbey has a support for building applications for Windows codename Longhorn, which is a new addition to the Windows operating systems series and successor of Windows XP.
Web Service : Asynchronous call by using Java Script and DHTML behaviour
Dec 31, 2005.
This article shows how to make asynchronous call of web service by using Java Script and DHTML behaviour.
Learning Delegates in C#, an Introduction
Jan 03, 2006.
There is this thing in C# called a delegate, which is going to be crucial to build interactions between our objects. What’s a delegate, you ask? Good question. A delegate is a pointer to a method. What’s that mean? Just like you can pass variable by reference, you can pass a reference to a method. Let me give you an example.
Introduction to new SECS/GEM driver using SecsToTool.Net
Jan 06, 2006.
SecsToTool.Net is a connectivity solution for the semiconductor equipment that support SECS/GEM communication interface. The SecsToTool.Net SECS/GEM driver SDK is designed to provide a high level method call/reply and event driven environment for your host application (or what we normally called Cell Controller/Station Controller/Equipment Manager) to communicate with equipment.
Abstract Factory Design Pattern in ADO.NET 2.0
Feb 17, 2006.
This article will discuss the Abstract Factory Design Pattern and its real-world applications in .Net Framework 2.0.
Thread Synchronization using VS.NET 2005
Feb 27, 2006.
When two or more threads need access to a shared resource, they need some way to ensure that the resource will be used by only one thread at a time. The process by which this is achieved is called synchronization.
Nullable Types in C#: Basic Introduction
May 02, 2006.
This article gives a quick view in to the problems faced with the value type objects and the solution to the problems. This beautiful facility is introduced by Microsoft as an concept called “Nullable Types” in the C# 2.0.
Six C# features Java developers will kill for...
Jun 21, 2006.
C# is called Java on steroids, and everyone agrees that it is based on some long-time Java ideas and concepts. But, there are differences, and some of them make C# very powerful compared to Java. Here are six of them.
Calling the Server-Side method asynchronously from Client Script
Jul 19, 2006.
Introduction to .Net Framework 2.0 Nullable Types
Aug 23, 2006.
Sometimes you work with a value type that does not have a defined value in certain circumstances. For example, a field in a database might need to distinguish between having been assigned a meaningful value and never having been assigned a value. Value types can be extended to take either their normal values or a null value. Such an extension is called a nullable type
Multithreading Made Easy in .NET 2.0
Aug 31, 2006.
This article demonstrates a very easy alternative to normal multithreaded programming in .NET. A freely available library called CSP.NET is presented and a sample application shown.
Using Genetic Algorithms to Determine Calculus Derivative Functions in C# and.NET
Nov 28, 2006.
This article describes how you can use genetic algorithms in .NET to determine derivatives of mathematical functions. The program uses an algorithm called Multiple Expression Programming (MEP) inside the genomes to exercise a function tree.
The .Net Way of Calling APIs
Jan 01, 2007.
This article explains how an API can be called from .Net
The GOF "Chain of Responsibility" Design Pattern
Jan 18, 2007.
The Chain of Responsibility pattern is used to pass responsibility for handling a call to another class. This article gives a basic overview of the pattern.
Obtain System Information using WMI Calls
Apr 06, 2007.
This article shall describe an approach to using Windows Management Instrumentation (WMI) calls to obtain system information.
Using a Genetic Algorithm to Do Consultant Scheduling in C#
Apr 09, 2007.
This article describes a way to use a type of genetic algorithm called PBIL (Population Based Incremenetal Learning) to optimize the scheduling of consultants on a group of 5 project.
Multi-threaded Asynchronous Programming in C#... Getting started.
May 12, 2007.
Trying to build better solutions and growing as a developer has always been fun for me and I’m always looking for ways to build more scalability and robustness in the software I am writing. I had a revelation that I’ve been doing a lot of C# tweaking but not taking advantage of the core performance enhancements cooked right into C# and it all comes down to one thing: Asynchronous multi-threaded programming.
C# Asynchronous, Multi Threaded Development... Digging In. Part II
May 13, 2007.
In this article we'll dig a bit deeper into what is actually happening when we use the asynchronous calls using C#. Just as in my previous article, we'll simulate a long running I/O bound process as if we were fetching records from a database, making a web service call or reading or writing from a file and see how we can write more performant code by letting the main thread continue on and not wait for the results.
Multi-threaded Asynchronous Programming in C#... Event-Driven Architecture. Part IV.
May 14, 2007.
This is a continuation of a set of articles on Asynchronous multi-threaded development using C#. In this article we'll cover the basics of building an event-driven architecture which will be a basis for most multi-threaded apps. Also we'll cover async read/write operations on a file.
Multi-threaded Asynchronous Programming in C#. Async Database Calls. Part III.
May 14, 2007.
In my last couple articles we looked at basic ways to have long-running i/o bound process be handled by the ThreadPool using the asynchronous programming model. In this article we’ll take a look at coding async calls against SqlServer which really comes in handy in production environments where our database is on another machine.
Multi-threaded Asynchronous Programming in C#... Through The Web Service. Part V
May 27, 2007.
In my last article I discussed a general approach to building an async architecture. In this article we’ll look at extending this basic architecture and incorporating async web services.
Scheduled WebService call using Windows Service
Jun 21, 2007.
This Windows Service will call the web service at the Time mentioned in the App.config file. The Schedules can be made Monthly, Weekly and Daily (To be Set in the App.config file).
Calling Oracle stored procedures from Microsoft.NET
Jun 29, 2007.
This article is intended to illustrate how to illustrate how to call Oracle stored procedures and functions from Microsoft.NET through the Microsoft.NET Oracle provider and its object model residing in the namespace System.Data.OracleClient. I will cover several possible scenarios with advanced examples.
KillerBeam - A Game in C#
Jul 17, 2007.
KillerBeam is a .Net implementation of the game called Laser Chess which appeared in Compute! Magazine in the early eighties.
Multi-threaded Asynchronous Programming in C#... Through The Web Page. Part VI
Jul 27, 2007.
Async web pages which are primarily used as a server performance enhancement. There are two main methods we will be looking at that are used to execute operations asynchronously from web pages: Page.AddOnPreRenderCompleteAsync() and Page.AddOnPreRenderCompleteAsync().
C# Asynchronous Multi-Threaded Active Directory User/Group Browser
Oct 01, 2007.
I was working on a win forms project that queries Active Directory information for user and group information and thought the approach may be of interest to some c-sharpcorner readers as a simple example of a asynchronous multi-threaded win forms application.
Working with Delegates: Part I
Oct 04, 2007.
We all are well aware about functions. In conventional way, we create object and we call object.method(). We know that they perform some given task and returns results based on the parameters we passed to them.
Functional Programming in C#: Currying
Jan 13, 2008.
Currying is a way to re-write a function with multiple arguments in such a way as it can be called as a chain of functions each with a single argument. This article covers using a few simple utility methods you can use to curry your methods.
Functional Programming with C#: Asynchronous Method Calls
Jan 20, 2008.
With the functional programming style and extension methods it is extremely easy to execute methods asynchronously. This article cover some simple extension methods that will allow you to easily execute your methods asynchronously with threads from the thread pool.
Functional Programming with C#: Advanced Asynchronous Programming
Jan 21, 2008.
I wrote about functional asynchronous programming in an earlier article and now will expand on the topic to look at ways to re-synchronize results from asynchronous function calls.
Spire.Doc - Free .NET Word API
Use Spire.Doc to create, read, write, print, and convert word documents to OpenXML, RTF, TXT, XPS, EPUB, EMF, HTML, Image and PDF.
CBeyond Cloud Services
TERMS & CONDITIONS
REPORT A BUG
©2016 C# Corner. All contents are copyright of their authors.
Terms & Conditions
©2016 C# Corner. All contents are copyright of their authors.