Archive for the ‘Resource’ Category
A Wordsearch puzzle is a puzzle that contains words hidden in a grid of text. It is a fun activity used to teach children spelling and to help memorize information like country capitals.
This Word Search generator was written in C#/ASP.NET and generates PDFs using the iTextSharp library.
A proxy server is a server that sits between your computer and the internet and services your requests to the internet. Many companies use proxy servers to filter employee internet requests since a proxy server can also modify or block your request.
My goal in setting up a proxy server was to give myself a means of encrypting my web traffic when I am in insecure locations such as airports and restaurants.
To set up a proxy server, you first need a server. You can use a machine on your home network, get a dedicated server, or get a virtual server. I chose to get a virtual server through slicehost.com. I am using their base $20 256 slice with Ubuntu 8.04 LTS. In addition to proxy services I also use it as a virtual desktop and, since I can leave it on all the time, run long term jobs.
I set up the proxy server to only allow connections from the local host. I can then connect to the local machine via SSH and surf the web through the SSH tunnel. This way, the connection to my server is encrypted and no one can use the proxy server unless they have an account on my machine.
The setup is simple but I had to go to several sources to figure it all out, hence this article.
First, install Apache:
apt-get install apache2 apache2.2-common apache2-mpm-prefork apache2-utils libexpat1 ssl-cert
Next, link to the mod_proxy modules:
ln -s /etc/apache2/mods-available/proxy_http.load
ln -s /etc/apache2/mods-available/proxy_ftp.load
ln -s /etc/apache2/mods-available/proxy_connect.load
ln -s /etc/apache2/mods-available/proxy.load
Then, in your httpd.conf file located at /etc/apache2 make
entries to configure the server:
Deny from all
Allow from 127.0.0.1
Here, ProxyRequests configures Apache as a forward proxy. <Proxy *> and </Proxy> delineate the proxy configuration block. The block tells Apache to deny all connections except from the local machine (127.0.0.1).
Now, restart Apache:
Finally, in your browser configure your host to use the proxy server you just set
I was having a tough time finding how to display database data from a primary key in a drop-down and then have the selected item show up in my business class object when it returned.
I wanted to do this using an Objectdatasource because I had to reference several different tables in order to display my data. As a newbie, I spent several days struggling on it when I found this set of tutorials on Microsoft’s MSDN site, specifically tutorial 20. These tutorials nicely cover the basics of data manipulation in ASP.NET using C# and the Objectdatasource.
I hope this helps other like me who are struggling with the same problem.