Archive for HowTo

HowTo: Create RSS Feeds with Linq to XML / XLinq

image

It´s very easy to create an RSS using Linq to XML. In my sample I create a ASP.NET page, which offers a RSS Feed. We add also a meta tag so that users can find our RSS Feed.

 

 

Read the rest of this entry »

kick it on DotNetKicks.com

HowTo: Tweet with C#

imageTwitter is the internet Microblogging Service – this is my acc BTW. Twitter has an API since the beginning (and IMHO is this one big reason why twitter is so successful). The Twitter API is REST based and so you can easily create Twitter-Clients with .NET. If you don´t want to create the HTTP basic stuff, check out existing libraries, like Tweetsharp.

Read the rest of this entry »

kick it on DotNetKicks.com

HowTo: From the view to the controller in ASP.NET MVC with ModelBinders

image_thumb4With ASP.NET MVC the developer has now full control about the HTML rendering and how the form data will be transmitted to the server. But how can you get the form values on the server side? There are better ways in MVC to do that than Request.Form["..."].

Read the rest of this entry »

kick it on DotNetKicks.com

HowTo: Rename SQL Tables in Visual Studio

imageThe integration of SQL Servers in Visual Studio is really great. I use VS to create my SQL tables and simple administration stuff – it´s not often that I start SQL Management Studio. But one thing is really annoying: You can´t rename SQL Tables in VS! But there is a little trick to do that.

Read the rest of this entry »

kick it on DotNetKicks.com

HowTo: Setup IIS7 as development server in Visual Studio 2008

image_thumb3Webdevelopment with Visual Studio is really easy – just hit F5 and you jump into the debugger. VS use (as default) the built-in "ASP.NET Development Server" called "Cassini". But there are some pitfalls if you use this server, because the behavior of the IIS and Cassini are sometimes a bit different and the dev server is much slower! The good news: With few clicks you can debug and deploy your application right on IIS7 (on Vista/Server 2008).

Read the rest of this entry »

kick it on DotNetKicks.com

HowTo: Understanding Interfaces – a simple description

image Interfaces are an important feature for designing great software, but many programming newbies have a understanding problem – Why should I use "interfaces"? What is an "interface"?

 

Read the rest of this entry »

kick it on DotNetKicks.com

HowTo: First steps with the Windows Azure CTP and the first "HelloWorld"

imageIn my last blogpost I talked about different cloud computing providers, like Google, Amazon and Microsoft.

Today I want to describe Windows Azure more and show you how to use the Windows Azure CTP and how to publish a "Hello World" app in the "cloud".

Read the rest of this entry »

kick it on DotNetKicks.com

HowTo: Hello "Cloud-Computing"

Cloud-Computing is a new nice buzzword after Web 2.0 and everything goes "in the cloud" – but what means "in the cloud"? Who are the big players and why should you care about it?

image image image

Read the rest of this entry »

kick it on DotNetKicks.com

HowTo: Create SQL Table Relationships via Drag´n´Drop

image_thumb3If you create a relationship between to SQL tables, you get many benefits. The most important benefit (for me) is the integrity of your data. Besides the database-world there is another huge benefit: The relationships are used by many O/R mappers to create a structured object model. You could create such realtionships via different dialogs in the SQL Management Studio / Visual Studio or just do a "Drag´n´Drop" from one table to another one.

Read the rest of this entry »

kick it on DotNetKicks.com

HowTo: SQL Database web access with ASP.NET Dynamic Data and Entity Framework (hosted on IIS 6.0)

image I started my programming career with PHP and MySQL and I used very often a webbased mysql admin panel called "PhpMyAdmin".
It has (of course) not all features of the SQL Management Studios, but if I only want to have a quick look at the database it is very cool – and you only need a simple browser.
You can create such an tool with ASP.NET Dynamic Data and Linq2Sql or the Entity Framework within minutes.

Read the rest of this entry »

kick it on DotNetKicks.com