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
-
how to select multiple files at a time using Ctrl+select and upload the attachments in C# .Net 1.0?
by vasanta (0 replies)
-
Help please for student
by mandy130 (0 replies)
-
Loop help needed
by BKRoberts (5 replies)
-
Problem after strong naming an assembly
by rinkurathor1 (0 replies)
-
Regarding User control creation in C# .Net(Windows Application)
by porchelvi (0 replies)
Related podcasts
-
Looking into the C# Crystal Ball with Charlie Calvert and Bill Wagner
One of the most exciting announcements from PDC was the news about C# 4.0 and Visual Studio 2010. With all the excitement and discussion throughout the event about these new developer tools, we reached out to two experts in the fields. Charlie Calvert and Bill Wagner sat down with Keith and Woody...
Events coming up
-
Dec
6
Developing AJAX Web Applications with Castle Monorail
London, United Kingdom
Monorail is the model-view-controller engine of the Castle Project, bringing many of the best ideas of Ruby on Rails to the .NET world. In this talk, David De Florinier and Gojko Adzic show how Monorail makes it easy to develop .NET based AJAX applications, and how to use the Castle Project to build Web 2.0 applications effectively. Come to this session if you are a .NET web developer. Everyone is welcome!
How do I use data from my form with method post and get?
This thread is for discussions of Web Enable your C# Program.