Tag | Geekswithblogs Posts

Just reminder of a post I wrote back in December. Don’t forget that there is a variety of free ebooks available for download on a number of different developer and IT topics. Developer subjects include Programming Windows Phone 7, Moving to Visual Studio 2010, and Introducing SQL Server 2008 R2. IT topics include Deploying Windows 7, Understanding Microsoft Virtualization Solutions and First Look at Office 2010 just to name a few. Have a day ...
VSCommands2010 adds multiple convenient features to Visual Studio 2010. For instance, one feature of VSCommands2010 I use frequently is the ability to visually "Group" partial classes in Solution Explorer. This comes in handy especially with the relatively large number of files in our .Net 4.0 solutions. I did however run into an interesting problem as I attempted to upgrade VSCommands to the latest version. Updates to the tool were successfully downloaded to disk as evidenced by the progress bar, ...
If you work with XAML day in and day out then surely you will have your own tips/tricks for working inside of Visual Studio 2010. Here are mine. I hope that you find them useful. Tip #1 When Double Clicking on a .XAML File go directly to the XAML View and collapse the Design split view. I find it annoying how the design view opens up every time you double click on a .XAML file. I like to create my UI inside of Expression Blend instead of Visual Studio. For instance, I get the following screen when ...
The Short Story: There is an undocumented (as of this writing) limitation to SharePoint 2010’s managed metadata columns: they only allow ~250 entries into one column, for one item. If you exceed this limit, you’ll most likely get this error: <nativehr>0x81020030&... URL 'SitePages/Test Page.aspx' is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web. We haven’t identified ...
Oh this is just too cool… check out the new Debugger Canvas Power Tool for Visual Studio 2010. You have got to watch the demo video. It’s called the Debugger Canvas and the best news is that it’s going to be available for download from the Microsoft DevLabs next month. It looks like this could really revolutionize the way we debug code in Visual Studio. There is a lot to like here. I like being able to see all the code in the call stack. I like being able to save the status of an object for comparison ...
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 ...
There have been some great announcements at the Tech-ed North America 2011. The announcements have been around, Enhanced User Experience Agile Planning Tools Lightweight Requirements Stakeholder Feedback Code Review Features Continuous Integration Agile Quality Assurance Aligning Quality Assurance Some buzz words you will be hearing overtime with vNext will be code review, search code blocks, my Work Hub, context switching, intellitrace in production, scom integration with TFS…. Agile Planning No ...
TFS Deployer is installed as an agent on your the machine you would like to deploy to. TFS Deployer service listens to the build quality change notificaions generated by TFS. TFS Deployer checks the Event Mapping file stored in TFS to validate the action that is mapped to the notification. Let’s get going… Download the latest version of TFS Deployer from => Click here TFS Deployer Installation Instructions => Click here Create a new build quality 4. Create an event mapping file 5. Add the Event ...
Microsoft has just released a new SSIS 2008 transform component called SQL Server Integration Services Balanced Data Distributor. As the download site states “this transform takes a single input and distributes the incoming rows to one or more outputs uniformly via multithreading”. Sounds like we got a component to evenly distribute some data across multiple destinations. Frankly, I though we could do this even before using either a Script Component or the Conditional Split, alas this component has ...
Ok you have been playing around with SSRS 2008 R2 as did I and while I can’t wait to get my hands on CTP 2 of Denali here is some tips to get your reports a bit more standardized. The concept is called Report Parts. Report Parts are a SSRS 2008 R2 only feature. Basically it allows you to publish elements of a report as a separate objects to the report server. These elements can be any element of a report, as long as there is no custom code in them. So how do you make a report part? Well, that’s simple. ...
Granted, if you are just transforming data in the same SQL server, why would you do it in SSIS instead of just using Pivot and Unpivot in T-SQL query? But what about in the case where data comes from various sources? What I had fun doing was the ability to skip using Linked server, pull in data from different sources, like XML over web service. Another point that made me happy was the ability to simulate ROW_NUMBER() function with the merged data by using a Script Component. Anyway, I highly recommend ...
Below is how we can build a complex JSON in javascript and pass it to ASHX file. $.toJSON(jsonData) looks like as below [{"Name":"Pavan Kumar Pabothu","Age":27,"ID":3616... Raju Padhmaraju","Age":27,"ID":3... Raju Padhmaraju","Age":26,"ID":3... Below is how you can read the object in ASHX page ...
In this Issue: Rudi Grobler(-2-), Michael Washington, Ashish Patil, Oren Gal(-2-), Andrea Boschin, WindowsPhoneGeek, Jesse Liberty, John Papa, Mike Taulty, and Paul Sheriff. Above the Fold: Silverlight: "Getting Driving Directions in a Silverlight Application" Oren Gal WP7: "Creating a Windows Phone 7 Trial Application: Advanced Buy Now Implementation" WindowsPhoneGeek LightSwitch: "Using The Document Toolkit for LightSwitch" Michael Washington Shoutouts: SilverlightShow posted their top 5 articles ...
You probably have already visited Channel 9, and if you have not I would recommend to definitely check it out. There are literally thousands of videos about development using Microsoft technologies (and more). You can watch the videos on the site using Silverlight player or you can use links on each video page for downloading. This usually works fine if you are interested in just one or a small number of videos, but it might become somewhat tedious if you want to download a bunch of them. I recently ...
Ever since I began programming in c++ I have gotten confused with how pointers work. I understand why they are there and why they can be useful, but in my managed world I really don’t like touching them… That being said, tomorrow I am going to be tested on pointers and so I thought I would brush up.. here is a bit of sample code on some basic uses… #include <iostream> using namespace std; int main(int argc, char *argv[]) { int x = 5; int *y = &x; int *z = y; cout << "x value : " << ...
Its been a while since I blogged. Its been hard balancing blogging time, work and many other activities. Most my days and even evenings have been cluttered with a number of tasks ranging from mundial to critical. There is some which have been most interesting include very nice lessons I took from from some of the people I respect in the industry. I will try and highlight some of the things I did in below. 1) The DataObjects.NET contribution programme. From February this year I quickly responded to ...
Luego de varios días de intenso trabajo, hoy he tomado un pequeño espacio de tiempo para dedicar un post al trabajo con datos en forma de tablas en asp.net Todos los que hemos trabajado desde hace bastante con asp.net, hemos aprendido a querer al GridView, un excelente control que nos permite mostrar los datos directamente desde una base de datos y trabajar con ellos, llamase trabajar a las operaciones de: editar, buscar, agregar y eliminar. Por supuesto que existen muchas otras opciones que no son ...
The worst part about web application development is the phase in the unit testing where we developers swear we've fixed something, but still when we test the change, the fix isn't there. After awhile, we remember to clear the browser cache and we discover the fix worked! In some cases, we really haven't fixed what we thought we fixed--and in other cases, we haven't really cleared the cache. I was working in FireFox recently and realized I hadn't really cleared the cache when I added a new button ...

 

Tuesday, Jeff Julian (@StaffofGeeks) and James Hare were featured in the TOP 5 of Tech-Ed videos!  Tomorrow watch for Chris Williams!

I have been doing a rushed brush up on my contemporary concepts programming course – only to encounter more design patterns… so as revision I have listed some details below… Today I am going to briefly cover 5 design patterns… namely: Composite Pattern Observer Pattern Serializer Pattern Monostate Pattern Command Pattern What are Design Patterns? (see wiki) In programming we come across problems that are very similar, and certain approaches to solving these problems could be applied time and time ...
Below is a summary of notes for the exam. Before these will make sense you will have to go through the study material, so this is more just a quick revision summary. Format for Declaring a Recursive Statement You will be asked to compile a recursive definition for some language. In the textbook examples the language was a number based language, but in all the past exams the language has been a text based language so be careful… You will be asked to state 4 things, Universal Set Generators of Language ...
John is in this video James Hare and Jeff Julian are in the Tuesday video, we will publish it when it is on YouTube. Go Geekswithblogs! Technorati Tags: Tech-Ed,Top 5,Geekswithblogs ...
The second programming book I read on holiday was Growing Object Oriented Software Guided By Tests by Steve Freeman and Nat Pryce. To sum up early: its a very, very good book on TDD. When I first came across TDD, I immediately saw it as a good idea. Don't write any code without first having a test to cover it and you get automated tests to run any time which prove your system works and document how. Awesome! Getting stuck in with TDD threw up a few questions I couldn't find easy answers to, though: ...
In this Issue: Kunal Chowdhury, Joost van Schaik, Xpert360, Tony Champion, Paul Sheriff, Vangos Pterneas, Jesse Liberty, Jeremy Likness, Mike Taulty, and Pete Brown. Above the Fold: Silverlight: "Binding on Style Setter in Silverlight 5" Kunal Chowdhury WP7: "Debugging Windows Phone 7 device network access with just a laptop" Joost van Schaik Training: "MVPs Chat It Up on Twitter - Tony Champion's Pivot of the results" Tony Champion From SilverlightCream.com: Binding on Style Setter in Silverlight ...
Geeks With Blogs has been given the opportunity to host a blogger’s lounge at MS TechEd 2011 this year. I highly encourage anyone who loves to blog about technology, Developer or IT Pro, to head on over and introduce yourself. I have been blogging off and on (as life and time permit) with this group for a long time now and you couldn’t find a better bunch of guys that are passionate about both community and technology and their site really supports this. Be sure to say hi to Jeff and John. They are ...
In this blog, by external library I really mean any jar (yours or someone else's) that has some functionality you want to include in an Android app. The Android SDK makes this seem very easy to do. You can add other jars to your android project, and they get DEXed and included in your .apk file for upload to Android emulator or other device. If you are using the Eclipse ADT, this isn't any harder than putting the jars on the build path for your project, using the Java Build Path properties dialog. ...
A colleague of mine approached me asking what would be the easiest approach to download a single file from a FTP location that when the file name is changing frequently without any logical pattern. My immediate thought was to use an empty ForEach Loop Container because it can just iterate over files, so even though we are dealing with one file it would be able to capture its name in a single hop. Now to the specifics. As an aside, it was an existing package that used to consume a fixed name file, ...
In this Issue: David Catuhe, Andrea Boschin, Kunal Chowdhury(-2-), Colin Eberhardt, Mike Ormond, Doug Rathbone, John Garland, Jesse Liberty, Mike Taulty, and Pete Brown. Above the Fold: Silverlight: "ItemsControl from scratch to your own controls" Andrea Boschin WP7: "Metro In Motion #5 – SandwichFlow" Colin Eberhardt Shoutouts: Alan Cruz sent me a link to his Social Network site he's developed in Silverlight... this is another 'sign yourself up' thing... I did it, nothing bad happened :) ... Alan ...
It has been a couple of weeks since I last posted about TechDays. Today I completed the final review of all the decks for the Windows Azure developer tracks for Monday and Tuesday. All except for the keynote (always troublesome) and the roadmap session (equally troublesome) are now final – which gives me a warm and likely misplaced feeling that we are in good shape. Yesterday we had the T-1 week meeting in which everyone was smiling. Good stuff. In my case, it was also my first experience of using ...
Abby is a fellow evangelist at Microsoft with a specific focus on working with startups in the USA. Abby has some great insights into how to be a successful startup. Now my team in the UK are focused primarily on ISVs (Independent Software Vendors) but it turns out that a pretty high percentage of startups are … you guessed it… ISVs. If you happen to be an ISV and a startup in the UK, then I would definitely recommend you spend 13 minutes with the following: Lean Startup 101 for Developers Lean Startup ...
If you’re at Tech Ed, be sure to stop by the GeeksWithBlogs Tech Ed Blogger Hub and say hi. Jeff & John have done a phenomenal job of setting up a great place to chill and do some blogging. I’ll be here most of the week when I’m not hitting Windows Phone dev sessions. If you don’t know how to find the Blogger Hub, it’s really quite easy. Enter the Expo Hall from any point, turn left and keep walking until you can’t go any farther. We’re right next to the big stage ...
I’ve created an extension method to Find Sibling Activity by name Based on example from http://msdn.microsoft.com/e... public static TActivity FindSiblingActivity<TAct... Activity sender,string activityName) where TActivity:Activity { //CodeActivity thisActivityInstance = sender as CodeActivity;sender. Activity parent = sender.Parent; var retActivity=parent.GetActiv... as TActivity; Debug.Assert(sender.IsDynam... ...
Recently I was working in the Staging environment at my current client. A Debugging Opportunity occurred and I needed to trace into a Called Orchestration. “No symbolic information was found for this orchestration. In the Visual Studio project containing the orchestration, set the Embed Tracking Information option to True. Rebuild and redeploy to enable tracking and debugging.” I have NO idea how this came about, but after inspecting the properties of the Project and comparing it to a working Orchestration ...
John walks you through the Blogger Hub at TechEd 2011 Atlanta. If you are here, you should swing by. Technorati Tags: Geekswithblogs,TechEd,Atlanta ...
Wow, where does the time go? Here I am, sitting in the Memphis airport on Sunday evening, waiting for my flight to Atlanta for Tech Ed 2011 – North America. I love going to Tech Ed, as it is the conference that really re-energizes me for the year. And this year especially, as I’m speaking again on one of the biggest stages in the world. This year I am speaking on IntelliTrace, formerly known as “Historical Debugging”. The main idea behind IntelliTrace is that you no longer run into the “un-reproducable ...
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 ...
John Alexander and I made it to Atlanta just in time today to get to the Georgia World Congress Center and see the Blogger Hub. Wow, this is a huge area we have to spread the news about Geekswithblogs.net and blogging about IT related topics. Here is a little of what we have in store for you if you are here at #MSTechEd. Reserved Seating for Influential Bloggers (If you don’t have a seat, talk to us about how you might be able to next year). Two Conference Room Tables dedicated to blogging by Attendees ...
Part 2 of my "Reloaded-Series"! In the orginal post here TCPBinding seemed to be the solution. But it is not the best and in some cases just not usable. This only applies to large requests! Sabrina and Philippe, both colleagues in the current project, discovered something far better and much more interesting... What happnes here is DOS-attack-prevention by IIS! Fortunately this did not apply to us that much, sitting behind the DMZ and a far way from the outside world... Solution: Change the allowed ...
Introduction In the first part of the “Game-changing Features in the Silverlight 5 Beta,” I investigated how to debug XAML in Silverlight 5. Now, it is time to explore another feature called Multiple Window Support, where I will review its abilities within a Silverlight 5 application. If you followed my previous tutorial, then you should be ready to get started. The full source code for the project is available as a separate download with this article. The full article is hosted on SSWUG and you ...
I was receiving a system.badimageformatexception when I went to run NUnit test. The problem was that even though the solution platform was set to ‘Any CPU’, the platform target for the test project was set to 64bit. Setting the platform target to ‘Any CPU’ solved the problem ...
This has been a fantastic week of XNA activity and news. Standing ovation the the XNA Team for the interaction they’ve been having with the community as well as the new features they’ve been rolling out for Xbox LIVE Indie Game developers. Simply outstanding and I can’t wait to see what might be coming next. It’s also been a fun week to watch people’s Dream Build Play projects inch ever closer to completion. With the submission deadline coming up in June this is the crunch time for many developers. ...
In this Issue: Morten Nielsen, Kunal Chowdhury, John Papa, Jesse Liberty, Mike Taulty(-2-), and Pete Brown. Above the Fold: Silverlight: "Custom Cursors in Silverlight" Morten Nielsen WP7: "Coming in Mango–Sql Server CE" Jesse Liberty Silverlight 5 Beta: "Silverlight 5: Using the SoundEffect Class for Low-Latency Sound (and play WAV files in Silverlight)" Pete Brown Shoutouts: Khawar Yunus sent me this link to his app... I'm not going to tell you to make a login, but I did.. and the app is a pretty ...
Visual Studio 2010 is not support built-in syntax highlight for HLSL, and I found great soultion – NShader – HLSL\ GLSL \ CG - Shader Syntax Highlighter add-in for Visual Studio. And now editor window with loaded *.fx file looks like following: NShader support VS 2008 and 2010, and it’s free. Another way to get syntax highlight is to set VS for opening *.fx in Notepad++ (with one of HLSL language definitions, it hasn’t built-in support). I like to stay inside Visual Studio, so I prefer NShader :) ...
The 1.0.1 version of the Build Folder Extension is now out and can be downloaded from the Visual Studio Code Gallery at http://visualstudiogallery.... Source code, discussions and issue tracking can be found at the codeplex site at http://tfsbuildfolders.code... Context menu The context menu has been extended with the following commands, shown below: Queue New Build… : This pops up the traditional queue build dialog Queue Default Build(s): ...
I've recently added to my UriHelper class the function RemoveQueryStringFromUrl public static string RemoveQueryStringFromUrl(st... url) { //similar to string qs = QueryStringHelper.QueryStri... string urlPath = url.LeftBefore("?"); return urlPath; } It refers to methods from My QueryStringHelper class and My StringHelper class ...
1. Set EnableScriptGlobalization=true on the script manager <asp:ScriptManager runat="server" EnableScriptGlobalization="... /> 2. Use the Sys.CultureInfo.CurrentCulture command either inside the alert or through Firebug console to check the CultureInfo at the client side 3. use Number.parseLocale instead of pareFloat so that it get correct value according to the current culture. 4. to update the value back with current culture use localeFormat <script type="text/javascript"> function ...
One of my colleagues pinged me to check, how to use the MailDefinition class for creating formatted mails from a .NET Console Application. She was referring to this article http://www.search-this.com/... which seems to be building a nice template email that can be sent. But this article was related to ASP.NET and hence didn’t have issues in referencing the MailDefinition Class which is part of System.Web.UI.WebControls namespace. The application ...
Telstra finally got their act together and got an update out. Unfortunately it hasn’t done much to alleviate the woeful lack of responsiveness for my HTC Mozart so it will now have to go back to HTC for a makeover… Performance of the update is shown below using WP Bench: ...
In this Issue: Chris Rouw, Kevin Dockx(-2-), WindowsPhoneGeek, Jesse Liberty, Jeremy Likness, Telerik Phone Team, Mike Taulty(-2-), Pete Brown, and András Velvárt. Above the Fold: Silverlight: "Locking and Unlocking controls in a Silverlight LOB Application" Chris Rouw WP7: "WP7 ToDo Lists App Built with RadControls" Telerik Phone Team Just too cool not to list: "Kinect + Bing Maps–the gestures" András Velvárt Shoutouts: The SilverlightShow folks sent me their top 5 from last week: SilverlightShow ...
Michael’s “Mega Collection of Silverlight 5 Beta” Demos I’ve decided that today I would release a set of Demos for the Silverlight 5 Beta to help the community get up to speed quickly with the new features. In order to make the Silverlight 5 developer-base grow I will be creating demos of every feature as it is available. Here is my first set of contributions to make this happen. To download all the demos in one file then click here. For separate downloads then click below. Please note: All of these ...