Tag | Surface Posts

The end of the world must be coming. Not because the Mayan calendar says so, but because Microsoft is innovating more than Apple. It has been a crazy year, with pundits declaring not that the end of the world is coming, but that the end of Microsoft is coming. Let’s take a look at what 2012 has brought us. The beginning of year is a blur. I managed to get to TechEd in June which was the first time that I got to take a deep dive into Windows 8 and many other things that had been announced in 2011. ...
I think you probably read my rant about the logistics at Build 2012, as posted here, so I am not going into that anymore. Instead, let’s look at the content. (BTW If you did read that post and want some more info then read Nia Angelina’s post about Build. I have nothing to add to that.) As usual, there were good speakers and some speakers who could benefit from some speaker training. I find it hard to understand why Microsoft allows certain people on stage, people who speak English with such strong ...
Learning Outcomes Discuss the physical characteristics of magnetic disks Describe how data is organized and accessed on a magnetic disk Discuss the parameters that play a role in the performance of magnetic disks Describe different optical memory devices Magnetic Disk The way data is stored on and retried from magnetic disks Data is recorded on and later retrieved form the disk via a conducting coil named the head (in many systems there are two heads) The writ mechanism exploits the fact that electricity ...
Programming Direct3D requires understanding of where different types of resources are bound to the shader pipeline. The shader pipeline consists of configurable fixed function stages (Input Shader, Tessellator, Stream Output, Rasterizer, Output merger), and opt-in HLSL programmable shader stages (Vertex Shader, Hull Shader, Domain Shader, Geometry Shader, Pixel Shader, Compute Shader). Passing data into shaders involves creating & binding resources to the pipeline in C++ on CPU, so that HLSL ...
With as often as I write code that does not perform as well as I would like for it to, I can’t believe how hard it is to write slow code on purpose! My last post gave a mile-high overview of the new version of Redgate’s ANTS Performance Profiler and promised more detail to come. True to my word (this time), this post aims to take a fairly simple application with common “opportunities” and use ANTS Performance Profiler to quantify these opportunities and measure the results. If you’re working along ...
If you have not heard the latest technical news yet, the SQL Server 2012 Virtual Launch event is today March 8, 2012! Register to not to miss this opportunity to interact with technology experts and win cool prizes! I am thrilled and excited! Why? Because like in the automotive industry, every new iteration of a vehicle is more fuel efficient, safer, more polished, looking more attractive and fun to drive. Sure, the the new version of the SQL Server is ready to take me further in what I can deliver ...
Last year I had the pleasure of attending one of Markus Egger’s sessions at Houston Techfest. Markus is the President and CSA of EPS Software, creators of CODE magazine and a company that I have a great amount of respect for. The people I’ve met from EPS have consistently been great programmers and speakers who have a commitment to creating great software. The reason I bring up Markus Egger and EPS Software is because of a particular aspect of their business that challenges me as an individual and ...
One of the thoughts I've been considering recently with chocolatey is consistency with packages and naming conventions as chocolatey continues to grow. It's fine to name packages by the app/tool name, that's both intuitive and expected. What I am more interested in is when an application has multiple installation options (ie. an MSI and a ZIP). It can become confusing for people to install these when they don't know what they are getting if they call a package that has both. If you start with one ...
Using locks to implement a thread-safe collection is rather like using a sledgehammer - unsubtle, easy to understand, and tends to make any other tool redundant. Unlike the previous two collections I looked at, ConcurrentStack and ConcurrentQueue, ConcurrentDictionary uses locks quite heavily. However, it is careful to wield locks only where necessary to ensure that concurrency is maximised. This will, by necessity, be a higher-level look than my other posts in this series, as there is quite a lot ...
While the title of this post suggests focus on LINQ to Twitter, it also indicates that I’ll be discussing how to build a Windows 8 Metro application. The application itself will display a list of tweets from Twitter’s public feed. In the sections that follow, you’ll read background information on pre-requisites to understanding the post, learn how to get LINQ to Twitter working with Visual Studio 11, and then see a step-by-step on how the application is built. Getting Started You can build Metro ...
Four or five years ago I was “introduced” to ComponentOne’s Winform controls while working on a fairly large, data-intensive application. I remember being very surprised at how easy their controls were to use compared to others I had worked with. Based upon my earlier experience with their products, I had pretty high expectations when I started evaluating Studio for Entity Framework. I’m happy to say that the product easily met my expectations and in some areas, moved the bar a bit higher. Before ...
There’s a lot of talk today about SOPA and PIPA, the two acts being discussed in the US government and backed by the entertainment industry. If you’re still in the dark about what its about, check out this article from PC world and then watch the video below. PROTECT IP / SOPA Breaks The Internet from Fight for the Future on Vimeo. I had a bunch of paragraphs on this post earlier talking about how on the surface this looks like its a win for non-US countries – why not just set up shop outside the ...
It’s time to dust things off here at DotGeek and get busy with learning some newer things in 2012 and in turn, hopefully providing myself some more opportunities in the long run too. I kind of let 2011 get away from me, but I had a later start to be fair. So what better time to start than at the first of 2012 and with a plan of action. So I’ve known for sometime that I wanted to become more than just front man and I wanted to be involved more with the backend operations of various projects. Whether ...
If you follow the MVP program a bit, you might have heard about Rob Eisenberg and his struggles with the MVP program. If you haven’t, well, just move along, there’s nothing interesting to read here. Still here? Good. For those of you who don’t know who Rob is: he is the creator of Caliburn and Caliburn Micro, a MVVM Framework I truly love, support and have written about here before. He is one of the bigger contributors to the Open Source community in the Microsoft technologies. If you work on anything ...
To me the answer of whether or not you need version control is simple - do you have users? If the answer is yes, then you need version control. Note that "version control" is not the same as "source control". Source control refers to maintaining history of your source code. Version control (also known as "configuration control" or "configuration management") is more than that. Version control, as its name indicates, means tracking versions of your software. The best way to illustrate the purpose ...
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 ...
Today is the first day of my fourth year at IdentityMine. I can hardly believe how fast it went, and how exciting the trip has been so far. Read the rest of this entry » ...

This blog post has moved:

http://gruffcode.com/2011/11/15/time-warp/

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 ...
You must have heard about it. Windows 8 will all about Metro. Sure, you can run ‘old-school’ applications on the platform, but most attention these days is about the new user interface. The UI is based on the design language Metro, a design philosophy we first saw in Windows Phone. Nowadays you see more and more of Metro. The Microsoft website is loosely based on it, the Zune mediaplayer uses it and so on. So it wasn’t a surprise to see that Windows 8 is all about Metro. In this screenshot you see ...
I recently began feeling like it was time for a change. I have been programming in C# for about a year and so I felt the urge to learn something new. So I went to the library and checked out a book on Ruby programming. I chose Programming Ruby 1.9 written by Dave Thomas and part of The Pragmatic Programmers series. I figured I might as well document my journey into the new world of Ruby on my blog. I’ve gotten through about six chapters and I really like what I see from Ruby. It’s really fun to learn ...
Prior to the D-Day landing in Normandy, France in June 1944, General Irwin Rommel stated ""Glauben Sie mir, meine Herren, die ersten vierundzwanzig Stunden dieser Invasion werden entscheidend sein! Das wird für die Alliierten, aber auch für die Deutschen, der längste Tag werden — der längste Tag." ("Believe me, gentlemen, the first twenty-four hours of this invasion will be decisive! It will become for the Allies, as well as for the Germans, the longest day — the longest day.")" LINK The phrase "The ...
One of the very useful features of the MVVM Light toolkit is to help with the creation of design time data, in order to give something to see on the design surface (Expression Blend, Visual Studio designer). This is especially useful when designing list controls such as ListBox, ComboBox, etc. Without design time data, these controls will remain empty, and the designer will not see what he is working on. This can cost a lot of time and cause frustration. Read the rest of this entry » ...
Programming for Metro Metro is the future http://zd.net/rnT9VZ .NET is for old apps. WinRT replaces WPF & WCF. XAML is big. There were no Silverlight sessions. HTML 5 and Javascript ( Blend for HTML) are back in fashion – I wont dwell on this because web apps are (inconsistently) simplistic in concept and over-complex in development. Yes, all those XAML skills are portable, Silverlight (RIP) apps can run as Metro apps with a bit of fidgeting with namespaces – you just need to know what controls ...
(Warning: This is semi-advanced stuff. It’s not hard, per se, but it involves editing important project files manually, which, if done wrong, can render them useless making it so that your code won’t compile (and may not even load into Visual Studio). So back up everything or (better still) commit it to your source control repository before doing anything so that in case you mess something up, you can easily recover! You have been warned.) I’ve been steadily becoming more familiar with MSBuild over ...
Continuing my “From Soup to Nuts” series or sometimes referred to as “The Busy Developers Guide” series, I will take a look at the Surface 2.0 SDK recently released by Microsoft. Before you read ahead, here are the other articles in this series: The Busy Developers Guide to the Kinect SDK Beta. The Busy Developers Guide to Mango. What is it? With the Microsoft® Surface® 2.0 SDK, you can easily create applications to take advantage of the next generation Surface computing device or any Windows touch-enables ...
Download QuadTreeOptimization.zip c# project Background Today I'd like to share with you interesting experiences I made last several evenings when working on one of my open source hobby projects - Source Code Cloud Generator http://sourcecodecloud.code... One of the tasks was arranging of nonintersecting rectangles on a 2D surface in certain pattern. For quick 2D collision detection (rectangle intersection) I decided to use QuadTree data structure [see: http://en.wikipedia.org/wik... ...
Recently I had several questions concerning how to process files that carry a header and trailer in them. Typically those files are a product of data extract from non Microsoft products e.g. Oracle database encompassing various tables data where every row starts with an identifier. For example such a file data record could look like: HDR,INTF_01,OUT,TEST,3/9/2011 11:23 B1,121156789,DATA TEST DATA,2011-03-09 10:00:00,Y,TEST 18 10:00:44,2011-07-18 10:00:44,Y B2,TEST DATA,2011-03-18 10:00:44,Y B3,LEG ...
I hit this error when I deployed an app built with Entity Framework onto Windows Azure. Obviously, I wasn’t explicitly using DataReader so it kind of puzzled me. As it happens every time It worked well with local database, application running local and database on SQL Azure. But once I used the Dev Fabric to test the application locally, it failed and gave the above error. Entity Framework relies on using Multiple Active Results Sets (MARS), and it would be a part of connection string multipleactiveresultsets=True. ...
June the 23rd the Belgium user groups have another free event. It’s called the Community Day and this year they will celebrate their 5th anniversary! To celebrate this they invited some collegue-usergroups from across the border to speak there as well. Timmy Kokke from Sixin (http://www.sixin.nl) and myself will be there to talk about a number of items. I will be doing a talk on MVC 3 (not so interesting for regular readers of this blog) and a talk on Surface Development (which fits this blog more ...
In this Issue: Michael Washington, Kunal Chowdhury, Mick Norman, Mike Hole, John Garland, Jeff Prosise, Jobi Joy, WindowsPhoneGeek, Jesse Liberty, Nigel Sampson, Mike Taulty(-2-), and Pete Brown. Above the Fold: Silverlight: "Enhanced Touch Manipulations for Silverlight and Windows Phone" John Garland WP7: "Tile Maker" Mike Hole LightSwitch: "This Is How LightSwitch Does MVVM" Michael Washington From SilverlightCream.com: This Is How LightSwitch Does MVVM Michael Washington's latest LightSwitch post ...
At the UK Connected Systems User Group meeting yesterday we had a good session from Imran on Azure AppFabric. We ran out of evening before the end of the session, so I didn't get to raise this question, but it's a crucial point for me. The Service Bus exists to easily expose internal services to the outside world. It's an easy sell to tech guys, but I haven't yet worked with a client's security team who are open to the concept. I think the security guys have a good point: the status quo for exposing ...
Let me start with this disclaimer: this is not a supported environment. You may/will run into problems and then you’re on your own. Microsoft will not help you here. If you want to develop for Surface (v1, that is, since that’s the only one available at this time of writing) you will have to use Windows Vista 32bit and Visual Studio 2008 Pro or higher. So, that’s out of the way. Let’s return to the real world. I am, of course, running Windows 7 Ultimate (64bit) and Visual Studio 2010 Ultimate. After ...
With the updates to Windows Azure CDN announced this week [1] I wanted to help illustrate the capability with a working sample that will serve up dynamic content from an ASP.NET site hosted in a WebRole. First, to get a good overview of the capability you can read the Overview of the Windows Azure CDN [2] content on MSDN. When you setup the ability to cache content from a hosted service, the requirement is to provide a path to your role’s DNS endpoint that ends in the path “/cdn”. Additionally, you ...
As of today, I will be partnering with Sevensteps when it comes to developing great Surface, Windows Phone 7 and Windows 7 Touch applications. Below you’ll find the press release we sent out today. I am looking forward to this partnership and expect great things coming from us both in the future! Dennis Vroegop, Microsoft MVP, joins Sevensteps partner network 1 March 2011, Seattle / Amersfoort Today Dennis Vroegop and Bart Roozendaal, both Microsoft Most Valuable Professional for Microsoft Surface, ...
In April Microsoft will hold the next MIX event. MIX was usually targeted at web designers and developers but has grown over the years to be more a general conference focused on the web and devices. In other words: everything the normal consumer might encounter. It’s not your typical developers conference, although you’ll find many developers there as well. But next to the developers you’ll probably run into designers and user experience specialists as well. This year I am proud to say that I will ...
I remember being scared of render targets when I first started with XNA. They seemed like weird magic and I didn’t understand them at all. There’s nothing to be frightened of, though, and they are pretty easy to learn how to use. The first thing you need to know is that when you’re drawing in XNA, you aren’t actually drawing to the screen. Instead you’re drawing to this thing called the “back buffer”. Internally, XNA maintains two sections of graphics memory. Each one is exactly the same size as ...
User interfaces and user experience design is a fast moving field. It’s something that changes pretty quick: what feels fresh today will look outdated tomorrow. I remember the day I first got a beta version of Windows 95 and I felt swept away by the user interface of the OS. It felt so modern! If I look back now, it feels old. Well, it should: the design is 17 years old which is an eternity in our field. Of course, this is not limited to UI. Same goes for many industries. I want you to think back ...
Jesus Rodriguez has blogged recently on Tellago Devlabs' release of an open source RESTful API for BizTalk Server Business Rules. This is an excellent addition to the BizTalk ecosystem and I congratulate Tellago on their work. See http://weblogs.asp.net/gsus... The Microsoft BRE was originally designed to be used as an embedded library in .NET applications. This is reflected in the implementation of the Rules Engine ...
This might not be of interest to anyone living outside of the Netherlands, but I still wanted to share this. On march 10th the dutch .net usergroup dotNed (of which I am chairman) organizes a LAN party together with the company Sevensteps. Sevensteps is a big player in the Surface area: they are one of the few companies whose applications are part of the standard tools you get when you buy a Surface unit. They were also present at the CES in Las Vegas earlier this year to introduce the SUR40, as ...
It’s been quiet around here. And the reason for that is that it’s been quiet around Surface for a while. Now, a lot of people assume that when a product team isn’t making too much noise that must mean they stopped working on their product. Remember the PDC keynote in 2010? Just because they didn’t mention WPF there a lot of people had the idea that WPF was dead and abandoned for Silverlight. Of course, this couldn’t be farther from the truth. The same applies to Surface. While we didn’t hear much ...
In brief…. take 1 minute to register today if you are UK based and work for a company that creates software products and want to dig into SharePoint 2010 development for FREE with a great UK based SME (subject matter expert). And… if you want to understand the background, read on :-) Microsoft Platform Ready is where we are aggregating resources to help companies who develop software products explore and adopt the latest technologies from Microsoft. There are many benefits to signing up (e.g. the ...
NET Mathematical Libraries .NET Builder for Matlab The MathWorks Inc. - http://www.mathworks.com/pr... MATLAB Builder NE generates MATLAB based .NET and COM components royalty-free deployment creates the components by encrypting MATLAB functions and generating either a .NET or COM wrapper around them. .NET/Link for Mathematica www.wolfram.com a product that 2-way integrates Mathematica and Microsoft's .NET platform call .NET from Mathematica - use arbitrary .NET types directly from ...
It has been some time now since Windows Server 2008 R2 arrived, but the features and capabilities in many cases are just now starting to surface with company’s implementing or looking at using. Here is a link to the Survival Guide on TechNet: http://social.technet.micro... The other item that is coming stronger and stronger is PowerShell. I mentioned before the need to learn and get into using it as it is a great tool. http://social.technet.micro... ...
We all love to develop services, right? First timers want to learn technologies like WCF and Web Services. Some simply want to build services; whereas, others may find services as natural architectural decision for particular systems. Whatever the reason might be, services are commonly used in building wide range of systems. Developers often encapsulates various functionality (small or big) within one or more services, and expose them for multiple applications. Sometimes from day one (and definitely ...
In this Issue: Michael Washington, Samuel Jack, Alfred Astort(-2-), Nokola(-2-), Avi Pilosof, Chris Klug, Pete Brown, Laurent Bugnion(-2-), and Jaime Rodriguez(-2-, -3-). Above the Fold: Silverlight: "Sharing resources and styles between projects in Silverlight" Chris Klug WP7: "Windows Phone Application Performance at Silverlight Firestarter" Jaime Rodriguez Training: "Silverlight View Model (MVVM) - A Play In One Act" Michael Washington Shoutouts: Koen Zwikstra announced the availability of the ...
When you design for Windows Phone 7 (or for any touch device, for that matter, and most especially small screens), you need to be very careful to give enough surface to your users’ fingers. It is easy to miss a touch on such small screens, and that can be horrifyingly frustrating. This is especially true when people are on the move, and trying to hit the control while walking and holding their device in one hand, or when the device is mounted in a car and vibrating with the engine. Read the rest ...
Let’s face it: not everybody can afford a full-blown Surface unit in his or her house. But most of us can afford a windows 7 touch enabled computer. The prices for these kind of devices have dropped a lot since the introduction of Windows 7. Companies such as Dell, HP and others offer notebooks as well as desktop systems that can handle multi-touch for a reasonable price. And with touch you’re halfway there. What you don’t have is the object recognition of the Surface. And the rigidity of the Surface ...
Just a brief reminder that if your company makes commercial software (in other words, you don’t just develop it for your own employees use) then you should check out the FREE technical event my team is putting on next Thursday (25th Nov 2010). We also with have an Xbox 360 with Kinect to give away plus free books and other goodies. I’m currently looking after the Xbox and have so far resisted peaking in… but I make no promises! :-) Note that we have gone for zero breaks with the intention of making ...