Community developer blogs

dnknormark.net - A developers third place.

Website
Author
Martin H. Normark
Last updated
16 Mar 2009 at 21:28
Url
http://www.dnknormark.net
Feed
http://feeds.feedburner.com/dnknormark

Recent Posts

  • Search Twitter from C# using LINQ to XML

    Posted: 16 Mar 2009 at 21:28 by MartinHN

    In some applications, it could be cool to have a feature that enabled the user to quickly get a glimpse of what people are saying on Twitter about the user or their product, service, company etc. For instance, a service like GetSatisfaction.com has a feature just like that. They call it Overheard, and this is what it looks like: There’s nothing like Twitter to give you feedback. I think MediaTemple felt the effect of unhappy customers on Twitter when their servers broke down, and stayed there

  • Migrate web.config to support the IIS 7 Integrated Pipeline

    Posted: 15 Mar 2009 at 22:13 by martinhn

    Whenever you deploy a website to IIS 7 that is not compliant with the IIS 7 integrated pipeline, you will get an error like this one: Not the great error message you get. It actually gives you the solution right away: Migrate Web.config to support the integrated pipeline. To do that, start a command prompt, and execute: %SystemRoot%\system32\inetsrv\appcmd migrate config "test/" After doing this, our Web.config is changed to support the IIS 7 integrated pipeline and we can see the w

  • Automatically translate Global and Local Resource (resx) files

    Posted: 13 Mar 2009 at 22:31 by MartinHN

    Yesterday, I blogged about how you can use Google Translate to translate a string in C#. To make it more useful than just a simple translator, and because I need to translate some Global Resource files for an E-commerce website that I’m working on, I wanted to create a small Windows Application in C# that could read a Global Resource file (.resx) and translate it into a selected language using the method for translating a word in C# that i blogged about yesterday. This is how it looks so far.

  • Translate text in C#, using Google Translate

    Posted: 12 Mar 2009 at 00:14 by martinhn

    Sometimes, it would be great to be able to translate a text from e.g. English to Danish directly from C#. This could be useful when you want to translate a Resource file into another language. Google Translate is awesome. There’s also Windows Live Translator, but Microsoft are far behind Google (also) in this game. Code: using System; using System.Net; using System.Text; using System.Text.RegularExpressions; namespace Utilities { public static class Translator { /// <summary

  • ASP.NET Search Engine Optimization

    Posted: 11 Mar 2009 at 17:46 by martinhn

    I made a few E-commerce websites a few years back when I was self-employed. Ranking well in the search engines is very important for E-commerce websites in order to get relevant visitors, and if your site is designed well for converting, visitors into sales, you will make money. That’s the way it goes. A lot of naive CEO’s and alike, think that you absolutely have to hire expensive SEO consultants in order to rank well. That is *not* true. Instead, why don’t you just spent your time and money on

  • C# TwitPic API client

    Posted: 10 Mar 2009 at 22:51 by martinhn

    I’ve spent some time lately, playing around with the Twitter API. And along with that belongs the TwitPic’s API. I’m using Twitter a lot, to stay in touch with tech news, other developers and just for fun. But it’s getting more and more used for a lot of different things, and I needed it to integrate with an E-commerce platform I’m developing. The code for post a picture to TwitPic looks like this: /// <summary> /// URL for the TwitPic API's upload method /// </summary> private cons

  • ASP.NET MVC and Classic ASP

    Posted: 02 Feb 2009 at 00:09 by martinhn

    As I pointed out in my blog post a few days ago, I see several reasons why you should make the switch to ASP.NET MVC. On the other hand, you have to remember that ASP.NET WebForms has been around for many years, and is a very mature technology. We all know that new technology has its initial flaws. I was fooling a little around with the technology, specifically some databinding where I had a DataTable and wanted to display a Table with the contents. My instant thought was: “This is like databind

  • ASP.NET MVC and Classic ASP

    Posted: 01 Feb 2009 at 20:09 by martinhn

    As I pointed out in my blog post a few days ago, I see several reasons why you should make the switch to ASP.NET MVC. On the other hand, you have to remember that ASP.NET WebForms has been around for many years, and is a very mature technology. We all know that new technology has its initial flaws. I was fooling a little around with the technology, specifically some databinding where I had a DataTable and wanted to display a Table with the contents.

  • Is the use of AJAX on the web voting for a change to ASP.NET MVC?

    Posted: 30 Jan 2009 at 00:13 by martinhn

    With ASP.NET MVC in Release Candidate now, the technology is getting a lot of attention these days. I personally haven’t given it any greater thought until just recently, but I have to admit that I’m tempted towards a change. I like ASP.NET WebForms. I think the WebForm approach provides us with great manageability and gives us a very rich set of controls. But one thing that I don’t like about WebForms is, that it abstracts the anatomy of the web and how the web works. This was probably done to

  • A buggy one: Introduction post

    Posted: 03 Nov 2008 at 23:08 by mn.nospam@nospam.dnknormark.net (martinhn)

    Today, I was thinking about all those hours spent hunting and fixing bugs. I was hunting down a bug that was found after installing Flash Player 10 which resulted in Flash objects not being loaded. I will give the details shortly in the next post – this is just to clarify my intentions about upcomi

  • A buggy one: Introduction post

    Posted: 03 Nov 2008 at 22:08 by martinhn

    Today, I was thinking about all those hours spent hunting and fixing bugs. I was hunting down a bug that was found after installing Flash Player 10 which resulted in Flash objects not being loaded. I will give the details shortly in the next post – this is just to clarify my intentions about upcoming posts, and the definition of them. I thought it would be great, at least for myself, to have a place of some of the bugs that makes you laugh, cry, bang your head against the wall or whatever you do

  • Early thoughts on Windows Azure

    Posted: 27 Oct 2008 at 16:53 by mn.nospam@nospam.dnknormark.net (martinhn)

    So I just got home from work, and fired up my browser to check out the latest news from this year’s Microsoft PDC, by live streaming, and following the live blogging session. And as always, something big is underway. Windows Azure, is Microsoft’s answer to Amazon EC2. It is a cloud computing platfor

  • Silverlight 2.0 provides better remote debugging experience

    Posted: 26 Oct 2008 at 02:25 by mn.nospam@nospam.dnknormark.net (martinhn)

    Some months ago, I did some remote debugging of a Silverlight app on a Mac. To say the least, it wasn’t all that intuitive, and it required a lot of trying and guessing to achieve the desired goal. Personally I think remote debugging is cool, but I can’t really see the great need of it. Silverlight

  • Silverlight 2.0 provides better remote debugging experience

    Posted: 26 Oct 2008 at 01:25 by mn.nospam@nospam.dnknormark.net (martinhn)

    Some months ago, I did some remote debugging of a Silverlight app on a Mac. To say the least, it wasn’t all that intuitive, and it required a lot of trying and guessing to achieve the desired goal. Personally I think remote debugging is cool, but I can’t really see the great need of it. Silverlight

  • Windows Live Development Part 1 - Authenticating users via Windows Live ID

    Posted: 19 Jun 2008 at 23:01 by MartinHN

    With so many online services out there, you nearly claim a new online identity somewhere every day. You tend to use the same username and password couple for all of them, but sometimes your preferred username is taken, or your password does not meet the sites' password policy. I reckon I have well o

  • Windows Live Development Part 1 - Authenticating users via Windows Live ID

    Posted: 19 Jun 2008 at 22:01 by mn.nospam@nospam.dnknormark.net (MartinHN)

    With so many online services out there, you nearly claim a new online identity somewhere every day. You tend to use the same username and password couple for all of them, but sometimes your preferred username is taken, or your password does not meet the sites' password policy. I reckon I have well o

  • Designing for Internationalization

    Posted: 10 Jun 2008 at 20:17 by MartinHN

    Web sites and Web Applications today, are very often exposed beyond the borders of your home country, and therefore users speak different languages, and has a different currency, date- and time formats etc. ASP.NET provides you with an entire namespace for handling things like this. That is the Syst

  • Designing for Internationalization

    Posted: 10 Jun 2008 at 19:17 by mn.nospam@nospam.dnknormark.net (MartinHN)

    Web sites and Web Applications today, are very often exposed beyond the borders of your home country, and therefore users speak different languages, and has a different currency, date- and time formats etc. ASP.NET provides you with an entire namespace for handling things like this. That is the Syst

  • ASP.NET Server Control: FeedList - List most recent items from an RSS feed as links

    Posted: 21 Apr 2008 at 21:30 by MartinHN

    RSS feeds is everywhere, and rightly so. Just about any modern browser, e-mail client, search engine or mobile phone is compliant with the RSS technology, and it gives web developers an easy and very convenient way to share and consume content across the web. From time to time I need to show a list

  • ASP.NET Server Control: FeedList - List most recent items from an RSS feed as links

    Posted: 21 Apr 2008 at 20:30 by mn.nospam@nospam.dnknormark.net (MartinHN)

    RSS feeds is everywhere, and rightly so. Just about any modern browser, e-mail client, search engine or mobile phone is compliant with the RSS technology, and it gives web developers an easy and very convenient way to share and consume content across the web. From time to time I need to show a list

Events coming up

  • Dec 7

    An Event Apart San Francisco 2009

    San Francisco, United States

    From the makers of A List Apart: An Event Apart is an intensely educational two-day conference for passionate practitioners of standards-based web design. If you care about code as well as content, usability as well as design, An Event Apart is th...

Related blogs

  • Gary Pretty

    Blog about software development, including C#, ASP.Net, Expression Web and Visual Studio. I am a software developer working for Experian as well as several years of freelance web design experience.

  • neil kilbride's blog

    A Computer Science graduate from Nottingham University, I now work in Software Development for the UK's leading Business SMS services provider - Esendex. My contributions into the blogosphere involve web application development in the .Net framework, CSS, Javascript, (X)HTML, and maybe some PHP and Perl (but hopefully not too much Perl :P).

  • Blood Sweat and Bugs

    A Developer's everyday experiences put down in words, along with explenations and code samples. For Asp.Net, Ajax, Flash developers, and others can always benefit as well.

Related podcasts

  • 2008 Year in Review

    CodeCast Episode 9: 2008 Year in ReviewOur special 2008 year in review episode with hosts Ken Levy and Markus Egger, joined by special guest co-host Rick Strahl of West Wind Technologies. Topics · Visual Studio (@ 2:37) · Languages (@ 6:28) · SQL Server (@ 10:15) · ...

We'd love to hear what you think! Submit ideas or give us feedback