Tag | CodeProject Posts

It’s known that on web Farm using of eTags under IIS doesn’t work properly unless all servers are synchronized.http://support... suggests to synchronize the ETag values on all the Web servers that are running IIS using Mdutil.exe that should be extracted from Windows CDhttp://developer.yahoo.co... to use iiscnfg.vbs script (with the /copy switch) to keep cluster configuration synced up, this keeps the MDETAGCHANGENUMBER ...
In this Issue: András Velvárt, Tony Champion, Joost van Schaik, Jesse Liberty, Shawn Wildermuth, John Papa, Michael Crump, Sacha Barber, Alex Knight, Peter Kuhn, Senthil Kumar, Mike Hole, and WindowsPhoneGeek. Above the Fold: Silverlight: "Create Custom Speech Bubbles in Silverlight." Michael Crump WP7: "Architecting WP7 - Part 9 of 10: Threading" Shawn Wildermuth Expression Blend: "PathListBox: Text on the path" Alex Knight From SilverlightCream.com: Behaviors for accessing the Windows Phone 7 MarketPlace ...
In this Issue: Sacha Barber, David Anson, Jesse Liberty, Shawn Wildermuth, Jeff Blankenburg(-2-), Martin Krüger, Ryan Alford(-2-), Michael Crump, Peter Kuhn(-2-). Above the Fold: Silverlight: "Part 4 of 4 : Tips/Tricks for Silverlight Developers" Michael Crump WP7: "Navigating with the WebBrowser Control on WP7" Shawn Wildermuth Shoutouts: John Papa posted that the open call is up for MIX11 presenters: Your Chance to Speak at MIX11 From SilverlightCream.com: Aspect Examples (INotifyPropertyChanged ...
2010 has been a very good year for me and I wanted to create a list and thank everyone for what they have done for me. I also wanted to thank everyone for reading and subscribing to my blog. It is hard to believe that people actually want to read what I write. I feel like I owe a huge thanks to everyone listed below. Looking back upon 2010, I feel that I’ve grown as a developer and you are part of that reason. Sometimes we get caught up in day to day work and forget to give thanks to those that helped ...
In this (Almost) All-Submittal Issue: John Papa(-2-), Jesse Liberty, Tim Heuer, Dan Wahlin, Markus Egger, Phil Middlemiss, Coding4Fun, Michael Washington, Gill Cleeren, MichaelD!, Colin Eberhardt, Kunal Chowdhury, and Rabeeh Abla. Above the Fold: Silverlight: "Two-Way Binding on TreeView.SelectedItem" Phil Middlemiss WP7: "Taking Screen Shots of Windows Phone 7 Panorama Apps" Markus Egger Training: "Beginners Guide to Visual Studio LightSwitch (Part - 4)" Kunal Chowdhury Shoutouts: Don't let the ...
In this Issue: Mark Monster, Paul Sheriff, Andrew Tokeley, Sharker Khaleed Mahmud, Joe McBride, Jesse Liberty(-2-), Jeff Blankenburg, Kirupa Chinnathambi, Richard Waddell(-2-), and Manuel Felício(-2-). Above the Fold: Silverlight: "Silverlight 4 Borderless Windows" Andrew Tokeley WP7: "Windows Phone List Box with Images" Paul Sheriff Special Mention for all the effort for the community of WP7 devs: "31 Days of Windows Phone | Day #31: Charting Data" - and the entire series Jeff Blankenburg From SilverlightCream.com: ...
At the beginning of September, we launched All-In-One Code Framework Customer Polling Survey. 62 customers filled out the survey in September, and provided lots of constructive suggestions. Thanks to all of you who shared your invaluable feedback! The project can become better and better because of you. Please continue to input your comments. Here is a summary of feedback that we collected in September, and the project team's follow-up action. ------------------------ The top five areas that the ...
In this Issue: Michael Washington, Richard Waddell, Jeff Blankenburg(-2-, -3-), Dejan Jakovic, Peter Kuhn, Domagoj Pavlešic, Thomas Martinsen, Jesse Liberty, and Joost van Schaik(-2-). Above the Fold: Silverlight: "Silverlight Unsaved Data Detection " Michael Washington WP7: "Extension methods for tomb stoning the Windows Phone 7 model" Joost van Schaik Expression Blend: "Simple Layout Techniques In Blend " Richard Waddell Shoutouts: Mark your calendars, because Beth Massi announced MSDN Radio on ...
*Moved to: Team Foundation Server 2010 Event Handling with SubscribersThere is a lot of references and blog posts on how to handle SOAP events raised by Team Foundation Server 2005, 2008 and 2010 but is there anything new in 2010 that supersedes this? Even though I knew it was there, n o amount of google-fu brought back any results relevant to anything new, so hopefully this will fill that gap. Read more...Follow my new blog on http://blog.hinshelwood.com ...
In this Issue: Benjamin Gavin, Richard Waddell, Kunal Chowdhury, Chris Koenig, Timmy Kokke, cherylws, David Anson, Jeremy Likness, David Kelley, Andy Beaulieu, and Walt Ritscher. From SilverlightCream.com: Silverlight TreeView Case Study - FAQ Maintenance - Part 1 Benjamin Gavin is pulling together the posts he's recently done and producing an updatable FAQ file app -- something I find useful -- and this is part 1 ... good stuff! Extending Central Silverlight Business Rules to Client and Server Side ...
In this Issue: Emiel Jongerius, Michael Washington, Kevin Dockx, Alex van Beek, and Alex Golesh. Sorry for being silent, but dealing with an imploding contract and training my replacement is sucking the energy out of me. Here is a Submittal only post... From SilverlightCream.com: Postponing actions Emiel Jongerius has a new post up on a utility class that can be used to limit the calls to internal synchronization methods of objects... think DeferRefresh. Dynamically Loading Silverlight Video Players ...
In this Issue: Michael Washington, Mickael Chambaud, Colin Eberhardt, Jeff Wilcox, John Papa, Jesse Liberty, Karsten Januszewski, Kunal Chowdhury(-2-), and Tim Heuer. Shoutout: David Anson posted his Updated collection of great Silverlight/WPF/Windows Phone Data Visualization resources! From SilverlightCream.com: Using the “Hisowa Simple PopUp Behavior” in a DataGrid Michael Washington has a tutorial up showing how to use the "Hisowa simple popup Behavior" that he assisted on getting to codeproject ...
In this Issue: René Schulte, Haruhiro Isowa, Jesse Liberty, Jeremy Likness, Shawn Wildermuth, Evan Hutnick, Don Burne, Mark Tucker, On Ali Tinwala, Derik Whittaker, and Mark Arteaga. Shoutouts: Chris Cavanagh has converted his Soft Body Physics Demo to WP7: JelloPhone for Windows Phone 7 Joe Healy has his list of 7 Steps to Get You Going on Windows Phone 7 Dev ... I might add a couple more links to item 5, but I'm prejudiced :) If you're in the mood for purchasing a WP7 Toolkit for building apps, ...
In this Issue: Timmy Kokke, Damon Payne, Kirupa Chinnathambi, Giorgetti Alessandro, Dinesh Sodani, David Anson, Kunal Chowdhury, haruhiro isowa, Max Paulousky, Rénald Nollet, and Rob Tiffany. Shoutouts: Cigdem Patlak interviews Daron Yondem Part 1: Istanbul Yazgelistir Summit – Daron Yondem on Silverlight activities in MEA, Silverlight 4 and Windows Phone 7 Series Cigdem Patlak interviews Daron Yondem Part 2: Istanbul Yazgelistir Summit – Daron Yondem on upcoming Silverlight releases, the Silverlight ...
In this Issue: Emiel Jongerius, Nokola, Christian Schormann, Tim Heuer, David Poll, Mike Snow(-2-), John Papa, and Charles Petzold. Shoutout: Viktor Larsson has a frank look at WP7 based on information from MIX10 and what was said this week in his post: Licking Windows Phone 7... yeah licking, not liking :) .. my guess is even that didn't allow him to keep it! If you haven't already noticed, the CodeProject reader's choice awards are out this week and Telerik won for their RadColorPicker and RadCalendar ...
In the last few months since I started learning F# I have begin to notice an increase in the number of people blogging about the language. Sure, it could just be that I am noticing it more because I am actively looking out for questions and blog posts, but even in my day to day reading of Code Project Daily News and Stack Overflow questions there seems to be increased activity around the language. So what sparked this post? Well, today today I logged in and saw that the latest podcast by DNR was ...
In this Issue: Miroslav Miroslavov(-2-), Mike Snow(-2-, -3-), Paul Sheriff, Fadi Abdelqader, Jeremy Likness, Marlon Grech, and Victor Gaudioso. Shoutouts: Andy Beaulieu has a cool WP7 game up and is looking for opinions/comments: Droppy Pop: A Windows Phone 7 Game Karl Shifflett has code and video tutorials up for the app he wrote for the WPF LOB tour he just did: Stuff – WPF Line of Business Using MVVM Video Tutorial From SilverlightCream.com: Flipping panels I had missed this 3rd part of the CompleteIT ...
In this All Submittal Issue: Colin Eberhardt, Ken Johnson, Alan Beasley, Pencho Popadiyn, Phil Middlemiss, Khawar(-2-), Levente Mihály, Alex van Beek, Bart Czernicki, Michael Washington, and Mark Monster. Shoutout: Not Silverlight necessarily, but definitely VS2010, read what Brett Balmer has to say In Defense of Portrait Mode From SilverlightCream.com: Silverlight MultiBinding solution for Silverlight 4 Colin Eberhardt updated his Silverlight Multibinding solution to Silverlight 4. Great article ...
*Moved to: When should I use Areas in TFS instead of Team Projects in Team Foundation Server 2010Well, it depends…. If you are a small company that creates a finite number of internal projects then you will find it easier to create a single project for each of your products and have TFS do the heavy lifting with reporting, SharePoint sites and Version Control.Read more...Follow my new blog on http://blog.hinshelwood.com ...
*Moved to: Solution: Getting Silverlight to build on Team Foundation Build Services 2010This is SSW’s first time using Team Build 2010 to automatically create a Silverlight application. In the past the guys have used Cruse Control, but we want to move to a pure TFS 2010 solution. When one of our developers (Allan) added a Silverlight 3 project to the Solution our build server spat it out. Read more...Follow my new blog on http://blog.hinshelwood.com ...
[Advert: Interested in Azure? Based in the UK? Be amongst friends -> http://ukazure.ning.com/] I just stumbled upon some work by my US colleagues and CodeProject to create a competition around deploying applications on the Windows Azure Platform. Looks to me like it is open to UK developers – hence I would encourage you to have a shot at winning and bringing the prizes back to Blighty. Give Windows® Azure a try in February and you could win an HP TouchSmart laptop (approximately $1000 USD value) ...
In this Issue: Joel Neubeck, James Bacon, Jeremy Likness, John Stockton, Fredrik Normén, Subodh Pushpak, Alexander Golesh, PhaniRajuYN, Victor Gaudioso, and Syed Mehroz Alam. Shoutouts: Michael Sync posted the material for his My WPF MVVM Session at Consistel Michael also posted an interesting post Rules of MVVM?? Andrew Marshall reported to me that he now has the code posted for his Silverlight and CUDA interop article.. thanks Andrew! John Papa isn't wasting any time with Silverlight TV ... he's ...
*Moved to: Solution - SEO permanent redirects for old URL’s?From time to time, your website structure may change. When this happens, you do not want to have to start from scratch with your Google rankings, so you need to map all of your Old URLs to new ones. This may seem like a trivial thing, but it is essential to keep your current rankings, that you worked hard for, intact.Read more...Follow my new blog on http://blog.hinshelwood.com ...
I am working on my first significant WPF application and found myself in need of a simple visual color picker. I quick trip to Bing linked me to a Sacha Barber CodeProject project that met most of my requirements. His associated blog post is here. My biggest unfilled need was the ability to set the initial color, so I set about adding that to the original code. I made a few changes along the way. The revised code can be downloaded here. I made the following changes to the ColorPicker control: Set ...
*Moved to: Configuring Visual Studio 2010 Team Foundation Server on Vista in 12 minutesAs Microsoft have separated Install with configuration, so I have separated my posts! You will need TFS2010 installed prior to the steps below. Read more...Follow my new blog on http://blog.hinshelwood.com ...
*Moved to: Installing Visual Studio 2010 Team Foundation Server on Windows Vista in 3 minutesNew in Visual Studio 2010 is the ability to install TFS on XP, Vista and Windows 7. You can use SQL 2008 Express, so no large overhead, and the Basic version you use for this does have the reporting and SharePoint requirement that the main install does. That does not mean that you can't upgrade later :) Read more...Follow my new blog on http://blog.hinshelwood.com ...
Just posted a new article on CodeProject about the new System.ComponentModel.DataAnnotations dll added in SP 3.5.1. If you have not seen this yet it is a really cool set of attributes that allow you to add validation rules to properties as attributes.

Check out the article and let me know what you think. Remember to vote!


http://www.codeproject.com/KB/validation/DataAnnotations.aspx
*Moved to: Wpf Scale Transform BehaviourAlthough this post is called Scale Transform Behaviour you could use any transform / animation in its place. The purpose is to have a slider control in a menu be able to alter the scale of any number of controls within MVVM views. Read more...Follow my new blog on http://blog.hinshelwood.com ...
*Moved to: Wpf Ninject Dojo: The Data ProviderYou have probably heard me go on about Unity a couple of times: My.Unity.Resolve(Of Ninja) Unity and ASP.NET Creating a Data Access layer using Unity I have been using what is now unity since the good old days (sooo not true, WPF is the Windows Forms killer, and good riddance) of WindowsForms and CAB (Client Application Block), but now there is a lightweight alternative: Ninject. Read more...Follow my new blog on http://blog.hinshelwood.com ...
*Moved to: Updating the Command Line ParserI had previously created a Command Line Parser from Ray Hayes codeproject article Automatic Command Line Parsing in C#. I had adapted it to VB.NET and upgraded it to .NET 3.5 but I recently ran into the problem with wanting a single command prompt application to handle multiple processes and multiple parameters. This would allow you to group all of a particular tasks commands into a single application. With the advent of Power Shell this format is increasingly ...
*Moved to: Wpf Drag & Drop behaviourA colleague of mine was having a bit of trouble getting drag and drop working in a way that fitted well with the MVVM pattern. This is really quite simple once you have a certain level of understanding of Patterns, but is a complete nightmare if you do not. One of the founding principals of MVVM is that you should never be writing code in your code behind, it should all be encapsulated away and be bindable in XAML to achieve the result. Anyone who has tackled ...
*Moved to: Creating a Data Access layer using UnityI am always pulling out the Unity assemblies. Maybe it is just because I am lazy, but I really can’t be bothered rolling my own dependency injection and mapping framework! Read more...Follow my new blog on http://blog.hinshelwood.com ...
*Moved to: Log Elmah errors in Team Foundation ServerI am not sure if this is a good idea, but I was bored one day and decided to add a TFS Error Log provider for Elmah. There are 2 ways you can do this. You can create a new WorkItem type and log an error report for each of the errors or you can create one work item for each error type/title. To do this you can create a title that is the combination of error message and application name and then search TFS for an existing work item. If it exists ...
*Moved to: Disable a timer at every level of your ASP.NET control hierarchyEven though this sounds like a really simple thing, what if you do not know the name of the controls, and you do not want to have to add a bit of code that you, or another may developer may forget to every piece of code with a timer in it. The problem I have is that if you have a DropDownList on the same page as a update panel that updates based on a timer, you get a little interference. If the user has the DropDownList open ...
Last week I was asked on one of my CodeProject article, about how to implement a Sharepoint feature that will automatically add subfolders to a parent folder in a document library. To add subfolders when a new Folder(or derived Content Type from Folder) was created, we have to write a feature, that will handle the ItemAdded event. When this event gets fired, we can get the current folder item and add subfolders to it. The following feature adds subfolders( the ones from folders array) when a new ...
*Moved to: Unity and ASP.NETUsing Dependency Injection in a website can get a little dodgy, but in my ASP.NET site use the same base code as my WPF app, I needed a little dependency injection to resolve references at runtime when the application type is known. Now in your ASP.NET page just like in your WPF application you need a little extra bit to get it all going. Finding this for WPF is easy, not so much in ASP. Imports System.Web Imports System.Web.UI Imports Microsoft.Practices.Unity ''' <summary> ...
*Moved to: My.Unity.Resolve(Of Ninja)I have been attempting to integrate the Unity Application Block into my website to allow me to share the same base object code between a WPF and an ASP.NET application. I will let you know how I am getting along later as I am still knee deep in refactoring, but I have found something a little useful. I have created a custom “My” object in Visual Studio. This means that I can do “My.Unity.Container” to retrieve my UnityContainer object form anywhere is my code. ...
Ostatnio, tj. kilka godzin temu, przemierzajac bezgraniczne przestrzenie Internetu trafilem na ciekawe biblioteki sluzace do obslugi bazy danych, a dokladniej przeprowadzania operacji CRUD w uproszczony sposób. Evolutility, bo tak sie projekt nazywa, tworzy prosty UI w ASP.NET pozwalajac edytowac dane w bazie np. Microsoft SQL Server. Wyglad, mimo ze dosc mily "nie zwala jednak z nóg", wiec Evolutility w praktyce bez wiekszej dyskusji nadawaloby sie na sekcje administratorska jakiegos CMS-a/pseudo ...
In this issue: Al Pascual, Jobi Joy, Alexei Prokudin, Michael Washington, Mike Snow, Terence Tsang, Jason Cooke, Lee, and David Anson. Shoutouts: James Bacon has announced a "It is an open "no holds barred" style competition, meaning that people from around the world are free to participate and there are no theme limitations" game competition at Mashooo: Mashooo S Prize - Silverlight game competition , and along with that, Silverlight Girl announced that Mashooo accepts OpenID and layout improvement ...
In this issue: Yasser Makram, Mark Monster, Jesse Liberty, Peter McGrattan, Nigel Sampson, and Radenko Zec. Shoutouts: Crocusgirl has posted A list of my Silverlight Video Player Notes to share. If you've got an issue with the Silverlight Toolkit, Jeff Wilcox reports The Silverlight Toolkit team is on top of your feedback The Expression Blend and Design Team asks What Would you Like to See in Future Releases of Deep Zoom Composer? Koen Zwikstra reports that Silverlight Spy updated (2.0.0.41) From ...
In this issue: Umesh Patel, Eylon Yogev, and Shawn Wildermuth(2). Shoutouts: Walt Ritscher has Reflecting on Design #10 up ... and thse are very cool. Then in this post: Feel the Power of WPF ListBox Templates, Walt has a link out to US Map in Listbox - WPF Mike Ormond collected some Demos - Catching Up on Rich Clients Part 1 Shawn Wildermuth gave a shoutout to John Papa, and let everyone else know about a discount on John's book: Get John Papa's Excellent Silverlight Data Service Book for 40 Percent ...
Last Thursday evening (Feb 5th), SSE sponsored a local developer bootcamp covering VS.NET 2008. We had a great turnout and a lot of great discussion and questions. If you are in the St. Louis area and interested in being invited to these bootcamps please drop me a line at kvgros@sseinc.com. First, I wanted to thank everyone on my various teams who contributed ideas for the talk. While I did do a lot of research for the event, many developers contributed some good ideas that found there way into the ...
*Moved to: Reformat your CSS on the flyHave you ever, when developing a website, been frustrated when you get a different result when you deploy your application to http://site/ and http://site/app/. Read more...Follow my new blog on http://blog.hinshelwood.com ...
I need to show popup info message with single close button, but content is located in separate html file. The current implementation using window.open not working for many users with popup blockers. My question is which tool/framework should I use. Initially I considered to use UFrame (see CodeProject article:UFrame: goodness of UpdatePanel and IFRAME combined )inside ASP.NET AJAX ModalPopup. Then I found question http://stackoverflow.com/qu... ...
Lately I've had a few people approach me after speaking engagements or conferences and ask for some advice on becoming a .NET developer. Sometimes this has been moving into IT from an unrelated field or other times it's just been a transition of existing development skills into .NET. Now if you have been in this industry for awhile (and had any success) you have apparently demonstrated at least some capability to migrate your skills from one newly released technology to the next. In 2009 it's hard ...
1. Introduction This article shows how you can use attributes to validate your business objects. You may have had to write tones of code to validate your business objects without taking advantage of attributes. The value of attributes comes when you need to apply the same rules on a number of properties and the only thing you have to do is to decorate your property accordingly. For other articles on attribute based validation please check the Visual Studio Magazine and Ennis Ray Lynch, Jr. 2. Background ...
*Moved to: Retrieving an identity from Team Foundation Server using only the display nameThis is a lot harder than it sounds. At first you think there will be a built in option with the Read Identities method on the IGroupSecurityService Interface, but you would be wrong! When capturing an event from Team Foundation Server you have access to a lot of information about the change, including the Display Name of the fields for Assigned To and Changed By.Read more...Follow my new blog on http://blog.hinshelwood.com ...
*Moved to: Advice on using XamRibbon with Composite WPF If, like me, you are interested in using all the new fangled controls produced by every man and his dog, you will probably have come across the Infragistics WPF control. My mission, that I stupidly accepted, was to update the TFS Sticky Buddy application with their XamRibbon and XamDockManager controls, and anything else I can stuff in there.Read more...Follow my new blog on http://blog.hinshelwood.com ...
*Moved to: Creating a WPF Work Item ControlI have a little custom control I need added to my Visual Studio Team System projects. This control will allow specific groups of users as representatives of Advocacy groups with in the life cycle model to sign off a Requirement or Change Request from within Visual Studio. But, just to make things a little more fun, I wanted to create the custom work item tracking control using WPF.Read more...Follow my new blog on http://blog.hinshelwood.com ...
A few days ago in one of the CodeProject disucssion forums someone was looking for a way to easily remove the extra vertical whitespace in a file. This is really handy if you copy and paste code from the web or otherwise have a file that has multiple consecutive blank lines that you want to consolidate to a single blank line. A solution was presented that used a Visual Studio macro, but that macro used pattern matching with find and replace, so it didn’t feel very stable. Taking the opportunity to ...