Tag | Geekswithblogs Posts

Geekwithblogs display skins VIEW SLIDE SHOW DOWNLOAD ALL ...
In this Issue: Michael Washington, Michael Crump, Alex Knight, Benjamin Roux, Nigel Sampson, and Jeff Prosise(-2-). Above the Fold: Silverlight: "[Silverlight] How to watermark a WriteableBitmap with a text" Benjamin Roux WP7: "My 10 tips for designing phone apps" Alex Knight Lightswitch: "LightSwitch and HTML" Michael Washington From SilverlightCream.com: LightSwitch and HTML Michael Washington's latest Lightswitch post is up on CodeProject... and he's creating an ASP.NET page that communicates ...
A question popped up not so long ago on the MSDN SSIS Forum from somebody struggling with a leading zero being dropped from the data being exported to a flat file to be returned back. The person asking was also interested in trimming (not rounding) the values to a certain scale. As an aside, this issue occurs when you have decimal or floating point numbers in a database and its value is between 0 and 1 e.g. 0.445 or a negative one e.g. -0.123 which you want to export to a flat file as CSV being used ...
This article is Part 2 of the series “Producing and Consuming OData in a Silverlight and Windows Phone 7 application.” Producing and Consuming OData in a Silverlight and Windows Phone 7 application. (Part 1) – Creating our first OData Data Source and querying data through the web browser and LinqPad. Producing and Consuming OData in a Silverlight and Windows Phone 7 application. (Part 2 ) – Consuming OData in a Silverlight Application. Producing and Consuming OData in a Silverlight and Windows Phone ...
In this Issue: Michael Wolf, Colin Eberhardt, Kunal Chowdhury, Benjamin Roux, Nigel Sampson(-2-), Jeff Prosise(-2-), Jeremy Likness, and Beth Massi. Above the Fold: Silverlight: "Useful Value Converters" Nigel Sampson WP7: "A Smarter TextBlock Control for WP7" Michael Wolf More WP7: "Metro In Motion Part #2 – ‘Peel’ Animations" Colin Eberhardt From SilverlightCream.com: A Smarter TextBlock Control for WP7 Michael Wolf's latest post is about a "Smart" textbox for WP7, meaning if it looks like a phone ...
Back in August I blogged about an issue I was having with VS.NET 2010. I had installed it on a clean pave of Windows 7 64-bit, but I was getting weird issues with the designer for ASP.NET and I couldn’t add EF files into my projects. The weirdest part was that when I went to the properties of my project, the framework version drop list was empty…no frameworks, 2, 3, 3.5, or 4, were listed! Now to be sure, my graphics above are tongue in cheek, and the VS.NET team has actually been fantastic in reaching ...
WCF services under Azure have a nasty habit of not really telling you what you need to know. Having fought through this – and having been challenged to find exactly what I needed in a Google search, I thought I’d add some more specific info here. Before I do, let me say thanks to Steve Marx, whose blog posts and forum answers pointed me in the right direction. Here are the exceptions that surfaced: ConfigurationErrorsException: Could not create Microsoft.WindowsAzure.Diag... ...
We noticed some very odd, random behavior in our environment specifically with Exchange 2010 ActiveSync and Outlook Web App. Some of our mobile devices had trouble synchronizing email (problems with connecting, direct push wasn’t working properly). Some of our users had trouble connecting to Outlook Web App. Some of our users using Outlook Web App externally were inadvertently connecting to other user mailboxes that they did not have permission to and, not to mention, a serious security breach (I ...
We are glad to release the BizTalk RFID Data Services as part of our open source contribution here at Tellago. Let me get into some details on what’s BizTalk RFID data service and who can take advantage of it. BizTalk RFID data service is all about exposing BizTalk RFID artifacts as Restful service interface which can be easily accessed by different application within the enterprise and outside such as mobile applications. So anyone who wants to monitor the BizTalk RFID can take advantage of it. ...
If you’ve installed and upgraded as many Microsoft products as I have over the years, you get a bit blasé and assume that if something bad could happen as a result of clicking “Next” then the installer will warn you. Office 2010 breaks the mould on that one. My home machine was running Office 2007 Ultimate (the kitchen sink flavour) and I recently bought Office Home and Student 2010 (as I can no longer purchase the good stuff cheaply). As usual, I clicked through the installation screens without ...
At TechEd India 2011 I presented on HTML5 Development with Visual Studio 2010 SP1. I wanted to cover the aspects that were discussed in my session. HTML5 1. HTML5 is the emerging but promising trend in web development 2. Some of the standards have got green signal i.e. they are candidate recommendations. 3. Some others are still work in progress. 4. IE9 implements standardized HTML5 specifications. Visual Studio 2010 and HTML5 Visual Studio 2010 Service Pack 1 comes from basic HTML5 support. Having ...
This should not show up… ...
Andy Warren (@sqlandy) , Microsoft MVP, was our March speaker at the West Palm Beach .Net User Group. Andy spoke about SQL Statistics and answered all our SQL questions. We appreciate Andy's long drive from Orlando to come speak at our South Florida group and his commitment to sharing his knowledge regardless of the distance barrier. The group enjoyed free pizza brought to us by our group coordinator Venkat Subramanian. It is no easy task running around to buy food for the group, especially after ...
In this Issue: Pontus Wittenmark, Vikram Pendse, Paul Sheriff, Nokola, Peter Kuhn, Jesse Liberty, and WindowsPhoneGeek. Above the Fold: Silverlight: "That Time App" Pontus Wittenmark WP7: "New Fantasia Painter, Windows Phone 7 Source Code Pack 1, New License" Nokola Shoutouts: Jesse Liberty announced that he is Keynoting at Pre-Mix ROCK in SoCal ... check out that link and you'll find other folks there as well :) Karl Shifflett announced New Book Available: Developer’s Guide to Microsoft Prism 4 ...
A recent project used Enterprise Library Validation to validate domain objects, and needed it configured for a web front end, a WCF front end, and (of course) unit tests. The same configuration in 3 different places didn't strike me as very DRY, so I figured hey - why not have it configure itself? Here's a quick paraphrase of how I did it. I started with an abstraction of the validation service:public interface IValidationService { bool IsValid<T>(T objectToValidate) where T : class; }...which ...
This week was a busy one for the XNA Community and one that had a series of ups and downs. You might have noticed by now (or maybe you haven’t and I shouldn’t be pointing this out..) that I tend to only point out the ups. That’s very much on purpose and something I thought long and hard about before I started doing XNA Notes. It’s too easy to let the bad stuff spread like a virus and seem overwhelming (something to do with human nature and there’s probably a science and psychology behind it). When ...
In this Issue: Roy Dallal, Mike Snow, Jesse Liberty, Chris Koenig, John Papa, Jeremy Likness, Michael Crump, Chris Rouw, and Beth Massi. Above the Fold: Silverlight: "Clean Design-Time Friendly ViewModels: A Walkthrough" Jeremy Likness WP7: "WP7 Insights #3: Storing User State - Activating and Deactivating" Chris Rouw Shoutouts: Shawn Wildermuth announced a new version of his "Phoney Tools": Phone Tools v0.6 Released - Breaking Change! ... breaking changes and some new stuff too. Takeshi Eto at DiscountASP.NET ...
Several users reported that they could not turn on or off their Out of Office reply using either Microsoft Outlook 2007 or 2010. They did not have any problems turning on or off their OOF reply using Microsoft Outlook Web App. When they attempted to turn on or off their Out of Office reply, they received a Your automatic reply settings cannot be displayed because the server is currently unavailable. Try again later. error message. If you are using Outlook 2007/2010, the first thing you need to do ...
I have started a new series on SilverlightShow.net called Producing and Consuming OData in a Silverlight and Windows Phone 7 application. I decided that I wanted to create a very simple and easy to understand article that not only guides you step-by-step but includes a video and full source code. I personally believe this is the best way to teach someone something and I hope you enjoy the series. I also want to thank SilverlightShow for giving me this opportunity to help other developers get up to ...
UPDATE: Scott Hanselman has a NuGet package to automate many of these steps and you should check it out, http://www.hanselman.com/bl... This is in continuation with Part 1 of the article, so you may want to check it out before reading this, in case you haven’t already. Next, we need to enable the Global.asax. We will open up the Global.asax and add the following two references in the namespaces ...
Well, will you look at that - no sooner do I write my first blog about an extension method I've written for accessing deployed Assemblies and Types, than I discover today that it doesn't actually work quite how I intended it. Excellent! The issue is in scenarios where assemblies are copied into a deployment directory as and when they're needed, which I attempted to work around in the original version by calling GetTypes() on all the Assemblies which are found. That gave me the following problem: ...
UPDATE: Scott Hanselman has a NuGet package to automate many of these steps and you should check it out, http://www.hanselman.com/bl... Today, at Tech Ed India 2011, I delivered this session – Web Forms vs. MVC choosing the right one for web development. Although its a tricky topic, it was worth clarifying some of the patterns to decide between Web Forms and MVC. One of the demo scenarios I took ...
In this Issue: Colin Eberhardt, XamlNinja, Andrea Boschin, Michael Washington, Michael Crump, Alex Knight, WindowsPhoneGeek, Jesse Liberty(-2-), Damon Payne. Above the Fold: Silverlight: "7Metro: Silverlight Theme" Alex Knight WP7: "Metro In Motion – Fluid List Animation" Colin Eberhardt Lightswitch: "LightSwitch Online Ordering System" Michael Washington Shoutouts: Laurent Bugion announced MVVM Light V4 preview 2 (BL0015) #mvvmlight Max Paulousky posts that The Prism Team Needs Your Help From SilverlightCream.com: ...
I have always been interested in learning which features of my application users are using as well as if they are using it. I have done this with other applications by using my own “home-grown” version of web services, etc. Since I have been working a lot with Windows Phone 7 lately, I decided to learn how to do this and share with the community. Before you get started you will be pleased to know that you won’t have to spend any money *at least until 2012* to do this with your existing phone apps. ...
Let me start with this disclaimer: this is not a supported environment. You may/will run into problems and then you’re on your own. Microsoft will not help you here. If you want to develop for Surface (v1, that is, since that’s the only one available at this time of writing) you will have to use Windows Vista 32bit and Visual Studio 2008 Pro or higher. So, that’s out of the way. Let’s return to the real world. I am, of course, running Windows 7 Ultimate (64bit) and Visual Studio 2010 Ultimate. After ...
First entry in a new neighbourhood . Whether it be cheating or whatever I’m giving Windows Live Writer a try as an editor interface for this new blog. In the process I’ll also give these plug-ins a try: Source Code Formatter Amazon Book Linker Insert Code for Windows Live Writer Syntax4Writer For Alex Gorbatchev’s SyntaxHighlighter Paste As Visual Studio Code Twitter Notify ...
This code didn't quite work how I intended, so I've updated it in a follow up blog. So - first post - might as well start with an extension method of mine I've found rather useful recently. It returns a collection of Types from all locally-deployed Assemblies, optionally filtering by Assembly and Type. It's an extension method on Assembly, so if you wanted to get all the available Types which implement the IService interface, you could call IEnumerable<Type> services = Assembly.GetExecutingAssemb... ...
Now this might be sacrilege to some, and a blessing to others. Through using Objective C, I realise that I really miss the ability to do C# quick and easy string manipulation, like - IndexOf Trim Replace Substring Split etc. For my own sake, I’ve begun working on some functional equivalents. So far I’ve got - (NSInteger) LastIndexOf:(NSString *)searchstring; - (NSInteger) LastIndexOfI:(NSString *)searchstring; - (NSInteger) IndexOf:(NSString *)searchstring; - (NSInteger) IndexOfI:(NSString *)searchstring; ...
In this Issue: Ollie Riches, Damon Payne(-2-), Jesse Liberty(-2-), Shawn Wildermuth, John Papa, Beth Massi, Michael Crump, Mike Taulty(-2-), Jorge Peraza, and Peter Kuhn(-2-). Above the Fold: Silverlight: "Delay Binding Updates within a certain Context" Damon Payne Blend: "Phone Tools reaches Beta!" Shawn Wildermuth Blend: "Blend Bits 26–Use Libraries for Assemblies" Mike Taulty Shoutouts: If you're in the UK, Mike Ormond announced a new set of WP7 Workshops: New Windows Phone 7 Workshops I met Gregor ...
Less maintenance. Less work to package during your automated builds. Too easy. Remember Our Old Friend _PublishedWebsites? You’ve probably seen the _PublishedWebsites folder when building websites in automated builds. If not you can stop paying attention now. Still with me? Great! So you know how it packages up everything nicely with content files going where they should with nearly ZERO cost to your build scripts. All you need to do is override the output directory (OutDir) and you get this feature. ...
Recently we had a contest to see who could beat my time to get from no code to deployed. Thanks to everyone that participated and everyone that thought about participating in the contest. Most Creative From Zero To Deployed Contest Extended! Unfortunately there were not enough entries to award the most creative video for ZtD. So what we are doing is extending the most creative until May 15, 2011 @ 11:59 PM CST. This gives you almost two months to get your videos in! If you entered before, you are ...
In my previous post I summarized the notation for Flow-Design (FD) diagrams. Now is the time to show you how to translate those diagrams into code. Hopefully you feel how different this is from UML. UML leaves you alone with your sequence diagram or component diagram or activity diagram. They leave it to you how to translate your elaborate design into code. Or maybe UML thinks it´s so easy no further explanations are needed? I don´t know. I just know that, as soon as people stop designing with UML ...

Over the past few weeks, I have worked hard on a few new features for MVVM Light V4. Here is a second early preview (consider this pre-alpha if you wish). The features are unit-tested, but I am now looking for feedback and there might be bugs!

Read the rest of this entry »

If you've been a loyal Reflector user, you've probably been exposed to the debacle surrounding RedGate's decision to no longer offer a free version. Since then, the race has begun for a replacement with a provider that would stand by their promises to the community. Mono has an ongoing free alternative, which has been available for a long time. However, other vendors are stepping up to the plate, with their own offerings. If Not Reflector, Then What? One of these vendors is Telerik. In their recent ...
When building my latest SharePoint 2010 demo virtual machines, I decided to try installing Exchange 2010 as well. Now, I’m not an Exchange admin, but I thought “how hard can this be?” Well, a little more than I thought. Pretty early during the install, I got an error saying that it couldn’t “install Transport HUB”. I double checked that my VM was meeting all of the requirements, both hardware and software, and everything looked fine. After much researching, it turns out that the error was caused ...
A couple of months ago I rebuilt the family’s Mac Mini (you can read the details in this post). Things had gone pretty smoothly until a few weeks ago. That’s when my wife mentioned that different applications would spontaneously crash. She kept track for a few days, and it turned out to be any or all of the applications that she uses (Safari, Quicken, Entourage, etc.) . I did some online research and didn’t really find too much – but then how do you do a proper Google search for “Mac OS 10.5.8 applications ...
You want to avoid the pitfalls of object oriented design? Then this is the right place to start. Use Flow-Oriented Analysis (FOA) and –Design (FOD or just FD for Flow-Design) to understand a problem domain and design a software solution. Flow-Orientation as described here is related to Flow-Based Programming, Event-Based Programming, Business Process Modelling, and even Event-Driven Architectures. But even though “thinking in flows” is not new, I found it helpful to deviate from those precursors ...
Introducing the concept of “first class branches” is a significant improvement as part of the 2010 release with respect to version control. Not only does it help to distinguish between folders and branches, but it enables branch visualizations. Let us see improvements in detail. · In TFS2008, you don’t know which of the folders are Branches: All folders looks the same, all have the folder icon. Now, In TFS 2010 there is a new icon that shows which of the folder is a Branch. · There is no visual means ...
You’re a talented guy (or girl). You’ve done alright. Years of hard work and stick-to-it-ive-ness have paid off and left you with plenty and an opportunity to make a positive difference to someone else. And then there are people with less than they need. Sometimes all they need to help themselves is a start. Opportunity International provide micro financing to help people grow their small businesses so that they can afford food, shelter, water and education. microfinance to solve poverty MonsoonerOrLater ...
I’m back from Seattle where I attended the MVP Summit and presented the Windows Embedded Compact 7 training materials during the Train The Trainer in Bellevue (many thanks to all the people attending and providing great suggestions to improve the materials!). The MVP summit was a great chance to discover new things about all the different technologies, to see old friends and meet new ones. The TTT location (Microsoft training facilities at Lincoln square in Bellevue) was great and here’s the landscape ...
Even with a lot of the XNA community working on Dream Build Play entries ( I swear I’m going to finish mine this year!) people are still finding time to do side projects and be amazingly active in the XNA and XBLIG community. With my one eye on my code and one eye on the community, here’s what I noticed these over achievers doing this past week! Time Critical XNA News: Xbox LIVE Indie Games sales data will be delayed March 17-20th due to some schedule maintenance http://create.msdn.com/en-u... ...
Tuesday evening I found myself minus family. I decided to use the time to “have a crack at this Silverlight Phone 7 stuff”. From zero (no experience, no tools installed, no membership on the AppHub) to submitted for approval took me from 8pm to 1am – with the last hour messing around with png files in Paint to complete the submission process! Two days later on Thursday it was approved and is now in the marketplace for you to install - or not :-) The application is very simple but it works and looks ...
Not too long ago, Microsoft released, NuGet, an automated package manager for Visual Studio. NuGet makes it easy to download and install assemblies, and their references, into a Visual Studio project. These assemblies, which I loosely refer to as packages, are often open source, and include projects such as LINQ to Twitter. In this post, I'll explain how to get started in using NuGet with your projects to include: installng NuGet, installing/uninstalling LINQ to Twitter via console command, and installing/uninstalling ...
How can that be? We're in the realm of micro-micro-optimisation here, but I'm working on a log4net appender which writes to Event Tracing for Windows. The setup gives you the runtime configuration of ETW with the easy use of log4net. ETW logging is ultra-efficient, so I want to impact that as little as possible, which is why I'm optimising string comparison. The appender will let you capture different levels of logging per assembly or per type, and I need to check where the call comes from to identify ...
An important part of Agile is the concept of transparency and visibility. In proper functioning teams, stakeholders can look at any team at any time in the iteration or release and see how that team is doing by simply looking at what we call Big Visible Charts. If you’ve done Scrum, you’ve seen these charts. However, interpreting these charts can often be an art form. There are several different charts that can be useful. In this newsletter, I’ll focus on the Iteration Burndown and Cumulative Flow ...
The day has finally come: Microsoft has released a web browser that is awesome. On Monday night, Microsoft officially introduced the world to the latest edition to its product family: Internet Explorer 9. That makes March 14, 2011 (also known as PI day) the official birthday of Microsoft’s rebirth in the world of web browsing. Just like any big event, you take some time to celebrate. Here are a few things that you can do to celebrate the return of Internet Explorer. 1. Download It If you’re not a ...
In the next few lines, I would like to briefly review ANTS Memory Profiler 7.0. I was honored to be extended the opportunity to review this valuable tool as part of the GeeksWithBlogs influencers Program, a quarterly award providing its recipients access to valuable tools and enabling them with an opportunity to provide a brief write-up reviewing the complimentary tools they receive. Typical Usage ANTS Memory Profiler 7.0 is very intuitive and easy to use for any user be it novice or expert. A simple ...
In this Issue: Peter Kuhn, Emil Stoychev, Viktor Larsson(-2-), Kevin Hoffman, Rudi Grobler, WindowsPhoneGeek, Jesse Liberty(-2-), and Martin Krüger. Above the Fold: Silverlight: "Image comparison using a GridSplitter" Martin Krüger WP7: "Using WP7 accent color effectively" Viktor Larsson XNA: "XNA for Silverlight developers: Part 7 - Collision detection" Peter Kuhn From SilverlightCream.com: XNA for Silverlight developers: Part 7 - Collision detection Peter Kuhn has part 7 of his XNA for Silverlight ...
Visual Studio 2010 Service Pack 1 (SP1) is now available for general download for almost a week now. The Beta of SP1 came couple of months back and it did a lot of performance enhancements, added support for HTML5 tags and few other stuff related to web development. Now, the final release of SP1 is available. The good part is that, if you had installed the SP1 beta, you don’t have to remove the Beta and start all over again. You can apply the final release on top of the Beta and it works like a charm. ...
One thing that I’ve noticed in several apps in the Windows Phone 7 marketplace is the ad chopping off on the right hand side. I decided that my next Windows Phone 7 app will be ad supported so why not sign up for the Advertising SDK and investigate this issue. *Note: If you want to see this in an actual app then download the free app called “Road Rage”. So here is an example of what I am talking about: You will notice that the right hand side of the AD is chopped off using the default ad banner. ...