Tag | Geekswithblogs Posts

Yesterday I received my copy of “Pro Windows Embedded Compact 7” by Avi Kcholi. http://www.apress.com/97814... It’s a great book for people that have some experience and knowledge Windows Embedded Compact 7 and want to learn the “black magic” behind device driver development on this operating system. The book guides the reader trough different aspects of drivers (and BSP) development, starting from the foundation and reaching some advanced topics that are not covered in the on-line reference. ...
The holidays have become a time rich with traditions for me. Family wise, its a time to get together and celebrate the people that love and support us throughout the year. Turkeys are cooked, gifts are opened, and well wishes are shared. But in the midst of all the goodness and emotion is another holiday that lends itself more to what Scrooge might value – capitalism, thrift, and commercialism. Yes, I’m talking about Boxing Day! Boxing Day, for my American friends, is very much Canada’s Black Friday ...
Over the past few months we have been tweaking the usability of the Geekswithblogs.net Admin Tool for editing posts. We definitely suggest using Windows Live Writer for publishing you blogs due to the awesome plugins and support of image uploads, we understand the need for a non-Windows editor for posts or updates. One of the bugs submitted to us in the usage of our text editor was reformatting of posts when you publish from WLW and then make changes from the admin tool. The tool was eating up all ...
Over the past few weeks we have been cleaning up the skins to support most modern browsers and monitor resolutions. This will cause your content area to have more space and support larger images. If you see any problems, please email us at support@geekswithblogs.com and we will get back to you ASAP. We have also added some changes to the “Share Link” feature to make it a little cleaner and support for Facebook, Twitter, and Technorati. We will add G+ once they support the ability to publish from ...
For those of you who have the Samsung Slate 7 that Microsoft gave at Build (or that you purchase yourself!), and who are travelling: I hate to take chargers for all my gadgets, especially since my Windows Phone, my Bluetooth stereo headset and my Kindle (amongst others) all use micro-USB to charge. So I just take a couple of micro USB cables and I can charge my devices from the PC. Read the rest of this entry » ...
Agile taught us to release early and release often, Agile also taught us to get the end user involved more frequently and directly. Goes without saying that release notes are an important part of any release. But what you don’t want to be doing is manually putting together the release notes with each frequent release you do. TFS lets you manage the application lifecycle with great ease & minimal administrative overhead, if your team is already checking in the code against work items and if you ...
I was recently inspired to write on this topic after two client experiences that demonstrated serious misconceptions about the role that software architecture plays in producing quality software. After performing an assessment of a mid-sized company, it was obvious that they were in dire need of a good software architect to design and maintain the design of the application that they were in the process of planning. After making the recommendation, the CIO began to explain that they had already chosen ...
Spinning as described in my previous article is all about flow. Its premise is: flow can emerge when work is partitioned in small, evenly sized chunks processed in a smooth manner. There is a constant input of requests to the development team. A backlog is filled with strategically important requirements, support is reporting bugs, feedback requires changes, management wants to see ideas realized on short notice. Under these circumstances any plan becomes obsolete within a day or two. Or a lot of ...
I have been looking into InRule, a business rule management system (BRMS) from InRule Technology, recently and thought I would do an intro blog on it. I have worked with business rule engines before and from past experience have developed my own list of priorities on what I feel are the most important aspects. Here they are… Priority 1 - Reduce the cost of change For me, one of the primary reasons for implementing a business rules engine is because you are expecting change and want to reduce the ...
A friend of mine works for a large bank… about a year and a half ago they needed a new system developed for their division. They went through the normal process of using one of the recommended service providers to develop the system and this was their experience, which is still typical with most institutions I know… For the first few months development of the system seemed to be progressing along fine. They had meetings, business analysts put things on paper and the developers nodded their heads ...
Agility needs to get onto the next level – that´s what I tried to explain in my previous articles. After a reality check – what´s missing from Agile practice? –, and some general musings about how a next level of Agility could look like, here now some very tangible suggestions. Crank up the frequency Current Agile practice is suffering from too little attention to Acceptance. To change this, very, very clear Acceptance dates need to be set. Acceptance can only get into a real pulling mode, if dates ...
My first Windows Phone app, Little League Coach, has just been released into the marketplace. If you have ever helped coach a team where every player bats every inning this app should help keep your sanity. It is a simple application to allow little league coaches to manage the lineup for a game as well as keep track of batter rotation. As a bonus it tracks pitches and outs during an inning. Here are a few screen shots from the application. del.icio.us Tags: Windows Phone 7,WP7,Windows Phone Marketplace ...
Previously I blogged about Lync for mobile for the Windows Phone, this software is now available for the iPhone as well. Microsoft Lync 2010 for iPhone http://itunes.apple.com/us/... ...
A co-worker was showing me an in phone scripting environment on the iPhone and I knew I had seen one mentioned for the Windows Phone before. TouchDevelop is an app from Microsoft Research that allows you to create small applications that do a wide variety of operations including using most of the capabilities of the device. So could this be a fun way for us geeks to waste some time while waiting for our oil to be change or a table to open up at your favorite restaurant? So what does this language ...
In November Alex Groß (http://therightstuff.de/) was in Uganda for holidays and we hijacked him to speak to us on some .NET geek stuff. In the image above you see Allan Rwakatungu, Jude Opima, Myself and Alex Groß. More pictures http://www.flickr.com/photo... These are some of the topics that were discussed. Test Driven Development. Alex shared a great amount detail and a step by step tour of how you can work with unit tests and went on to show MSpec as a BDD tool. ...
In the last installment I discussed delegates, which have been in C# since version 1. The problem with delegates in some cases is that having to create separate, named methods to describe the function to be performed can be a bit unwieldy in cases where the method being called is simple and will not be used other than by the delegate invocation. This brings us to a feature added in C# 2.0 – anonymous methods. Anonymous methods distilled down to their most simple explanation are methods that are defined ...
I’ve heard people mention, a few times, how they would like for Microsoft to provide a blank template for ASP.NET MVC. The request seems strange because this is something that anyone can do themselves. This isn’t just creating an MVC project and deleting all the items, which I would agree is tedious. Rather, you can create a custom template of any type for reuse and sharing. This blog post shows how to create a custom project template, using the need for a blank MVC template as the use case. Creating ...
Hi all,this is my first post on "Geeks on the Blogs.Net", the blogging platform for .Net developers and professionals. I'm very proud that my enrollment request has been approved and now I have my new "web" house here.On this website I will only talk about tech (mainly programming, cloud computing, and stuff like that..) and I'll try to write strictly in english (not italian), because my audience has to be as wider as possible ...
When Rob Conery left Microsoft I gave a blog retrospective on possible reasons behind his exit. Today I’m happy to reload the cannon and aim it square at the latest Microsoftie to hand in his blue badge – Phil Haack. Phil has been a huge part of why Microsoft MVC is a success, and his contributions have changed the way web development is done on the Microsoft platform. So why leave, and why leave to Github? Couldn’t he have just switched to the TFS team if he liked code repositories so much? Well, ...
Today I had an issue with Jenkins where I wanted it to perform a set of tasks, but not worry about the exit code of any of the tasks…. In my instance I was using Jenkins to run DotCover to check the code coverage of a solution and then run a custom application to make sure the coverage was sufficient….The challenge I was facing that for DotCover to generate coverage statistics, it would need to run NUnit. If a test in NUnit failed for some reason, regardless of the the total coverage of the tests ...
We have just published SDNavigation a library that integrates the WP7 Navigation Framework into the MVVM pattern. It is based on Laurent Bugnion's INavigationService idea and combined with Rob GarFoot MVVM Navigation Framework approach to obtain the page context (via behavior). The current version contains a sample app to start using it, in the following days / weeks we expect to publish training material (posts, videos), stay tunned !! The team that have built this small (and hopefully useful ) ...
I remember myself a tweet from Scott Hanselman a couple of months ago, where he asked us to check out a small application he wrote. As one of the first testers of his new "thing", I was interested but there were no documentation or libs available yet. A couple of days a go, I read a blogpost from Maarten Balliauw about SignalR. (Maarten's blog). Because I allready heard about SignalR a couple of months ago, I had to develop a very small application to test how it really works. 1. Install SignalR ...
I've been at GeeksWithBlogs for 6 years now, and over the years its been great to see new people join the GWB community. I wanted to highlight a few blogs that started up this year that you might want to add to your RSS feed.Simon Cooperhttp://geekswithblogs... has some crazy deep, low level type posts on .NET code which I'm sure some people would think is fantastic. But what I really like is the insight into RedGate. Simon works for RedGate software, and shares experiences ...
Welcome to the hidden treasure of “MTM.config.exe” Navigate to “C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE” and open the 1. Can I change the number of Action Recording steps selected when a Bug is created? When you are exploratory testing using Microsoft Test Manager or performing a feedback session using Feedback Manager and decide to raise a bug or create a test case, the last 4*10 Action recordings are selected by default. You can change the number of action recordings selected ...
To add a new role into my aspnet database, I tried to use the asp.net Web Application Administration Website. But it was showing the following error message:An error was encountered. Please return to the previous page and try again. Strange, because I was sure, that my connectionstring was correct.After a while, after reading about the asp.net Web Application Administration Website, I found that it can't handle spaces or special character in the project path.My project was located in C:\Users\JEROEN\Documents\V... ...
Highlighting a Managed Application As you search (Google is better, because Bing lacks BANG!!) for existing solutions for SharePoint Central Admin tasks You are usually instructed to highlight one app or another, or one web app or another. Nobody tells you how to achieve this task, but on occasion you scratch your head in puzzlement. You click on the app and some window opens, but you actually wanted the ribbon. Scratch your head no longer! Here is what needs to be done. Just click on the line under ...
I was playing with the new Membership API (System.Web.Providers) for the upcoming Virtual TechDays While I was trying out a lot of options for using as DB store, one of the obvious choices was SQL Azure. With SQL Azure, I could offload the Database hosting capabilities to Azure and just focus on my application code. Of course, it comes at a cost and SQL Azure is a subscription based database available in different sizes and rates there of. One of the challenges I faced was, working with the Membership ...
I came across a challenge last week, wherein I was asked to remove the path information from the dll files which were build inside my project. For those who don’t have an idea about what I am talking about, here is a quick introduction. The dll/exe files which are build by Visual Studio contains the Win32 PE header information, and this is true for all the dll and exe on Win32 platforms. Read about it at (http://en.wikipedia.org/wi... To check the headers in your dll/exe files ...
For an integration solution with lots of dependencies, it's difficult to definitively state that everything is wired up correctly and that all components in the stack are working. A while ago, Michael Stephenson proposed having a diagnostic service in a solution as a quick way of verifying that a given environment was working, end-to-end. Initially I was sceptical, on the grounds that there shouldn't be any code in a solution which isn't directly solving a business problem, but having tried it out ...
This is another x64 issue where I was really surprised that it does exist. When you compile in VS2010/MsBuild a managed target for which the corresponding serialization assembly is generated you will find that all works until you try to compile for 64 bit. There you will get: "SGEN : error : An attempt was made to load an assembly with an incorrect format: xxxx.dll." Here is the 32 bit SGen is called for the 64 bit target which cannot load a 64 bit assembly. I have no idea why MS did not provide ...
Whenever I do use Visual Studio and try to compile something under 64 bit I run into problems. It seems that most MS Devs for Visual Studio and the relevant tool chain are still mainly writing 32 bit applications. Here are some of the latest issues I did run into. COM applications targeting x64 are still using x32 as target platform for the MIDL compiler by default Resolution: You have to select in the UI MIDL – Target Environment X64 by yourself. Alternatively you can edit the vcxproj file directly ...
Microsoft just released the version 5 of Silverlight! It’s a great news and I really want to congratulate the whole team on this impressive collective effort. The official announcement is on the Silverlight team blog! Read the rest of this entry » ...
I have recently been using NDbUnit for integration tests exercising the database. I am new to the tool, so the following exception caused a few hours of scratching my head before I figured out the obvious. Assume you are going through the quick start guide from the website, everything works perfectly. Then I changed to my production database and did the same thing and I get the following error…] DbCommandBuilder.CreateSele... string) failed for tableName = '…. Turns out the name of ...
In my previous post we started a discussion about concepts that are critical to really understanding LINQ. The next couple of posts will build on the same theme by introducing three very closely related (and somewhat evolutionary) pieces of the C# language – delegates, anonymous functions, and lambdas. My original intent had been to introduce them together in single post, but that would be a rather long post. Delegates are a language feature that have been in C# since version 1 of the language and ...
I am not the fastest typist… I know it. Up till about a year ago I was a two finger typist and my two fingers could fly over the keyboard doing all sorts of acrobatics getting me up to a whopping 30 odd words per minute. Not bad for two fingers but barely close to some of my friends who speed away at 90+ words a minute using both hands. So it bugged me…. I mean I would like to consider myself a professional developer and feel that if I will be typing most of days then I should at least be doing it ...
This was a very interesting event, I had never spoken in an event with so many developers in one place. It was cool! I had two talks, one on HTML5 and IE9 where I demonstrated the HTML5 and CSS3 coverage in IE9 and performance improvements, the second on ASP.NET MVC Best Practices where I talked about a fraction of things that you need to be aware of and possibly use when you are developing an MVC application. The HTML5 and IE9 talk was more of a showcase and focused on new features that will continue ...
Build 2011 announced the September release of the Windows Azure Service Bus. For those of you who have just tuned in, the WA Service Bus is part of the AppFabric middleware that enables almost seamless connectivity between applications that are restricted to limited connectivity options by their firewall or custom security protocols. By leveraging the service bus one can build distributed applications on cloud or hybrid solutions featuring on-premise and cloud apps while maintaining the worthwhile ...
When you’re debugging security related things, sometimes you need to take a look at the thread identities user token. When you’re inside of Visual Studio 2010 – in the watch windows you enter ‘$user’ and you’ll get the same as when in windbg with !token –n ...
I hope you are aware that DOWNLOAD.COM a.k.a. CNET is in the opinion of many people (including myself) to be part of the Malware camp. As to why, please see http://geekswithblogs.net/T... suggest that you unsubscribe from their newsletter. I initially got:Proxy ErrorThe proxy server received an invalid response from an upstream server. The proxy server could not handle the request GET /pageservices/oneclick.sc. Reason: Error reading from remote server"I ...
And here is the new and improved multi tenancy guide for Exchange 2010 SP2! Remember that this is no longer using the /hosted switch but your environment will still be supported until the next Exchange version comes along. http://www.microsoft.com/do... ...
Consider this article on DNS a prequel to the upcoming ADDS series. After all, any active directory implementation requires DNS integration. So what is DNS? DNS is a highly reliable, hierarchal, distributed and scalable database used for name resolution and service location. So basically it translates friendly names (www.contoso.com) in to IP addresses (11.12.13.14) allowing clients to connect to resources in the infrastructure without memorising pesky IP numbers. History of DNS When the DoD initially ...
My friend in Zimbabwe sent me an email a day ago with the following contents suppose i have a table called week_days with only 3 fields i.e. SEQUENCE DAY SALES as follows: SEQUENCE DAY SALES 1 Sun 23 2 Mon 18 3 Tue 30 4 Wed 15 5 Thu 20 6 Fri 08 7 Sat 0 i need a query that converts DAY column to a header row and sort by SEQUENCE as follows: DAY Sun Mon Tue Wed Thu Fri Sat SALES 23 18 30 15 20 08 0 Pliz Help!!!!!!!! I was like’ this looks like a candidate for pivot, but it requires that the result ...
Last week I get the information directly from Microsoft, that at build machines SDKs must be installed to guarantee that MSBuild works well in some circumstances. We have the problem, that a self-containing build should include all necessary build artifacts – particularly Silverlight stuff. I tried to encapsulate the special steps in own targets and a build was finally possible (see my former posts). But at local machines without installed Silverlight stuff it gives problems for problems. Because ...
I have been closely following the updates on http://x-tensive.com/ and been impressed with the new features that keep getting added into DataObjects.NET. A few days ago, I saw the 50% sale blog post here and thought it would be very interesting for anyone that wishes to start using DataObjects.NET but feared could not afford the price. DataObjects.NET ORM is very feature rich, well designed and will certainly save you countless development hours by making you think about the domain and code rather ...
I’m leveraging a ConcurrentPriorityQueue – from http://code.msdn.microsoft.... This class basically is a thread safe IProducerConsumerCollection wrapper for a binary heap that prioritizes smaller values. You use it as you would a dictionary, where the priority is the key, except you can have duplicate keys (ie values with the same priority). I needed to demonstrate to a customer that it worked. I set up my queue and my priority enum values: var q = new ConcurrentPriorityQueue<... ...
Our family has Kindle and IPad, and periodically I had to use one or another. Normally I prefer IPad, but Kindle has 2 advantages - on a light sun it’s much easy to read Kindle screen, and it also have free free wireless internet(but browser is quite limitted),when for my IPad wi-fi is required. A few months ago I’ve wrote a post about Kindle and ability to transfer articles using Instapaper add-on http://www.wordcycler.com/h... I beleive that it’s the most convinient way to pass html files ...
Threading was never so easy since .NET 4 with the TPL has been released. I know I am a bit late but there are so many nice things which might still be new to many of us. The IEnumerable interface has become famous with the introduction of LINQ but many of us have not yet realized that IEnumerable<T> and T[] or List<T> can be exchanged in many cases but there are cases where it is important to fall back to a pure IEnumerable<T> if you want to support lazy evaluation. .NET 4 has for ...