Tag | Design Posts

“Design Patterns 100? is a prerequisite for .NET Developers. (Part 3 – Excerpts from July 2010 – PhillyNJ.NET Presentation) Continuing our discussion from Part-2 we ask. What are the “Gang of Four” (GoF) Creational Patterns and where can we find them in the .NET Framework? Let’s look at a list of the Creational Patterns as defined by the GoF. Abstract Factory Pattern – creates an instance of several families of classes Factory Method Pattern – creates an instance of several derived classes Builder ...
“Design Patterns 100? is a prerequisite for .NET Developers. (Part 2 – Excerpts from July 2010 – PhillyNJ.NET Presentation) Every .NET Architect, developer and even some business users have some understand of patterns which make up the system they want to construct just like our house discussion in Part-1. Every profession hasw it own “LINGO”. Many have tagged that of the IT World as “GEEK SPEAK”. When it comes to creating the software system even among the GEEKS we have our own language. For the ...
“Design Patterns 100? is a prerequisite for .NET Developers. (Part 1 – Excerpts from July 2010 – PhillyNJ.NET Presentation) This series of shorts is targeted at those .NET developers who glaze over at when people start talking patterns. I’ve noticed this before, but it wasn’t until I had a few discussions with people from the local user group that I realized there was a need. First we answer why should a .NET developer need to be aware of patterns? After this series is conmplete this blog will have ...
If you work with XAML day in and day out then surely you will have your own tips/tricks for working inside of Visual Studio 2010. Here are mine. I hope that you find them useful. Tip #1 When Double Clicking on a .XAML File go directly to the XAML View and collapse the Design split view. I find it annoying how the design view opens up every time you double click on a .XAML file. I like to create my UI inside of Expression Blend instead of Visual Studio. For instance, I get the following screen when ...
June the 23rd the Belgium user groups have another free event. It’s called the Community Day and this year they will celebrate their 5th anniversary! To celebrate this they invited some collegue-usergroups from across the border to speak there as well. Timmy Kokke from Sixin (http://www.sixin.nl) and myself will be there to talk about a number of items. I will be doing a talk on MVC 3 (not so interesting for regular readers of this blog) and a talk on Surface Development (which fits this blog more ...
Materials for the PHILLNJ.NET Presentation – August 24, 2010 On August 24, 2010 I demonstrated the “Repository Pattern” which is a Enterprise Architecture Design Pattern and the foundation of Domain Driven Design (DDD) which is primary in loose coupling your applications design. At this presentation I demonstrated the use of the “Repository Pattern” combined with other subjects such as Unit Testing, Custom Mocking with LINQ & Generics. I also gave out a limited number of CD with the code and ...
Ok you have been playing around with SSRS 2008 R2 as did I and while I can’t wait to get my hands on CTP 2 of Denali here is some tips to get your reports a bit more standardized. The concept is called Report Parts. Report Parts are a SSRS 2008 R2 only feature. Basically it allows you to publish elements of a report as a separate objects to the report server. These elements can be any element of a report, as long as there is no custom code in them. So how do you make a report part? Well, that’s simple. ...
Its been a while since I blogged. Its been hard balancing blogging time, work and many other activities. Most my days and even evenings have been cluttered with a number of tasks ranging from mundial to critical. There is some which have been most interesting include very nice lessons I took from from some of the people I respect in the industry. I will try and highlight some of the things I did in below. 1) The DataObjects.NET contribution programme. From February this year I quickly responded to ...
I have been doing a rushed brush up on my contemporary concepts programming course – only to encounter more design patterns… so as revision I have listed some details below… Today I am going to briefly cover 5 design patterns… namely: Composite Pattern Observer Pattern Serializer Pattern Monostate Pattern Command Pattern What are Design Patterns? (see wiki) In programming we come across problems that are very similar, and certain approaches to solving these problems could be applied time and time ...
The second programming book I read on holiday was Growing Object Oriented Software Guided By Tests by Steve Freeman and Nat Pryce. To sum up early: its a very, very good book on TDD. When I first came across TDD, I immediately saw it as a good idea. Don't write any code without first having a test to cover it and you get automated tests to run any time which prove your system works and document how. Awesome! Getting stuck in with TDD threw up a few questions I couldn't find easy answers to, though: ...

The much esteemed Joe Celko has published an article at http://www.simple-talk.com/sql/t-sql-programming/time-gentlemen-please!-the-sql-server-temporal-datatypes/ discussing the new data and time data types that were introduced with SQL 2008. If you are involved with SQL Server database design and development, I urge you to read this article.

He who fails to plan, plans to fail. – unknown In many ways, one of the most dreaded tasks of every iteration is the Sprint Planning Meeting. This meeting is a very important meeting, but many, many things can go wrong and make this meeting a very long and very painful experience. However, this meeting is critical to the success of the team. If the team doesn’t know what they’re doing at the beginning of the iteration, how can they commit to getting the work done? To hopefully help ease the pain ...
A colleague of mine approached me asking what would be the easiest approach to download a single file from a FTP location that when the file name is changing frequently without any logical pattern. My immediate thought was to use an empty ForEach Loop Container because it can just iterate over files, so even though we are dealing with one file it would be able to capture its name in a single hop. Now to the specifics. As an aside, it was an existing package that used to consume a fixed name file, ...
This has been a fantastic week of XNA activity and news. Standing ovation the the XNA Team for the interaction they’ve been having with the community as well as the new features they’ve been rolling out for Xbox LIVE Indie Game developers. Simply outstanding and I can’t wait to see what might be coming next. It’s also been a fun week to watch people’s Dream Build Play projects inch ever closer to completion. With the submission deadline coming up in June this is the crunch time for many developers. ...
Let’s focus on Exam 70-583 this time. This exam is PRO: Designing and Developing Windows Azure Applications. This guide itself will be a different approach to preparing for the exam itself. Instead of just taking the individual topics, let’s review the topic in as much information as we can. Here is a set of resources to get started. This is the topic I will be presenting at TechEd North America 2011, so expect more information after 5/18/2011. Here is the link to the session: http://northamerica.msteche... ...
This past week the company I work for re-launched our external facing internet site, all powered by SharePoint 2010. I already blogged about it, but have you ever wondered, what does it take to build a great looking site? There are 3 basic levels of Branding in SharePoint 2010: Low Effort Remember the themes in SharePoint 2007? well its incredibly easy to build them in SharePoint 2010.The best examples out there are the ones that use Power Point 2010 to produce color schemes and styles and apply ...
This pas week, the company I work for re-launched our external facing Internet site, complete powered by SharePoint 2010! Check it out at www.imaginets.com. I get two concerns when clients look at doing something like this, either internally or externally: You can't really get a great looking site with SharePoint. We can't justify a great looking site. Well if you facing the same issues consider the great looking site that was put together by some very talented guys. If you think it can't be done ...
This is a problem I've struggled and struggled with. No workaround or fix I found on the internet worked. In fact the work around I finally got to work incorporates a combination of fixes. Symptoms The Form or User Control designer in Visual Studio displays the following error: Visual inheritance is currently disabled because the base class references a device-specific component or contains P/Invoke Cause In case you didn't know P/Invoke is used to access un-managed code (com components). The designer ...
In this Issue: David Catuhe, Paul Sheriff, Bill Steele, Den Delimarsky, Bill Burrows, Doug Rathbone, Matthias Shapiro, Jason Alderman, Jessica Fosler, John Garland, WindowsPhoneGeek, Jesse Liberty, and Jeff Prosise. Above the Fold: Silverlight: "Silverlight 5’s New and Improved Threading Architecture" Jeff Prosise WP7: "Silverlight Game Development webcasts" Bill Steele Shoutouts: Jesse Liberty has a short post up describing some of the features we can expect with the Tooling in Mango From SilverlightCream.com: ...
In this Issue: Michael Washington, Michael Crump(-2-), Gill Cleeren, Peter Kuhn, John Papa(-2-), Nigel Sampson, Jesse Liberty(-2-), and WindowsPhoneGeek(-2-). Above the Fold: Silverlight: "Application Events in Silverlight" Gill Cleeren WP7: "Creating a delete animation using Expression Blend" Nigel Sampson Lightswitch: "It Is Easy To Display Counts And Percentages In LightSwitch" Michael Washington Shoutouts: John Papa has a 2-part series up on rebuilding his blog in Orchard... Part 1: Walking Through ...
Project Silk provides guidance for building cross-browser web applications with a focus on client-side interactivity. These applications take advantage of the latest web standards like HTML5, CSS3 and ECMAScript 5 along with modern web technologies such as jQuery, Internet Explorer 9, and ASP.NET MVC3. To illustrate this guidance, the project includes a reference implementation called Mileage Stats that enables its users to track various metrics about their vehicles and fill-ups. Much of the effort ...
Sometimes, the way that LINQ to Twitter materializes queries into entities isn’t immediately clear. It’s easy to get confused until you see the patterns or make a correlation between the Twitter API results and their representations as LINQ to Twitter entities. In this post, I’ll explain some of the logic behind the design of LINQ to Twitter entities and demonstrate an example of one of the more oddly designed entity types, Search. Note: They'll be talking about MVC3 during multiple sessions at Tech-Ed. ...
The list provided below is my “Best-Of” FREE Frameworks, Tools and Controls for Windows Phone 7. I have used everything listed below in an my WP7 applications. Most of them are in the marketplace at this point and some are still in development. Let’s get started. If you are developing WP7 Applications, this is one that you have probably heard of already. It is Microsoft’s official set of controls that comes complete with full source code of course. Project Description: Welcome to the Silverlight ...
While I was away on a two week holiday in Morocco I notice that the Visual Studio team have dropped a very welcome SP1 refresh that means you can now play with the Async CTP with Visual Studio 2010 SP1. It also means you can program against ASP.NET MVC 3.0 and use the Aysnc CTP at the same time. Visual Studio Blog - SP1 refresh announcement - http://msdn.microsoft.com/e... Lucian Wischik's Blog - design changes - http://blogs.msdn.com/b/luc... ...
Check out the post over on the StaffOfGeeks blog outlining our participation at TechEd 2011 Atlanta. We are so excited to see how Geekswithblogs.net, the best Microsoft blogging community in our opinion, can change the way people blog at TechEd. We are doings so by facilitating a new area we helped design called The Blogger Hub. In this area we have dedicated areas for writing blog post with hardwire network drop and power for your laptops, an education area for learning how to create a blog and ...
I haven't posted a recap lately, because the Virtual Brown Bag recordings weren't being uploaded for a while. That was fixed two weeks ago, so I had a lot of meetings to catch up on. Here's an all-you-can-eat brown bag buffet… March 3 Guest presenter Jim Christopher - creator of StudioShell, a deeply integrated PowerShell host available inside of Visual Studio 2010 and 2008. StudioShell exposes many of Visual Studio’s extensibility points in a simple and consistent way, and it makes the Visual Studio ...
Last week, I was interviewed by Zandra Nilocas from Microsoft Philippines. It was my first time experience to talk about something in front of the camera so it's not surprising that I looked like an idiot in that interview (you know swiveling my chair back and forth without noticing it). Anyway in the interview we talked about ASP.NET WebForms, MVC and Web Matrix in general and just to elaborate a bit of what we talked about and to clarify things out, I have decided to write this post... WebForms ...
A long overdue post. For months I haven’t posted to this blog and I feel terribly guilty at having neglected it. So here goes a brand new post. A coupe of weeks ago, Silverlightshow.net concluded their annual Ecocontest and announced a bunch of deserving winners who win passes to attend Mix 11 at Las Vegas. About the contest: Silverlightshow conducts an annual Ecocontest promoting eco-awareness. This year’s theme was Deforestation. Participants were asked to develop a Silverlight based application ...
This post is from a very good friend of mine, Billy Hollis. He’s got some interesting food for thought and I think you’ll enjoy his perspective! For over 15 years now, our industry has been struggling with a crucial tradeoff. We can get broad reach via standards, or we can get the best possible user experience with applications that take advantage of particular devices or platforms. It's a stereotype that people in software development tend to be code and technology centric and not user centric. ...
In this Issue: Viktor Larsson, Kunal Chowdhury(-2-), Manas Patnaik, Joost van Schaik, Jeff Prosise(-2-), Shawn Wildermuth(-2-), Xianzhong Zhu, Nigel Sampson. Above the Fold: Silverlight: "How to design a Custom Control by editing the Part Template?" Kunal Chowdhury WP7: "Wp7nl utilities" Joost van Schaik Shoutouts: If you're one of the ones that camps out on the forums looking in vain for a question to answer, you may be in luck with Aximus' MS Community Forums RSS Reader that'll get you forum posts ...
My colleagues in the UK Bing team are running an event at Tech Days for the first time. The intention is to cover the latest on Bing and Bing Maps APIs, providing a great update on how the tools can be used, and showing examples of some new and powerful applications. The event has some great speakers from the UK and from Microsoft Corporation – all of whom are experts in their field. We will be covering the Bing design philosophy, the Bing API, our Webmasters Kit for Search Engine Optimisation and ...
At Normal 0 false false false EN-GB X-NONE X-NONE MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.000... mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman","serif";} http://post.oreilly.com/for... ...
This is just a quick tutorial to help you write in an in-app help menu using a .plist file. As apps become more complicated (especially if you continue to add onto your 1.0 version with more features), it's easy to get lost in them. And a good built-in support system is appreciated by everyone. I also prefer to keep it in-app because then it's formatted properly and your users won't have to open up a browser and check, which isn't always available (or isn't always formatted properly). Ok so I decided ...
In almost every field, people should never take things for granted, and remain content with their skill level. In the world of information technology, it's doubly true. Some technology folks may sometimes develop a certain comfort level after staying in one organization for a long time. They may also remain so busy with usual daily tasks where thoughts of self improvement may not even occur for months. Sometimes, people may feel that adequate knowledge of certain technologies, are sufficient. In ...
There has been quite a furore in the last couple of weeks about a blog article published by David Barrett entitled "CEO Friday: Why we don’t hire .NET programmers". You can find it at http://blog.expensify.com/2... Along with about half the global development community, I tried to post a response, but comments were already closed. I had all but forgotten the article until, a few minutes ago, up popped a daily .NET newsletter with a headline linking ...
In many respects is not really fair to compare these two products, as they are mostly targeted toward two different markets, however, the HP Slate 500 is the best offering that Microsoft and it’s partners have put forward to compete head-on with Apple and the rapidly growing tablet/slate market. As way of background I have been a Windows Tablet PC user since the product was first released as an extended version of Windows XP. I started by testing a Panasonic Toughbook convertible, moved on to what ...
The MVVM (Model-View-ViewModel ) Design Pattern requires that you create a facade layer between the Model and the View called the ViewModel. The ViewModel is supposed to supplement the functionality provided by the Model, and coerce it into a form the View can more readily consume. The result being; the View code can be pretty thin and concerned only with view based activities, while the Model can remain uncompromising by the demands placed on it by a View meaning it can better represent the data/concepts ...
I’ve been meaning to read this book for a while and finally did!! Don’t let the title fool you, it could have been “Modern Object Oriented development with .NET”. In the context of improving an existing active project (brownfield) this books walks you through separation of concerns, isolating dependencies, test driven development and many other concepts in a very practical and easy to understand way. They also cover many of the political, cultural and personality issues you will face working with ...
Eric White has put out a document generation example which uses XPath and Word Content Controls. I applaud Eric for the amount of work he has done with his exploration of different ways to perform template base generation. This is a subject that is challenging and we need as many ideas as we can get. There are a couple of areas that I see room for improvement in this XPath design that I would like to bring up. The first is that Eric has chosen to put his document generation in the document itself. ...
(these are lifted verbatim from Microsoft here, here and here and are presented below only because it’s convenient to have them lumped altogether…) Getting Started with Windows Phone Windows Phone development platform supports both XNA Framework and Silverlight. This unit takes you through the step-by-step creation of your first Windows Phone Silverlight application. Hands-On Labs · Hello Windows Phone This lab intends to be the classic "Hello World" application, introducing you to the tools and ...
I’d like to invite you to a set of 2 webinars targeted for Visual WebGui newbies and beginners as part of the new completely free evaluation program for the Visual WebGui Experience. Visual WebGui (VWG) has gained its fame for its simplicity that lets core Microsoft developers, develop rich ASP.NET Ajax based Web, Cloud or Mobile applications just the way they are used to developing desktop .NET apps. With over 200,000 .NET developers that have adopted Visual WebGui to write over 35,000 VWG applications ...
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 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 ...
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 ...
My blog has been quiet recently, mainly because I've been spending a bunch of time putting together an iPhone app which talks to a set of RESTful WCF services hosted in Azure, backing onto SQL Azure for storage. This post is a technical walkthrough of that architecture and some of the learning experiences, but after this it will be back to normal. I have a couple of nice open-source projects which are coming soon, including a log4net appender which writes to Event Tracing for Windows (ETW), and 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 ...
MVPs are well known for their good heart (like the GeekGive initiative shows) and Client App Dev MVP Gregor Biswanger is no exception. At the latest MVP summit (beginning of March 2011), he took over a DVD about WPF 4 and Silverlight 4 and asked a few Microsoft superstars to sign it. Read the rest of this entry » ...
The phone revolution that is under way at the moment is insanely interesting and continuously full of buzz about directions, failures, and promises. The movement started with Apple completely reinventing what a smart phone was all about and now we have the followers. Though – don’t dismiss the followers, they are usually the ones that come out with the leap frog products when most of the world is thinking about jumping on. Remember the often used analogy – the USA invented the TV – but it was Japan ...
I’ll be speaking at a few upcoming events: Saturday March 19th 2011 IT Camp Saturday Tampa http://itcampsaturday.com/t... This is a first of it’s kind – IT Pro camp, a more topic open then many traditional Code Camp and no so much code focused. Here is just a small sample: Adnan Cartwright Administrating your Network with Group Policy Nikita Polyakov Intro to Phone 7 Development Landon Bass Enterprise Considerations for SharePoint 2010 Michael Wells Intro to SQL Server for IT Professionals Keith ...
Ever wanted to have a simple jQuery menu bound with ASP.NET web site map file? Ever wanted to have cool css design stuffs implemented on your ASP.NET data bound controls? Ever wanted to let Visual Studio generate logical layers for you, which can be easily tested, customized and bound with ASP.NET data controls? If your answers with respect to above questions are ‘yes’, then you will probably happy to try out latest release (v5.0) of Employee Starter Kit, which is intended to address different types ...