Tag | Developing Posts

Download GPIO Example driver and appplication source code In previous articles I have developed a driver to access GPIO Pins, Windows CE: Using a Driver to Read/Write Hardware Registers, and a wrapper API for the driver, Windows CE: Developing an API to Access a Driver. Now it is time to use them from an application. Because the real work is done in the driver, and because we have some simple to use wrapper functions, this application is very simple. It starts by calling the InitGPIOAPI() function, ...
Download GPIO Example driver and appplication source code In my article on reading and writing GPIO pins from a driver (see Windows CE: Using a Driver to Read/Write Hardware Registers) I developed a driver that exposes GPIO pins through DeviceIoControl() calls to the driver’s XXX_IOControl() function. Using DeviceIoControl() can be messy, so developing wrapper functions helps clean that up, but if the driver developer also created the wrapper and provided it as an API that would help. An API is really ...
Download GPIO Example driver and appplication source code A recent discussion thread in the Windows Embedded Compact Platform Development forum made it clear to me that for new Windows CE Software Engineers doing something as simple as accessing a hardware register can be very difficult. In the old days, Windows CE 5.0 and before, it was very easy; write an application that allocates a virtual address and then read or write a register. The problem with that is that allowing applications to access ...
Can Event-Based Components (EBC) be used to design libraries? Sure they can. FallenGameR asked a question along this line in response to my previous article. Let me demonstrate this with a simple library scenario: A function ToDictionary() is to be developed which converts a string like “port=8080;user=bart;passwo... into a Dictionary<string, string>. The usage should be like this: var td = new StringToDictionaryConverter(); var dict = td.Convert(“port=8080;user=... or var dict = new Dictionary<string, ...
And the day is Today. Today Tellago launches its new sister company “Tellago Studios” which focuses on developing Enterprise Software’s. The basic motive of the company is to convert the lessons we learn in our day to day life working with our customers while providing them Enterprise Software Solutions into new Enterprise Software. Many times using current technologies we feel that something is missing. What if we can also do this with this technology. We at Tellago, have this passion for innovation ...
Any ramblings and blog posts associated with the UNISA ICT 2621 tag should be considered study notes for my lectures... Objectives of Chapter 1 Explain the key role of a system analyst in business. Describe the various types of system and technology an analyst might use. Explain the importance of technical skills, people skills and business skills for an analyst. Explain why ethical behaviour is crucial for a system analyst’s career. Describe various job titles in the field and places of employment ...
Since long I´ve been doubting the canonical object oriented way of programming was of much help. I´ve never seen a “true” object oriented software system that also was maintainable. And I´ve never seen an average programmer who had an easy time coming up with an evolvable design for even a small application. The litmus test for me is to put someone in front of an empty whiteboard and ask them to quickly draw a design for, say, a Tic Tac Toe game. It´s an easy scenario, I´d say. The requirements are ...
Software Development Ken Schwaber Primer Guide Basics Scrum 12.00 Normal 0 false false false EN-US ZH-CN 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-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0in; ...
First of all, sorry for not posting for a quite long time. I have started working on designing and developing a charity website for blood donation. So all my leisure time was diverted into that. I will ensure that going forward, I post at least one post every week. Lets get into the topic of this week, without delaying any more time. I have always been using asp:Menu and asp:Treeview for transforming the sitemaps to super cool menu which are auto generated by ASP.NET for us. But I wanted more and ...

Remember, the underlying technology of Wndows Phone 7 is Silverlight

So, get a running start at developing for Microsoft's "next big thing": Windows Phone 7 by clikcking on this link http://developer.windowsphone.com/windows-phone-7/ 

Silverlight dominates!

Wally McClure, http://www.scalabledevelopment has a new book published! It's on developing MonoTouch for the iPhone: http://www.amazon.com/Profe... Congratulations, Wally! The Silverlight Group appreciates such professionals as yourself ...
Jump start your development of Windows Phone 7 applications by attending Windows Phone 7 JumpStart. This free virtual live class, comprised of four instructor-led 3 hour sessions, will guide you in developing applications for the Windows Phone 7 platform using Silverlight and XNA. Register today by visiting: https://msevents.microsoft.... Course sessions: July 20 – 8am: Session One: Getting Started ...
Fairly frequently a relative, friend, or friend of a friend asks me “Hey Eric, you know about this stuff. I want to learn to program. How do I do that?”. First up I like to understand what they expect to achieve (which often is at the level of “Make the next World of Warcraft”) then after some expectation resetting, I start to share my wisdom In the past I have tended to point folks at: SmallBasic - which is excellent, especially for kids Kodu – which is focused on visually developing games and is ...
If you were listening to the waves generated by Microsoft at its Worldwide Partner Conference you probably realized that the announcement of offering Windows Azure in a box (a big, big box) is an interesting move. WAPA, or Windows Azure Platform Appliance, is the latest announcement of Microsoft's cloud offering. It basically consists of the complete Azure offering in chunks of expandable mini data centers (hundreds or thousands of servers at a time). So while that's not for your personal home computing ...
This week, Scott Guthrie, Corporate Vice President at Microsoft’s Developer Division, announced, via blog post, the early Beta release of a new tool called WebMatrix. WebMatrix is a free developer tool that enables Web development geared toward what might I might call Markup-and-Script developers (more on that in a minute). And although WebMatrix draws upon technologies already, or soon to be, present in the fuller ASP.NET Web development platform and the Visual Studio integrated development environment ...
Last year my employer, Protegra, put on the first ever Software Development and Evolution Conference (SDEC) in Winnipeg. The event was such a huge success and the feedback we got was so positive that we’re doing it again this Fall and we’re making it bigger and better than last year! SDEC10 will occur October 13th and 14th 2010 at the Winnipeg Convention Centre! We’ve expanded the event to two days from the one day we did last year, and that means more sessions and more speakers! We’re still feeding ...
Technorati Tags: Sandcastle,.NET Photo credit: cynwulf I'm of the opinion that in-line comments are often a "code smell", but if you're developing a framework or class library that you want others to use, .NET XML comments on public classes and members used to generate documentation can be very useful. The tool for building that documentation is Sandcastle. According to its CodePlex site, "Sandcastle produces accurate, MSDN style, comprehensive documentation by reflecting over the source assemblies ...
When MVC 2 was released, there was a last minute change to use Model Validation instead of Input Validation. Essentially, Model validation means that your entire view model will be validated regardless of which values actually got posted to the server. On the other hand, with Input validation, only the values that get posted to the server will get validated. While this was the right decision by the MVC team for the most mainstream cases, there are still some cases where the previous behavior of Input ...
A new blog dedicated to Silverlight for Windows Embedded has been opened by the development team. Add it to your RSS feeds if you are interested in this technology and in developing easily dynamic and visually pleasing UIs for your embedded devices. Here’s the link: http://blogs.msdn.com/b/sil... I’m also very happy to announce that Vinoth Rayagopalan has been awarded as a Windows Embedded MVP. Vinoth is very active on the Windows Embedded forums and newsgroups and I’m very ...
Some commonly asked questions about Silverlight. These aren't deep, but are often asked by beginners. What is Silverlight? Silverlight is a cross-browser, cross-platform software framework to create Rich Internet Applications (RIA) that can be embedded in Web pages. What is meant by RIA? RIA stands for Rich Internet Applications, which are Web applications with rich user interfaces including media elements such as audio, video and so forth. You can think of them as being similar to powerful and rich ...
I'm dividing my time between the .NET world and developing in C++ again, so I'm going to be posting some handy snippets here. Rather than using: sizeof(array) / sizeof(element) to determine the size of an array, we can use a template to accomplish this. // // A handy two-line array_size() template function // #include <cstdlib> #include <iostream> using namespace std; // Uses template type induction to // discover the size of an array // so that you don't have to use sizeof(array)/sizeof(element) ...
Since installing Option Pack 4 for Windows NT to get IIS running Classic ASP, we have all felt the lack of ease from Microsoft to actually create websites on a developer box. There has always been an expressed need to not need a custom configured machine to install Visual Studio and create web sites right away. Why must we open Windows Configuration and add all these pieces if a solution for our OS could be added to the development product line. My first development job was 10 years ago when I worked ...
Shards (defined as a collection of databases acting as one) are starting to take serious traction in the database development world because they offer something that was unavailable previously: asynchronous data fetching. It is fair to say that developing multi-threaded applications can be difficult. Shard technologies remove many of the complexities required to fetch data from multiple databases asynchronously. In this blog I will discuss a specific case in which performance was improved significantly ...
Sir David Varney headed a review into Transformational Government in 2006 . Among its recommendations was one particular one that had been driven by the amount of contact points a citizen had to make with government for a Change of Life event such as birth and death. It gave one example of where a citizen had to make 44 separate contacts to government departments following the premature death of her husband. At this emotional time, this kind of experience adds an unnecessary burden on the customer ...
I was recently on a project that required me to move SharePoint content to SQL Database. As I searched the best way to do this, I thought of a timer job that would run nightly and move the data to SQL, a co-worker who is a SQL expert suggested I use SSIS to move the data over. I started searching online and came up with a couple of options the most notable being the technet article. The problem with the example on technet is that it uses a custom connector that connect one Document library or List ...
I am using this blog to assist other beginner/intermediate developers with anything that deals with developing software. I also use this blog to help myself remember things or ideas. This is the first blog post on several ideas that I have using WPF and would like to share with the community. Some of my ideas may be crazy or far-fetched but I would like to think of myself as a little strange anyways. This post is about using the FlowDocument to create an “About” box. First, an overview straight from ...
In this Issue: Colin Eberhardt, Kunal Chowdhury, Victor Gaudioso, Joe Gershgorin, Nick Gravelyn, Teresa Burger, Kyle McClellan, Karl Shifflett, and Jesse Liberty. Shoutout: Check out Pete Brown's interview with Jeff Handley, Deepesh Mohnani, and Dinesh Kulkarni: Pete at Microsoft: WCF RIA Services Team Interview Andy Beaulieu has a sneak preview video up: Boss Launch 2: Zombie Attack for WP7 Matt Hidinger has a preview video up about his WP7 app as well: BusTrack Windows Phone 7 App From SilverlightCream.com: ...
While ASP.NET provides an event base approach it is completely dismissed when working with AJAX and the richness of the server is lost and replaced with JavaScript programming and couple with a very high security risk. Visual WebGui reinstates the power of the server to AJAX development and provides a statefull yet scalable, server centric architecture that provides the benefits and user productivity of AJAX with the security and developer productivity we had before AJAX stormed into our lives. "When ...
On Monday at Tech?Ed 2010 we announced new stuff (I like new stuff) that “showcases our continued commitment to deliver value, flexibility and control of data through data cloud services to our customers”. Ok, that does sound like marketing speak (and it is) but the good news is there is some meat behind it. We have some decent new features coming and we also have some clarity on when we will be able to get our hands on those features. SQL Azure Business Edition Extends to 50 GB – June 28th SQL Azure ...
During a refactoring i realized that renaming of components, which will be registered for COM-Interop, must be done carefully. In my case i changed the casing of XyzToolbar to XyzToolBar. At the developing machine everything works fine. But after installing the modified stuff at the production machine, the toolbar was not visible. Using regasm with the new assemblies helped. So this was the hint: we use WIX to build the setup. And during setup-development the heat-tool extracted the needed registry-keys. ...
Spent the weekend helping out several non-profits doing what we like to do best... Designing, developing and making people very happy with their new websites, systems, applications and features. Form what I saw at this GiveCamp about 75 percent of the non-profits needed updated or new websites supporting CMS features and the ability for staff members to update the content on their websites.... Some cool apps were designed and developed..... A centralized system for distribution of daily schedules ...
If you’re developing BizTalk 2009 solutions (Orchestrations) and you’ve split your schemas out into alternative assemblies (projects) – sometimes you’ll get odd not found issues with some (if not all) of the types in those referenced assemblies. You can try everything – recompile, de-gac, re-gac, – doesn’t matter. Well there’s a hotfix for this: http://support.microsoft.co... FIX: You experience various problems when you develop a BizTalk project that references another BizTalk project ...
I have been interested in functional programming since college. I played around a little with LISP back then, but I have not had an opportunity since then. Now that F# ships standard with VS 2010, I figured now is my chance. So, I was reading up on it a little over the weekend when I came across a very interesting topic. F# includes a concept called "Automatic Generalization". As I understand it, the compiler will look at your method and analyze how you are using parameters. It will automatically ...
As you may already know, microsoft is moving its communities to a new platform, based on web forums. The “old” USENET newsgroups are going to be replaced by web forums organized by categories. One for low-level platform development (for the guys working with Platform Builder), another one for native application development (for people writing their real-time applications in C/C++ or people using Silverlight for Windows Embedded) and, last but not least, a forum dedicated to managed application development ...
Last night I finished my Game-a-Week One and felt and extreme sense of accomplishment with what I finished in a single week. I removed all traces of the JigLibX code since it wasn't working properly due to my implementation and got my collision working thanks to some BoundingSpheres and Riemer's tutorials. However, since the characters are Corndogs a rectangle bounding box would have made more sense although the bullets are only able to move forward currently. While developing it in a week was a ...
I haven’t posted much for a while but after 3 years as a Solution Architect I’m back to my old role designing and developing SOA Frameworks and Management Platforms.
So you may be hearing a bit more from me in the future.
You can reach this page anytime at http://tools.michaelcrump.net Thanks to everyone that has contributed so far, we are getting several thousands hits from all sorts of developers a day. Recent Contributors include: Deependra Solanky, Grant, Klaus, James, BlueCollarCritic and Bob Koehn Tweet this list! Add a link to my site! Add me to twitter! This is a list of the tools/utilities that I use to do my job/hobby. I wanted this page to load fast and contain information that only you care about. If I ...

Hopefully in the next week I will begin developing a new podcast for your listening pleasure.  Actually, it'll probably be quite horrible as I'm not a great speaker and I don't know what kind of content I'll have, but damnit I'll produce something.

Anyone out there have any tips or suggestions for a new podcaster?

The code and slides from my Developing WPF Applications using Model-View-ViewModel session at Richmond Code Camp can be found HERE. During the session, a number of the attendees had some really great questions which tells me they’re really thinking about how to start using MVVM in their own apps. I’ll be interested to hear feedback as they start investigating and introducing MVVM in their applications. If you experience any problems downloading the slides or code, please let me know ...
Do you want to develop an add-in targeting multiple versions of Office? And you have basic questions like “Is it possible to do? ” and “How to do it?” ? Then you came to the right place. Few months back, I got a requirement to developed add-ins for Outlook 2003 and Outlook 2007. The functionality for both the versions is same. A doubt stroked… when the functionality is same, why would I develop two add-ins separately? Why don’t I make a single build for both the versions of Office? Then I started ...
RenderAction method had been introduced when ASP.NET MVC 1.0 released in its MvcFuture assembly and then final announced along with the ASP.NET MVC 2.0. Similar as RenderPartial, the RenderAction can display some HTML markups which defined in a partial view in any parent views. But the RenderAction gives us the ability to populate the data from an action which may different from the action which populating the main view. For example, in Home/Index.aspx we can invoke the Html.RenderPartial(“MyParti... ...
In a previous post, I outlined the rules of Scrum. This post details one of those rules. Picking a most important part of Scrum is difficult. All of the rules are required, but if there were one rule that is “more” required that every other rule, its having a good Product Owner. Simply put, the Product Owner can make or break the project. Duties of the Product Owner A Product Owner has many duties and responsibilities. I’ll talk about each of these duties in detail below. A Product Owner: Discovers ...
At my previous employer, when developing for BizTalk Server 2004 using Visual Studio 2003, we made use of separate development and deployment environments; developing in Visual Studio on our client PCs and then deploying to a seperate shared BizTalk 2004 Server from there. This server was part of a multi-server Standard BizTalk environment comprising of separate BizTalk Server 2004 and SQL Server 2000 servers. This environment was implemented a number of years ago by an outside consulting company, ...
Well, maybe. I have realised that I have many many ideas and notes for blogs entries dotted around my desk, along with a number of half completed entries that I have been meaning to get sorted and finished and posted. I am hoping that over the next couple of weeks I will be able to get some of these online, including my experineces installing BizTalk 2009 on two different types of environment, some useful utilities I have used and also some notes on issues that I have encountered recently and not ...
Mostly all who works extensively on SharePoint (including meJ) don’t like to use out-of-box list forms (DispForm.aspx, EditForm.aspx, NewForm.aspx) as interface. Actually these OOB list forms bind hands of developers for the customization. It gives headache to developers to add just one post back event, for a dropdown field and to populate other fields in NewForm.aspx or EditForm.aspx. On top of that clients always ask such stuff. So here I am going to give you guys a flight for SharePoint Customization ...
Any developer should be aware of the principles of encapsulation, cross-tier isolation, and cross-functional separation of concerns. However, it seems the few take the time to consider the adage of "minimal yet complete"1 when developing the software. Consider the exposure of "business objects" to the user interface. Some common situations occur: Accessing a given element requires a compound set of calls that do not "make sense" to the User Interface. More information than absolutely required is ...
So, after my last post on Day 5 I dabbled with my game class design. I took the approach where each game objects is tightly coupled with a graphic. The good news is I got the menu working but not without some hard knocks and game growing pains. I'll explain later, but for now...here is a class diagram of my first stab at my class structure and some code... Ok, there are few mistakes, however, I'm going to leave it as is for now... As you can see I created an inital abstract base class called GameSprite. ...
During one of my last semesters in college we were required to take a class call Computer Graphics which tried (quite unsuccessfully) to teach us a combination of mathematics, OpenGL, and 3D rendering techniques. The class itself was horrible, but one little gem of an idea came out of it. See, the final project in the class was to team up and create some kind of demo or game using techniques we learned in class. My friend Paul and I teamed up and developed a top down shooter that, given the stringent ...
Looking for a quick introduction to developing applications on Windows Phone 7? I found just the thing then. Check out this short 7 minute MSDN Video titled Windows Phone 7 in 7: Silverlight and Windows Phone 7. I liked the direct and to the point nature of the video. Like the title implies, it’s less than 7 minutes long and provides just enough information to start laying a solid foundation to start learning more about Windows Phone 7 development. Have a day. :-| ...

Hi everyone!

New geek on the block, treat me gently :) 

My main focus will be developing WPF, Silverlight and SharePoint (2010) solutions with TDD and agile methods.