Tuesday, December 30, 2008

Must see JQuery Example - amazing

jQuery Air - A passenger management interface for charter flights. A great Tutorial that you will enjoy.


Sunday, December 28, 2008

ASP.NET MVC Linklist

Justin Etheredge: How To Guarantee That Your Software Will Suck

Justin Etheredge wrote an article: How To Guarantee That Your Software Will Suck

here is an overview:

1) Don't give your developers the tools they need to do their jobs.
2) Just jump right in, plans are for chumps.
3) Set strict deadlines on projects that will take "tens of thousands of man hours".
4) Spend hundreds of hours writing ridiculously detailed documentation.
5) Refuse to buy them more than one monitor.
6) Buy cheap hardware.
7) Keep asking them to multi-task.
8) Write everything yourself.
9) Expect your developers to sit quietly in front of their computer 8 hours a day.
10) Purchase tools without consulting those who will have to use them.

some of the points i absolutely agree with :-)

Sunday, December 21, 2008

Visual Studio Team System 2008 Team Foundation Server Power Tools Explorer Extensions

I'm not a 100% sure but I think this is getting installed with Visual Studio Team System 2008 Team Foundation Server Power Tools:





Especially I like the comparsion with workspace version :-)

TFS - Customizing Process Template's - especially iterations!

I don't know how much hours I spent over the last few day's with TFS (Team Foundation Server) and the configuration around it. I can't understand why Microsoft is making this so hard while alternative products of Microsoft are easy for installation and handling (e.g. Visual Studio / SQL Server / any many more.....)

Let's talk about customizing TFS process templates. You don't need to but I strongly suggest you download the "Visual Studio Team System 2008 Team Foundation Server Power Tools". Once you have installed Visual Studio 2008 Team Foundation Server Power Tools you have a additional menu items below Tools->Process Editor.
Before you launch this you will have to download one of the provided Process Templates:

  • MSF for Agile Software Development - v.4.2
  • MSF for CMMI Process Improvement - v.4.2

To download a Process Templates you will have to choose from the menu: Template Process Manager

Choose your location on your drive and select "Save".




The output will saved as the following Print Screen display:

Now you can go back to your Visual Studio Menu and select: Tools->Process Editor
and select the File ProcessTemplate.xml on your disc.

You gone be surprised what you gone see !!!! At least I was it.



As long as you don't change anything within the iterations it should work when you make your changes save the file and upload it again over the Process Template Manager. But in case you are doing CHANGES AT ITERATIONS you gone face problems upon creating task when you try to add a new TFS Project Wizards.

The error you gone see in your TeamProjectCreation log file looks like this:
---begin Exception entry---
Time: 2008-12-21 14:09:12ZModule: Work Item TrackingEvent Description: TF26214: Cannot save the work item. Fields with errors: Iteration Path;IterationIDException Type: Microsoft.TeamFoundation.WorkItemTracking.Client.ValidationExceptionException Message: TF26202: Iteration Path is not a valid area or iteration path. In the Team menu, click Team Project Settings, and then click Areas and Iterations to review the valid area and iteration paths.Stack Trace: at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem.PreValidate() at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem.PreBatchSave() at Microsoft.TeamFoundation.WorkItemTracking.Client.BatchSaveHelper.BatchSave(WorkItem[] items)
--- end Exception entry ---


How do you handle this.

  1. Close your Process Template Manager
  2. Navigate to your Location on the disc where you have saved your Process Template and from there you navigate to the folder: Work Item Tracking
  3. Open the file: workitems.xml
  4. Now you have to replace all "$$PROJECTNAME$$\Iteration 0" with the iteration you have created, in my case it is:
  5. Upload and overwrite your Custom Process Template and you will be able to create your new project.

I hope VSTS is going to put a lot of efforts to make all this stuff much easier!

XHTML & List of HTML/CSS Services

Some links around XHTML / CSS Services on the web:

Prices are between 150 USD up to 700 USD

Friday, December 19, 2008

TFS, Reporting Server & Sharepoint

I have spoken over the last few weeks with a lot of people about Team Foundation Server / Reporting Services and Sharepoint WSS 3.0.

Microsoft have tried to do all efforts to create a very detailed installation help how to install TFS in all various modes but my personal conclusion is if I see how much people are running around the forums - why the hell they are not able to make one simple Next -> Next installer which will at least cover the basic mode and one for the distributed mode.

If you think how much hours the industry have spent on installing TFS and how much money this cost then it would make sense to me.

The next thing which I don't really like about TFS is the underdevelopment of maintenance tools. You have to grab everything together and more then that with all the hours TFS group people spending on the forums they could create amazing administration tools which would make much easier to the industry.

What are my expectations? Well I work daily hours over hours with Visual Studio and SQL Server Management Studio, why they make those fancy and amazing Tools but they are not able to manage it to develop such a tool within TFS - sad!

I life like the rest of the community in the hope that they gone invest for the next version some time for that stuff.

Wednesday, December 17, 2008

TFS, Reporting Server & Sharepoint

Does your interface complain about IReportViewerMessage? I searched whole-over my web.config files to identify and finally I found it in my Sharepoint Server web.config file:



I didn't do much else then to comment this line and tried to run it again. Ohh good, the good thing is:

  • Everything worked as expected
  • No errors are getting displayed on the websites or Event Log

The bad thing is:

  • Why the hell this happens?

Since 3 day's i haven't experienced any difficulties with this solution but who knows when it ill come.

MSBuild and MVC - does not work?

After I have added my sample MVC Solution to TFS I configured my build client to run a daily build. Challanges at this step:


- Issue: I missed to configure the Build Machine Port 9191

- how to solve: Open firewall and configure port 9191


Once I was able to connect to the build client from TFS when I queued a new build it failed. After googling a while i found a lot of people they had the same problem to build automatically mvc. the good thing is: "I'm not alone with building MVC applications with MSBuild"!


- Issue: Targets are not defined, but what the hell are those targets?

- how to solve:

- Step 1: Navigate at your development machine to the following location:

"C:\Program Files\MSBuild\Microsoft\VisualStudio\v9.0”

- Step 2: everything within this folder i have copied to my build client at the same location.

- Step 3: i downloaded MVC from http://www.asp.net/mvc again on my build client and installed it.

- Step 4: Added a new Build in my Visual Studio and it succeeded :-)


Thursday, December 11, 2008

Easly reading RSS Feeds or ATOM Feeds with System.ServiceModel.Syndication in C# with .net 3.0

Less code lines are almoast not possible! But one leak is available; the load method always download the full items and there is no option only to download item headers.

The formatted version is also available at my website: http://www.ronischuetz.com/code/reading_rss_atom_feeds.html


using System;

using
System.Collections.Generic;

using
System.Linq;

using
System.Text;

using
System.Collections.ObjectModel;

using
System.Xml.Linq;

using
System.IO;

using
System.Net;

using
System.ServiceModel.Syndication;

using
System.Xml;



namespace
ConsoleApplication1

{

class Program

{

static void Main(string[] args)

{

DateTime start
= DateTime.Now;

List<string> urls = new List<string>();

urls.Add("http://feedproxy.google.com/RoniSchuetz");

urls.Add("http://www.tagesanzeiger.ch/rss.html");

foreach
(var item in urls)

{

Console.WriteLine(item)
;

Reader(item);

}

TimeSpan d
= DateTime.Now - start;

Console.WriteLine(d.TotalMilliseconds);

Console.ReadLine();

}

private static int counter = 0;

private static void
Reader(string url)

{

SyndicationFeed blogFeed
= null;

try

{

// Read the feed using an XmlReader

using (XmlReader reader = XmlReader.Create(url))

{

// Load the feed into a SyndicationFeed

blogFeed = SyndicationFeed.Load(reader);

}

}

catch (Exception ex)

{

if (ex is WebException ex is XmlException)

{

// Handle bad url, timeout or xml error here.

Console.WriteLine("Handle bad url, timeout or xml error here: " + ex.Message);

}

else

Console.WriteLine("second case: " + ex.Message);

}

// Use the feed

foreach (SyndicationItem item in blogFeed.Items)

{

Console.WriteLine((++counter) +
" " + item.Title.Text);

}

}

}

}

Monday, December 01, 2008

Intersting approach: Protecting images on the net

It is disheartening to read how images shown on the internet can be taken and used by others. Is there a way of displaying images so that they cannot be downloaded?

Checkout the following link for more information: http://www.guardian.co.uk/technology/askjack/2008/nov/27/protecting-photos

Getting Started with the ASP.NET 3.5 Chart Control

The new Chart control can generate charts without a lot of work on your partDan Wahlin (Microsoft Most Valuable Professional for ASP.NET and XML Web Services) is a .NET development instructor and architecture consultant at Interface Technical Training. Dan founded the XML for ASP.NET Developers site, which focuses on using ASP.NET, XML, Silverlight, AJAX, and Web Services on .NET and runs smartwebcontrols.com. Dan has co-authored/authored several different books on .NET, including ASP.NET 2.0 MVP Hacks, Professional ASP.NET AJAX, XML for ASP.NET Developers and is currently working on a new book on Silverlight 2. Dan blogs at http://weblogs.asp.net/dwahlin.

checkout the following link for more info: http://www.ddj.com/windows/212200721

Shared Cache - .Net Caching made easy

All information about Shared Cache is available here: http://www.sharedcache.com/. Its free and easy to use, we provide all sources at codeplex.

Facebook Badge