C# Corner

Resources  
  • 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.
  • Chat Server and Client in C# Using Remoting TechnologyFeb 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.
  • Chat Server and Client in C# Using Remoting TechnolgyFeb 16, 2001. The 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 WinForm.
  • Sticky NotepadMar 05, 2001. I wanted to experiment with writing a program that would run from the "System Tray" of window (that's where you have the date displayed...) since that's not possible with pure Java.
  • Introduction to SOAPMar 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?
  • Assemblies : The Ins and Out : Part IApr 13, 2001. In Part 1, I will cover what exactly an assembly is, and what an assembly contains.
  • Assemblies : The Ins and Out : Part IIApr 16, 2001. In this part, I will discuss both Private and Shared assemblies and how to create a "Shared Assembly".
  • Assemblies : The Ins and Out : Part IIIApr 20, 2001. In this part I will discuss in more detail than Part 2, the available utilities for manipulating assemblies.
  • Line numbering utility in C# and JavaMay 08, 2001. After reading this article Java programmers should be able to decipher and de-jargonize the .NET architecture and relate it with the proposed ECMA standard.
  • .NET framework comparison with Java ArchitectureMay 08, 2001. This article outlines Microsoft's proposed standardization of .NET framework in ECMA forum as CLI (Common Language Infrastructure), but the Microsoft documentation refer this as CLR (Common Language Runtime).
  • Line Numbering Utility in C# and JavaMay 08, 2001. This is the first of the series of programs I wish to write to help myself get a handle on C#.
  • Will Java and .Net Framework Co-exist?May 15, 2001. The article begins by briefly probing what constitutes the Java platform and .NET framework.
  • Control Statemenats - Part 1Jun 01, 2001. This lesson shows how to use c# control statements, and the difference between these controls in C++/ JAVA and c#. Sample includes single selection, if-else, and multi case ..
  • Net DDE to DOTNET RemotingJul 02, 2001. This article travel through time to trace the genesis of Dot Net Remoting right from RPC to RMI till SOAP.
  • Calling Java Program from C#Jul 18, 2001. This article shows you how to call a Java program from C#.
  • Web Service Between .NET, Java and MS SOAP Toolkit - Part IIAug 24, 2001. Second article in this series dedicated to Web services comes as a sequel to the first one in which I started to tell you how you could build different kind of clients and services using MS SOAP Toolkit, Apache SOAP for Java and .NET Framework.
  • Web Services between .NET, Java and MS SOAP Toolkit: Part 2Aug 24, 2001. This second article in this series dedicated to Web services comes as a sequel to the first one in which I started to tell you how you could build different kind of clients and services using MS SOAP Toolkit, Apache SOAP for Java and .NET Framework.
  • Web Services Between .NET, Java, and MS SOAP toolkitAug 24, 2001. This article will try to explain the how you can build web services and/or clients with any of the three languages: .NET, MS SOAP Toolkit and Java. But the real point of the article is to show you how you can build clients for web services from any of above-mentioned languages.
  • Web Services between .NET, Java and MS SOAP Toolkit: Part IAug 24, 2001. WinGhost 2.0 application allows you to show and hide applications running on your machine. I find this program useful at my work as I do lot of programming at any given time I can have a bunch windows open. I use it normally to hide just my windows I don't access that often.
  • Exception Handling in C#Jan 03, 2002. In C# Exception is a class in the system namespace. An object of an exception is that describe the exceptional conditions occur in a code That means, we are catching an exception, creating an object of it, and then throwing it. C# supports exceptions in a very much the same way as Java and C++.
  • Function Overriding and Its Impact During Object InitializationMar 25, 2002. Different languages have different ways to initialize an object. C# and Java both have almost similar ways to initialize an object with few subtle differences.
  • .NET Remoting: The Interface ApproachMar 26, 2002. .NET Remoting provides a powerful and high performance way of working with remote objects. Architecturally, .NET Remote objects are a perfect fit for accessing resources across the network without the overhead posed by SOAP based Web services. .NET Remoting is easier to use than Java's RMI, but definitely more difficult than creating a WebService. In this article, we will create a remote object, and access this object using the Interface.
  • Comparison of C# with Java: A Developer PerspectiveMay 29, 2002. The .NET is a language and operating system (on Windows as of now) independent platform pretty similar to Java.
  • Validation Server Controls in Web FormsAug 05, 2002. When working with Web applications, developers need to write two separate codes using Java Script and VB Script to validate user inputs.In this article we are going to see, how we can reduce the programmers effort on coding, reducing the execution process time and simplify the code handling and less number of lines in the coding.
  • Singleton Patterns in C# RevisedDec 16, 2002. I am coming from the Java world, where synchronizing the Singleton creation is common practice.
  • C# Versions of Java's StringTokernizerJan 13, 2003. Here is another C# version of the Java StringTokenizer Class from the version posted August last year on your site. Given a string and a set of delimiters, the class return an enumeration of substrings based on the delimeters passed in.
  • The "ins" and "outs" of Using Stored Procedures in C#Jan 27, 2003. This article reviews the creation of stored procedures with parameters using the Visual Studio IDE.
  • PERST: A Simple, Fast, Convenient Object Oriented DatabaseMar 05, 2003. PERST is a simple Object-Oriented Database implemented with pure C-Sharp and Java implementations.
  • Basics of Extending Your Working Environment in Visual StudioApr 10, 2003. All of us have used Macros in Microsoft Office and Add-ins in Visual Studio 6 and I am very sure all of us have been impressed as well by their power to control their own working environment.
  • Java Like StringTokenizer in C# Jun 11, 2003. The StringTokenizer class is yet another implementation of a java-like StringTokenizer in C#.
  • 2D ChartingAug 11, 2003. I was amazed at what the VS.NET IDE does for a programmer as I was primarily used to Java via the command line.
  • Web Services-InteroperabilityAug 04, 2004. In this article, we will see what interoperability is all about, comparison between Java and .NET interoperability, the benefits of and challenges faced in interoperability and the role of WS-I in this overall scenario.
  • Creating a Managed Automated Information Agent(mBot)Aug 16, 2004. mBot manages multiple RTC Client objects and exposes interfaces to them via .Net Remoting and .Net Web Services so that they can be managed and used remotely by other .Net applications or from entirely different platforms such as a Java J2EE/SOAP application like Jabber running on Linux or Windows.
  • 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.
  • DNS QueryAug 18, 2005. This example shows similarity of c# and java and how to implement dns query.
  • 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.
  • Navigating Data Grid using Client ScriptingNov 10, 2005. It's very common practice to use the Data Grid to present data over web pages. Though the Data Grid is provides the richer UI presentation if not coded and handled effectively it can have great performance issues. This article gives the code sample for navigating the data grid using the Client Scripting (thereby can be used for lots of validation before doing the Post Back to the server) and minimizing the round trip to server
  • How to Select all Checkbox when Header Checkbox is SelectedDec 30, 2005. Here I have provided the code using javascript to check/uncheck all checkboxes when header checkbox is checked. I recommend JAVA Script because its executed at client side and saves request Round-Trip time.
  • Web Service : Asynchronous call by using Java Script and DHTML behaviourDec 31, 2005. This article shows how to make asynchronous call of web service by using Java Script and DHTML behaviour.
  • Migrating Java RMI to .NET RemotingJan 16, 2006. .Net Remoting and Java RMI are mechanisms that allow the user to invoke method/methods in another address space. The other address space could be on the same machine or a different one. These two mechanisms can be regarded as RPC in an object-oriented fashion. This article describes how to migrate java RMI applications to .NET Remoting applications, with practical examples.
  • An Introduction to C# GenericsFeb 06, 2006. There is a reality; most of the developers confuse about C# Generics. Actually, there is no reason for that. If your background comes from C++ or Java you may understand more easily. What “Templates” tell you from your C++ knowledge or “Generics” from Java.
  • Web Services for .NET and J2EE InteroperabilityFeb 13, 2006. Web services technologies are designed to support the interoperability between many different application development platforms that exist today. This article is focused on the fundamentals of .NET and Java interoperability using Web services technologies.
  • Integrating .NET Web Services with Java and classic ASP Clients for InteroperabilityFeb 13, 2006. The goal of this article is to show to integrate Microsoft's .NET Platform Web service with other platform like Java and ASP. The samples demonstrate basic techniques and principles that are used to cross-platform interoperability via Web services.
  • Top 10 Reasons to Switch from Java to Visual C#Jun 03, 2006. This article details the major reasons for Java programmers to consider switching from the Java language to Visual C#.
  • 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.
  • Six Java features C# developers will kill for...Jul 06, 2006. Not everything on the .NET framework is perfect, and Microsoft still has more improvements to implement. This time we will look at six features available to Java developers but unfortunally absent from C#.
  • A Basic .NET and J2EE Interoperability using WebSphere MQ Sep 13, 2006. This artile explains a Basic .NET and J2EE Interoperability using WebSphere MQ. It shows the sending of message from DotNet Application then consuming by Java application using Websphere MQ and vice versa.
  • Introduction to Building a Plug-In Architecture Using C#Sep 10, 2007. In this article we'll take another look at how we can use the state pattern to build a plug-in architecture that will allow us to change the behavior of our application by placing differnt plug-ins into a folder.
  • ASP.NET Multiple File UploaderJan 04, 2008. This article tells you how to allow users to upload more than one file at a time.
  • How C# is Different From JavaJan 17, 2008. This article describes the various differences between C# and Java.
  • Comaprission of dates for a year in JavaScriptFeb 29, 2008. This article and code snippet shows how to use JavaScript to validate dates in a method for a year.
  • Opening Jars with C# Jul 07, 2008. This article shall describe an approach that may be used to extract Jar files. Jars are merely files compressed using zip compression; the primary difference between a standard trash zip file and a jar file is that the jar file includes a manifest; also a true jar files can be run as an executable on a machine equipped with the java runtime.
  • Password Encrypted Zip files in C# Oct 27, 2008. This article contains the source code for creating Zip files in C# that are password protected using PKWare encryption.
  • Introduction to Visual Studio Add-insMar 03, 2009. This article explains about Visual Studio 2008 Add-ins.
  • Introduction to Interfacing Win Forms with VS Add-insMar 04, 2009. This article explains about integration of Windows Forms with Visual Studio Add-ins.
  • Paging and Sorting ListViews with ASP.NET MVC and jQueryMar 23, 2009. This article provides a simple example of using jQuery along with the jQuery tablesorter and tablesorter.pager plug-ins to provide sorting and paging support for a listview within the context of an ASP.NET MVC application. JQuery has partnered with Microsoft and is now integrated within the IDE to include the availability of intellisense support.
  • Building your own Java Script EditorMar 23, 2009. A step by step guide for implementing your Java Script editor.
  • How to Return Value from Javascript to Server Side Dec 30, 2009. This article will teach you how to retrieve JavaScript functions Return Value to Code Behind
  • New features of Visual Studio.NET 2008 and JDeveloper 11gMar 08, 2010. In this article, I want to explain the new features of Visual Studio.NET 2008 and JDeveloper 11g which are the IDE provided by Microsoft and Oracle for the development of enterprise application for .NET and Java platform.
  • Custom WSE 3.0 Policy Assertion - Modifying the Security Header Generated by WSEMay 04, 2010. Recently I encoutered an issue in the WSE security header of an ASP.Net application consuming a Java web service using WSE 3.0 involving the automatic addition of a timestamp in the security header when the UsernameToken is added to the RequestSoapContext.
  • Book Review: Clean Code - A Handbook of Agile Software Craftsmanship May 05, 2010. I recently purchased Robert Martin's book Clean Code. Although all the examples are in Java, 99% of the book applies to C# programmers. This articles summarizes some of the main points.
  • MSN Video Chat ApplicationJun 03, 2010. This application allows any person on the Internet to use Messenger Services. There are several Messengers working parallel with MSN Messenger. aMSN, Pidgin, Miranda, Mercury(Java MSN Messenger Client) are some of them.
  • Garbage Collector in .NETDec 27, 2010. Garbage Collector is common term for developers working with high level languages such as Java, .NET, Ruby etc.
  • How to add methods to an enum in C#Mar 07, 2011. Given that C# was influenced by C and C++, this is no surprise as enums in those languages only contain constants as well. However, Java allows enums to include methods so how can we do something similar in C#?
  • Comparison of MVC implementation between J2EE and ASP.NET, Who is the best? Part 1Mar 19, 2011. This article is a comparison of MVC implementation between J2EE and ASP.NET.
  • Textbox Text Character Counter in Asp.netApr 05, 2011. In this article we'll look at creation of a JavaScript function for counting a character from a Textbox and showing how many characters remain.
  • Oracle: JDBC (Java Database Connectivity)Apr 20, 2011. JDBC (Java database connectivity) is the specification of the standard application programming interface that provides a standard library for accessing relational databases like MS-Access, Oracle or Sybase.
  • Comparison of Who is the Best? MVC Implementation Between J2EE Struts 2 & ASP.NET MVC 2 - Part 2May 06, 2011. This article will compare the frameworks of Java and ASP.NET.
  • Core Java - Start it Now!Jun 30, 2011. This article is for people who want to start learning Java (core Java), including the development tools required to start learning Java is provided herein.
  • Variables And Data Types in JavaJul 01, 2011. Some more Java basics for Java neophytes; this article is about the variables and primitive data types in Java.
  • Core Java: Type Casting And ConversionJul 04, 2011. Type casting and conversion is a basic concept in core Java that Java newcomers should consider to be as important as having breakfast. This article demonstrates how type conversions take place in Java.
  • RelativeLayout in Android Using Visual Studio 2010Jul 07, 2011. The RelativeLayout organizes layout components in relation to each other. This provides more flexibility of component positioning than LinearLayouts. The position of a view can be specified relative to sibling elements or in positions relative to the RelativeLayout area.
  • Set Path For Java in Windows XPJul 11, 2011. It's a good idea to set the path permanently instead of writing the full path each time. So, keep reading this article to learn how to set the path for Java in Windows XP.
  • Arrays in JavaJul 14, 2011. An array is a fundamental concept in core Java and is widely used in Java development. So, lets start an interesting topic.
  • Matrix Multiplication in JavaJul 20, 2011. This program is a good demonstration of 2 dimensional arrays in Java. Here, you'll learn how to implement matrix multiplication in Java.
  • Java Packages - Creation And UseJul 22, 2011. This article demonstrate how Java packages are created and used.
  • Animating Objects (Images) Using JavascriptJul 25, 2011. In this article we are going to learn how to animate images from one place to another place on the webpage. In this article I’m using the JavaScript function setInterval() and clearInterval() to move the objects.
  • Display Data From Database Through Servlet And JDBCJul 27, 2011. Here I will show you how to display data from a database through servlet and JDBC
  • Storing Compilation And Deployment of a Java ServletJul 27, 2011. It is technology to create dynamic WebPages. This is a Java program, which resides in a web server to process requests from the user and to provide a dynamic response to users.
  • First Step to Java's MultithreadingJul 27, 2011. This article helps you to understand the basics of Java's Multithreading, in a nutshell.
  • Creation of a Java Bean And How it is Used in Java Server PagesJul 29, 2011. Here you will see how to create a Java bean and how it is used in Java Server Pages (JSP)
  • Display Records of Combobox in JavaJul 29, 2011. This Java servlet will show a job to the user through a ComboBox and display the corresponding records of an employee table in tabular structure after choosing the job.
  • Create Tag Library Descriptor And Use in JSPJul 30, 2011. It is a process to create user-defined tags which can perform any task in the server. It provides a facility to separate Java code or scriptlet from JSP. This tag follows XML syntax.
  • Ins Tag in HTML5Aug 02, 2011. The ins tag defines text that has been inserted into a document.
  • Inheritance in JavaAug 02, 2011. The term "Inheritance" is discussed here. You'll also learn how to implement various kinds of inheritance in Java.
  • Java: Armstrong, Palindrome & Prime NumbersAug 03, 2011. Often, such topics are given to students as assignment. This is necessary to clear the concepts or basics of Java programming. This article might help students and newcomers to Java.
  • Polymorphism in JavaAug 05, 2011. Polymorphism is discussed in this article. You'll see, how to achieve polymorphism in Java. Method overloading and overriding are discussed as well as.
  • Fetching Value of Form Field Using Java ServletAug 29, 2011. In this article you will learn how a Java servlet can fetch a value of a form field by using getParameter() method of the servlet request.
  • Finding value of initial parameter in servletAug 29, 2011. In this article you will learn the process to read value from web.xml file into the servlet.
  • Introduction to Struts frameworkAug 29, 2011. In this article you will learn about Struts framework.
  • User Tracking Servlet in JavaSep 06, 2011. Here we will discuss about Url rewritting; a process to create an explict querystring with the help of a hyperlink.The href attribute of <a> tag can contain path of the destination with the querystring.
  • Cookies Servlet in JavaSep 07, 2011. In this article we will know how to use cookies in servlet.
  • Sesion Servlet in JavaSep 07, 2011. In this article we will know how to use session servlet in Java.
  • Permanent servlet in JavaSep 07, 2011. In this article we will know about the Permanent servlet.
  • Hidden field in ServletSep 08, 2011. In this article we will discuss about the use of the hidden field in Servlets.
  • Filter Servlet in JavaSep 09, 2011. In this article we will know the use of filter in Servlets.
  • Display Data from Database through JSP And JDBCSep 15, 2011. In this article we will know how to display the records from the database using JSP through JDBC connection.
  • Display Related Data From Database Through JSPSep 15, 2011. In this article we will know how to display related records from the database into a table when we choose any item in a combo box using jsp through jdbc connection.
  • Introduction of JSP (Java server pages)Sep 15, 2011. It is a mechanism to create dynamic web pages by using servlet behind it. Whenever a user comes to access the JSP then the web server converts the JSP into a servlet for processing the request and providing response.
  • Scope of Variable in ServletSep 19, 2011. Servlets can use four types of scope for the variables.

About JNDI-in-java

NA

SPONSORED BY

File APIs for .NET
Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!
techbash 2016