A A
RSS

Tag Archive | "Tips & Tricks"

Testing Web Apps With Selenium, Explorer and .NET

Monday, January 19, 2009

View Comments

Here are the steps to run your Selenium tests against Internet Explorer. Create the tests Install Selenium IDE from http://seleniumhq.org Record your tests in Firefox using the Selenium IDE Click File > Create New Test Click the record button and create your test Click the record button to stop the test Save your test Click [...]

Themes and ASP.NET MVC

Thursday, October 2, 2008

View Comments

I wanted to easily add theme support to yonkly, so that others can install it and modify its look and feel as they please.  I also wanted it to be as easy as installing a theme in wordpress. I created a themes folder under the content folder Then I referenced my css file in the [...]

Database Schema Compare & Upgrade

Thursday, July 10, 2008

View Comments

I spent a few days playing with Ruby on Rails a while back.  During the learning experience, there was one particular feature that I really liked.  It was the database migration scripts that get automatically generated for you.  I always wished I had something like this in the windows (asp.net) world.  It turns out there [...]

Unit Test Private Methods in Visual Studio

Wednesday, July 9, 2008

View Comments

I am working on a feature that will let me import twitter messages to yonkly and wanted to write a test for it.  The method is private and I couldn’t get the unit test to see it.  I also didn’t want to use the private accessor class generate by Visual Studio because I was mocking [...]

Shortening URLs Using TinyUrl API in .net

Tuesday, April 15, 2008

View Comments

Here is a quick method to shorten URLs using the TinyUrl API in .net – C# and VB C# public static string MakeTinyUrl(string Url) { try { if (Url.Length <= 30) { return Url; } if (!Url.ToLower().StartsWith("http") && !Url.ToLower().StartsWith("ftp")) { Url = "http://" + Url; } var request = WebRequest.Create("http://tinyurl.com/api-create.php?url=" + Url); var res = [...]

Advertise Here
The Most Intelligent Add-In To Visual Studio Happy fan of

What I'm Doing...

Recent Posts

Yonkly Open Source

Sign up for my newsletter




* = required field

powered by MailChimp!

megree Widget

Apparently, I am connected to Obama. Check this out...
My path to Obama

Cyber Identity