C# Corner

Resources  
  • Asynchronous Request in .NET (C#)Jan 09, 2000. This code sample shows how to call a COM component in .NET framework using C#.
  • FileDownloader : Download files using HTTPJan 10, 2000. This application contains a Form and a Class module . From Form we create a thread which execute the procedure to handle the NET download. This application can be enhance to do more down load as in Download manager by creating more threads.
  • CSDownloadURL : Download Contents of a Web PageDec 03, 2000. CSDownloadURL is a class which has two functions - SetURL and DownloadURL. The set URL sets the current URL and GetDownload downloads the URL contents and returns its contents in a string.
  • Web ProxyServer in C# and VBFeb 06, 2001. Web Proxy Server is HTTP proxy server written in C#.It is Multithreaded so many clients can access the web through this WebProxy Server.
  • Horoscope Web ServiceFeb 08, 2001. An article talks about web services and how to develop them using .NET.
  • 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.
  • Simple Web File DownloadMar 23, 2001. This is a simple program that shows how to download files from the web and save them. The program uses the HttpWebRequest and HttpWebResponse classes to request and retrieve the requested file.
  • Web Request ClassApr 04, 2001. This is a simple application that the gets the source of a webpage via the WebRequest Object.
  • Remoting in .NETApr 05, 2001. .NET Remoting provides a way for application in different machines/domains to communicate with each other.
  • Wireless Model : How Does It Work?May 09, 2001. The browser sends an HTTP request to the Web server, which interprets the request and determines which resources to retrieve or execute. If the URL specifies a file, then the server sends it back.
  • Quote ResponderMay 09, 2001. The program will periodically check your mail for incoming email requests for a stock quote.
  • Catch Hold of Device CapabilityJun 05, 2001. If you are developing Mobile Application and been through the different standards in Market.
  • Post in Mobile FormsJul 27, 2001. Till now whatever we are doing is in single page and the traversing between forms take place only in a single Page. If you Remember Something of WML there our most effective funda is posting from one form to other.
  • Generating XML from SQL databaseJul 30, 2001. Some Days Back i posted the article dealing XML as a Middle tier but i guess the People didn't get the clear funda.
  • Using Interfaces in .NET RemotingNov 30, 2001. In this article, we will create a remote object that will return rows from a database table. For the sake of simplicity I have used the NorthWind database that is packed with the installation of the Microsoft SQL Server.
  • Chat Server with Client Implemented with C#Jan 19, 2002. This client/server application let you chat ....
  • .NET Framework and Web Services - Part 2Jan 29, 2002. Here we are going to learn how to create a WebService using VS.NET (using VB.NET.) and consume the Webservice from VB.NET Client. This Article is based on VS.NET RC1 Release.
  • Microsoft Knowledge Base Web Service ConsumerFeb 22, 2002. In this Article I am going to show you how to consume Microsoft knowledge base Web service from our client.
  • Command Patterns in C#Mar 04, 2002. Command pattern encapsulates a request as an object and gives it a known public interface. Command Pattern ensures that every object receives its own commands and provides a decoupling between sender and receiver.
  • .NET Remoting: The Interface ApproachMar 26, 2002. In this article, we will create a remote object, and access this object using the Interface. The object returns rows from a database table.
  • IP LookUp Program in .NETApr 03, 2002. This is an IP look up program that uses C# Windows Forms and IPHostEntry to resolve the DNS request.
  • A C# SOAP Apache ClientApr 26, 2002. This part shall demonstrate how a simple web service can be created quickly using Visual Studio.Net.
  • Remoting in C#May 13, 2002. This simple article shows you how to write simple server and client to access the server remotely.
  • 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).
  • Remote Procedure Calls using SOAPOct 04, 2002. Here is the sample RPC (remote procedure call) using SOAP ( simple object access protocol).
  • Synchronized Threading in .NETDec 11, 2002. Threads are a powerful abstraction for allowing parallelized operations: graphical updates can happen while another thread is performing computations, two threads can handle two simultaneous network requests from a single process, and the list goes on. Since threads are pretty simple to understand, conceptually, but, practically, they are a cause for programmatic headaches, I decided to write this program to describe how to make use of threads.
  • 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.
  • HTTP Handlers for Images in ASP.NETJun 23, 2003. Have you ever thought of streaming thumbnails just by passing query string indicating width or height of thumbnail you need, and most importantly passing those to image itself?
  • Remoting in .NETSep 26, 2003. Distributed computing is an integral part of almost every software development. Before .Net Remoting, DCOM was the most used method of developing distributed application on Microsoft platform.
  • Introduction to ASP.NET HTTP ModuleNov 24, 2003. This article will help the users to examine the use of HTTP Modules and their use in extending the pipeline. The HTTP Pipeline is a series of extensible objects that are initiated by the ASP.NET runtime in order to process a request.
  • Distributed Computing Using .NET RemotingJan 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.
  • Image Resizing : Part IIJan 12, 2004. In my first article Image Resizing and FTP, I showed how I resize my digital camera pictures and FTP them to the web. I received a couple of requests to share the code for the image gallery on my web site that I use to view them so here it is.
  • SOAP, .NET, and COM an Introduction - Part IIIFeb 02, 2004. This article starts with the basics of SOAP, SOAP XML model and its data types followed by the integration of SOAP functionality in .NET class library and how .NET developers can take advantages of SOAP in their applications.
  • SOAP, .NET, and COM - An Introduction: Part IFeb 02, 2004. This article starts with the basics of SOAP, SOAP XML model and its data types followed by the integration of SOAP functionality in .NET class library and how .NET developers can take advantages of SOAP in their applications.
  • 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.
  • An introduction to Matisse, a post-relational database for .NET - Part 1Mar 06, 2004. When it comes to database for .NET, there are several options in addition to the well known ones such as SQL Server or MySQL. One of them is Matisse, a post-relational database by Matisse Software.
  • Go Beyond the Limits of ASP.NET FormMar 22, 2004. One of the most common hitches that ASP developers encounter when they first approach ASP.NET is that managed Web applications must be written according to a single-form interface model.
  • Downloading Data as a File from a MemoryStream Using a HTTP HandlerApr 07, 2004. This article will show you how to buffer data into a MemoryStream and output the buffered data back to the browser as a text file using a HTTP Handler.
  • Transporting and Displaying Images using DIME and HTTP HandlersApr 28, 2004. This article shows an example of how to display images stored in a database in a virtual fashion using a Web Service in conjunction with an HTTP Handler.
  • SOAP Client in Windows XPMay 06, 2004. This article covers the basics of using the SOAP Client software included with Microsoft Windows XP Professional to access Web Services using SOAP.
  • HTTP Handlers in ASP.NETAug 24, 2004. The low level Request and Response API to service incoming HTTP requests are HTTP Handlers in ASP.NET. All handlers implement the IHttpHandler interface, which is located in the System.Web namespace. Handlers are somewhat analogous to Internet Server Application Programming Interface (ISAPI) extensions.
  • Forum Alert Service Version 1.0Aug 24, 2004. The Alert Service is a Windows service that can be deployed in any discussion forums and whenever a thread is posted to the forums, an alert will be issued in the form of a message to the user.
  • .NET RemotingSep 02, 2004. .NET Remoting provides an infrastructure for distributed objects. It exposes full object semantics of .NET to remote processes using plumbing that is both flexible and extensible.
  • Download Files using HTTP and Proxy Server in C#Sep 21, 2004. This article explains how to pass proxy server network credentials when downloading files using HTTP.
  • Posting Form Data from ASP.NET Page to Another URLSep 27, 2004. This article shows you how to post a Form data to a different URL from ASP.NET pages. For example, you might need to send user to a third party payment processing system using post method. ASP.NET does not provide any straight forward way to accomplish this task.
  • Microsoft Application Center TestOct 13, 2004. Application Center Test (ACT) stress tests Web servers and analyze performance and scalability problems of Web applications. ACT simulates a large group of users by opening multiple connections to the server and rapidly sending HTTP requests. It also supports several other authentication schemes and the SSL protocol, making it ideal for testing personalized and secure sites.
  • 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.
  • SharpChess in C#Feb 10, 2005. SharpChess (http://www.sharpchess.com) is a computer application that enables you to play chess against the computer. It plays a challenging, tactical and, I'm told, "fun" game of chess.
  • Web Based Chat ApplicationMar 15, 2005. The article explains about devloping a chat Solution in ASP.Net / C# which is differnt than any of the available solutions and works under any firewall and browser settings.
  • Count Image Requests from a Web Server using ASP.NET (VB.Net)Mar 19, 2005. This article explains you how we can count Image request from a Web server using VB.Net and ASP.NET.
  • Count Image Requests from a Web Server using ASP.NET Mar 19, 2005. This article explains you how we can count Image request from a Web server using C# and ASP.NET.
  • Posting to another .aspx using ASP.NET Mar 19, 2005. ASP.NET wont allow to post back to another aspx page. It will post back to itself. If you specify action attribute it will ignore it. If you omit the method attribute, it will be set to method="post" by default.
  • Space Invaders for C# and .NETJun 29, 2005. This is an update of the space invaders game posted on C# Corner 3 years ago for Visual Studio 2005. This version adds spiraling bombs and a ship lives indicator.
  • Membership ServiceAug 08, 2005. With every new version are added a bunch of new functionality which eases the development of web applications and keeps up to the required security measures to make the applications less susceptible to external threat.
  • Mobile Web Application SecretSep 12, 2005. This article gives you a clear idea how an ASP.NET Web Application rendering works differently on hand held devices than running Web Applications on normal machines.
  • 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.
  • ASP.Net 2.0 What's new in Page Life CycleJan 07, 2006. ASP.NET 2.0 adds some new events to allow you to follow the request processing more closely and precisely. This article looks into those events.
  • Credit Card Fraud Prevention using .NET Framework in C# or VB.NETJan 16, 2006. How can you protect your business from credit card frauds? This article have few steps that can be taken to ensure that the transaction is being requested by the real cardholder.
  • Generics in C# 2.0Apr 17, 2006. This articles comes in series with my last article - <a href= http://www.c-sharpcorner.com/UploadFile/Saurabh.Mishra/GenericsInC2PartI04122006074306AM/GenericsInC2PartI.aspx class=normal>Limitations in ArrayLists</a>. In this article, I specifically talk about Generics and how they improve upon arraylists and how they solve the issues posed by ArrayLists.
  • 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>
  • ASP.Net Page Life CycleMay 16, 2006. This article explains simple ASP.NET web page execution in depth.
  • Troubleshooting Tips for ASP.Net DevelopersMay 22, 2006. This article explains three silly problems that ASP.net developers regularly face and explains how to tackle them.
  • The request failed with HTTP status 401: Access DeniedJun 30, 2006. An unhandled exception occurred during the execution of the current Web request. Please review the stack trace for more information about the error and where it originated in the code.
  • The request failed with HTTP Status 405: Method Not Allowed.Jul 04, 2006. PDSTest.NET Exception Occurred while processing the request. The request failed with HTTP Status 405: Method Not Allowed
  • Cross Page Postback in ASP.Net 2.0Aug 11, 2006. In ASP.Net 2.0, cross-page post backs allow posting to a different web page, resulting in more intuitive, structured and maintainable code. In this article, we will explore the various options and settings for the cross page postback mechanism.
  • ASP.Net 2.0 - Dynamic Fragments in Cached Web PagesAug 29, 2006. In this article we will explore various techniques for including dynamic fragments within cached web pages. This feature is described as Post Cache Substitution and provides a personalized experience for the end user, while taking advantage of the benefits of Caching.
  • HTTP:/1.1 500 Internal Server ErrorFeb 09, 2007. If you are running two versions of ASP.NET, you may get HTTP:/1.1 500 Internal Server Error when creating a new Web project or opening an existing Web project in Visual Studio.
  • Set up Secure Sockets Layer (SSL) using Digital CertificatesMar 06, 2007. This article explains how to secure an IIS Web application using SSL certificates.
  • Difference between Composition and Aggregation Jul 27, 2007. Apart from programming, a lot of my spare time sat at the computer is spent reading group, blog postings, etc from other developers. One particular posting that caught my eye recently provoked a lot of response and mixed answers to a question posed by a poster. This question was, ‘What is the difference between composition and aggregation and how would I express it in my programs?’
  • WEB farm - Load Balancing in Asp.netJul 27, 2007. The concept behind the web farm is that a number of different web sites share pooled resources. They typically share a common front-end dispatcher to perform load control and distribute customer requests. They share the multiple web servers themselves.
  • 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.
  • Ajaxify a simple HTML page using a web service Oct 23, 2007. In this article I will explore using a web service to deliver HTML markup content to an HTML aware client using the XML HTTP request object from JavaScript code.
  • Free Geocoder.us web service in c#Jan 30, 2008. This article gives you detailed information about the geocoding service. By using this you can easily estimate the latitude and longitude of a physical address.
  • Accessing Rmote SQL server by Remoting (TCP)Mar 31, 2008. This article describes how to build a distribution application that accesses MS SQL Server 2000 with a remoting service.
  • How to Generate an XML Document Rogrammatically Using DOM: Part IJun 19, 2008. In fact, I wrote this article as an answer of one among questions posted as a part of a C sharp corner forum. I will enumerate methods of how to do that through three articles, the first one illustrates how to do that using DOM technology
  • State Management is Silverlight using Isolated StorageJul 28, 2008. State management is the process to maintain state and page information over multiple requests for the same or different pages. State management in Silverlight 2 can be done using the concept of Isolated storage.
  • Attaching a Digital Certificate (Public Key) to an HTTPS RequestAug 10, 2008. This article will guide you on how to post data to an HTTPS (i.e., secure connection) URL from a Windows application (.NET) by attaching a digital certificate from a certificate file and getting the response back.
  • Postfix DatesSep 02, 2008. This tip shows how to add 'st', 'nd', 'rd', 'th' to your date text.
  • ListView Control in Visual Studio 2008 and ASP.NET 3.5Sep 04, 2008. In this post, I am going to explain the new data driven ListView control that ships with Visual Studio 2008.
  • ASP.NET 3.5 MVC ApplicationOct 03, 2008. This post gives you the basic overview on ASP.NET Models, Views and Controllers. It explains how all parts in MVC Application work together and discuss how the architecture of an ASP.NET MVC application differs from an ASP.NET Web Forms application.
  • ASP.NET 3.5 URL Routing in MVC FrameworkOct 07, 2008. This post speaks about basics of URL Routing and how URL Routing related to building a ASP.NET MVC Application. This post specifically speaks about how URL Routing is used in ASP.NET MVC Application.
  • The Future of C#Nov 06, 2008. This post speaks about the future of C# which presented by Anders Hejlsberg chief architect of C# at PDC 2008. The coming version C#4.0 is much concerned on introducing Functional and Dynamic programming language concepts into the C#.
  • Visual C# IDE Tips: Part IINov 11, 2008. This post explains the some more tips on using Visual C# IDE to enhance developer productivity.
  • ASP.Net Worker Process and ISAPINov 28, 2008. The "Process" which is responsible for processing Asp.net application request and sending back response to the client , is known as "Worker Process". All ASP.NET functionalities runs within the scope of this process
  • ASP.NET ObjectDataSource Control OverviewDec 04, 2008. This post explains how to represent business objects with the ObjectDatasource control. It allows you to bind DataBound controls such as GridView, DetailsView and FormView. It also enables you to separate your business logic and data access logic from presentation layer.
  • The 3 Musketeers: Model, View and Controller using HTTPHandler – Part 1Dec 22, 2008. In this section, we will learn about the basics of MVC and then see how we can implement the same in ASP.NET using HttpHandlers.
  • The Two Interceptors: HttpModule and HttpHandlersDec 23, 2008. Many times we want to implement pre-processing logic before a request hits the IIS resources. For instance you would like to apply security mechanism, URL rewriting, filter something in the request, etc. ASP.NET has provided two types of interception HttpModule and HttpHandler.
  • Application Architecture for .NET ApplicationsJan 08, 2009. This Article series helps the .NET developers and architects to design the effective applications on .NET latest technologies. There are so many articles,books on application architecture but it is still challenging for developers to understand best practices, principles for the application design. This post speaks about the fundamentals concepts of Application Architecture and principles.
  • Software Architecture StylesJan 13, 2009. An Architecture style is a set of principles which you can use to build a system Typically Architecture styles depends on their focusing areas. Implementing the software architecture styles depends on the capacity of your organization for implementing it and infrastructure constraints. This post explains which architecture style is to use based on demands.
  • Caching FAQ's: Part IJan 22, 2009. In this section we will touch base on one of important concepts in .NET Caching.
  • JSON FundamentalsFeb 02, 2009. A new data format which is built on JavaScript is called JavaScript Object Notation[JSON]. It is a lightweight data format based on JavaScript syntax. JSON definitions can be included within JavaScript files. This post speaks about basic syntax of JSON.
  • REST FundamentalsFeb 04, 2009. REST stands for Representational State Transfer, is an architectural style where you can build the software system in which clients (user agents) can make requests to the services [end points]. REST one of the ways to implement the client\server architectural style. REST can be used to build software applications in which clients can make requests of services.
  • ASP.NET Website vs Web Application projectFeb 23, 2009. This post explains about two project types in Visual studio ie Website and Web Application that we use to build the ASP.NET Applications and the fundamental differences between the two project types..
  • Building Your Own Mail Client Using C# Mar 31, 2009. This post will go with you step by step towards building your own Mail Client using C#.
  • Creating server controls at runtime using HTTP modulesApr 06, 2009. This article is all about generating dynamic ASP.Net server controls using HTTP modules.
  • Faster Performance of Deployed ASP.Net SitesMay 14, 2009. This article provides a few tips to ensure your deployed ASP.Net always runs with the best possible performance and no security information leakages.
  • HTTP Post from SilverLight application to a REST ServiceMay 31, 2009. This Article will expalin , how to create REST service which work on JSON data format. Then It will explain about how to perform HTTP GET and HTTP POST operation from a SilverLight client on a REST service on JSON Data Format.
  • 7 Simple Steps to Enable HTTPS on WCF WsHttp BindingsJun 23, 2009. When we talk about WCF security there are two ways one is the transport level security and the other is message level security. Transport level security is nothing but built in security by protocols itself. In message level security we need to encrypt the data, in other words security is injected in the data itself. In this article we will look in to how we can implement transport level security using WsHttp bindings. We do not need to do extra development for transport level security because it’s more of the protocols inherent security model. In this article we will implement WsHttp using HTTPS as transport security.
  • Connecting your Silverlight Applications to Web and Data services (WebClient)Jun 23, 2009. Silverlight application can access simple HTTP request through WebClient Data Services

About POST-HTTP-request

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!
Download Free eBooks