October 2003 Blog Posts

I'm putting some of the finishing touches on my first winforms project, so I decided to try out some code on an app that I wrote over a year ago today - I wanted it to run on .netfx 1.1 instead of 1.0, because it's the central login point for 2 different apps. After looking around at things and jogging that old memory, I got it working again, in both 1.0 and 1.1 using Denis Bauer's ASP.NET version switcher. Very nice. I know it's been said before, but this is an indespensible tool for anyone running side by side asp.net apps.

My problem was this (if you're still reading): Since I have two different apps accessing the login page of this site from different hosts, the machineKey element of the *.config files need to be synched up for each site - either in web. or machine. - much like a server farm scenario. Apparently, tho, the newer fx and the older fx don't play nicely together when it comes to communication. Even tho the two apps had identical machineKey elements, authorization failed from site B to site A every time. All I had to do was change the versions that the apps were running on to be synched, and voila! Single Sign On is back. Whew

This post reinforces that a picture is worth 10,000 words.

It seems that cross-posting has become a cool feature since other, more respected developers have released new versions of their prospective blogging engines.

This is a cross-post. You can view this post here and there. I've been doing it for a while - ever since I got my grubby little hands on someone's blog engine code and was able to play with the source code / webservice combinations that http://weblogs.asp.net exposes. I'm doing it. I know of one other person who's doing it as well.

Anyways, it required a minimal amount of code to achieve - although I'm guessing there is probably a better way to do it, like w/ the MetablogAPI implementation. It's just a webservice call, and I'm able to post technical stuff right up next to non-technical stuff.

Okay, I'll be quiet now.

P.S. One more thing - Thanks to everybody who's blogging the PDC. It's neat to read about what's going on in real-time.

  • Papa John's pepperoni and ham (with the special garlic sauce)
  • cold beer
  • working software

now if only the Yankees can pull off 3 more points...this is about as close to heaven as I'm gonna get for a long timeBling Bling!

P.S. They didn't do it - the Marlins just got out Matsui.Crying

Jeff Julian  has put up a couple of skins at http://www.geekswithblogs.com/TextSkins .

Jeff Julian pinged me this morning and asked if he could use the version of Lighty that I hacked up after Julien Cheyssial (that's weird :)released his 'original orange' version, now up on http://weblogs.asp.net. So it looks like the GeeksWithBlogs will be enjoying a little different taste of a nifty skin.

Go to the Admin section of your blog, and in the “Custom CSS Selectors” textbox add:

main {
margin-left:200px;
padding:0px 20px 0px 0px;
width: 580px;
}

It still has a bit of gap-osis, but at least your main content will end up where it does for IE. I haven't tried this out on Opera yet, but I've implemented it here and there.

HAND

test

Thanks, Scott.Smiley

 

This is just a little test ping.

-= Currently Jammin: Chop Suey - System Of A Down - (03:17) :=-
I added a scroller over here - just some custom javascript. I wanted to get it working - it looks great on IE, I can't say the exact same for mozilla or opera, tho. I'm working on itSmiley. I'm also working on giving it a cleaner UI w/ images instead of text - this is just the 'prototype' to see if I can get this scroller working.

My girlfriend Tina just pointed me to a site that a friend of hers has put up - Hannah Henson is a young lady who was diagnosed with osteosarcoma earlier this year after she broke her hip.


If you could, would you both go and sign her guestbook? She's still reading this site while she's with us. Thanks.

Thanks to Donny Mac for pointing me to a new skin for here. Also thanks to Julien Cheyssial for creating the initial one.


I changed the colors from orange to blue - I dig blue these days. Also, I've added Jason Alexander's new nGallery to my site over here.


Looks like I won't have to write anything myself for a minute! Wink I know that both of my readers get at me from there, so if you've got a minute please check out my new skin over here. Thanks!

This time I'm like the PalmOS. I hope that's not bad Wink 


At any rate, I love my Palm Handheld.


 You are Palm OS. Punctual, straightforward and very useful.  Your mother wants you to do more with your life like your cousin Wince, but you're happy with who you are.
Which OS are You?

I had a dream last nite that I was going to an ATM to get some cash. When I was at the terminal, on the opposite side of the English/Espanol options there was a third option - Internet. What? so, of course I chose Internet - this could be fun, right?



The screen pops up with a clone of Galaga - you used the keypad to move and one of the option buttons to shoot. I was just about to reach my high score when I noticed the long line of people behind me. WhoopsSmileyI guess I can beat my high score anytime - preferrably around 1 AM.

The place that I work uses what we call index numbers (they're not really numbers per se...) that are based on API numbers (which are usually numbers) for check shot velocity surveys. I'm working on a project that will validate these and I thought that it would be well suited for Regex since it's going to be text validation and there are rules in place for these Index “numbers”.


So first I go to www.regexlib.com and see what that might have to get those Regex juices flowin. Then I thought about the Regex that I need to write and wrote it out as the rules should apply:



  1. Start at the beginning of a string.

  2. Match exactly 2 digits.

  3. Match exactly 1 letter (uppercase).

  4. Match no less than 3 but no more than 4 digits.

  5. Optionally match 1 or 2 letters (uppercase).

  6. End of string.

So, I fired up Darren Neimke's RegexSnippets which I have sitting in my C:\Tools folder for just such an occasion, and this is what I came up with:


^\d{2}[A-Z]{1}\d{3,4}([A-Z]{1,2})?$


And much to my surprise it worked the first time running! Very nice. Plus, I was able to save the regex for later using Darren's cool little utility. Added bonus: there was already one expression (8PointFloat) that I needed for a different area. Thanks Darren!

I think I'm going to play with .Text a little bit to allow cross-posting from here to there using w.Bloggar and the MetaBlog API.


Perhaps there are some hidden jewels in dasBlog that I could borrow the idea from...just thinking out loud.

 
 
 
blog comments powered by Disqus