Using ASP.Net for Code Generation

Jul
15
2009
by M.S.

Developers periodically find themselves with the need to have utilities to generate large amounts of templated C# code (a common example would be class files from either a database or text file). There are a number of options for writing code generation utilities, from CodeSmith to manually building up large strings in your C# code; some obviously easier and faster for the developers to write than others.  For developer's who, for reason's involving ease of use or familiarity, would like to use an environment similar to asp.net for managing their templates, I would point out they do have the option of actually using asp.net.  Nothing about asp.net actually requires the textual output for an .aspx page to be html. 

Read on to see a basic implementation of the idea.

 

I tend to spend a lot of time on conference calls these days. I assume that is because in general, when you work contract or for an agency, you usually charge by the hour, and it makes more sense to call in than to have someone pay travel expenses. More often than not, as a call gets going there is a little awkward shuffling, even when an agenda goes out, for the call to actually get underway. That is a great time to ask a question to get everyone in the conference call mood and get things rolling.

For a SEO strategy call, I often open with a general question along the lines of, "So have you done any SEO work for your site?" The response to that, which generally chills me to the bone as if I was stuck in a slasher movie is, "We did some research, read some stuff, and have started implementing things." Oh no, as it turns out, the company was really a quiet loner who always kept to themselves...

Apple today announced that the iphone (that previously sold for $199) is now on sale for $99. This price reduction is in response to the Palm Pre that is now available (retail price - $199) as well as the launch of the iphone 3G S - a faster version with more features. The iphone 3GS will also be sold at $199. Read more at Tech Crunch.  

Apple's brand has been built on cutting edge technology catering towards the younger, hipper, computer user. Apple is innovative and design focused. The brand is "cool", their products are cool, ads are cool, and the Apple suite of products is not for everyone. The reason why its so cool is because your mom doesn't use an iphone - you do. You are the tech saavy consumer that likes to have the latest, greatest products to show off to your friends and the design is so cool, you just have to have it.

So what does it mean if Apple is slashing its prices to gain greater market share with the iphone? Are they slashing their brand as well?

In case you have been living in a cave, you may have noticed that Microsoft released the preview version of it's latest search engine today. It's called "Bing!". For starters, I am a bit of a pessimist when it come to non-google search engine initiatives because honestly - they've all pretty much stunk. Also, I'm a pretty huge fan of google in general. Their search engine, apps, gmail, maps, google earth, good code...you name it, I'm a fan. Anyway, continue reading for my early impressions of "Bing!".