Tag | ALM Posts

It looked like we should look a bit about LINQ fundamentals before we actually get into the core programming for our Silverlight twitter application. So we’ll look into LINQ for a few more posts, then we will proceed with our usual Silverlight stuff. Line INtegrated Query allows us to use Query language to select data from almost any type of data sources like XML, SQL, Objects, etc.... For more information about LINQ, visit this page, I don’t want to get deep into the details. You can get the sample ...
Well, here I go again. This is my third try at being a blogger. Some would say that tenacity is a good thing. My wife might disagree. I've been solving business problems using the Microsoft stack for almost eight years. I've written a lot of code that I'm not proud of and I've learned a few things along the way. My intention is to share a few morsels with the development community from which I've taken so much over the years. Most of this blog's posts will probably be "SharePointy". That's not to ...
Below is a Microsoft.IdentityModel configuration you might find in a web.config or app.config that hosts websites or webservices that leverage Claims based authentication and authorization. If your requirements require you to do this at runtime at the start of the app you can do the following.... void Application_Start(object sender, EventArgs e) { FederatedAuthentication.Ser... += new EventHandler<ServiceConf... ...
So I've been looking for a long time for a good outlook iphone sync solution. My work uses exchange, and does not expose the appropriate ports outside the firewall to allow for good syncing. Some alternatives 1) Forwarding, gets the email there, but now I have to delete 2x 2) xpressmail or other carrier provided forwarding solutions - works great, but not offered on iphone or android! 3) 3rd party forwarding solutions - most not supported by iphone, and $$ 4) normal exchange - 100% solution, if your ...
A week ago I got a new phone. This was planned, and yet not planned. Getting a new phone working is disruptive, and I didn’t want that disruption on Thanksgiving week. However, Verizon somehow de-provisioned my old phone from its data network and told me it would take 5 days to fix the problem. That meant being without mobile email access, liekly for a week, so I reasoned that getting a new phone would be actually less disruptive than fixing the old one. So I deactivated my Moto Q9m Windows Mobile ...
Here's a quick notes from the TDD session which I conducted some time back. Introduction Writing test before writing production code. Design as you go along. Follow Red-Green-Refactor paradigm Benefits Spot design flow early. Test before the production code is built. Identify poort requirements or requirement gaps. Reduced testing time. The test forms the functional document for your code. Quickly identify bugs. Reduces the cost of bugs in the long run. Low level regression test suite. Road blocks ...
c# 4.0 Part 1 The following are some of the new features and few interesting things you can do with c# 4.0. - Named and Optional Parameters - ExpandoObject - Interface with Python (and example) Program 1 class Program { // Optional parameters should be at the end static void PrintMessage(string name = "World", string greeting = "Hello") { Console.WriteLine("{0} {1}", greeting, name); } static void Main (string[] args) { PrintMessage("World", "Hello"); // prints "Hello World" PrintMessage(greeting:"Good... ...
One of the single most influential cost factors for software projects is code readability and understandability - and the most important factor for readability in turn lies in the adherence to Coding Style Guidelines. To enforce such guidelines, Microsoft has provided a free tool which checks a given set of source code files against a given set of style and consistency rules: MS StyleCop. The tool comes with quite a lot of predefined rules - however, they mirror the coding practice at MS and not ...
Part of my current project involves several batch processes that are run after normal working hours. Most of these jobs are doing either one of two things: importing data from a text file or exporting data to a text file. (Since my project is replacing an existing set of applications, we were required to maintain compatibility with the other systems that are sending or receiving data to or from us.) Our data is stored in a typical SQL Server 2005 database. We decided to use .Net based console applications ...
Pfew... our presentation at the XpDays is done. You can find all the materials google code at this link: http://agileacceptancetesti... audience was great, and Pascal and I enjoyed it. We'll probably be trying to find something new to prepare for next year ...
This typical problem is almost faced by all new developer working with asp.net. This behaviour is by design as ASP.NET tries to be efficient in storing sessions for users. Remember unless you store anything in session the session id value keep changing. If you want to tell ASP.NET that you want it to track user sessions, you can do one of 2 things: Store something in the session. Simple handle the Session_Start event in your GLobal.asax. The presence of this method will tell ASP.NET to track sessions ...
I've almost finished my first Umbraco project, which is probably the most awesome CMS I've ever seen. In case you've been under a rock (which, after having rooted around this thing, I am starting to feel like), Umbraco is a brilliant, ingenious, pure-XML-powered .NET CMS - sorry to say, but much better than DotNetNuke, and fully validates with XHTML 1.1 due to it's XML nature. It supports nested master pages, Intellisense with Visual Studio, custom user controls, XSLT rendering, Web Services and ...
Sorry for the delay in posting. I almost started a war of sort over my last ad “Don’t trust any one under 30?” on the social network LinkedIn. Well let me state right here this was an ad, with an attention getting subject line. Well on to my post for this week (yes I am trying to do post every week coming out by Monday. Since I last posted, I have spread my group (just a little bit) over the Internet. The group is now on FaceBook (as Gray Matters!), Google groups (as GrayMatters!) and webs.com (as ...
Let's face it, it needed a rename. Mitch.Web just lacks everything in terms of marketing, so I've re-branded my (currently error logging :P) framework to "The Evil Little Developer's Toolbox" in game with my EvilDev theme. I've also made advancements (not guaranteed to work yet) on my error logging framework, mostly in terms of a new Services Project, and the Logging Service. The logging service, is a WCF Service, designed to log errors to a database. The idea behind it, well, I generally focus my ...
What a difference a day makes…at least to some. While the Day 1 keynote at PDC seemed mostly like a news update on last year’s announcements, and a somewhat dry one at that, Day 2 gave developers some real “red meat.” It began with a presentation by Steven Sinofsky on Windows 7’s progress since its launch last month, including demos of the diverse array of hardware on which it now runs. Sinofsky then offered the ultimate crowd pleaser: he described the specs for a multi-touch Microsoft-designed laptop ...
There seems to be a too strong trend in too many product development organizations: This is the trend to only deliver; don’t get me wrong, delivering quality software on time and within budget is a good thing. The issue is that there is in many cases only focus on delivery of applications and not too much though and focus on how the operational aspect of that software will work. This observation applies to almost all types of projects, with integration projects being no exception. Probably one of ...
Today we are happy to be able to announce the availability of some Silverlight 4 book content. For existing Silverlight developers looking to get up to speed quickly with the features we are releasing the Silverlight 4 Overview. This is a little over 50 pages of content covering the new Silverlight 4 features. For the rest of this week using code SL4DaveBlog at checkout you can get the new Silverlight 4 content for only $5 almost half off the normal price. More details on the book site http://www.silverlightjumps... ...
Recently my company just released the first version of a new MVC web site: AlbumCredits.com. This project, led by Oskar Austegard, is was I consider a highly successful real-world implementation of MVC. In a time when most music these days is downloaded, the production and performance engineers, and recording professionals that work on the music don’t always get credit because there is no CD booklet to look through. Album Credits is almost like a LinkedIn for recording professionals. From the about ...
Atlassian is the company that I wish was mine. They make cool web products, they have a unique voice and they are successful. But recently they lost their minds, and starting giving their software away (almost). If you are a small organisation like me you can buy the main atlassian products (jira, confluence, greenhopper, bamboo, fisheye & crowd) for US $10.00 each. User limits apply. We are using Jira + Greenhopper for agile project management, and confluence for our project wiki. Confluence ...
This series of posts discusses the use of an Aspect-oriented programming approach for implementing the validation part of a business domain, using the ValidationAspects aspect library, that sits on top of the PostSharp aspect weaver and allows for placing Design by Contract - style attributes on properties and method arguments, as well as for easy runtime validation of an object's state. This is the second post of a three-part series that discusses the use of these validation aspects throughout the ...
Christmas is coming and so are the deals. Right now Best Buy has a huge discount (and you can find them in-stock) on the Samsung LED TVs. (I think I saved $960 off of the original price) I have needed a new TV ever since we moved. The main reason is we wanted something we could mount on the wall to keep away from the kids in the new house and my wife watched enough Food Network (she bakes cakes and cookies as her hobby) that the logo started to get burnt in. The black lines were definitely burnt ...
In this Issue: Avi Pilosof, Bill Reiss, Jeff Handley, Bea Stollnitz, Peter Bromberg, Deborah Kurata, Jesse Liberty, and Victor Gaudioso. Shoutouts: Interview with Bob Muglia and Steve Gillmor: Bob Muglia on Azure, Silverlight, and Realtime From the Microsoft Expression Blog: Modify the SketchFlow project settings Christian Schormann gives a list of SketchFlow and Blend at PDC ‘09 Iwan van Ee sent a link to me to his Application to view photos posted on panoramio.com. This is pretty cool, and he's ...
Windows Marketplace for mobile, which was up until now only available for Windows Mobile 6.5 users, is now officially made available for Windows Mobile 6.0 and 6.1 devices. This is great news since it adds almost the entire windows mobile user base to the marketplace equation in one scoop! You can catch more details below: Windows Marketplace for Windows Mobile 6.0 and 6.1 ...
More Adventures in MVVM I spend a lot of time writing ViewModels, which almost always implements INotifyPropertyChanged. For those who are not familiar with this interface, it includes a single event: PropertyChanged. That event contains a payload of the name of the property that changed. It exists as a standard way to notify observers that a property needs to be re-evaluated. Although I use it all the time, I have always believed that INotifyPropertyChanged has some serious shortcomings. One of ...
Had a short training on VMWare on Tuesday, the software development department finally got the official permission (read: get a license) to use VMWare Workstation. I’m no stranger to Virtual Machines (VMs) – started playing with Virtual PC 2005 a fwe years back and I understood the general concepts of hardware virtualization. The biggest problem I have with VMs in general is the slowness; I’d rather develop directly on my PC, which is faster. Can’t say I’ve delved deep into it, but I know enough ...
I like it when Microsoft bridges its technologies out to other platforms. I like the PHP Driver for SQL Server and the samples in the PHP On Windows Training Kit so much that I did a whole session on them at VSLive! last month. The ADO.NET Data Services (Astoria) bridges for PHP and Java are very exciting to me. The Silverlight plug-in for Eclipse, the Azure SDK for Java, and the Windows 7 support for Eclipse are all good stuff. To add to these recent developments, Microsoft has announced its acquisition ...
*Moved to: Installing Visual Studio 2008 Team Foundation Server SP1I have been trying since SP1 was released to get it installed at Aggreko, but due to our global, three time zones, development team and release schedules it has been very difficult to get some time set aside for it. Now that I am leaving, last day is Tuesday 17th November, there was more of an apatite to take the hit on time and get it installed.Read more...Follow my new blog on http://blog.hinshelwood.com ...
Getting the soap message sent to a third party web service is done by a few settings in the app.config of your client. <?xml version="1.0" encoding="utf-8" ?><configuration> <system.diagnostics> <sources> <source name="System.ServiceModel.M... > <listeners> <add name="xmit" /> </listeners> </source> </sources> <switches> <add name="DefaultSwitch" value="Information" /> </switches> <sharedListeners> <add ...
There are numerous useful types available in XNA that will significantly help you design and build your next game. Here are two of the most useful (in my opinion) and how you can use them in your game (I will focus on mostly 2-dimensional uses). Vectors Vectors are amazing! They are seriously, probably one of the coolest types on the block, especially when taking into account that they are used for almost everything in games. The most common forms of Vectors used in XNA are the Vector2 and the Vector3, ...
When I started using SQLExpress 2005, everything works on my development machine – however when I wanted to access the database from another machine (trying to access the sqlexpress database remotely) I was not successful. I discovered the solution way back then, also through Google searches, which still yield a valid result. However, every now and then my peers would ask me this same question again. Thus I’m creating this blog so I can forward them to this page (instead of talking about it); it’ll ...
Microsoft has purchased Teamprise, who created a Team Foundation Server plug-in for Eclipse as well as extensions for doing Java builds with Team Foundation Server. http://www.microsoft.com/pr... This is big news since many of the industry experts from the analyst firms have cited lack of multi-platform support for Team Foundation Server Client as a weakness of the platform. Eclipse is now a fully supported MS environment for ALM. Technorati Tags: TFS,Eclipse,Teamprise,Java ...
TeamPrise – the cross platform “client” for TFS, with Eclipse support (plug-in), command line – has been acquired by Microsoft. So, we’ve been pushing folks to a 3rd parties to get back to the ALM Mothership – which is by far the best Enterprise class ALM platform that can scale from “1” person (see 2010 TFS) to thousands, geo-distributed – now, we can offer it direct resolving client’s concerns. Not that the SourceGear guys are of concern, they’ve been around for quite some time. This is great news. ...
The tech influencers’ Twitter streams have been all aflutter this weekend, with talk of the Motorola Droid. Verizon Wireless launched its version this phone on Friday, and the techies are swooning. They love the screen, the Google Maps-based turn-by-turn navigation and the thinness of the phone, which still manages to sport a physical, slide-out keyboard. Most of all they love the Verizon network, which offers resilient service and ubiquitous 3G coverage. There seems to be something else though. ...
From time to time (and when there's room for it, of course), I'm doing a so-called Code Kata, a small to mid-size programming exercise that usually originates from some seminar or meeting. (Kata collections can be found here or here, for example.) What I especially like about them is the level of professional self-knowledge that they provide: When working on a Kata, you can experience how you deal with things without the usual business pressure. Lately, I did the KataPotter (you can download my solution ...
Tibi and I are winding down after a hectic few days at the ØreDev conference in Sweden. It was a great conference, with a lot of international speakers and attendees, and a good mix of technologies and tracks. One of the highlights was Ze Frank, who was delivering his stand up comedy routine, which was targeted just right for the attendees. I laid down the gauntlet to Tibi by challenging him to get an interview with Ze, and he accepted and delivered the goods, thanks to Herbjörn Wilhelmsen for chatting ...
The next Winnipeg SharePoint UG event will be on Tuesday, November 24th at 5:30 PM. Same location as always: 17th floor conference room at the Richardson Building (One Lombard Place). Pizza will be provided. Presentation abstract is below, and to register please visit our registration site here. Architecting SharePoint Solutions Presenter: Juan Larios During the last year or so, Juan Larios has been working for a local client and has had a chance to architect solutions to common problems that many ...
Thanks to everyone who attended my “MVC in the Real World” presentation at CMAP Code Camp today. The code as well as the PowerPoint can be downloaded here: MVC in the Real World Download I also had a few other requests during the talk. First, I had a request to post the code as it looked at the very beginning of my talk before I modified anything. You’ll find that link on the download page above as well (file name: PersonalInfoManager-ReadlWo... Second, I was asked about a couple of ...

Ive had a few people ask recently about getting the source code for the BizTalk Light and Easy videos I did about testing and build.

The code is all on Codeplex where everyone should be able to easily get a copy.

http://biztalklaealm.codeplex.com/

Enjoy

Mike

In this Issue: XamlNinja, Zoltan Arvai, Alan Mendelevich, Dimitris - Ilias Gkanatsios, Chris Klug, Pete Brown, Fons Sonnemans, Tim Heuer, Jeff Prosise, and Mark Miller Shoutouts: Corey Miller posted a User Experience Review post that's a good read. Jeff Wilcox announced The Silverlight Toolkit - now in the Microsoft Web Platform Installer Andrew Duthie blogged about the Freescale Sensor Badge - Fun Gadget! ... get yours! Laurent Bugnion announced another early release of his MVVM Light Toolkit V3 ...
My team is going to start using the Manual Testing functionality available in VS 2010 for one of our larger projects. We started today to migrate some of our manual test scripts over to Test Cases/Test Plans in Test and Lab Manager. We ran into a problem immediately that almost prevented us entirely from continuing to use the product. If you have a Test Case with a lot of Test Steps the scrolling in the Test Case editor in Test and Lab Manager is broken. When you get enough Test Steps so that you ...
I have been hard at work recently porting Pong RPG from a PC-only XNA game to an Xbox 360 game in the hopes of potentially releasing it on the Xbox Indie Games Marketplace. Pong RPG (PC) was a great success in my mind because even though it was flawed, it was a full game product that I created from scratch (almost all by myself) since my days in High School (which was when I first created a full game). While it was great to finish the game, the code was extremely difficult to read and very static. ...
<< Part 2 – A quick look at IronRuby Gambling with Cucumbers In part 2 we demonstrated how we can mix .NET and Ruby though IronRuby. The question is, why would you want to do that? It is probably easier to stick with one language for most projects. Why combine them? The problem with BDD in .NET One area where Ruby currently has a clear advantage over.NET is in the realms of Behavioral Driven Development (BDD). You can write Unit Tests and Integration Tests in .NET just fine, but what about ...
<< Part 1 - Installing IronRuby and Cucumber A quick look at IronRuby Background IronRuby is an implementation of Ruby which runs on .NETs Dynamic Language Runtime platform (the DLR). Languages hosted on the DLR are interpreted at runtime, rather than compiled then executed (like C# applications). One benefit is that code can be invoked on the fly from a command line shell. This is handy when debugging or figuring out how to do something. Other popular DLR hosted languages include IronPython ...
After reading Tim Anderson’s blog article (here) on his installation of Hyper-V Server 2008 R2 I glibly added a comment that R2 now includes PowerShell 2.0 for local management of virtual machines using PowerShell scripts. Of course, I hadn’t actually tried this before commenting .... Why would you want to use scripting on Hyper-V Server 2008 R2 If you have never installed Hyper-V Server 2008 R2 you may not realise the limited options provided by the local management tool. Based on Windows Server ...
Very often I read posts in the newsgroups like: I call function Foo(dwParam) and it returns FALSE. What's wrong? If I cannot tell it immediately -for example because the dwParam is clearly wrong - my standard answer is: Have you called GetLastError()? Which error value it returns? GetLastError (if the call that fails actually sets an error and the error is meaningful) can be very helpful to detect why the call is failing. If you do not understand exactly what the code means and you have the code ...
In this Issue: Mark Miller, SmartyP(2), Goncalo Chaves(2), and David Anson. Shoutouts: Walt Ritscher announced October 2009 version of Composite WPF(Prism) released and has some highlights from the release Damian Schenkelman posted a similar announcement: Prism 2.1 (Composite Application Guidance for WPF & Silverlight 3) just released (updated version for Silverlight 3) From SilverlightCream.com: MVVM with Prism 101 – Part 5b: ServiceLocator vs Dependency Injection Mark Miller continues with ...
I am practicing Test Driven Development (TDD) now for some two years or so, and soon this technique of writing software felt so natural, that I hardly could imagine doing it another way or even imagine a reason why I should do so. But on the other hand, I know that not questioning something anymore and not being self-critical from time to time is a certain recipe for running into a disaster sooner or later. So I asked myself: What makes TDD such a natural way of writing software? and What are your ...
I love Test Driven Development. I use this development approach wherever I can. It makes my code a lot better and gives me the confidence that I indeed have crafted a good and reliable piece of code. However, some things are quite hard to test-drive, simply because they have so many dependencies that you would need to make extensive use of a mocking framework (and probably inspecting some things via Reflector...). In such a case, you usually decide to not have unit tests, because the time and amount ...
There are a lot of things to like about the new version Virtual PC. Compared to its predecessor, it has added support for USB devices; allows individual applications to be run from a virtual machine yet project on the host desktop; has terrific shell integration; and much better awareness of the host’s power management, allowing users to hibernate their physical PC, even while a virtual image is activated. When you add to that the new ability of Windows 7 to mount VHD files as physical drives, and ...