Geeks With Blogs
They call me Big Papa 4 kids and counting
Check this out- I was working on a menu for a web site and used a series of ASP:Hyperlink objects to display it. So here's my menu: <div id="navigation"> <asp:HyperLink ID="HyperLinkHome" NavigateUrl="~/Default.aspx" runat="server">Home</... <asp:HyperLink ID="HyperLinkNewRequest" NavigateUrl="~/Default.aspx" runat="server">New ......

Several months ago I learned how to use LogParser. I put away my normal responsibilities for part of a day and focused on that neat little tool. Check my previous posts if you want to learn more about that experience. Last week I wanted to know exactly what I'd need to do to move some of my web services to WCF. So, I pushed aside my duties, turned off ......

I'm a generally trusting soul, although I have a feeling that will do me harm some day- perhaps even today (oh well, trust anyway). I know nearly nothing about Steve Pavlina, but I choose to link to one of his posts. I found a very interesting post on Steve's site. It talks about looking at your career goals from a "top-down" perspective by discovering ......

Just like with the previous entry on C# and telnet, creating an FTP session using C# is not as scary as it sounds. And even if you have to connect to a server that only understands RAW commands, that's not too bad either. Here's how: Create a socket on port 21: //resolve IP address from DNS IPHostEntry dns = Dns.GetHostEntry(serverName); //create an ......

I subscribe to about 20 feeds (nowhere close to someone like Scoble) and on several of them, I'd noticed the advice to set a rate of posting that is reasonable and can be maintained and then stick with it (Atwood). I'm not trying to gain readership and I'm not trying to compare myself to any of the 20 experts I follow. I am, however, trying to improve ......

A Telnet session is really nothing but a Socket to a server on port 23 in .NET-speak. This article applies to .NET 1.1, 2.0, and 3.0, I just wrote my version in 2.0.

For anyone wondering "Who is this guy and where did he come from?" I have an answer. I have been posting for a few months on Blogger but didn't really see any fruits of my labor- no comments, no way of knowing how many hits I was getting, etc. So, I found GWB and have relocated my stuff here. So that brings me back to the original question. Part 1: ......

Given the day of the year and the year (both as ints), return the date in “m/d/yyyy” (string) format without using the System.DateTime namespace or any other built-in date/time handler. One solution (1858 IL characters) static string g(int d, int y) { int l; int i = 0; if (d < 0) { i = 13; } l = ((y % 400 == 0) | ((y % 100 != 0) & (y % 4 == 0))) ......

Given a color string in one of the formats listed below, return an array of the RGB elements that make it up. For Example: "RGB(255,255,255)" "#FFFFFF" "#FFF" All of these examples return [255, 255, 255] - Case does not matter - #abc translates to #aabbcc - There will be no spaces in the string One solution (73 IL): s = s.Replace("RGB(", "").Replace(")", ......

Implement 2 algorithms and place them in separate methods. 1) Given a sentence, write an algorithm to reverse the order of the words. Example: “My name is Chris” becomes “Chris name is My”. 2) Given the same sentence as in #1, write an algorithm to reverse each individual word, but not their order. Example: “My name is Chris” becomes “yM eman si sirhC”. ......

Copyright © baileyrt | Powered by: GeeksWithBlogs.net