Tag | Geekswithblogs Posts

Tonight Windows 8 was released (LEGALLY) at least the Developer Preview edition was! You are able to get your own copy at http://dev.windows.com/. I have an interest in programming but an even greater interest in learning some of the new administrative tools available and things I can dig into a bit more and learn about Windows 8. I decided I was going to install it as a Virtual Machine. When I mounted the ISO it crashes upon startup, so I knew there had to be a setting somewhere I could tweak and ...
On August 31st I was pleasantly surprised by Microsoft when they notified me of receiving the Community Contributor Award. Here is an excerpt of the email: “Congratulations! We’re pleased to inform you that your contributions to Microsoft online technical communities have been recognized with the Microsoft Community Contributor Award. The Microsoft Community Contributor Award is reserved for participants who have made notable contributions in Microsoft online community forums such as TechNet, MSDN ...
I usually do a bullet points from major conference events like this one from Mix11. The purpose of this post is to get you up to speed quickly with news and links you may enjoy. Build – Day 1 Keynote Windows 8 takes about half the amount of RAM to run compared to Windows 7. Windows 7 usage by consumers is now greater than Windows XP. Like the Metro Interface? Well, you better as the interface is similar to the Windows Phone 7. You can unlock your touch-enabled PC by tapping certain spots on a picture. ...
I'm sure that over time you've run into the dreaded "File transport does not have read/write privileges for receive location "C:\Flatfile\SAPTestIn\".". Usually you simply go to the folder and either give the BizTalk account full permission (bad) or Everyone full permission (really bad). So for a production environment, what is the absolute minimum permissions required? For the Receive File Adapter the explicit permission are: NTFS Attribute Property Name DELETE Delete Files FILE_READ_DATA List Folder ...
That is a very good question..to which only Microsoft has the answer!:-) In the meantime, suffice it to say that every once in awhile, Visio loses track of your Glue/SnapTo settings which you'll need to restore. Here's what to do: 1. In Visio, navigate to "Home", open "View", expand "Visual Aids"2. Once in "Visual Aids", Check or Re-Check the "Glue"box. 3. Under the "Snap To" category, be sure shape intersections, shape handles, shape vertices, and connection points are all checked. 4. Under the ...
Our engine is written in almost pure C++ with some part in C# that run on Mono. The code base is huge which mans that we’re primarily looking for platforms that support C++ development. Looking at the current set of platforms on the market this is really not a big issue with Windows Phone being the only platform that does currently not support native development. Sadly this means that we’re currently not planning a Windows Phone release in the near future. Looking at other platforms, about a year ...
Download Demo - LINQpad Query In this blog post I’ll be showing you how to query TFS using LINQpad. 1. Download LINQpad Those who are familiar with LINQpad know its benefits and ease of use, i would urge others to try it. You can download LINQpad and read more about it from here => http://www.linqpad.net/ 2. Download TFS SDK I have a blog post on where and how to download the TFS SDK from => here 3. Querying TFS using LINQpad Open LINQpad Select Query Properties by selecting Query from menu ...
In the world of custom web application development a critical component of our success is the hosting environment and services. We can choose to deploy our web applications using 3rd party hosting providers such as GoDaddy.com, Rackspace, DiscountASP.NET, or another provider, or we can choose to deploy to on premise servers either virtual or physical. In either case the web application must be serviced up to consumers by a web server software such as Internet Information Service (IIS), which is included ...
On the 9th Sep, the SQL Azure team announced that the new version of SQL Azure had just been release. In this version not only the SQL Azure engine had been upgraded, the SQL Azure Management Portal had been upgraded massively. Below are the features and improvements available in this release: Foundational updates for scalability and performance. Co-administrator support, which enables customers to specify multiple database administrators. Increased capability for using spatial data types, which ...
After recently reading a book on effective unit testing, I've taken to using the NUnit constraint model for my unit tests. I find it a great way to write readable tests which state exactly what they prove; for example, it's pretty clear what this test shows, just from reading the code as a sentence: Assert.That(AnAccount(WithN... HasAnOutstandingBalanceOf(Z... In NUnit's Constraint model the first argument to Assert.That returns an object to test, and the second returns an NUnit Constraint ...
In the previous post I droned on about how to apply the AsyncOperationService to an API conforming to the .NET Asynchronous pattern. In this post I’ll be building a more real world example. Well I say “real world” please don’t confuse that with something actually useful. Its still a little contrived and is not an example of best practice but it is something you could actually build and test. What are we going to build? We are going to build an ambitious ground breaking Silverlight app that allows ...
In this Issue: Kunal Chowdhury, David Anson, Cheryl Simmons, Ryan Alford, Peter Kuhn, Ollie Riches, Mike Hole, Allen Lee, WindowsPhoneGeek, Mike Taulty, Sumit Dutta, Asim Sajjad, Dhananjay Kumar, and Vikram Pendse. Above the Fold: Silverlight: "Silverlight 5 PInvoke fun - System Font Dialog" Peter Kuhn WP7: "Adding a map image to a secondary live tile" Mike Hole Expression Blend: "Silverlight 4 – Custom Busy Indicator Using PathListBox" Ryan Alford Shoutouts: Michael Palermo's latest Desert Mountain ...
Come on, who doesn’t love a good cheeseburger? Ok, I’ll rephrase that. Other than the Chik-fil-a cows and vegetarians, who doesn’t like a good cheeseburger? Check out this episode of the Grapevine TV’s Developer’s Kitchen and watch me demonstrate how to prepare and grill up my Duffy’s Paradise Cheeseburgers! mmmm tasty! Looking for additional recipes from your favorite .NET personalities? Check out the .NET Guru’s Can Cook cookbook for a wide variety of tempting appetizers, dishes, sweets and drinks. ...
Today, We deployed the “David Blaine” version of the TB Module for our EMR solution here at IDI (http://idi.mak.ac.ug). This was mainly for bug fixes and usability improvements based on the feedback that we received from users in the past few weeks. Some of the improvements were related to performance. We had to fine-tune some of our Linq statements in some places to enable better queries to be generated by our ORM. We also added some lookup dialogs that present certain information that would be ...
Recently I attended Microsoft HTML5 WebCamp where I had a chance to get insights on all new features HTML5 has to offer. Couple things to mention: - Canvas - a new HTMl5 feature that uses JavaScript to draw bitmap graphics on a web page. Simple approach (less JS coding) makes this interesting: empty space is treated as a painter canvas and a painter brush is replaced with JavaScript. - SVG (Scalable Vector Graphics) is another graphic tool widely publicized. It is not new, it has been around for ...
2011 has been a very exciting year for me so far. I was awarded the Microsoft Silverlight MVP. I was renewed as the DZone MVB. I was awarded as a GeeksWithBlog Influencer. I won the CodeProject Windows Phone 7 Competition. I’ve been invited to speak about Silverlight at UserGroups as well as several major conferences such as SSWUG, CodeStock and devLINK. My first e-Book on Producing and Consuming Silverlight in an OData application was published. I’ve been asked to be a technical editor for two Silverlight ...
Introduction You might have noticed that the Silverlight 5 (Release Candidate) is out. One of the new features included in the RC is the ability to call P/Invoke. In this short demo, we will write a Silverlight 5 application that uses the feature. Tools needed: Visual Studio 2010 SP1 or Visual Web Developer Express 2010 SP1 is required to develop a Silverlight 5 RC Application. After you have installed VS2010 SP1 or Visual Web Developer Express 2010 SP1, then you will need to download and install ...
The following error was encountered when consuming a flat file through a pipeline that made use of the Flat File Disassembler pipeline component: There was a failure executing the receive pipeline: "xxxxxxxxx, xxxxxxxx, Version=1.0.0.0, Culture=neutral, PublicKeyToken=xxxxxxx" Source: "Flat file disassembler" Receive Port: "xxxxxxxxx" URI: "C:\BizTalk Folders\xxxxxxxxx\*.csv" Reason: Cannot access a disposed object. Object name: 'DataReader'. This was resolved by settling 'RecoverableInterchangeProc... ...
In this Issue: Ollie Riches, Tony Champion, Kunal Chowdhury, WindowsPhoneGeek, Jeremy Likness, Mike Taulty, Jesse Liberty, Sumit Dutta, Asim Sajjad, Justin Angel, and Shawn Wildermuth(-2-). Above the Fold: Silverlight: "Creating a Multi-Click Event in Silverlight 5" Tony Champion WP7: "Windows Phone 7 Marketplace Statistics" Justin Angel Shoutouts: SilverlightShow has posted their top 5 for last week: SilverlightShow for August 29 - Sept 04, 2011 Michael Palermo's latest Desert Mountain Developers ...
Just a quick one. I was trying to add and deploy a WSP file.Both went well until i tried adding the webpart and i get the error Web Part Error: No available sandboxed code execution server could be found. After doing some joggling around i came to know i had to start the Solution:You need to start the SharePoint Foundation Sandbox Code Service service instance from services on server.. This has to be done in the SP 2010 Central Admin > App Management > Service Apps > Manage Services on Server. ...
The ability to write scale out applications for SQL Azure will soon become much easier, thanks to the upcoming SQL Azure Data Federation capabilities. In an earlier post, I outlined specific steps developers can take to prepare for this key enhancement. Some of the key capabilities of SQL Azure Data Federation is to distribute large data sets across multiple databases, hence providing a mechanism to avoid the current database size limitations of SQL Azure. While it may be tempting to look at this ...
I have introduced a method to detect the stack size and other stack info during runtime in this article http://geekswithblogs.net/K... But what if we want to determine the stack size on arbitrary thread or for whatever reason, writing a code is not an option but wish to peek the stack size via debugger? Fortunately, there is a debugger extension (CeDebugX) provides many power tools, such as !stacktrace or !stackeval to get the stack info for ...
In this Issue: Michael Washington, Tony Champion, Ollie Riches, Gill Cleeren, Koen Zwikstra(-2-), Peter Kuhn, Xianzhong Zhu, Mike Taulty, Pete Brown, Sumit Dutta(-2-), Asim Sajjad, Dhananjay Kumar(-2-), Above the Fold: Silverlight: "Silverlight Spy September 2011 Update" Koen Zwikstra WP7: "Windows Phone 7 on-demand training available" Peter Kuhn LightSwitch: "Quick And Easy Data Management With LightSwitch" Michael Washington PivotViewer: "Extending your CXML Trading Cards in Silverlight 5" Tony ...
The ViewModels in my current project had got quite complex; as well as properties copied from model objects, they increasingly had flags used by Views to know whether to render links or sub-sections. The logic which set these properties was bloating Controllers, so I factored it out into objects which populate all non-editable properties of a ViewModel; ViewModelBuilders. The system has the following components: ViewModels - objects which provide a View with the information it needs to be rendered. ...
I received a surprise mail from Microsoft saying that I’ve been recognized as Microsoft Community Contributor for the year 2011. I am delighted that my contributions in TFS and ALM space have been recognised by Microsoft. Congratulations! We’re pleased to inform you that your contributions to Microsoft online technical communities have been recognized with the Microsoft Community Contributor Award. The Microsoft Community Contributor Award is reserved for participants who have made notable contributions ...
In this Issue: Lee, Kunal Chowdhury, Peter Kuhn, XamlNinja, Ollie Riches, WindowsPhoneGeek, Jeremy Likness, Pete Brown(-2-, -3-), Dhananjay Kumar, Sumit Dutta, and Asim Sajjad. Above the Fold: Silverlight: "Using PInvoke in SL5 to show MessageBox" Lee WP7: "WP7Contrib: Dialling the phone number shown in a text block" Ollie Riches Shoutouts: Michael Palermo's latest Desert Mountain Developers is up Michael Washington's latest Visual Studio #LightSwitch Daily is up Laurent Bugnion has some good news ...
In this Issue: Tony Champion, Kevin Hoffman, Pete Brown(-2-), Mike Gold, Jeremy Likness, Xpert360, Den Delimarsky, Sumit Dutta, Asim Sajjad, Vikram Pendse, and Michael Crump. Above the Fold: Silverlight: "Silverlight 5: Remote control and MediaCommand Support" Pete Brown WP7: "Extracting a SQL CE DB from Isolated Storage in WP7 Mango" Michael Crump PivotViewer: "To CXML or not to CXML" Tony Champion Shoutouts: Michael Palermo's latest Desert Mountain Developers is up Michael Washington's latest Visual ...
I was really excited when I heard Red Gate wanted a review of their memory profiler done. I have been a fan of Red Gate products for years… being first exposed to their products via reflector a few years ago – as someone who has never done memory profiling before, I was also excited to go a bit deeper into .Net memory management. Why Memory Profiler – Isn’t the point of .Net that it manages the memory for you? Before getting into the nuts and bolts of the profiler, you might ask yourself – why use ...

James Michael Hare has a lot of awesome C# and .Net related posts, so this is just a little shout out to him (and my own little way of bookmarking his blogs since GWG doesn't provide a way to "favorite" or "follow" him).  Of particular awesomeness is…

Read more at http://blog.danskingdom.com/sweet-c-gems/

A developer is asking how to pass data from a UserControl control to the main page. Basically, the scenario is that he has a user control which contains a GridView and wrap arround within asp Ajax UpdatePanel control. The UserControl will then be used at the page that is hosted within a master page. The page contains some TextBox in which it will be populated once the user selects a row from the GridView also on that page the Modalpop is defined. To achieve that, here's one solution I've provided ...
A listbox can be a very boring display surface, but it doesn’t have to be. Ok, so it may never be exciting. At least we can create a more flexible output. The first element you need to learn about his the ItemTemplate which is in turn composed of a DataTemplate. As this combo implies it is bound to each item/data row. We will start organizing your base layout with a Grid control. Within the Grid you can add a RowDefintions group. A RowDefinition helps when you want components to be stacked for a ...
Today the release candidate of Microsoft’s Silverlight 5 was released to the public. If you want to know “What’s new in Silverlight 5” then check out this page on Silverlight.net and continue reading the article below. Getting Started First, we are going to need to download the required tools to install the Silverlight 5 RC. Before getting started, please note that you can install the Silverlight 5 RC on top of the final release of Silverlight 4. If you have the Silverlight 5 Beta installed, then ...
After I released the MVVM Light installer, I got a note saying that parts of the installation failed on non-English systems (in that case a German installation of Expression Blend and Visual Studio). Specifically, what failed was the code snippets on Visual Studio, and the project and item templates in Expression Blend. Read the rest of this entry » ...
I have recently started to update a very successful SAP CRM integration I originally built 5 or 6 years ago. We have recently started the implementation of CRM 2011 so the business has decided to take the opportunity to change the data that they want to synchronize between the 2 systems. Luckily the integration is both modular and to a large degree dynamic. The core logic should remain relatively untouched and only the SAP and CRM connection dlls should need any real work. The changes to the SAP ...
Introduction By now, most of you have heard that Windows Phone 7 – Mango release will support Local Databases (SQL CE) using Linq to SQL. But what you probably haven’t heard much about is how to extract the .SDF that is created in isolated storage to your local computer and view the contents. I find this extremely important for debugging application and making sure my database is setup exactly like I want it. So, that is what we are going to do today. Getting Started with a sample application: For ...
In this Issue: Alex Golesh(-2-, -3-), Andrea Boschin, Peter Kuhn, Shawn Wildermuth, WindowsPhoneGeek(-2-), Jesse Liberty, Pete Vickers, Sumit Dutta, Asim Sajjad, Chad Campbell, Vikram Pendse, Michael Crump, and David Kelley. Above the Fold: Silverlight: "Silverlight 5 : Low-Latency Sound Effects" Vikram Pendse WP7: "Windows Phone codenamed "Mango" Training Course" Alex Golesh Shoutouts: Michael Palermo's latest Desert Mountain Developers is up My friends at SilverlightShow posted their top 5 for ...
To start, I love Red Gate Software’s Tools. I have loved them since the first time I started using SQL Backup and SQL Compare when I first started Geekswithblogs.net. I think they create quality products and have been a “Friend of Red Gate” for years. So know that this review is coming from a “fan boy” of sorts. What is SQL Compare? Well the name sort of says it all, this product compares SQL databases. But not just databases, but backups, snapshots, and source control using their product SQL Source ...
Recently I used Entity Framework 4.1 with Code First approach and step on a hidden rake. My application should create an SQL Server CE database file using supplied model classes. I created some model classes, one of the classes was declared as namespace MyProject.Models { public class Object { public int Id {get; set;} public String Name {get; set;} } } Then, I tried to declare property of DbSet<MyProject.Models.O... type in my class derived from DbContext: namespace MyProject.Models { public ...
Introduction Have you ever wondered how to update the Application Tile in your Windows Phone 7 Mango application? Me too. But before we dig in, let’s look at the properties of a Tile. Microsoft defines each one as listed below: Title. A string indicating the title of the application. The Title must fit on a single line of text and should not be wider than the actual Tile. Approximately 15 characters will fit in the title before being truncated. BackgroundImage. An image displayed on the front of ...
In this Issue: Gill Cleeren, Shawn Wildermuth, WindowsPhoneGeek, Erno de Weerd, Morten Nielsen, Sumit Dutta, and Asim Sajjad. Above the Fold: Silverlight: "Post Comments Using Silverlight" Asim Sajjad WP7: "Windows Phone 7 Navigation" Erno de Weerd LightSwitch: "Developing real-world applications with LightSwitch - Part 4: To query or to code, that is the question!" Gill Cleeren Shoutouts: Michael Palermo's latest Desert Mountain Developers is up From SilverlightCream.com: Developing real-world applications ...
If you are developing you WCF service for web service deployment under IIS and coding with the Visual Studio web server you are in for a rude awakening when it comes time to deploy your solution. Ok, so that is a little over dramatic, but there are a few steps and precautions you need to know about. Below are the main steps to deploying your application to IIS assuming WCF is already installed and registered. The first step is to create an application pool. Make sure that for your .NET 3.5 WCF service ...
In this Issue: Asim Sajjad, Thomas Martinsen, Johan Danforth, Kunal Chowdhury, Loek van den Ouweland, XAMLNinja, WindowsPhoneGeek, Erno de Weerd, Sumit Dutta, and David Yack. Above the Fold: Silverlight: "Update XAP file" Thomas Martinsen WP7: "WP7 Ad Control and OutOfMemoryException" David Yack Shoutouts: Michael Palermo's latest Desert Mountain Developers is up Den Delimarsky is working on an 'alternative non-approval based Marketplace for Windows Phone': [Weekend coding] MetroPack – desktop Cydia ...
This post is about using the AsyncOperationService with .NET Asynchronous Pattern. Warning: this is another article that is likely to give you a headache. Its designed to provide full details of how things work. If you don’t want the headache then, skim the article and copy’n’paste the code from the “FromAsyncPattern” box below (it assumes you already have AsyncOperationService code). Subsequent articles will outline more real world uses which may (and I say “may” very tentatively) not be so headache ...
Let’s define what this should mean and be about. How can I as an IT Pro be able to use TFS for the tasks and activities I normally do. Whether it is controlling a project or creating scripts and such. The vision while it goes into execution with TFS, will include a process with SharePoint somewhere in there too. Scenario #1: Change Control, Change Management or Specific no-code Project Control. As an IT Pro, what do I do? Change Control, Change Management, Project Management. The problem? Yes, we ...
It’s been quite a while since I’ve done a GeeksWithBlogs.net Influencers review. This time, I had the opportunity to check out Red Gate’s SmartAssembly 6.1, which is a integrated collection of tools for modifying and manipulating assemblies. Now that phrase, while accurate, is quite a mouthful. So what all does it actually do? SmartAssembly has the ability to: Do strong name signing; Add automated error reporting; Add feature usage reporting; Merge dependencies (e.g. libraries) into the main assembly ...
Apologies in advance for any problems caused as I move over to http://ericnelson.wordpress... over the next few days. I will blog again on here when the move is fully complete. I have had a superb time on http://geekswithblogs.net which I moved to back in January 2009 – but it doesn’t quite match what I am after in a blogging platform right now where as wordpress.com broadly does. This will be my second change of platform in 7 years – it was back in July 2004 I created my first technology blog over ...
In my previous post I have shown how we can use a C# function in the XSLT. Now I want to go one step further and use in the transformation the ASP.NET controls along with their events. Let's start from the sample xml data: <files> <file Id="F58C2962-AC0D-4C55-80A8... Name="file 1" Path="D:\Temp\" Extension="iso"/> <file Id="FDC1358E-D9C8-4A70-ABE0... Name="file 2" Path="D:\Temp\" Extension="jpg"/> </files> I want to create a table from it and for each ...
In this Issue: Andrea Boschin, Shawn Wildermuth, Kunal Chowdhury, Peter Kuhn, Loek van den Ouweland, XAMLNinja, Ollie Riches(-2-), WindowsPhoneGeek, John Papa, Den Delimarsky, and Sumit Dutta. Above the Fold: WP7: "Fun With New Live Tile API" Shawn Wildermuth Expression Blend: "Icons or other visuals with XAML instead of bitmaps" Shoutouts: Michael Palermo's latest Desert Mountain Developers is up Gill Cleeren posted his SilverlightShow Advanced Silverlight 5 webinar files From SilverlightCream.com: ...
Introduction: One of the concerns that I keep hearing from customers is, “We can’t deploy Silverlight because it won’t run on a tablet.” I usually reply to that question stating, “What do you mean it can’t run on a tablet?” They usually looked puzzled and say, “You mean Silverlight *CAN* run on a tablet?” Yes, there are many devices that Silverlight can run on. Today we are going to take a look at the Motion CL900 Tablet. FYI: I have no affiliation with Motion Computing. Why this tablet? When I first ...