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 ..
  • Catch Hold of Device CapabilityJun 05, 2001. If you are developing Mobile Application and been through the different standards in Market.
  • TCP/IPLib SampleJun 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.
  • 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#.
  • Mobile Device CapabilitiesAug 01, 2001. This article explains about mobile devices and their capabilities.
  • 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 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.
  • 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.
  • 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.
  • Form Authentication for Mobile ApplicationsMay 28, 2002. In this example we will authenticate mobile web users for our application using Forms Authentication.
  • 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.
  • J2EE to .NET Migration: Quick TipsMar 26, 2003. Here are some Quick tips to get you started, in case you need to migrate a J2EE based application to a .NET based application.
  • 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.
  • Developing Secure Web Site with ASP.NET and IIS: PartIIMay 07, 2003. Authentication is a very important element of developing secure sites. It is the starting point of a secure environment for the protected resources. I have discussed several authentication mechanisms available in ASP.NET and how they join with IIS to provide a secure platform to develop sites in Part I of this article. I will be looking at Form Authentication and how to implement it in several sample web applications.
  • 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.
  • State Management in Web FormsFeb 18, 2004. This white paper discusses the ways in which the state management can be handled in web forms. State management can be done either on client side or server side as explained below.
  • 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.
  • 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.
  • 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.
  • Security Steps for Strong AuthenticationFeb 20, 2006. Weak authentication increases the identity spoofing threat. If a user’s logon credentials fall into the wrong hands, an attacker can spoof the user’s identity and gain access to the application. The attacker shares all of the user’s privileges in the application. Credentials must be protected as they are passed over the network and while they are persistent
  • 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.
  • ASP.Net State Management TechniquesJan 02, 2007. This article gives brief introduction to various state management techniques in ASP.NET.
  • 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.
  • Caching FAQ's: Part IJan 22, 2009. In this section we will touch base on one of important concepts in .NET Caching.
  • 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.
  • Building your own Java Script EditorMar 23, 2009. A step by step guide for implementing your Java Script editor.
  • 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.
  • Managing Cookies in a WPF ApplicationOct 29, 2009. This article discusses how use cookies in WPF Applications using C#.
  • Cookies in ASP.NETNov 11, 2009. In this article I will explain you about cookies in ASP.NET and how to use them.
  • 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
  • Cookies in ASP.NETMar 04, 2010. Cookies is a small piece of information stored on the client machine.
  • How to Create Session Variable without Cookies?Mar 05, 2010. In this article you will learn how to Create Session Variable without Cookies?
  • 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.
  • Single Sign on (SSO) using Cookie in ASP.NetApr 30, 2010. I would like to give a brief overview of how to use cookie to implement Single Sign on(SSO) in asp.net web application.
  • 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.
  • Save and Restore Form Cookies using JavaScriptMay 18, 2010. In this article we will see how to persist info in cookie across multiple pages using JavaScript.
  • 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.
  • Page Visit Count using cookiesNov 19, 2010. In this article, I would like to demonstrate page visiting counter using cookies.
  • Garbage Collector in .NETDec 27, 2010. Garbage Collector is common term for developers working with high level languages such as Java, .NET, Ruby etc.
  • HTML 5 Storing Data on the Client without using CookiesFeb 03, 2011. Cookies are not suitable for large amounts of data, because they are passed on by EVERY request to the server, making it very slow and in-effective.
  • 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.
  • How to consume RSS FEED in ASP.NET 3.5 in C#Apr 07, 2011. In this article I am trying to use RSS in a very easy manner.
  • How to use stored procedure in simple easy way with Web.Config file?Apr 08, 2011. In this article I have given simple stored Procedure. After running the first page in Internet Browser, only enter user Id and the data is retrieved from table, showing that it is there in Cookies. You cannot imagine the how faster it is.
  • 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.
  • Hour 3: Understanding 5 ASP.NET State management techniques in 5 hoursApr 28, 2011. A Cookie is one of several ways to store data about web site visitors when the web server and the browser are not connected.
  • 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.
  • Cookie Based Expand/Collapse Div Architecture in ASP.Net WebsiteJun 24, 2011. A cookie and JavaScript based lightweight TreeView like expand/collapse div architecture.
  • 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.
  • Introduction to HTML5 StorageJul 13, 2011. This article introduces the concepts of HTML5 Storage and then works through a code sample demonstrating the use of HTML 5
  • 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.

About Cookies-Servlet-in-Java

NA

SPONSORED BY

C# Corner Chandigarh DevCon16
Chandigarh DevCon16 is a one-day Developer Conference where programmers, technologists, authors, and members meet, demonstrate, plan, and hang out.
Visual Studio Live - Redmond 2016