Pages

Thursday, July 31, 2008

URL Rewriter for ASP.Net

Open Source URL Rewriter for .NET / IIS / ASP.NET » Home

Here is an open-source ASP.Net component for URL rewriting. The component provides features similar to Apache with mod_rewrite and .htaccess. No need for ISAPI Rewrite filter in IIS.

"Hidden" Code Gen Tool in VS2008

Did you know there was a "hidden" code-generation feature in VS2008? Text Templating Transformation Toolkit (aka T4) actually debuted in VS2005 Guidance Automation Toolkit, but shipped baked into VS2008. This gives you CodeSmith-style code-generation templates that can be used in your projects to generate code from any source. Simply add a text file with the extension ".tt", and VS will add a "Transform Templates" button to the solution explorer window.

http://msdn2.microsoft.com/en-us/vs2008/cc308634.aspx
http://msdn.microsoft.com/en-us/library/bb126445(VS.80).aspx

Monday, July 28, 2008

Remote Debugging

Remote debugging with Visual Studio 2008 - Program - .Net - Builder AU

Having problems with a WCF service deployed under IIS 6.0. After an application is tested on a development workstation it is deployed to the Test environment. If there are differences between the two environments then errors might occur that were not encountered during development runs. Therefore, a debugging session might be needed to check what happens with the service once it is deployed into a new environment.

To set up remote debugging with Visual Studio 2008
  • Install Remote Debugging tools from VS 2008 installation media to the server hosting the service;
  • Configure Remote Debugging tools on the server;
  • Connect to the remote application from the client Visual Studio 2008;

Anonymous Surfing

Tor: anonymity online

Installing latest FoxyProxy plugin for Firefox there was a question whether to configure the proxy for use with Tor network. I had completely forgotten about this network. And, only recently, I was looking for lists of anonymous proxies available on the internet. I keep the links on this page - here.
There are proxies which you access through a browser, then type in the address on their page and surf through a frame. Very practical, does not require any configuration on client side. See here.
Another type of proxies are the standard ones. You can configure your browser to use one of them and/or use a plugin, like FoxyProxy for Firefox, to cycle through them. See the lists here.
The third option is Tor network. It is a sort of P2P proxy network, if that makes sense. It is a P2P network where your traffic flows through other people's computers and contacts the desired URL from the nearest (I guess) network node. See the concept here.

Let me know if you are aware of other similar projects and options.

Sunday, July 27, 2008

Think Python: An Introduction to Software Design

Think Python: An Introduction to Software Design

Here is a free e-book with an interesting title. Intended for a semester course on programming with Python, it is ideal for what I need right now - to learn the broader picture of Python software development. If you are looking for the same thing, download the book from the link above.

Saturday, July 26, 2008

CSS

Texts about web design. There are lots of samples on how to work with lists and CSS. Something I'm trying to do right now - rearrange old table layout into CSS. But, some things don't work the way I expect, or want, them.

A list apart

Python Blog

life is short - you need Python!

Here is an interesting blog related to Python programming. I found about it through Entrecard community. The owner actually advertised on my blog through Entrecard. :)
Nevertheless, I'm keeping the link to the Python blog because I'd like to explore it more when I have the time so that I could dive more into the world of Python and play with Google App Engine. I am still fascinated by it but don't really have the time to play more and spark some ideas about what interesting feature I could implement using it. Ah, plus I'm in the holiday mode. Hardly waiting to go for a vacation next week. Haven't had real rest in about six months now. More about these things in my Australia blog.

Friday, July 25, 2008

Showing Line Numbers in Visual Studio 2008

Today I was looking for a particular place in the code file and found that there are no current line number displayed anywhere in the IDE. :S
The reason was that there was no status bar displayed at all.
Tools -> Options -> Environment -> General -> ShowStatusBar is the option to turn it back on. This has not happened ever since I've been using Visual Studio products. Wasn't even aware that such a thing is possible. :)

Edit: Thanks for the feedback, everyone! I've updated the settings path and the option to enable line numbers in the editor.

If, instead of enabling the status bar, you are looking on how to enable line numbers in the editor window, on the left-hand side, try the following option, as suggested in the comments below:

1. Tools > Options > Text Editor > All Languages > General
2. On the right, under Display section, put tick mark for Line numbers.

Wednesday, July 23, 2008

Microsoft Team Foundation Server Branching Guidance

Microsoft Team Foundation Server Branching Guidance - Home

Here is something to read if you're planning doing branching and merging of code with Team Foundation System. I guess the concepts are the same as with other code repositories but, knowing Microsoft, there still could be some perks. Unfortunately, I still haven't used TFS 2008 for any significant work in a production environment but I hope the glitches from 2005 were fixed and things generally improved.
We're in the process of moving to TFS 2008 so here's a link to documentation that will be useful to model the development process on.

Sunday, July 20, 2008

Entrecard

Just a quick post here. If you are into blogging, definitely have a look at Entrecard. I posted articles about my experiences with it here and some description of the credit system here. It seems like a hybrid service, a meshup of advertising, traffic exchange, content list, and what not. Have a go, see how you like it.

Python Development

Python

Just added a new page devoted to Python development and inspired by Google AppSpot project. Useful links, tips, examples...

Sunday, July 13, 2008

Capricorn Relationships

Here are some links for relationships between Capricorns. From what I remember, this sign should be very compatible with itself.

The reports start here.

Friday, July 04, 2008

Google Adsense Alternatives

Google Adsense Alternatives | Make Money Online

Here are some AdSense alternatives. Not yet tried them but this could be an experiment over the weekend.

Here is my list...

Yahoo Publisher Network
AdBrite


Thursday, July 03, 2008

Embed Client-Side JavaScript in ASP.Net 1.1 Page in Code

Here is a nice description on how to append the client-side JavaScript to a page. I am trying to set the form destination in code, depending on prior conditions, and then append the client-side JavaScript that will submit an appropriate form on the page.