Tag | Design Posts

In this Issue: René Schulte, Jeremy Likness, Hassan, Victor Gaudioso, SilverLaw, Mike Taulty, Phani Raj, Tim Heuer, Christian Schormann, Brad Abrams, David Anson, Diptimaya Patra, and Daniel Vaughan. Shoutouts: Last week, Koen Zwikstra announced Silverlight Spy at MIX10 Anand Iyer announced this for students on the Windows Team Blog: Be a Windows Phone 7 “Rockstar” Justin Angel blogged that Silverlight Isn't Fully Cross-Platform ... let him know if you think it's a yawn or important. On behalf of ...
as long as we're talking about VB... I figured I would share this as well. Hi everyone, I'm about to express a sentiment that might ruffle a few feathers, but I think most of you know me well enough to know I love like accept VB for what it is and that what I'm about to say is with good intentions. (The rest of you, who don't know me, please take my word for it.) The world is full of VB developers, I was one of them for a long time. I think it's safe to assume that none of us are ignorant people ...
Design patterns are represented as relationships between classes and objects with defined responsibilities that act in concert to carry out the solution. Azure Design Pattern : Design Pattern on the Azure platform. · Cloud Hosting Patterns · Cloud Data Patterns · Cloud Communication & Sync Patterns · Cloud Security Patterns · Application Patterns Application Patterns: These patterns describe composite applications created by combining the core patterns. · Hosted Web Application · Hosted Web Application ...
Windows Azure automatically divides your role instances into some “logical” domains called upgrade domains. During upgrade, Azure is updating these domains one by one. This is a by design behavior to avoid nasty situations. Some of the last feature additions and enhancements on the platform was the ability to notify your role instances in case of “environment” changes, like adding or removing being most common. In such case, all your roles get a notification of this change. Imagine if you had 50 ...
Microsoft’s launched Generation 4 Modular Data Center design at the PDC 09 - The 20-foot container built on container-based model. Microsoft says the use of server-packed containers – known as Pre-Assembled Components (PACs) – will allow it to slash the cost of building its new data centers. Completely optimized for outdoor use, with a design that relies upon fresh air (”free cooling”) rather than air conditioning. Its exterior is designed to draw fresh air into the cold aisle and expel hot air from ...
Introduction Although it was possible to write extensions for Expression Blend and Expression Design, it wasn’t very easy and out of the box only one addin could be used. With Expression Blend 4 it is possible to write extensions using MEF, the Managed Extensibility Framework. Until today there’s no documentation on how to build these extensions, so look thru the code with Reflector is something you’ll have to do very often. Because Blend and Design are build using WPF searching the visual tree with ...
Unit Testing with VS2008 Team System and Moq In order to loop around the software development life cycle, you do really have to do the unit testing. Once you get in this stage, you will realise that you need to get your hand dirty with heaps of isolation and refactoring and you wish the whole team had been practicing the Test Driven Programming. It is vital that you test your application and the more dependencies you have in classes, the deeper nightmare for isolation. Possibly in some cases, bad ...
Employee Info Starter Kit is a ASP.NET based web application, which includes very simple user requirements, where we can create, read, update and delete (crud) the employee info of a company. Based on just a database table, it explores and solves most of the major problems in web development architectural space. This open source starter kit extensively uses major features available in latest Visual Studio, ASP.NET and Sql Server to make robust, scalable, secured and maintainable web applications ...
When I started this blog in September 2009 I was working as a BizTalk developer for a financial institution based in the South West of England. At the time I was developing using BizTalk Server 2004 and intended to use my blog to collate and share any useful information and experiences that I had using this version of BizTalk (and occasionally other technologies) in an effort to bring together as many useful details as I could in one place. Since then my circumstances have changed and I am no longer ...
Topic: nServiceBus is mature and powerful open source framework that enables to design robust, scalable, message-based, service-oriented architectures. Latest improvements in the configuration API enables developers to quickly get started and build a working simple system that uses messaging infrastructure. The goal of this session is to give a jump start with the framework, introduce basic concepts such as message handlers, Sagas, Pub/Sub, Generic Host and also create a working demo application ...
Left the Circus Circus and headed to the geek circus at Mandalay Bay. Got in, got some breakfast, met a few more people and headed to the keynote. Upon arriving the crew I was hanging with at the event; Erik Mork, Beth Murray, and Brian Henderson and I were entertained with several other thousand geeks by the wicked yo-yoing. The first video demo of something was of Bing Maps and various aspects of Microsoft Research integrated together. Namely the pictures, put in place, on real 3d element maps ...
Over the last few months I have had the opportunity to ramp up significantly on SQL Azure. In fact I will be the co-author of Pro SQL Azure, published by Apress. This is going to be a book on how to best leverage SQL Azure, both from a technology and design standpoint. Talking about design, one of the things I realized is that understanding the key limitations and boundary parameters of Azure in general, and more specifically SQL Azure, will play an important role in making sounds design decisions ...
[UPDATED 23/3/2010 with two new links from developmentor on STEs] I just posted on the bits you need to install to explore all the features of Entity Framework 4 with the Visual Studio 2010 RC. I’ve also had a quick look (March 12th 2010) to see what new resources are out there on EF4. They appear a little thin on the ground – but there are some gems. The following all caught my attention: Julie Lerman has published 2 How-to-videos on EF4 on pluralsight.com. You need to create a free guest pass to ...
The problem statement: I am tired of thinking how to show a simple message box or user prompt and act based on the response in Model-View-View-Model (MVVM). Common approaches: - It's ok, let's just do this one thing from ViewModel and mock this out for unit testing - Design my own dialog, then what to do from there - Can I write something in view code behind, ah yes, that seems to be the only way out, as anyway MVVM is still not matured... - and what not? I am pretty much one among the few frustrated ...
Since the dawn of the computer age, various methodologies have been introduced to improve quality and reduce cost. In this posting, I will by sharing my experiences with Test Driven Development; both its benefits and limitations. To start this topic, we need to agree on what TDD is. The first is to define each of the three words as used in this context. Test - An item or action which measures something in some quantifiable form. Driven - The primary motivation or focus of a series of activities (process) ...
Few months ago, I’ve created a simple demo about “Creating a Simple Registration Form using the ADO.NET way”. In this article, I'm going to demonstrate how to create a simple form that would allows users to insert data to the database using L2S. As an overview, LINQ to SQL is a technology that allow you to query sql server. LINQ to SQL is an O/RM (object relational mapping) implementation that ships in the .NET Framework "Orcas" release, and which allows you to model a relational database using .NET ...
I’m back with my Silverlight for Windows Embedded tutorial. Sorry for the long delay between step 3 and step 4, the MVP summit and some work related issue prevented me from working on the tutorial during the last weeks. In our first, second and third tutorial steps we implemented some very simple applications, just to understand the basic structure of a Silverlight for Windows Embedded application, learn how to handle events and how to operate on images. In this third step our sample application ...
Alot of literature has and is being written about agile developement and its surrounding philosophies. In my quest to find the best way to express the importance of agile methodologies, i have found Robert C. Martin's "A Satire Of Two Companies" to be both the most concise and thorough! Enjoy the read! Rufus Inc Project Kick Off Your name is Bob. The date is January 3, 2001, and your head still aches from the recent millennial revelry. You are sitting in a conference room with several managers and ...
Tim Bass posted on ‘Orwellian Event Processing’. I was involved in a heated exchange in the comments, and he has more recently published a post entitled ‘Disadvantages of Rule-Based Systems (Part 1)’. Whatever the rights and wrongs of our exchange, it clearly failed to generate any agreement or understanding of our different positions. I don't particularly want to promote further argument of that kind, but I do want to take the opportunity of offering a different perspective on rule-processing and ...
Catching up after our sixth code camp here in the Ft Lauderdale, FL area. Website at: http://www.fladotnet.com/co... For the 5th time, DeVry University hosted the event which makes everything else really easy! Statistics from 2010 South Florida Code Camp: 848 registered (we use Microsoft Group Events) ~ 600 attended (516 took name badges) 64 speakers (including speaker idol) 72 sessions 12 parallel tracks Food 400 waters 600 sodas 900 cups of coffee (it was cold!) 200 pounds of ice 200 pizza's ...
Today at the Unversity of Washington, Steve Ballmer gave a speech on Microsoft’s cloud strategy. Significantly, Azure was only briefly mentioned and was not shown. Instead, Ballmer spoke about what he called the five “dimensions” of the cloud, and used that as the basis for an almost philosophical discussion. Ballmer opined on how the cloud should be distinguished from the Internet.as well as what the cloud will and should enable. Ballmer worked hard to portray the cloud not as a challenger to Windows ...
In the process of creating my own DB VCS tool tsqlmigrations.codeplex.com I ran into several good resources to help guide me along the way in reviewing existing offerings and in concepts that would be needed in a good DB VCS. This is my list of helpful links that others can use to understand some of the concepts and some of the tools in existence. In the next few posts I will try to explain how I used these to create TSqlMigrations. Blogs entries Three rules for database work - K. Scott Allen http://odetocode.com/blogs/... ...
*Moved to: Finding the problem on a partially succeeded build on Team Foundation Build Services 2010Now that I have the Build failing because of a genuine bug and not just because of a test framework failure, lets see if we can trace through to finding why the first test in our new application failed. Lets look at the build and see if we can see why there is a red cross on it. Read more...Follow my new blog on http://blog.hinshelwood.com ...
1) Turn off Tracing unless until required Tracing is one of the wonderful features which enable us to track the application's trace and the sequences. However, again it is useful only for developers and you can set this to "false" unless you require to monitor the trace logging. How it affects performance: Enabling tracing adds performance overhead and might expose private information, so it should be enabled only while an application is being actively analyzed. Solution: When not needed, tracing ...
Lately I have had some run-ins with structural architects who have warned me that calling myself or our user group Architects is against the law in Illinois. I still need to sort out if this is actually the case or not, but it makes me ask a number of questions. Clearly the law was not intended to protect the word Architect. It was meant to protect the profession and protect the public from people who were practicing architecture without proper training. We wouldn’t want buildings and bridges falling ...
In this Issue: Phil Middlemiss, Jim Wightman, Jeremy Likness, Ross Wozniak, SilverLaw(-2-), XAMLNinja, Victor Gaudioso(-2-), Sergey Barskiy, and Jeff Handley. Shoutouts: Chris Klug posted The CommandManager that never dies…and ends up on Codeplex… Mike Swanson posted All About MIX10 From SilverlightCream.com: A Scalable Orb Radio Button Holy crap ... if you don't like this tutorial by Phil Middlemiss... just go back to programming DOS :) ... this is great... keep it coming, Phil! Using Silverlight ...
For anyone interested in some really all-encompassing agile training in the Austin area, there’s a fantastic one coming up from March 24-26th at Headspring. All the topic details, schedule and registration info are here, but just a rough outline of the topics covered: object oriented programming SOLID principles design patterns dependency injection team design on whiteboard IDE tools and quickly navigating a codebase Test-Driven Development mocking pair programming refactoring pain driven development ...
In this Issue: Mike Hodnick, Jeremy Likness(-2-, -3-), Bobby Diaz, Jianqiang Bao(-2-, -3-, -4-, -5-), Chris Klug, Nokola, Peter Bromberg, Nigel Sampson, Shawn Wildermuth, and Kirupa. Shoutouts: Chris Woodruff composed a PDF of the MEF Programming Wiki Gavin Wignall has a post up on how to Create a 360 panorama using Microsoft Silverlight Photosynth Chris Klug posted an Update to the multi-touch development intro From SilverlightCream.com: SilverSynth - Digital Audio Synthesis for Silverlight Mike ...
Technorati Tags: ASP.NET,General I often see questions at forums(http://forums.asp.net) asking stuffs like: Where to begin? Where Do I start? How to Get Started? So I decided to write this "boring" post to express my opinion and hopefully this can help beginners find their way to get started with ASP.NET. Based on my experience learning ASP.NET is just like learning how to play a guitar.. (oh really? why could I say that? ).(1) First you must have this what we call "interest" because if you don't, ...
BizTalk: Compensation Model As Charles Young mentioned, the Compensation is one of the most under-used features of the BizTalk. See “BizTalk Server 2006: The Compensation Model” article. If you didn’t read his article, I would strictly recommend it. Next article to read is “Transactions and Compensation Using BizTalk Server” by Richard Seroterand the "Atomic Transaction Shape" webcast by Alan Smith There are still many questions in using Compensation in BizTalk. · What is the proper order of the ...
After working with FluentNHibernate and seeing examples of registries in StructureMap, I started craving the same thing for my registrations with Windsor. Our registrations often look like the following: public static void Register(IWindsorContainer container) { container.Register(Componen... container.AddComponent<I... Foo>(); ... } There are a few things I don’t like about this approach: Passing a container around through static methods is a hack. ...
Update: I have updated the repository to include references to Fubu's Dlls instead of copying their code directly. Here’s something fun that I’ve been playing with. A few weeks ago I saw Jeremy Miller’s post “Shrink your view’s with FubuMVC’s Html conventions” and knew I had to have this functionality in my Microsoft MVC applications. I pulled the source and started writing an adapter to make it work. I hope the FubuMVC guys don’t mind that I’ve borrowed some of their hard work. What are Html Conventions? ...
This ebook was released in December of 2008, but it stills a good resource for those (like me) who are now introducing to Entity Framework, The ebook was written by Zeeshan Hirani and it has 514 pages. The design of the ebook isn't pretty, but the content is pretty good :) Free download here: http://weblogs.asp.net/zees... ...
Since everyone else is getting in their final thoughts…I thought I’d jump on the bandwagon. For anyone who hasn’t been following me on Twitter or Facebook over the last week, I was fortunate enough to get the opportunity to spend a week in Redmond, Washington at Microsoft’s yearly MVP Summit. While “Twitterverse” (i.e. #mvp10) sometimes makes things sound like one big party it was actually a very fascinating week I was very proud to be involved with. I had never before had the opportunity to visit ...
I'm here at PyCon 2010 in Atlanta. One of the pervasive themes (other than improving Python performance and testing which are very good pursuits IMO) is the recurring, omni-annoying "The Web is the New Operating System" concept that the .com busters (who failed us so miserably in the 90s) just love to espouse. The Web is a lot of things to a lot of people. If you asked 10 people what they thought "The Web" really means, you would probably get several very distinct answers, depending on their experiences ...
I have not programming in a while, and I have forgotten some of the concept and definition of terminology. Until I was being asked, they took me a while before they snapped back in my brain :-) Custom Attribute? For example: How I create a Custom attribute? From what I remember the primary step to properly design custom attribute classes follows: Applying the AttributeUsageAttribute([At... Inherited=false, AllowMutiple=true)]) a) Declaring the attribute. (Class public ...
Manipulating app.config attributes at run time in C# appears to be simple. However most of the samples I've looked at don't work or are impenetrable. Simply in app.config file at design time add some userSettings either manually or through the design window <userSettings> <WindowsFormsApplication... <setting name="MyMachine" serializeAs="String"> <value>zaxcc1Machine&... </setting> <setting name="MyMessage" serializeAs="String"> <value>Helpme</val... ...
Paulo's blog mentioned about this MSDN magazine article on Windows Mobile Gestures by Marcus Perryman. The article explains about gestures, the design considerations that went in while implementing it, the physics engine and a few tips and tricks. And don't miss the two part series, Let's talk about Touch, by Marcus Perryman, its a good read too. Links Going Places - Gesture Magic Let's talk about Touch - Part I Let's talk about Touch - Part II ...
Set your ideas free Create what you can imagine, build on the strengths of your team, and open up new possibilities. · New prototyping, modeling, and visual design tools enable you to create innovative applications for Windows and the Web · Create a shared vision as a foundation for creativity with SketchFlow ,in Microsoft Expression® Studio , and Team Foundation Server · Take advantage of new opportunities & capabilities offered by multi-core programming and cloud development tools Simplicity ...
Note: Re-posted from the Prairie Developer Conference blog. The Prairie Developer Conference is pleased to announce that Microsoft MVP, author, and consultant Donald Belchamwill be leading a one day workshop on Friday, June 4th titled Making the Most of Your Brownfield Application Development! Pricing will be announced shortly, as will pricing for the conference in general and registration will be opening next week! Below is the abstract for the workshop. Making the most of Brownfield Application ...
To download the source code please click here Introduction Claim-based authorization is a new model of authorization introduced in Windows Communication Foundation. This model addresses more scenarios than the popular role based security model (IIdentity, IPrincipal). This is useful when an application requires complex and fine grained control on expressing access control decisions. Role based security model may not be powerful or flexible enough and is often too coarse when we reach complex scenarios ...
I've not done a great deal in ASP.Net and I've never done anything with Style Sheets. They are however really simple as long as you remember a couple of things. Create the css file and add it to your project in Visual Studio. Then drag it to the aspx page (in design view). This will add the lines to the aspx page <head runat="server"> <title></title> <link href="StyleSheet1.css" rel="stylesheet" type="text/css" /> </head> Then when designing the css classes use the wizard ...
I have spent the last several months developing solutions with Office 2007 and the Office Open XML SDK 2. Our client has requirements that cross the suite from PowerPoint Presentations to Word Documents. The Open XML standard which define the structure of these documents is very powerful. My biggest frustration is the lack of consistent capabilities between the products. Since we are doing document generation based on templates it is very important we that the code can consistently identify any part ...
Most people - even the overwhelming majority of programmers - would say that the main activity of a software developer is "writing source code". But this is a (though quite understandable) misconception - and if you take a look at the available figures on the issue or if you - as a software professional - are honest to yourself, the misconception immediately turns out to be an enormous one. The world is full of software systems that are already in operation, and they have to be maintained - writing ...
Maybe I shouldn't have been up til 12:30 coding last night, because things are pissing me off this morning. I check in with my class on the morning of the last day (today) and the one student that is a self-proclaimed "experienced programmer" has yet to interact with his team on the paper due at midnight tonight. Maybe he's spending all his time hand-compiling the Week 6 program, because I don't believe he's run the compiler yet on anything. That was obvious in Week 5 when it wouldn't compile, and ...
In this Issue: Fredrik Normén(2), Antoni Dol, Alex van Beek, Rishi, Mike Taulty, Giorgetti Alessandro, Michael S. Scherotter, Jesse Liberty, Jeremy Likness, and Anoop Madhusudanan. Shoutouts David Kelley announces a podcast: Lunch With Interact - MVVM For Tards I don't keep a close eye on it, but sometime in the last two days, @SilverlightNews has hit 4000 followers... thanks to all the readers! From SilverlightCream.com: Aspen – A sample app using Silverlight 4 and .Net 4.0 – part 5 of X – New Repository ...
To download the sourcecode click here Introduction Recently I have been working with some hierarchical object structures that are a composition of several other nested classes and elements, that we call “template objects”. To give you an idea of this, consider “Patient” class as a container that holds patient demographics in a hierarchical object structure. Fig: hierarchical template. These template objects are very robust and flexible, someone can go and design a template like above in a hierarchical ...
The new version of the Visual WebGui Ajax applications platform was released today and offers upgraded performance, scalability and complete developer and designer freedom to design and customize Web 2.0 UIs. Visual WebGui 6.4 beta 1 incorporates about 1,000 complete features either added or fixed from 6.3, including increased customizability with the new control level designer, theme designer and jQuery integration. The new version also includes 4 out-of-the-box skins for simple personalization ...
Update: Shawn Wildermuth has changed his session and will be talking about Silverlight Security instead. The MIX conference this year had an open call for sessions, and 12 sessions were voted by the public out of 169. Surprisingly (or maybe not that surprisingly in fact), 3 sessions out of the 12 have the MVVM pattern in their title. This shows a lot of interest for this pattern which is helping the developer to create decoupled, testable, blendable applications in Silverlight and in WPF. Read the ...
This is the second of a three-part series, as follows: Part 1: Situating the Business Rules Engine Part 2: Backward Chaining: the 'Simple Name' pattern Part 3: Backward Chaining: the ‘Bound Variable' pattern In part one of this three-part series, I explained some of the historical influences that led Microsoft to design their Business Rules Engine as a 'situated reasoning engine'. In this second part, I want to look at a pattern that exploits these features. Microsoft's engine is often described ...