Tag | Geekswithblogs.net Posts

The new roadmap of Windows Embedded has been announced, this is great news for anyone that wants to use Windows Embedded technologies in her/his device. Roadmaps are usually stuff for marketing people, but as a technician is important to know that you are basing your product on a system that is going to be supported for some years and that you can evolve it and will not have to re-design it completely to change its OS (unless this proves to be more convenient, of course!). Here you can read the press ...
© 2011 By: Dov Trietsch. All rights reserved MatheMagic – Guess My Age – Method 2 The Mathemagician stands on the stage and asks an adult to do the following: · Do the next few steps on your calculator, or the calculator in your phone, or even on a piece of paper. · Do it silently! Don’t tell me the results until I ask for them directly · Multiply your age by 2. · Add 7 to the result · Multiply the result by 5. · Tell me the result. I will immediately tell you what your age is. How do I do this? ...
© 2011 By: Dov Trietsch. All rights reserved MatheMagic – Guess My Age – Method 1 The Mathemagician stands on the stage and asks an adult to do the following: · Do the next few steps on your calculator, or the calculator in your phone, or even on a piece of paper. · Do it silently! Don’t tell me the results until I ask for them directly · Compute a single digit multiple of 9 – any one of 9, 18, 27, … all the way to 81, will do. · Now multiply your age by 10 · Subtract the 9 multiple from this number. ...
It’s official, we are kicking off a local South Florida Chapter for Stony Brook alumni and friends in the area to keep in touch. Our first networking event will be taking place at Champps, Ft Lauderdale on November 17th, 6:00-8:00 PM. Admission is free and open for everyone, whether or not they are Stony Brook Alums. The team at Champps is offering us great specials (Happy hour deals, half-price appetizers,etc.) that we can choose to enjoy while we network and catch up. (Event Announcement: http://alumniandfriends.sto... ...
UPDATED March 24th 2016: Test Data Retention is now added to TFS 2015 Update 1, see this post for more information.UPDATED Apr 15th 2013: Corrected to VS2012 Update 2 UPDATED Mar 23rd 2012: Added information about VS 11 UPDATED Mar 21st 2012: Added info and link to VS/TFS 11 tool for getting the Test Attachment Cleaner, now included with the TFS Power Tools UPDATED Mar 17th 2012: Added sql queries for TFS 11 Beta. Changed structure after Adam’s advices. Updated information. UPDATED Jan 9th 2012: ...
GoodToGo :) Best XML Editor is Altova XMLSpy 2011 http://www.torrenthound.com... For whatever reason Piratebay has trojans and other nasties..Search in torrent.eu for Altova XMLSpy Enterprise Edition SP1 2011 v13.0.1.0 Also if you like the product purchase it in a Commercial Enviroment Any well structured/complex XML can be parsed @ the speed of light using XPATH querys and not ...
Ever found your self in this helpless situation where you think you have tried every possible suggestion on the internet to bring the build server back but it just won’t work. Well some times before hunting around for a solution it is important to understand what the problem is, if the error messages in the build logs don’t seem to help you can always enable tracing on the build server to get more information on what could possibly be the root cause of failure. In this blog post today I’ll be showing ...
Microsoft has just announced the Windows Azure SDK 1.6 and the Windows Azure Tools for Visual Studio 1.6. Now people can download the latest product through the WebPI. After you downloaded and installed the SDK you will find that The SDK 1.6 can be stayed side by side with the SDK 1.5, which means you can still using the 1.5 assemblies. But the Visual Studio Tools would be upgraded to 1.6. Different from the previous SDK, in this version it includes 4 components: Windows Azure Authoring Tools, Windows ...
On November 12th 2011, I gave a presentation at Chippewa Valley Code Camp titled, “Kinecting the Dots with the Kinect SDK”. As promised, here is the Slides / Code / Resources to my talk. (click image to download slides) The Kinect for Windows SDK beta is a starter kit for applications developers that includes APIs, sample code, and drivers. This SDK enables the academic research and enthusiast communities to create rich experiences by using Microsoft Xbox 360 Kinect sensor technology on computers ...
Introduction Microsoft recently released the Kinect for Windows SDK Beta 2. It contains many enhancements and fixes that can be found here. The only problem with it is that a lot of current demo applications no longer function properly. Today, I’m going to walk you through a typical scenario of upgrading a Kinect application built with Beta 1 to Beta 2. Note: This tutorial covers WPF, but you can use the same techniques for WinForms. 1) Fix the references Let’s start with a fairly popular Kinect ...
Per chi ha tempo e voglia di fare quattro chiacchiere sui sistemi embedded microsoft, il sottoscritto parteciperà al TOSM, dal 16 al 18 Novembre a Torino e, in qualità di speaker, a WPC 2011, il principale evento formativo Italiano per le tecnologie Microsoft dal 22 al 24 Novembre a Milano (Assago). Saranno due occasioni per presentare queste tecnologie a un’audience un po’ diversa da quella che di solito frequenta gli eventi embedded e per scambiare idee e opinioni con chi non lavora sui sistemi ...
Welcome back once again, in Part 1 of Load and Web Performance Testing using Visual Studio 2010 I talked about why Performance Testing the application is important, the test tools available in Visual Studio Ultimate 2010 and various test rig topologies, in Part 2 of Load and Web Performance Testing using Visual Studio 2010 I discussed the details of web performance & load tests as well as why it’s important to follow a goal based pattern while performance testing your application. In part 3 I’ll ...
Welcome back, in part 1 of Load and Web Performance Testing using Visual Studio 2010 I talked about why Performance Testing the application is important, the test tools available in Visual Studio Ultimate 2010 and various test rig topologies. In this blog post I’ll get into the details of web performance & load tests as well as why it’s important to follow a goal based pattern while performance testing your application. Tools => Options => Test Tools Have you visited the treasures of Visual ...
Mounting a Drive in a VMRole is a little more complicated then a web or worker. The Web and Worker roles offer OnStart and OnStop events, which you can use to mount or unmount your drives. The VMRole does not have these same events so you have to provide another way for the drives to be mounted or unmounted. The problem I have run into is what if you have multiple drives and you only want to mount certain drives. How do you let your user mount the drive. I am not going to go into details on what ...
Let’s get started with using the SpecFlow BDD syntax for writing tests with the DevExpress XAF EasyTest scripting syntax. In order for this to work you will need to download and install the prerequisites listed below. Once they are installed follow the steps outlined below and enjoy. Prerequisites Install the following items: DevExpress eXpress Application Framework (XAF) found here SpecFlow found here Liekhus BDD/XAF Testing library found here Assumptions I am going to assume at this point that ...
When working with a large code base, finding reasons for bizarre bugs can often be like finding a needle in a hay stack. Finding out why an object gets corrupted without no apparent reason can be quite daunting, especially when it seems to happen randomly and totally out of context. Scenario Take the following scenario as an example. You have defined the a class that contains an array of characters that is 256 characters long. You now implement a method for filling this buffer with a string passed ...
Developer’s Guide To Collections in Microsoft® .NET, by Calvin Janes, discusses the various collections available in the built-in NET libraries, as well as the advantages and disadvantages of using each type of collection. Other areas are also covered including how collections utilize memory, how to use LINQ with collections, using threading with collections, serializing collections, and how to bind collections to controls in Windows Forms, WPF and Silverlight. For developers looking for a simple ...
I just published the BDD code for XAF. You can find it at http://bddxaf.codeplex.com. I am working on the write up of the steps to setup and use the BDD techniques described in my earlier post, but wanted to get the code out in your hands immediately. Thanks ...
The latest version of the AppFabric ServiceBus now has support for queues and topics. Today I will show you a bit about using queues and also talk about some of the best practices in using them. If you are just getting started, you can check out this site for more info on Windows Azure. One of the 1st things I thought if when Azure was announced back when was how we handle fault tolerance. Web sites hosted in Azure are no much of an issue unless they are using SQL Azure and then you must account ...
The full error in Microsoft Visual Studio on a compile looks like this: error CS1548: Cryptographic failure while signing assembly 'C:\Program Files\Microsoft SQL Server\100\Samples\Analysis Services\Programmability\AM... This is likely due to a missing strong key pair value file. The easiest way to solve this problem is to create a new one. Navigate to: Microsoft Visual Studio 2010>Visual Studio Tools>Visual Studio x64 Win64 ...
Hello all bloggers and readers of Geekswithblogs.net. To introduce myself, my name is Christopher Bonnevault, I am a consultant for Valtech. I work with the platform. Net since 2002 mostly in Asp.Net. I am very interested by agile methods, and this blog will be an opportunity for me to share with you some feedback about the different tools that I use in my projects. English is not my native language, so I am sorry in advance if my posts are not always understandable ...
A very intriguing issue came to me to debug .Net code called from X++ code in AX 2012. This was indeed a challenge to be nailed down. Luckily the tools and some concepts helped me to achieve this task. Here it goes... We need to do a seamless debugging from AX debugger to Visual Studio back and forth. To enable this we need to first see if the dll to be debug is present in GAC then we might need to uninstall it from it due to the order of preference .NET loads the assemblies. The assemblies are first ...
Problem Normally I try to have my continuous integration as most a possible toolset free to ensure that no local stuff could have an impact to my build. My Silverlight app references a special compile target in a folder outside my developer tree: <Import Project="$(MSBuildExtension... /> So I copied the stuff from this folder to a local one and changed the call to this target in my csproj: <Import Project="..\..\..\tools\Web... ...
This is the third of a three part series that deals with the issue of faking test data in the context of a legacy app that was built with Microsoft's Entity Framework (EF) on top of an MS SQL Server database – a scenario that can be found very often. Please read the first part for a description of the sample application, a discussion of some general aspects of unit testing in a database context, and of some more specific aspects of the here discussed EF/MSSQL combination. Lately, I wondered how you ...
So in my previous posts I showed you how I used EDMX to quickly build my business objects within XPO and XAF. But how do you test whether your business objects are actually doing what you want and verify that your business logic is correct? Well I was reading my monthly MSDN magazine last last year and came across an article about using SpecFlow and WatiN to build BDD tests. So why not use these same techniques to write SpecFlow style scripts and have them generate EasyTest scripts for use with XAF. ...
NOTE: This information applies to LightSwitch Beta 1 ONLY. This post originally copied from here. Visual Studio LightSwitch has a bunch of screen templates that you can use to quickly generate screens. They give you good starting points that you can customize further. When you add a new screen to your project you see a set of screen templates that you can choose from. These templates lay out all the related data you choose to put on a screen automatically for you. And don’t under estimate them; they ...
Problem Normally PostSharp runs fine on unattended build servers. So on our global Jenkins continuous integration server PostSharp does the job. But on my local TeamCity continuous integration server I got the following error: POSTSHARP error PS0127: The aspect 'EsriDE.Commons.Logging.Aop... uses non-licensed features (Basic Features). Please visit http://www.sharpcrafters.com/ to acquire a license of PostSharp. POSTSHARP error PS0154: Information regarding the previous ...
Performance testing is almost always conducted to address one or more risks related to expense, opportunity costs, continuity, and/or corporate reputation. But not everyone thinks their application requires investment in performance testing. We presented few of our clients who were heavily focussed on functional requirements but did not care too much about the Non-functional requirements with a short questionnaire, User’s will be happy if the website loaded in <= ___ seconds. How many extra seconds ...
The first of the build guides just got published! And you can find it in the "Build Guide" section or by following link: Click here... Exerp: In this first part of the build guide series we look at building a Microsoft Windows 2008 R2 server. Whilst installing the basic operating system on a server is fairly straightforward it is as good a place as any to start as we lay the foundations for the rest of our infrastructure. In future parts of this series we will look at automating this install as much ...
Problem Our global Jenkins continuous integration server throws this error during compile step. My local TeamCity continuous integration server runs fine. What is the difference. Background I integrate some static code analysis steps via MSBuild-targets in the csproj files. To allow a fast developing without a code analysis for ever compiling I bound these targets only to RELEASE-configuration. With the MSBuild element <ImportGroup> only one condition must be specified. So my construct was: ...
This is the second of a three part series that deals with the issue of faking test data in the context of a legacy app that was built with Microsoft's Entity Framework (EF) on top of an MS SQL Server database – a scenario that can be found very often. Please read the first part for a description of the sample application, a discussion of some general aspects of unit testing in a database context, and of some more specific aspects of the here discussed EF/MSSQL combination. Lately, I wondered how ...
Here you will find a sample java program to generate sparse ARFF file. The following italic text text has been taken from: http://www.cs.waikato.ac.nz... Sparse ARFF files are very similar to ARFF files, but data with value 0 are not be explicitly represented.Sparse ARFF files have the same header (i.e @relation and @attribute tags) but the data section is different. Instead of representing each value in order, like this: @data 0, X, 0, Y, "class A" 0, 0, W, 0, "class B" the non-zero ...
The following sections are covered in the Interaction Design book – the sections in blue are examinable for 2011, the sections in pink are not examinable. A brief example of questions to be expected in the Exam Below are some example questions extracted from previous exam papers and assignments…. I have outlined just the basic section headers, you will need to be able to expand on these… Define Interaction Design (Chapter 1) Interactive Design is the process of designing interactive products to support ...
Here is a technique to bind a List (of objects) to a DataGridView so that the public Properties appear as columns. In this example, the columns are binded to the individual public property of the object. The column Random Number is binded to the public property RandomNumber while the column Square Root to the public property SqRt. Create a class that contains the public properties that appear as columns in the dataGridView 1: using System; 2: using System.Collections.Generic; 3: using System.Linq; ...
For good or bad, Microsoft’s Entity Framework (EF) has become one of the most widely used ORM tools out there. While some may state that it's not among the better ones (or that it's not even a real ORM), it’s definitely the most convenient one: its Visual Studio integration and consequently its integration with the MS SQL Server database is unparalleled. This is especially relevant to people who haven’t used the concept of object-relational mapping before - there's almost no initial learning curve ...
The updates are installed, all you want to do now is get connected, authenticated and get going. The first step needed here is to open Visual Studio 2010, once opened then you need to get to Team Explorer. Once there, you will click on the Connect to Team Project button on the toolbar. If you had a connection defined to another TFS environment, this will be adding one more, so you click on Servers… On the next dialog, you will click on Add… Then you will proceed to provide the details of your Team ...
Once you have configured your online preview, then you can proceed to connect to it using Visual Studio 2010. In order to get Live ID authentication working and such, there is an update you need to apply. This is something that can be accessed through the Administration page, and then clicking on download software. Clicking on that link will take you to the Visual Studio ALM + Team Foundation Server Blog. From this page, you will be able to download the needed component to connect and authenticate ...
A while back read a book called the “pragmatic programmer”. Great book and I highly recommend – A section in the book was titled “Power Editing” and a suggestion they made was to have one editor. The motivation being that it is better to know one editor very well, and use it for all editing tasks: code, documentations, memos, etc. I buy into this concept – up to this point I work primarily in Visual Studio and do any other text editing in notepad or programmers notepad and while I have been able ...
Aims of this Chapter Consider what doing interaction design involves Explain some advantages of involving users in development Explain the main principles of a user-centred approach Ask and provide answers for some important questions about the interaction design process Introduce the idea of a lifecycle model to represent a set of activities and how they are related Describe some lifecycle models from software engineering and HCI and discuss how they relate to the process of ID Present a lifecycle ...
So you have started using DevExpress XPO/XAF and now you would like to see how to use the EDMX (Entity Data Model XML) visual designer within Visual Studio to draw your entities and relationships. First let’s explain the steps we are going to do and what is taking place, then I’ll give you the steps to accomplish this. The EDMX design surface is what is currently being used to generate Entity Framework code. What we have done is to intercept the saving of the diagram and use this to generate XPO/XAF ...
Hello, This is my first blog on http://www.geekswithblogs.net and I'm planning on occasionaly publishing things I've learned that I haven't found elsewhere in hopes of helping you out. I've been annoyed with Silverlight and the Resource (.resx) files we use for translation. Every time I change text in the resource editor, I have to open the .designer.cs file and change the constructor to public. If it is not public, the resource string cannot be bound to in XAML, there is a runtime error. The code ...
Aims of this chapter Describe different kinds of requirements Enable you to identify examples of different kinds of requirements from a simple description Explain how different data gathering techniques may be used during the requirements activity Enable you to develop a scenario, a use case, and an essential use case from a simple description Enable you to perform hierarchical task analysis on a simple description Summary What, How and Why The process works in a cycle.. Why bother? The importance ...
Aims of this chapter Explain what expressive interfaces are and the effects they can have on people Outline the nature of user frustration and how to reduce it Describe how technologies can be designed to change people’s attitudes and behaviour Debate the pro’s and con’s of applying anthropomorphism in interaction design Describe the affective aspects used in interface agents and interactive physical toys Present models and frameworks of affect that can be applied to interaction design Enable you ...
Just a gentle reminder that this blog has moved to http://ericnelson.wordpress... (as I still get folks contacting me via here) and a shout out for a great initiative (probably!) I’m pulling together to offer six weeks of FREE technical and commercial help to UK companies to explore the Windows Azure Platform starting in Jan 2012. Check out http://www.sixweeksofazure.... ...
You have to love Amazon. They will sell you anything. Get them while they last ...
Sometimes you just wish Exchange would not act as a total baby! I worked on a case today which had 2 Exchange 2010 servers in a DAG with about 6 mailboxes, all in healthy status. All but one that is. This DataBaseCopy just would not come back into sync and was stuck in the eternal Resynchronizing loop from hell. So our client cried for help. First thing you would want to do is to get a status of the database by running get-mailboxdatabasecopystatus -id "databasename\servername" | fl. This should ...
I was pleasantly surprised to find out this week that I am now part of the Geeks With Blogs Influencers program. It is hard to believe that it has been 5 1/2 years since I started blogging here. It has always been a great community and it is great to be able to show off how much I appreciate having this soapbox here to share ideas. I look forward to being here a lot longer. Finally, thanks to Jeff and the crew for keeping the lights on and continued improvements. del.icio.us Tags: GWB,Geeks With ...
Aims of Chapter 1 Explain the difference between good and poor interaction design Describe what interaction design is and how it relates to human-computer interaction and other fields Explain what is meant by the user experience and usability Summary Good and Poor Interaction Design The following examples were used to illustrate good and poor design. Voicemail system Remote control A key question for interaction design is how do you optimize the user’s interactions with a system, environment, or ...
One of the cool things about HTML5 is the ability to play audio/video files out of the box without the dependency on plugins. Earlier I had written about HTML5 Video and the fallback using Silverlight for non-supported scenarios Visual Studio 2010 SP1 has decent support for HTML5, in terms of intellisense, validation etc., But, one issue that is constantly faced when using the HTML5 Video tag in an ASP.NET Application (Web/MVC) built using Visual Studio is that, the videos doesn’t play when running ...
Once you have successfully signed in to your environment, you are at the welcome screen, from here we will need to go to Administration. Once there, if you have not done so already, add a Team Project to your Collection. Once there, provide a Name, give a description and select your Process Template, then Click on Create Project. It will run through the process of creating your team project Once it completes, you will see the following message and click on Close. The next post is about navigating ...