C# Corner

Resources  
  • Yahtzee Program using C#Jan 24, 2000. The Visual C# environment has given the programmer the ability to create applications in RAD mode without the steep learning curve for the C++ programmer. (I do miss templates though!). The above application, yahtzee, is based on a popular poker-like dice game.
  • Simple SMTP MailerMar 26, 2001. This is a simple program which shows how to send mail via SMTP without using any framework support. While using the .NET SMTP classes may be a little easier, it is good to be able to go under the hood and get your hands dirty to understand what is going on at the socket level. For simple text messages, this implementation works fine.
  • PDF File GeneratorJul 26, 2001. PDF documents are the now a days is standard in Documents Exchange over the internet,as these documents are more or less platform independent and can be viewed on virtually any platform without any formatting or changes in the file structure.
  • C# TokenizerAug 27, 2001. A simple tokenizer in csharp without using regex or MatchCollections.
  • Windows Forms Without VS .NETSep 12, 2001. This article explains how to write windows forms application without using Visual Studio .NET IDE.
  • Visual Inheritance in C#-Part1Sep 24, 2001. We all know that Inheritance means a extending a class with more Features without worrying about the implementation of features of hidden inside the class to be inherited.
  • Visual Inheritance Part 2 Sep 26, 2001. We all know that Inheritance means a extending a class with more Features without worrying about the implementation of features of hidden inside the class to be inherited.
  • SharpHSQL - An SQL engine written in C#Jan 08, 2002. .NET! C#! If you haven't been inundated with the marketing of Microsoft's new initiatives, you've been living in your cube without a web connection for quite a while. Like a lot of developers, I had installed the .NET SDK and the Beta 1 of Visual Studio .NET and played with it. However, since its release was so far out in the future and I had deadlines to meet, I soon went back to working with the things my customers needed now.
  • Creational Pattern - Abstract FactoryFeb 11, 2002. An abstract factory provides an interface for creating families of related objects without specifying their concrete classes. Sometimes one wants to construct an instance of one of a suite of classes, deciding between the classes at the time of instantiation.
  • .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.
  • .NET Remoting: The Simple 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.
  • Using XML Based Configuration File in Windows Form ApplicationsApr 15, 2002. Often when building an application, a programmer wants to be able to change application settings without having to recompile the application.
  • Tracking Time in a Window ApplicationApr 15, 2002. The program reads from an XML file to get the data about names and birth dates, so it is easy to add or remove names without changing the code in case my son decides the program should include his pet dog or turtle.
  • Loading XML File in a TreeView Control using MultithreadingApr 19, 2002. There are many occasions when programmers need to develop multithreading applications, which can load big files in the background and let the user do data entry or other jobs without any interruption. In this article, I'll show you how to create multiple threads to load multiple files.
  • Writing a Generic Data Access ComponentJul 17, 2002. OK, I've received couple of emails people asking me how can they use a common data provider to access various types of data sources without loosing the power and flexibility of native data provider libraries.
  • Writing a Generic Data Access ComponentJul 17, 2002. I've received couple of emails people asking me how can they use a common data provider to access various types of data sources without loosing the power and flexibility of native data provider libraries.
  • Sharp HSQL- An SQL Engine Written in C#Aug 01, 2002. .NET! C#! If you haven't been inundated with the marketing of Microsoft's new initiatives, you've been living in your cube without a web connection for quite a while.
  • Database Vendor Independent Code with Improved Connection PoolingOct 17, 2002. This article covers how to create a database application that allows you to specify different databases without writing code for different data providers.
  • 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.
  • Building Dynamic Service in C#Oct 31, 2003. This is a service that will run an application, and can be used over an over without hard coding any information.
  • Globalization in .NETJan 28, 2004. Now a day it is very difficult to think about building any application without globalization. If we are building an internet application, then it is very much required that our application supports all the languages with respect to the customer's locality.
  • Generic Web Service ProxyFeb 04, 2004. In this article I will explain how you can consume a web service without using the standard "Add Web Reference" in Visual Studio and how to do this without using SOAP.
  • Multiuser XML 'Database' Web ServiceDec 01, 2004. This article shows multiple users to have simultaneous access to the document just like a database. The critical thing is how can we load a resource once and how can we have multiple users access it without collisions.
  • Performance Improvement in ASP.NET Using CachingFeb 01, 2005. ASP.NET provides caching at several levels for you to leverage and improve the responsiveness of your application by storing the page output or application data across HTTP requests and reuse it. This allows the web server to take advantage of processing the request without recreating the information and thus saving time and resources.
  • Building a Web Site using Visual Studio 2005Apr 13, 2005. This article gives you a glimpse of new features of Visual Studio 2005. In this article, you will see the power of Visual Studio and how easy it is to build Web sites using new controls without even writing a single line of code.
  • Multi Selection of DataGrid Rows without Ctrl ClickJul 31, 2005. This article shows how to select multiple rows in a DataGrid without using CRTL.
  • Introduction to ADO.NET 2.0 Data Source ControlsAug 19, 2005. ADO.NET 2.0 provides new data source and data-bound server controls, which allow developers to write full-fledged data-driven applications without writing even a single line of code. This article is an introduction to these new data source controls.
  • Introduction to the MagicAjax.NET - The Magic Ajax Engine for .NETFeb 11, 2006. MagicAjax.NET is a free open-source framework, designed to make it easier and more intuitive for developers to integrate AJAX technology into their web pages, without replacing the ASP.NET controls and/or writing tons of JavaScript code.
  • Dynamic Document ID's without Maintaining Counters!Apr 04, 2006. An article to demonstrate the creation of business document ids without using stored counters.
  • HTTP Compression with HttpCompressMay 02, 2006. This article describes how to enable HTTP compression for ASP.net web applications without having direct access to the server and by using an <b>HttpModule.</b>
  • AJAX Document Management - AJAX Document ViewerJun 16, 2006. AJAX (Asynchronous JavaScript and XML), is a web development technique for creating interactive web applications. The intention of AJAX is to exchange small pieces of data with the server without the necessity of reloading the entire web page.
  • Calling the Server-Side method asynchronously from Client ScriptJul 19, 2006. This article describes how to call the server-side method asynchronously from JavaScript with the use of Client Callbacks that is built in ASP.NET 2 so that the client browser receives the data dynamically without page postback.
  • Flickerless Drag and Drop of Graphic Primitives Using .Net GDIAug 14, 2006. This article shows you how dragging and dropping graphic primitives smoothly onto the screen without flicker is easily achieved using .Net's GDI.
  • Tip: How to Print a Crystal Report Programmatically in ASP.NET?Oct 16, 2006. You can print a Crystal Report using print option of Crystal Report Viewer. However, there are occasions when you want your application to print a report direct to printer without viewing the report in Crystal Report Viewer.
  • A Server Timer using ASP.Net Client side callbackNov 20, 2006. This page is to design a client side timer which will display the server time without refereshing the page and using the client side callback feature of the ASP.Net feature.
  • Passing Data Between Forms Without Events and DelegatesJan 31, 2007. This article describes a simplified approach to allowing communication between forms without the use of events and delegates.
  • Upload any type of File through a C# Web ServiceMay 04, 2007. This article shall describe an approach that may be used to upload any sort of a file through a web service from a Windows Forms application. The approach demonstrated does not rely on the ASP.NET file uploader control and allows the developer the opportunity to upload files programmatically and without user intervention.
  • Error handler for web applicationsMay 15, 2007. In this article I will describe the error handler for ASP.NET 2.0 applications, that is developed in a separate class library project . You can use it in any web application you want by adding a reference to the compiled dll assembly without writing many lines of code. The examples are written using C#.
  • MineSweeperJun 05, 2007. Minesweeper is a single-player computer game. The object of the game is to clear an abstract minefield without detonating a mine.
  • Read Asp.net Request Param and Session dynamically into propertiesOct 04, 2007. This Article shows how you can use Attributes and Reflection to dynamically populate property with value from param, session or context without writing any addition code. I have used this technique in past and I hope you will also find it useful.
  • Retrieving Middle Rows from a TableOct 16, 2007. This article helps in retrieving middle rows of a particular table irrespective of its columns and data types.
  • High Performance Abstraction Layer for Non-Blocking Asynchronous Thread Safe SqlServer CallsApr 25, 2008. One of the things I find myself doing frequently is writing (and re-writing) plumbing code to execute database CRUD operations. I wrote an abstraction layer over asynchronous SqlServer calls that allows developers to correctly make async calls agains SqlServer without having to deal with any of the complex plumbing normally required. All source code is included with this article.
  • Manage Data in a Win Forms Application (without the Database)May 12, 2008. This article provides an approach to building an application that may be used to collect, store, and retrieve data without relying upon a database to get there.
  • Implementing Client Callbacks Programmatically without PostbackMay 12, 2008. This article help web developers to use CallBack instead of Ajax in some important issues like Updatable Data Source.
  • Explicitly Binding Data to ListView Web ControlMay 19, 2008. This article talks about binding data without SqlDataSource and Eval / Bind methods.
  • Send Email Messages and Attachments Using C#Aug 05, 2008. This article describes an approach to sending email messages with or without attachments. The code required to send the message is contained within a reusable class. In addition to sending messages and messages with attachments, the class also validates the recipient email addresses using regular expression validation.
  • Connect to MySQL database - via ODBC without using DSN: Part IIAug 11, 2008. In order to connect to on MySQL method, I propose this more flexible solution, thus, it enables us to customize the connection parameters in one hand, moreover, it enables us to choose which mode should we use. I mean, ADO connected mode using data reader or disconnected mode using data adapter and data set.
  • GridView Examples for ASP.NET 2.0Sep 15, 2008. In this article, I am going to show how you can display and edit data in an ASP.NET 2.0 GridView control without writing a single line of code.
  • Object and Collection Initializers Feature in C# 3.0 Oct 20, 2008. Object Initialization Expressions allows you to initialize an object without invoking the constructor and setting its properties.
  • Creating Excel/Word/HTML Document Using C#Feb 24, 2009. This article describes a simple approach to create Excel/Word/HTML document using C#, ADO.Net dataset without using interop/excel assemblies reference.
  • Consuming Web Services Without Web Reference in BizTalkMay 02, 2009. This articles tells us how to consume Web Services without web reference in BizTalk.
  • Model View Presenter (MVP) design pattern and data bindingJun 03, 2009. Model View Presenter (MVP) design pattern is the evolution of the MVC design pattern and it’s aimed at providing a cleaner separation of concerns between the view, the model, and the controller improving the architecture (you can use several UI technologies without recompiling the business logic components) and testability of the enterprise solution. The pattern was originally developed at Taligent in the 1990s. In this article, I will explain the principles and how to use the MVP design pattern along with data binding with an example using C# language in Microsoft.NET.
  • Interop Without PInvoke - Consuming Native Libraries in C#.Sep 07, 2009. This article will help get you started consuming native code with C# by writing your own interop layer in C++/CLI as a much cleaner and more flexible alternative to using PInvoke.
  • Moving a Form without the Title BarOct 12, 2009. In this article, learn how to to allow the user to move the form without its title bar.
  • Create Windows Application in C# from Command Line Oct 31, 2009. The article explains how to create /compile a Windows Forms application program from command line using C# compiler without using Visual Studio IDE.
  • Using ASP.NET DetailsView Control without SQLDataSourceNov 02, 2009. This article will show you how to use a DetailsView control without using a SQLDataSource data control.
  • Move Windows Form Without BorderDec 06, 2009. Some time its necessary that we want to move form without border. So here is the solution to move that type of form.
  • How to Create Session Variable without Cookies?Mar 05, 2010. In this article you will learn how to Create Session Variable without Cookies?
  • Simple Server Callbacks using JQuery in ASP.Net pageMar 11, 2010. Here I'm showing you how to prepare ajax calls using jquery and showing the data coming from server side to html page without any postback.
  • Database Table Update in a DataGridView without Writing CodeMar 31, 2010. The Visual Studio IDE can generate a simple program that shows a Database Table in a DataGridView and that supports editing and saving the data, all with little or no code. This article shows how.
  • Simple Login Project in ASP.NetJun 17, 2010. This article will explain you how to create simple login project without using any login controls.
  • Create Word Document without using COM component (Interop) or Third party API'sJun 24, 2010. In this article we will see how to create word document without using COM component (Interop) or Third party API's.
  • Code Only Design using ADO.NET Entity Framework 4.0 Jul 21, 2010. This article will cover the code-only approach, which provides developers the ability to use the Entity Framework using POCO entities and without an EDMX file.
  • How to send mail from Gmail without login your Gmail accountAug 02, 2010. In this article I am going to discuss how to send mail from Gmail using Asp.net 3.5 without login your Gmail account.
  • Previewing Navigation Pages in Silverlight 4 Aug 04, 2010. In this article we will see how we can preview a page without actually navigating to it in Silverlight 4.
  • GridView Sorting, Paging without using Session, ViewState or CacheAug 29, 2010. In this article you will learn how to use GridView Sorting, Paging without using Session, ViewState or Cache.
  • Consuming URL Shortening Services – bit.lySep 01, 2010. This is a very hot article that you can’t leave without checking it first. This article is talking about the most popular and powerful URL shortening service ever, bit.ly.Today, we are going to talk about bit.ly API, its functions, and how you can access them from your .NET application.Don’t forget to download the sample code at the end of the article.Let’s go!
  • Extension Methods for Daily UseSep 01, 2010. Extension Methods allows the programmer to extend the functionality of a type without having to derive from the type.
  • Hangman game in SilverlightSep 10, 2010. All work and no play makes Jack a dull boy. It means that without time off from work, a person becomes both bored and boring. So come and play the hangman game.
  • Iterator Design Pattern Sep 20, 2010. The Iterator pattern provides a way of accessing elements of a collection sequentially, without knowing how the collection is structured. As an extension, the pattern allows for filtering elements in a variety of ways as they are generated.
  • Custom pagingSep 21, 2010. In this article, we'll see the implementation of custom paging on GridView control. The Gridview offers two paging models Default paging and Custom paging.
  • Building User Interface for display of Hierarchical data without using server side controls Sep 29, 2010. In this article I am going to share some tips on building a user interface to display hierarchical data in an ASP.NET application without using server side controls.
  • How to configure Microsoft SharePoint Workspace 2010Oct 05, 2010. In this article I will show you how to configure SharePoint Workspace 2010. It allows you to take your complete SharePoint environment offline, continue your work without a connection to the server and synchronize the whole thing when you are connected again.
  • Inserting & Retrieving Images from SQL Server Database without using Stored ProceduresOct 14, 2010. In this article you will learn how to Insert & retrieve images from SQL server database without using stored procedures.
  • How to use Facebook Share functionality in ASP.NETOct 18, 2010. This article demonstrates how to use Facebook share button functionality with master page or without master page in asp.net.
  • What is Iterator Design Pattern?Oct 24, 2010. The Iterator pattern provides a way of accessing elements of a collection sequentially, without knowing how the collection is structured. As an extension, the pattern allows for filtering elements in a variety of ways as they are generated.
  • How to Deploy Applications in Windows Phone 7Nov 01, 2010. In this mini article, I will show you how you can deploy your application without using Visual Studio 2010
  • Accessing WCF Service Without Creating ProxyNov 01, 2010. In this article we will see how to access WCF service without creating proxy.
  • Best Practices in .NET XML Serialization of Complex ClassesDec 06, 2010. This article will show you XML serialization, so simply added in code, is not a magical stick. Serialization must be planned in full detail when working with complex classes, rather than expected to work by itself. Loss of planning work leads to redesign work later on, when maintaining serialization of original classes becomes too expensive or even hits the limit after which serialization of original classes is not possible without loss of data.
  • Patterns for centralising reference data management Dec 13, 2010. Sharing data can be difficult, this article shows some patterns you can use to share data between applications without causing tight coupling. Each pattern is described with its merits and drawbacks to allow you to make an informed decision.
  • Silverlight with MEF, for dynamic downloading of XAP FilesDec 18, 2010. MEF i.e. Managed Extensibility Framework is a component of .Net Framework 4.0 and also added support to Silverlight 4.0. It actually simplifies the creation of extensible applications using extensions to develop encapsulated code without any hard dependencies, i.e we can load an assembly on demand from a specific location.
  • Allow windows service to "Interact with desktop"Dec 18, 2010. Typically, services are designed to run unattended without any UI with any need to interact with desktop or any GUI application.
  • ASP.NET page automatically notifies when MSMQ message arrivesDec 18, 2010. Recently, I came across a forum query. The query was like: There is one source from which a message was sent to MSMQ and a web interface aka an asp.net page would display the newly added message automatically without any user intervention.
  • How to publish Managed Metadata Service across Farms in SharePoint 2010 Dec 21, 2010. In Microsoft SharePoint Server 2010, some service applications can be shared across farms. By publishing a service application, you can optimize resources, avoid redundancy, and provide enterprise-wide services without installing a dedicated enterprise services farm.
  • Navigation in Silverlight Without Using Navigation Framework Jan 07, 2011. Silverlight 3 introduces Navigation Framework which takes care of this, but let's first try to achieve navigation and state management without this framework; or you can say, the way it is done in Silverlight 2.
  • Logging Errors with ELMAHJan 10, 2011. ELMAH (Error Logging Modules and Handlers) is a pluggable component that you can use to log errors without modifying the application code.
  • How to Set Focus to Any Form ControlJan 20, 2011. This article will show you how to move focus from one control to the next without the need to name the controls.
  • Debugging, Tracing and Instrumentation in .NET and ASP.NET (14 FAQ)Jan 28, 2011. Diagnosing a software application is an art and this art has to be more skillful when in production. In the development environment you have the complete VS IDE tool so diagnosing is much easier. In a production environment as a best practice you do not install Visual Studio IDE. So in production it’s like fighting with a Lion without a knife.
  • Glass Button in Blend with MouseOver and Pressed StatesFeb 01, 2011. Glass buttons can add a lot of color to a page without carrying heavy visual weight. Creating these buttons is very quick and easy in Microsoft Expression Blend.
  • 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.
  • Creating Logo Using Expression Design 4Feb 04, 2011. Creating a logo is not easy without Photoshop but Microsoft Expression Design 4 make it possible.
  • Memento Design PatternFeb 11, 2011. The Memento pattern is a design pattern that permits the current state of an object to be stored without breaking the rules of encapsulation.
  • Making Arrays EasyFeb 15, 2011. Ways to get Arrays without worrying about size. The articel Contains examples for all users beginners, intermediate, experience
  • Step Towards Windows Communication Foundation: Part 3Mar 22, 2011. In this article we will see how to develop our first WCF service without using a Visual Studio template. Follow the steps given.
  • SQL Server Reporting Services (SSRS): Part 3 - Create Report without WizardMar 30, 2011. This is part 3 of a series of articles about SSRS.
  • Abstract Classes in C#Apr 22, 2011. When a method is declared as abstract it is mandatory for the child class to implement it, without which it can't use other members and methods of the parent class.
  • Configure IIS to host your website without Asp.netApr 27, 2011. This article describes how to set up IIS on your PC then host your web site without Visual Studio Installed.
  • PIN Extension Method Using C#Jun 07, 2011. An extension method is a special kind of static method that allows you to add new methods to existing types without creating derived types. PIN stands for the three extension methods PreviousItem, IndexOfCurrentItem and NextItem.
  • Handling DropDownList With Ajax in ASP.NETJun 09, 2011. In this article I will describe after binding data or values from an XML file to a DropDownList when we will select a particular item in the DropDownList it will display the selected item without any post back to the server. That means that an Asynchronous post back will be done.
  • Insert Into and Remove From a ListBox Selected DropDownList Values In ASP.Net with AjaxJun 10, 2011. In this article I will describe how to add items into a list box from a particular DropDownList. And after that how to remove the selected items from the list box and remove all items. All this is done without any post back events; that means asynchronously.

About Jsp-Without-beans

NA

SPONSORED BY

Custom Software Development
MCN is your source for developing solutions involving websites, mobile apps, cloud-computing, databases, BI, back-end services and processes and client-server applications.
European SharePoint Conference