Library tutorials & articles
Web Enable your C# Program
- Introduction
- The Example
Introduction
How do we web enable our C# application? First we need a web server. You can
either use IIS (built-in to Windows 2000/NT/XP Professional), or Apache. Apache
is the most popular and practical and easily configurable web server available
on the internet. It can be downloaded from http://www.apache.org.
Apache runs on most of the operating systems. After installation on the network
drive or local drive, we see a number of subdirectories among which we see cgi-bin
and htdocs. The cgi-bin subdirectory is used to contain executable files, while
htdocs is used to contain HTML files. When your installation and setup configuration
is successful (for help see the website), type the address as http://127.0.0.1/
and press enter . We see a default page, placed in the htdocs directory, and
see the apache server running !
Change the htdocs subdirectory and create an html file new.html, to display
a form page as follows<html>
<form>
<input type=submit value=search>
</form>
</html>
Now save this file! Open up your favourite browser and type http://127.0.0.1/new.html,
and press enter. We see results! A button with a text(caption) search, is on
the page ...... !!!
Related articles
Related discussion
-
Query Tool to Excel using C# and .NET
by BarbaMariolino (1 replies)
-
looking for help on asp
by cladironbeard (2 replies)
-
Socket Programming in C# - Part 1
by graumanoz (23 replies)
-
LINQ in Action
by naser1 (0 replies)
-
Creating a Windows Service in VB.NET
by Templario55 (107 replies)
Related podcasts
-
Object-Oriented Programming in Ruby
In this episode, I talk with Scott Bellware about object-oriented programming in Ruby, and Ruby's object model. This is taken from a private conversation, and the audio quality suffers at times. Much thanks to Scott for allowing this to be released.This episode of the Alt.NET Podcast is bro...
Events coming up
-
Aug
28
St. Louis Day of .NET
St. Charles, United States
Technical conference with be 2 full days of content with over 40 sessions from local and national speakers, with topics such as:•.NET languages: C#, VB.NET•Technologies: WPF, Silverlight, WCF•Development tools: Visual Studio, TFS, Expression Blend
How do I use data from my form with method post and get?
This thread is for discussions of Web Enable your C# Program.