Tag | Windows Posts

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 ...
My latest post is up... check it out at WindowsDevNews
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 ...
What could you build with the XBox Kinect? Well we want to know! Connect your Kinect to your PC and build an application using your favorite .NET language. Kinect for Developers is a 2-day workshop for developers, artists and technicians interested in Kinect hacking or 3D scanning. This hands on workshop will teach you the basics of programming for Kinect and the potentials for developing on video and depth sensor cameras. Expect live demonstrations, presentations, food, and lots of hacking. You ...
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 ...
As someone who works a lot on Silverlight and as someone who have presented lots of trainings / talks over Silverlight; i am been getting a lot of questions based on future of Silverlight. Is Silverlight dead? http://www.zdnet.com/blog/m... These are often from end-clients, managers, architects or even consumers. Sometimes also from guys who have little exposure to Silverlight; but still want to engage in the conversation as it is "happening" ...
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 ...
My latest post is up... check it out at WindowsDevNews
Don’t miss out on these great session with Markus Egger in the Dallas office! Where: Microsoft Dallas Office – 7000 SR-161 (George Bush Turnpike), Dallas, TX 75039 When: Tuesday, December 13, 2011 – 1:30 – 4:30 PM Signup for this FREE event in Dallas Join Markus Egger, Microsoft RD and one of the longest running MVPs, for an afternoon of free information. CODE Magazine and EPS Software are in a unique position to share information based on real world experience in projects that are either our own ...
About a month ago'ish I read some very sad news. Microsoft announced that they were killing off the DryadLinq (or LINQ-to-HPC) project in favor of Hadoop. I was one of the first users of DryadLinq outside of Microsoft, back when it was a pre-alpha project inside Microsoft Research. My company had a running HPC cluster and my boss convinced me to install DryadLinq on it to see what I could make it do. I worked with it for a year, and being a big LINQ and PLINQ fan, really enjoyed how easy it was to ...
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 ...
Lync mobile client is now available for Windows Phone Microsoft Lync lands in the Windows Phone Marketplacehttp://www.neowi... Lync Mobile Feature Comparisonhttp://unifiedcol... More detailed Mobile Client Comparisonhttp://technet.mi... ...
My latest post is up... check it out at WindowsDevNews
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 ...

Here we go! After the Microsoft team released version 5 of Silverlight yesterday, MVVM Light is available for this version of the framework too. I did not create the installer yet (that will take a few more days), but you can download the source code and build it yourself easily.

Read the rest of this entry »

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 » ...
This week I spent three day with close to 30 of my new best friends doing lots of Windows Phone coding and helping each other with our application. The sessions were lead by Jeff Blankenburg and Dave Bost who and kept the atmosphere light. This included us finding out a lot about Dave’s tastes in music. While most of the time was spent working on our individual apps we saw how an app is submitted to the market place and what you can prep your app for the market place using the Marketplace Test Kit. ...
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 ...
Yesterday, Microsoft announced the forthcoming release of BizTalk Server 2010 R2 on the BizTalk Server blog site. This is advanced notice, given that this new version will ship six months after the release of Windows 8, expected in the second half of next year. On this basis, we can expect the new version of BizTalk Server to arrive in 2013. Given the BizTalk team’s previous record of name changes, I wonder if this will eventually be released as BizTalk Server 2013. Microsoft has been refreshingly ...
My latest post is up... check it out at WindowsDevNews
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 ...
The top 5 list for last week at SilverlightShow is up at WindowsDevNews
Today tutorial, I will show you how to send email in ASP.NET 2.0. If you use ASP.NET 4 to send email, here is the tutorial that discuss sending email from ASP.NET 4 – C# Sample .The steps required to send an email from ASP.NET are as follows : 1. Declare the System.Net.Mail namespace C# - using System.Net.Mail;VB.NET - Imports System.Net.Mail 2. Create a MailMessage object. This class contains the actual message you want to send. There are four overloaded constructors provided in this class. We will ...
Daytona - Iterative MapReduce on Windows Azure Overview MapReduce is a framework for processing highly distributable problems across huge datasets using a large number of compute nodes. It is a generic mechanism that comprises 2 steps: Map step: The master node takes the input, partitions it up into smaller sub-problems, and distributes them to worker nodes. The worker node processes the smaller problem, and passes the answer back to its master node. Reduce step: The master node then collects the ...
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 ...
PrairieDevCon is a great conference hosted in Canada a few times a year. For the first time it’s coming to Calgary in March and I couldn’t be more excited. I’ve participated as a speaker in every PrDC to date (2 in Regina, 1 in Winnipeg), and that streak will continue into Calgary. In addition to the 2 conference sessions I’ll be doing: Why do we Suck at Estimating? And How to Get Better Evolve Your Code: Fundamental Design Principles I’m also doing a full day Pre-Con Workshop on TFS Build. I plan ...
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 ...
My latest post is up... check it out at WindowsDevNews
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 ...
MS knowledge base article which is of interest: Consider the following scenario: You have multiple servers that are running Microsoft Exchange Server. The servers that are running Exchange Server are hosted in a VMware ESX environment. The servers that are running Exchange Server are part of a Windows Network Load Balancing cluster. Windows Network Load Balancing is configured to run in unicast mode. In this scenario, Windows Network Load Balancing may not work correctly. For example, network traffic ...
The Microsoft team will be conducting an event in Cebu regarding Windows Azure this coming December 8, 2011 at 8:30 am to 5:00 pm. So if you are new to Azure and want to learn this new exciting developer platform then don't hesitate to join and register!For more details please visit: http://www.microsoft.com/ph... you guys there! =} ...
My latest post is up... check it out at WindowsDevNews
Overview Windows HPC Server 2008 is infrastructure for high-end applications that require high performance computing clusters – i.e. for scaling out parallelizable across many compute nodes in a grid. These compute nodes can be coordinated by a head node , which in turn can be proxied via a service broker node that exposes a SOA WCF interface for job scheduling. Additional functionality includes the ability to coordinate between job processes running on nodes via MPI (message passing interface). ...
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 ...
Today's $10 Deal of the Day from APress at http://www.apress.com/97814... is Beginning WF Windows Workflow in .NET 4.0."Indexed by feature so you can find answers easily and written in an accessible style, Beginning WF shows how Microsoft's Workflow Foundation (WF) technology can be used in a wide variety of applications. " ...
My latest post is up... check it out at WindowsDevNews
Here is the official documentation on how to publish a LightSwitch application – How to: Deploy a LightSwitch Application. For this example, I’m going to show how to deploy a simple application that does not have any role-based security set up. I’ll show how we can configure that in a later post. So back over on my LightSwitch development machine the first thing we need to do is specify the type of 3-tier deployment we want. In the case of my application, I want it to be a Windows Desktop client ...
Sorry the link was broken earlier:


The top 5 list for last week at SilverlightShow is (finally) up at WindowsDevNews
We previously tried to use msbuild to adjust configuration files for different environments. Recently I found C onfig Transformation Tool(CTT) on CodePlex and with addition of global replace using powershell it is enough and easier to do all required modifications Content of ChangeConfig.cmd: ctt s:..\web.config t:WebConfig.CTT d:..\web.config powershell.exe -command "Get-Content ..\Remoting.config | ForEach-Object { $_ -replace '//localhost/ServicesCI/', '//ServerName01/ServicesCI/' } | Set-Content ...
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<... ...
Overview C++ AMP is a GPGPU API – it allows you to define functions (kernels) that take some input, perform an expensive calculation on the GPU and return the output to CPU. GPU supports fast calculative operations across many SIMD-like cores - NVidia Tesla supports 512 cores compared to the paltry 10 cores available on the CPU today - even Intel's Knights Corner will only support 60 cores next year. Suitable only for certain classes of problems (i.e. data parallel algorithms) and not for others ...
My latest post is up... check it out at WindowsDevNews
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 ...
2011 has been an amazing year in which I ended up working on an exciting number of projects. SharePoint has continued to be the hottest requested technology that I deal with. At the same time Windows Phone 7 has put Microsoft back in the mobile market and I will be finishing off the year additionally writing for this platform. At the same time the old standards of WinForms and ASP.NET have not left our market space. Ultimately, the IT market is still on fire and I am looking forward to great things ...
On November 28th, 2011 I had the opportunity to give a presentation at the St. Louis .NET User Group on my experiences developing software for the Windows Azure and SQL Azure platform. Having been at PDC in 2009 for the announcement of Azure and been able to work on a number of Azure projects since that time I frequently see many Azure talks that are either: A) too high level and marketing oriented as they never tell you anything important or B) too low level and focused on a specific feature that ...