Tag | Geekswithblogs Posts
NB: This post is followed up here. You can learn a lot about good code from reading bad code, and at least something about how well someone codes from what they can tell you about bad code. With this in mind I handed a print out of some bad code to the latest prospective developers I've interviewed, to see what they made of it. The bad code is below; I'll write another blog with the things I think is wrong with it soon (there's quite a lot of it), but it'd be very interesting to hear what people ...
Keeping things short and simple, here I am will demonstrate on how to setup synchronization between Microsoft Dynamics NAV 2009 R2 and Microsoft Dynamics CRM 2011 using the Connector for Microsoft Dynamics. Configuring Connector for MS Dynamics (Microsoft Dynamics CRM Adapter) Assuming that you had a smooth installation of the Connector, let’s start by configuring the CRM Adapter. For the CRM Online, make the following settings: Domain crm.dynamics.com User Name Windows Live ID for your CRM Online ...
So, this previous weekend was my first trip to New York City in over 15 years and I was not disappointed. I was honored to be accepted to speak at SharePoint Saturday NYC. This event was a blast and a well oiled machine executed by Becky Isserman (@mosslover) Greg Hurlman (@ghurlman) and Jason G (not gonna attempt it, sorry) (@PrincetonSUG) along with an incredible supporting cast of heroes making sure the entire event ran smoothly. You guys did an awesome job. We started off the event with a speaker ...
I am all set, have my presentation ready. Excited, can hardly wait!! Don’t miss the early bird special for SharePoint Saturday The Conference in DC! Ends Aug 7! http://bit.ly/nXVwgm ...
Ever since I started working with SharePoint, I have always felt the “standard” grouping most training organizations make for people are the same old three: Admins, Devs and Users. True it fits most molds, but not as effective as truly understanding the value of roles. Now, the title of the post is in fact Lync Training Plans. The Lync Team has put together some guidance in the form of (drumroll!) Training Plans based on roles that go beyond your “User” grouping. You can download it here It is an ...
I’ve been slowly creating a new WP7 game over these past few months. In the process, I began experimenting with Dxt compression. It’s a very nice feature, especially on the phone where high DPIs make Dxt’s artifacts less visible. One thing I didn’t like, though, was the way that XNA’s default Texture Processor handles resizing to power of two. When using Dxt compression with the Reach graphics profile, you need to use textures that are power of two sized (e.g. 32x64). Dxt itself requires that the ...
l will show you what I am doing lately with jquery. I started out using the suckerfish menu for a customer app. All went fine for awhile but suddenly the menu started acting weird with problems indenting and such. I finally figured it must be interacting with other css stuff. So, I thought how the heck do I fix this? What if I could just use jquery and keep all of the action in jquery and put the style in in the menu class and just spit it out. Most of the properties would get put into attributes ...
My last love is called Microsoft Visual Studio Lightswitch. After the official launch (26th of July) I installed the official release instantly. The setup is very easy but I want to share my installation tutorial because Lightswitch was created for develop application easily and quickly way. That’s why you can install it even though you are not a programmer. First of all, mount the iso image of installation and launch the setup. Accept the license. Click customize. Check if the path of Microsoft ...
In this Issue: Kunal Chowdhury(-2-), XAMLNinja, Jonathan Marbutt, Rob Eisenberg, Jeremy Likness, Jesse Liberty(-2-), and Derik Whittaker. Above the Fold: Silverlight: "Reflection, Lambda, and Expression Magic" Jeremy Likness WP7: "Working with Live Tiles in WP7 Mango–Creating, Updating and Deleting them" Derik Whittaker LightSwitch: "Visual Studio LightSwitch 2011 Released - Download the Final Version Now" Kunal Chowdhury Shoutouts: Beth Massi has a link post up for lots of good LightSwitch resources: ...
Let me state the obvious, for any application you develop you need to log information, errors, exceptions etc that can help you and others know what’s going on with your application When you create a new Windows Azure application using Visual Studio you will find the following snippet in your configuration file <system.diagnostics> <trace> <listeners> <addtype="Microsoft.Wind... Microsoft.WindowsAzure.Diag... Version=1.0.0.0, ...
Its been quite some time since I last post on the subject of the AsyncOperationService (in fact quite some since I posted period). In real world use I found some common patterns emerge that has lead me to make a few small adjustments to eliminate some common duplication I was seeing in code consuming the service. Here is the new code file for my ever so slightly improved AsyncOperationService in its entirety. AsyncOperationService using System; using System.Windows; using System.Collections.Generic; ...
I have been working with power shell quite a bit lately, I thought I’d write about 3 tips that have helped me. Notice how it is titled, "Helpful"? not "Ground breaking". It includes helpful commands that I have been using and a nice little Script editor that has one feature enough to win me over. Other's have writen about the commands (most of the time I write so I remember what I've done and how I have resolved issues) but I have not seen others write about other script editors. If you have been ...
In this Issue: Mike Talbot, Michael Crump, Kunal Chowdhury, Cheryl Simmons, Joost van Schaik(-2-), Shantimohan Elchuri, Jesse Liberty(-2-), Peter Torr, Pete Vickers, Derik Whittaker, and Den Delimarsky. Above the Fold: Silverlight: "Wordle Like Tag Cloud for Silverlight" Mike Talbot WP7: "Speed and distance calculation extension methods for Windows Phone 7" Joost van Schaik Shoutouts: Check out Pete Brown's interview on .NET Rocks: My .NET Rocks Interview Koen Zwikstra announced a July update: Silverlight ...
C# is a wonderful language for modern programming. While everything in C# has a reason and a place, occasionally there are things that can be confusing for a developer who isn’t aware of what is happening behind the scenes. This is my fifth post in the Little Pitfalls series where I explore these issues; the previous Little Pitfall post can be found here. Side Note: I’ll be presenting sessions on the Little Wonders and the Little Pitfalls at the St. Louis Day of .NET conference on August 5th and ...
I have several conferences coming up where I’ll be talking about jQuery and best practices around deployment, maintenance, and performance tuning in SharePoint and I find that I never have enough time to talk about everything I’d like. So I thought I’d write a few blogs about the subject from a complete beginners standpoint. After all, we were all beginners once and nothing frustrates me more than finding a solution to a problem, but then having no idea how to implement it. Also, in subsequent blogs ...
Introduction I’m proud to announce my first eBook and update to my article series on OData for Silverlight and Windows Phone 7 is complete. I have worked very hard on this series and am pleased with the work. I may be a little biased, but I believe this is the best step-by-step guide ever created for OData and Silverlight/WP7 Mango. In the series, I walk you through every step with detailed screenshot and code snippets. From creating the OData data service to consuming it in an Silverlight application ...
In this Issue: Max Paulousky, Ollie Riches, Derik Whittaker, John Garland, WindowsPhoneGeek, Manas Patnaik, Xianzhong Zhu, John Papa, Dhananjay Kumar, Jesse Liberty, Peter Torr, Gill Cleeren, and Jonas Follesø. Above the Fold: Silverlight: "Multiple MonthView DatePicker Control in Silverlight" Manas Patnaik WP7: "Silverlight TV 79: Data Binding Debugging" John Papa From SilverlightCream.com: Windows Phone (Mango) DB Engines Performance Testing Max Paulousky's latest post is on performance testing ...
Shervin Shakibi, Microsoft Regional Director, was our speaker at the West Palm Beach .Net User Group July 2011 meeting. Shervin’s talk was demo-centric where he showcased the power of HTML 5 by example. Issues discussed at the meeting included suggestions on mitigating security concerns with HTML 5 source code accessibility as well as the status and timeline for HTML 5 readiness. Shervin’s much anticipated talk brought us over 25 members who filled our CompTec meeting room. We appreciate Shervin’s ...
In this Issue: XamlNinja(-2-), Ollie Riches(-2-), Michael Washington, Bart Czernicki, Chris Craft, Colin Eberhardt, Kunal Chowdhury, Jasim Schluter, Pete Vickers, Samuel Jack, and Mike Ormond. Above the Fold: Silverlight: "Creating Inner Shadow Effects for WPF and Silverlight" Samuel Jack WP7: "WP7Contrib: Transient caching with In Memory Cache Provider" Ollie Riches LightSwitch: "Using OLAP for LightSwitchUsing OLAP for LightSwitch" Michael Washington Shoutouts: The folks at SilverlightShow have ...
To prepare a bootable CE disk for PC based system, you need to create the partition, format it and transfer the booting files. CE provides a tool CESYS.EXE to transfer boot sector and copy bootloader to target volume for BIOSLOADER. The tool is created since CE 4 and unfortunately, it is out dated and only support FAT12 or FAT16. Modern storage devices have larger capacity and prefer or require to use FAT32/ExFAT. For CE7, there is a new CESYS platform\CEPC\src\boot\tool... that ...
It’s official!! Microsoft released Visual Studio LightSwitch 2011 today. Here are a few places to read more about today’s release and for more information about LightSwitch 2011. Jason Zander’s blog The LightSwitch Team blog Beth Massi’s blog I’m excited about the release. Today’s timing is perfect since we have a project we’re about start and we’re going to be using LightSwitch in order to quickly get a functioning application in front of our users. Based on the initial prototyping work we’ve done ...
Wow, it has been awhile, so let's do some catching up. In January 2011 I joined a local gym and have since been pretty dedicated to that and work leaving me little to no time for personal projects (although I've lost almost 40 lbs!). This includes both this blog, posting at Gamasutra, the Deep Fried Devcast, and anything else. Add to this my recent increased interest in music and guitar and I've been left with very little extra time. In fact, I've changed so much about the way I spend my time that ...
So, I wanted to build a simple display for the foyer of our building that would display in real-time the zeitgeist of the nation. What better way of testing the pulse of the UK, than pulling down the latest list of Twitter Trends. Twitter exposes this as a nice bit of JSON XML If you call - http://api.twitter.com/1/tr... You get a nice JSON response explained fully here https://dev.twitter.com/doc... .Net 4.0 has a great JSON deseriliser that can quickly read inbound ...
Article Source: http://geekswithblogs.net/c... What is the best approach for developing a WCF client application that sends messages to the WCF on-ramps exposed by the BizTalk ESB Toolkit? I had considered various approaches: Generate an xml message from a string template using string replacements. Then submit the message to the ESB endpoint using code similar to the Itinerary Test Client provided with the ESB Toolkit. Then for the response use XPath to get the required data. - This is obviously ...
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 ...
Lately i have seen the below remarks coming through in the communities, Get Latest does not work in TFS I always have to use Get Specific version to get the server changes on my local Why get latest misses updating some files while get specific works I’ll be using the TFS API to show you how the “Get Latest” is suppose to work and show you how you can avoid getting in a situation where you might have to use “Get Specific” to get the latest version of your workspace. I would assume that you know the ...
I will be covering three things in this blog post Get the history i.e. all change sets of an item programmatically using the TFS API. Download the change sets programmatically using the TFS API Use WinMerge to compare those change sets programmatically 1. How do i get the history of a file using TFS API? The VersionControlServer Class exposes the QueryHistory method that gets you all changesets that have impacted a file or folder you are querying for. public IEnumerable QueryHistory( string path, ...
Technorati Tags: Team Foundation Server 2010 Would you like to use your favourite comparison and merging tool such as KDiff3 or WinMerge in TFS. With little effort you can configure a different diff/merge tool in Team Foundation Server. In this blog post I'll be covering How to change the default compare/merge tool List of available compare/merge tools and the list of arguments Follow the steps below, Open Visual Studio 2010 and go to Tools => Options Select Source Control => Visual Studio ...
Microsoft Expression Blend is a design tool that allows you to create fantastic user interfaces for such Windows based applications and Web applications. You can use Expression Blend with .NET Framework 3.0, 3.5, and 4.0 applications. What Blend can do for you One of the prime advantages of Expression Blend is its ability to separate code from design. Using Blend, designers can work independently on one set of deliverables for a project while developers can work on another. But this doesn’t mean ...
Apparatus is sponsoring and hosting the Windows Azure boot camp in Indianapolis. This will take place on September 24th, 2011. I will be one of the presenters for the event. Join us! Details are here: http://www.windowsazureboot... ...
In about 3 weeks, specifically August 11-13 we will be already going strong with SharePoint Saturday The Conference in Washington, DC. Are you registered? Have you made your plans? This is a great opportunity to get together with many of the SharePoint names that produce outstanding solutions, amazing books and overall give great guidance. Join us! Are you a Student or an Educator? Check this out … http://www.spstc.org/blog/L... Hotel Info: http://www.spstc.org/blog/L... ...
I recently obtained a Samsung Omnia 7 with the WP7 OS. Straight off the bat - let me say how impressed I am with this phone and how easy it is to use. It took about 3 minutes to have all my Gmail and Facebook contacts loaded and merged and be connected to the Wifi. Another huge plus is the Zune software.This absolutely beats the ITunes for Windows software hands down when it comes to podcasts. Other pluses included the screen being so bright and the physical size of the phone which is comfortable ...
Motivation Wie gehen Sie in dieser Situation vor: Eine von Ihnen verwendete .NET-Drittbibliothek liegt in einer neuen Version vor und Sie müssen die Abhängigkeiten in all Ihren Projekte aktualisieren. Je nach Projekt und Notwendigkeit hatten wir bei ESRI Deutschland dafür bisher u.a. folgende Lösungs-Szenarien: Policy-Files Sie dienen zum „Umbiegen“ der von den eigenen Projekten verwendeten Version auf die aktuelle. Das geht allerdings nur bei GAC-basierenden Assemblies und die sollte man aus diversen ...
I recently implemented Domain Events as a way of organising domain logic in our application. To summarise how they work: Every event in your application is modelled as a class which implements the empty IDomainEvent interface IDomainEvents are raised by a domain object calling a static DomainEvents.Raise<T>(T domainEvent) where T : IDomainEvent method The DomainEvents class passes raised IDomainEvent objects to the Handle<T>(T domainEvent) method of classes which implement the IDomainEventHandler<T> ...
*Make sure you read Don't Use Singleton before using a Singleton at all...Go read the whole post at http://geekswithblogs.net/B... 1: public class LazySingleton3 2: { 3: // static holder for instance, need to use lambda to construct since constructor private 4: private static readonly Lazy<LazySingleton3> _instance 5: = new Lazy<LazySingleton3>(() => new LazySingleton3()); 6: 7: // private to prevent ...
In this Issue: Gill Cleeren, Adam Kinney, Peter Torr, John Garland, Kunal Chowdhury, Telerik, WindowsPhoneGeek, Xianzhong Zhu, Jesse Liberty(-2-), and Michael Washington. Above the Fold: Silverlight: "Showing the Onscreen Keyboard in Silverlight OOB Applications" John Garland WP7: "Check if your WP7 app is a Bing Instant Answer" Adam Kinney LightSwitch: "The Visual Studio LightSwitch Economy" Michael Washington Shoutouts: Pete Brown announced a sweet deal on his next book: My Next Book: Silverlight ...
I purchased Office 365 subscription recently, and wanted to bind my own domain, because wanted to use e-mail address like alias@some_custom_domain.com If you want to use custom domains, manual page suggest to change name server records for your domain to ns1.bdm.microsoftonline.com and ns2.bdm.microsoftonline.com. After doing this you can use aliases with your domain for Exchange mail and Lync. If you don’t want to change by any reasons name servers for your domain, just go through steps: 1) open ...
I have always been slightly confused about the difference between classes and structures in C#. For many years, structures seemed identical to classes, but were simply not as extensible. Recently I had a relook at them and came up with two key identifying features that help me differentiate the two.. Where they are stored Value and Reference values So, the first main difference for me is that structure instances are stored on the stack and class instances are stored on the heap. The second main difference ...
In this Issue: Colin Eberhardt, Kunal Chowdhury, WindowsPhoneGeek, Jesse Liberty(-2-), Xianzhong Zhu, John Papa, Jeff Prosise(-2-), Above the Fold: Silverlight: "Silverlight TV 78: Designing Tiles and Splash Screens for Windows Phone (Design Tips Mini Series)" John Papa WP7: "Implementing a Windows Phone 7 Conversation View" Colin Eberhardt Shoutouts: Kunal Chowdhury gave a "MVVM from Scratch using Silverlight" session at Pune User Group's (PUG) Monthly meet, and has posted his material: Recalling ...
Last week I was at the Microsoft WPC conference in Los Angeles. I’ve been to other Microsoft developer conferences like Tech Ed and PDC before, but this was my first WPC and it was a great experience. For one thing, the target audience is blatantly business, sales, and marketing. It was a weird feeling attending a Microsoft conference and not knowing *anybody* (although some familiar faces were found). I have links below to notes I made for the individual days of the conference, but I wanted to point ...
The keynote session for the morning was a mixture of things. It started with an all-female rock band singing Cold Play’s “Viva la Vida”, then had all partners-of-the-year winners parade on stage, and then we got into the specific messaging part. There were five separate keynotes this morning from different business units within Microsoft. First up was Cloud. Note that I didn’t say Azure, although that’s part of it. Azure is the public cloud, but Microsoft talked up the Private Cloud a lot at this ...
In the past few months, we at the West Palm Beach .Net User Group have been busy soliciting your feedback on topics you would like covered at our upcoming meetings. We have also been encouraging our members to step up and share on the projects they work on and the technologies they use. The result is the schedule below which we hope brings a good variety of today’s hottest topics. We look forward to seeing you at our meetings and to receiving your feedback as we continuously strive to improve the ...
In this All Submittal Issue: Michael Washington(-2-), András Velvárt(-2-), Gill Cleeren, and Kunal Chowdhury(-2-). Above the Fold: Silverlight: "Tip: Network change events in Silverlight" Gill Cleeren WP7: "Windows Phone 7 for Silverlight Developers: Portrait and Landscape & Themes" András Velvárt LightSwitch: "Creating Visual Studio LightSwitch Custom Controls (Beginner to Intermediate)" Michael Washington From SilverlightCream.com: Creating Visual Studio LightSwitch Custom Controls (Beginner ...
Technorati Tags: Team Foundation Server 2010,TFS API,TFS SDK 2010,TFS Administration Working as a TFS Administrator maintaining the user workspaces is a very important task. Using the TFS API it is very easy to get a list of user workspaces, undo pending changes and delete workspace mappings if required. It is common to see people leave as the bell curve dips with the project delivery but some times what is left behind is a set of checked out files in workspaces. In this blog post i will show you ...
As I do almost every year, I rearranged my home office. This time I moved my desk against the wall and added a shelve to support my main monitors. This allows me to work from my two macs when I am at home, and RDP into my Windows development laptop (below the monitors). I mainly use the macs for graphics work and photography now. The MacBook Air is still goes with me each day and sometimes I bring the iPad as well. Without better pen support, the iPad is just my couch app device or car device for ...
As mentioned in a previous post, I have been accepted to speak at VMworld2011 the week of August 29 in Las Vegas. Since that time I have been working on my presentation with my speaking partner and VMware SE Jeff Szastak. We have submitted the first draft of our deck in for comments and gotten some good feedback. I have now begun to incorporate those changes in to the deck as the final version is due in early August. I am excited to be going to this conference for the first time and especially so ...
I recently acquired a Samsung Omni 7 with the Windows Phone 7 OS installed. With this device I have a new found desire to learn Windows Phone 7 programming and embarked on the endeavour by reading “Programming Windows Phone 7” by Charles Petzold (ISBN 978-0-7356-4335-2). I really enjoyed going through the book. While the one I was reading had a few spelling mistakes in it (not that I am one to point any fingers) I am sure they had been rectified before it went to print (I was reading the free ebook). ...
Yesterday I started a discussion about adding a new command to nuget.exe. It ended in creating an extension to the command line that behaves in the same way without having to dive into the nuget code base or add more complexity to it. I haven’t seen any blog posts or documentation surrounding this new concept (new in nuget 1.4) of extending the command line except for Matt Hamilton’s posts on using NuGet for plug-ins and NuGet with MEF (which are not quite this concept). Here is my experience. I ...
MvcScaffolding is a tremendous productivity improvement for MVC developers. Earlier this year, Steve Sanderson posted the definitive 7-part series on MvcScaffolding which is a must-read for anyone serious about doing scaffolding. The best part about the scaffolding infrastructure is that MvcScaffolding is actually built on top of another package called T4Scaffolding. T4Scaffolding can be used as the basis for *any* scaffolding – not just MVC projects. To that end, we can enjoy the same power of MvcScaffolding ...
C# is a wonderful language for modern programming. While everything in C# has a reason and a place, occasionally, there are things that can be confusing for a developer who isn’t aware of what is happening behind the scenes. This is my third post in the Little Pitfalls series where I explore these small pitfalls; the previous Little Pitfall post can be found here. In the last Little Wonders post, we talked about the Nullable static class (not to be confused with the Nullable<T> struct) and ...