Tuesday, December 30, 2008
Must see JQuery Example - amazing
at 10:54 PM 0 comments Posted by roni schuetz
Labels: links
Sunday, December 28, 2008
ASP.NET MVC Linklist
- http://blog.wekeroad.com/
- Exploring System.Web.Routing
- Setting up authentication in asp.net MVC
- Using System.Web.Abstractions in Your WebForms Apps
- ASP.NET MVC Request Flow
- Hierarchical Treeview with ASP.NET MVC & jQuery
- ASP.NET MVC Tip #1 - Accessing TempData from a ViewUserControl
- ASP.NET MVC Tip #2 - Redirecting to another action and passing information to it
- ASP.NET MVC Tip # 3 - Getting an Absolute Url Using an Extension Method
- ASP.NET MVC Tip #4 - Handling Multiple Form Actions on One View
- ASP.NET MVC Tip #5 - Submitting an AJAX Form with jQuery
- ASP.NET MVC Tip #6 - Code Snippets for Quickly Testing Routes
- ASP.NET MVC Tip # 7 - Using a CAPTCHA with MVC (http://www.coderjournal.com/2008/03/aspnet-mvc-captcha/)
- Using the ComponentController in ASP.NET MVC CTP 2
- Fluent Filters, IQueryable and Linq To Sql for Easy Data Access
- HowTo: ASP.NET Chart Controls mit ASP.NET MVC nutzen
- HowTo: ASP.NET MVC Projekt erstellen (erster Einstieg)
- HowTo: ASP.NET MVC - Was ist es und warum sollte man es sich anschauen?
- LINQ to MSI - Part 0 - Introduction
- Linq to SQL Wish List
- # 7 - (re)Creating your DB with Linq’s DataContext for testing
- TDD Tips: Test Naming Conventions & Guidelines
- # 8 - Introduction to Mocking with Moq
- 3 mistakes to avoid when using jQuery with ASP.NET AJAX
- Implementing the Repository Pattern with Linq-to-Sql
- Mocking LINQ to SQL DataContext
- Code Generation Tool (SqlMetal.exe)
- More In LINQ to SQL with the Repository Pattern
- LINQ to SQL - Implementing the Repository pattern
- Getting Expressive: Digging deep into Expression Trees Part 1
- Getting Expressive: Digging Deep into Expression Trees Part 2
- Linq to SQL DataContext Lifetime Management
- Business Object wrapper around LINQ to SQL
- Visual WebGui and a LINQ to SQL quirk
- LINQ and Entity Framework Posts for 2/4/2008+
at 10:42 AM 0 comments Posted by roni schuetz
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 :-)
at 10:41 AM 0 comments Posted by roni schuetz
Labels: agile project, definition, development, general, project management, project principles
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 :-)
at 4:35 PM 0 comments Posted by roni schuetz
Labels: tfs, tfs power tools extension
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.
- Close your Process Template Manager
- 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
- Open the file: workitems.xml
- Now you have to replace all "$$PROJECTNAME$$\Iteration 0" with the iteration you have created, in my case it is:
- 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!
at 2:15 PM 0 comments Posted by roni schuetz
Labels: customizing, tfs, tools
XHTML & List of HTML/CSS Services
Some links around XHTML / CSS Services on the web:
- http://snook.ca/archives/html_and_css/html_css_services/
- http://www.snook.ca/archives/html_and_css/commoditization_of_html/.
- http://www.mostsliced.com/
Prices are between 150 USD up to 700 USD
at 12:35 PM 0 comments Posted by roni schuetz
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.
at 6:58 PM 2 comments Posted by roni schuetz
Labels: tfs
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: The bad thing is: Since 3 day's i haven't experienced any difficulties with this solution but who knows when it ill come.
I didn't do much else then to comment this line and tried to run it again. Ohh good, the good thing is:
at 9:12 AM 0 comments Posted by roni schuetz
Labels: reporting server, tfs
MSBuild and MVC - does not work?
at 8:54 AM 0 comments Posted by roni schuetz
Labels: agile project, asp.net, mvc, tfs
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);
}
}
}
}
at 2:07 PM 0 comments Posted by roni schuetz
Labels: .net, asp.net, C#, code sample
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
at 8:48 AM 0 comments Posted by roni schuetz
Labels: protect images
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