Tag | Search Posts

My computer installed the latest google toolbar and everything was screwed up. Fonts and colors for searching?? Missing toolbar buttons?? I guess I should work at google where getting nothing done is working. Anyway I found a cryptic blog post about the "missing buttons" (http://www.google.com/supp... Apparently they did it for my own good and to clean up the toolbar. Under "More >>" the buttons are there. Click on them and they return to the ...
I try, I really try, to keep this blog as much about technology and as little about other topics, but honestly its too annoying to try and keep multiple blogs. So, here we are. As you can tell by the title, this will be a religious-based post. If you’re not down with that, that’s kewl…please view another of the fantastic tech-themed posts on my blog or on another GeeksWithBlogs contributor’s blog. Rob Bell. Rob Bell is the pastor of a church in Michigan. I actually used to mock Rob Bell because (sorry ...
Sometimes, the way that LINQ to Twitter materializes queries into entities isn’t immediately clear. It’s easy to get confused until you see the patterns or make a correlation between the Twitter API results and their representations as LINQ to Twitter entities. In this post, I’ll explain some of the logic behind the design of LINQ to Twitter entities and demonstrate an example of one of the more oddly designed entity types, Search. Note: They'll be talking about MVC3 during multiple sessions at Tech-Ed. ...
I haven’t been able to get my work email syncing with my Samsung Focus since I started the new gig due to some certificate issues. When I try to connect, I’m just told there’s a problem with the certificate. The real underlying issue is that the certificate for my work email isn’t installed on my WP7 device. Unfortunately, this ends up being a manual task that you have to perform, but its not a difficult one once you know what to do. Jerome Laban’s blog post talks about the root cause of the issue: ...
This article is a Part 4 of the Interview Questions series. Part 1: BizTalk: Questions for interview without answers Part 2: BizTalk: Interview questions and principles Part 3: WCF: Questions for studying and interviewPart 4: WCF: Questions for studying and interview: DiscoveryPart 5: WCF: Questions for studying and interview: Routing Service Part 6: BizTalk: Advanced Questions Q&A: WCF, Discovery · When the WS-Discovery standard gets approval first time? · Is the WS-Discovery using the XML format ...
After several months of research, review and revision, a white paper I wrote for the SQL Azure team, “NoSQL and the Windows Azure Platform”, has been published by Microsoft. If you go to http://www.microsoft.com/wi... and do a find within the page for “NoSQL” you’ll see a link for it. If you’d rather download the PDF directly, you can do so by clicking here. The 25-page (not including cover and TOC) paper provides an introduction to NoSQL database technology, and its major subcategories, ...
Ah, its all over the news. Some years back Microsoft was getting slammed for being heavy handed and they really learned a lesson. Last week it was and still is google. And this week its Apple. Turns out ios 4 is tracking us and storing that info on our devices. And the data is there in unencrypted form. Check out this news article: http://www.bloomberg.com/ne... This really ticks me off as I am going to buy an ipad 2 for a ...
Last week at MIX11, Preview 4 of WCF Web API was released. If you missed it, you can watch the video here. One way to get Preview 4 and start playing with it is to download it here. However, an even easier way to to just grab the bits from NuGet: When you download the latest Web API bits, there are a couple of sample applications that show off the latest features of the Web API (these are in the CodePlex download, not the NuGet packages). The first one is a Contact Manager “Simple” project which ...
This drove me nuts for a few hours, but finally figured it out. I wanted to go ahead and share, since the web results I found when I was searching were only a few pieces here and there, and still didn't offer a final solution. So the scenario I encountered was that I have a UIViewController that will sometimes host a subview (that is another viewcontroller) and it has a UITableView in it. The idea is that sometimes the user will tap a button, and it will add a subview of that UIViewController. Originally ...
I recently encountered the Ambiguous Symbol error, specifically: “error C2872: 'IMasterLoader' : ambiguous symbol” when using an interface I wrote in C# with a class built in C++. 1: namespace IMasterLoader 2: { 3: public interface IMasterLoader<T> where T : class 4: { 5: bool Load(T master, ref string strError); 6: } 7: } Code producing the error: 1: // LmCellSectorLog.h 2: #pragma once 3: using namespace System; 4: using namespace System::Collections::Generic; 5: using namespace System::Data; ...
A new release of Microsoft All-In-One Code Framework is available on April 16th. This blog introduces 14 ASP.NET and Azure code samples in the release. The rest new samples will be introduced next week. Download address: http://1code.codeplex.com/r... Alternatively, you can download the code samples using Sample Browser v3. The new Sample Browser gives you the flexibility to search samples, download samples on demand, manage the downloaded samples in a centralized place, and automatically ...
At the recent Mix 2011 conference the datajs team talked about this new cross-browser JavaScript library that makes writing data centric web apps easier. Its fairly simple to use and can be very powerful. Here is a quick application I threw together using the library. The code uses datajs, jQuery, jQuery UI and jQuery templates. Microsoft has an OData Service at http://live.visitmix.com/od... which exposes all Mix sessions. I used this source to get a list of all sessions using the datajs ...

A list of some shortcus and new features to VS 2010 and C# 4.0:

Read more at http://blog.danskingdom.com/some-visual-studio-2010-shortcuts-and-c-4-0-cool-stuff/

One of the questions I get asked most about WP7 is what the enterprise story is. With the initial release of WP7, there isn’t one…at least not like iPhone which offers an internal server application for distributing apps within an organization, or BlackBerry with their BEZ server. Currently all apps need to go through the AppHub marketplace for WP7. A friend of mine working on a non-public app worked around this by requiring a seperate unlock key to be used, but this isn’t practical over the long ...
MIX 11 happened this past week and I’m still trying to find and catch up on all the announcements changes that came from that. It looks like we can now use XNA on the web via Silverlight (and am I reading that we can do 3d?). We can now use Silverlight in our XNA projects with Windows Phone 7 (yay for having an easy way to make UI’s in XNA now!). And I’m still searching around to see if there were any other big news. The Silverlight + XNA news is pretty big because that opens up a lot of new game ...
I realized that I’ve given several people recommendations on how to deal with resuming a game from tombstoning on Windows Phone 7 over Twitter in the past month or so. So I figured I would write up my thoughts on it. There is no perfect and objectively correct solution. But there are certain common sense things that I believe will help make every gamer’s experience great. First: Read these: http://msdn.microsoft.com/e... and http://create.msdn.com/en-U... ...
Microsoft All-In-One Code Framework Sample Browser v3 was released today, targeting to provide a much better code sample download and management experience for developers. Install: http://1code.codeplex.com/r... (a tiny ClickOnce install) Background of Sample Browser v3 Last month, we reached the milestone of releasing Sample Browser v2, whose features focus on providing better experience for browsing and searching around 600 code samples of Microsoft All-In-One Code ...
Since my blog is mainly about Silverlight, WPF and Windows Phone 7, I decided that I’d make a recap of today’s MIX 11 Event for those of you who missed it. I only included things that I thought were big enough to mention to not waste any time. Of course, you can check out the keynote yourself by visiting the MIX Site. MIX11 Day 2 – Windows Phone 7 – “Mango” update coming shortly. Microsoft showed a fan-made video that if enough people like it Microsoft will make it a Television commercial. They are ...
I am very excited to help share this news with you today! I feel as excited today as I was when Windows Phone 7 developer story was revealed at MIX10 last year. I see so many more application scenarios with the new tools and features in Windows Phone 7. There has been a few announcements made at MIX11 – let me recap some of what I find important. There was not a disclosure or showing of any new end-user features. There is a commitment to delivering the next update later this year as a free updates ...
In one of the pages of my SharePoint application, I added a Links web part (web part that shows the contents of the a links list). Pretty simple. Then, I se tthe "XSL Link" property so that the results were customised in a certain style. Then I got this really strange error: Attempted to use an object that has ceased to exist. (Exception from HRESULT: 0x80030102 (STG_E_REVERTED)) After some searching I understood it meant that the current SPContext could not be accessed. I then realised that another ...
I was looking for a web part that would provide me some sort of navigation inside wiki pages, and I installed a 3rd party farm feature. It didn't really do what I was looking for and I uninstalled it. Afterwards, any page in my site collection gave this error: [PolicyException: Required permissions cannot be acquired.] System.Security.SecurityMan... evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Boolean checkExecutionPermission) ...
Client + cloud computing is a disruptive, new computing platform, combining diverse client devices – PCs, smartphones, sensors, and single-function and embedded devices – with the unlimited, on-demand computation and data storage offered by cloud computing services such as Amazon’s AWS or Microsoft’s Windows Azure. As with every advance in computing, programming is a fundamental challenge as client + cloud computing combines many difficult aspects of software development. Orleans is a software framework ...
I have been busy refactoring a legacy application where there are numerous blocks of code that are identical. To make the code more readable I wrote a sub function that performed the block of code and then I wanted Visual Studio to parse may file and replace any occurrence of that block of code with a new string. Originally I got stuck as it seemed VS2010 only allowed a single line replace, however after a bit of searching I found out that thankfully it does support multiline replace, it is just ...
A little while back we published the Search Work Items for TFS 2010 extension in the Visual Studio Gallery. Noah Coad recently added Cory and I as Developers on the existing Search Work Items CodePlex project. Over the weekend I uploaded the new source code containing our Visual Studio and TFS 2010 updates. Feel free to check out the source code. You can run the code locally but just be sure you have the Visual Studio 2010 SDK installed and you are pointing at your experimental instance of Visual ...
I released my second Windows Phone 7 application on March 23rd, 2011. It was called FullScreen Browser. It was a web browser that I had originally created for myself as I mentioned on the WP7 Dev Podcast. I decided to submit it to the marketplace and see if other people found it useful. The app was not polished at all and to be honest it should have had “Beta” on it. The biggest complaint was no backwards and forwards buttons on the browser. Other things that people complained about was that the ...
Well, another Philly Code Camp has come and gone, and it was a great time. I made it a one-day trip, which I think I'm getting too old to keep doing. Left the house at 4 AM from Pittsburgh, made it to Philly by 8:15 AM; I left around 4 PM and got home by 9 PM (no thanks to my TomTom, which took me on a scenic tour of old town Fort Washington). I was expecting a nice and relaxing day at Philly Code Camp where I had one talk (A Beginner's Guide to LINQ) at 2 PM; but I got an email from Marc Ziss asking ...
While connecting to Lotus notes database from dotnet application using Interop.Domino dll, I was getting the following error. (“Retrieving the COM class factory for component with CLSID {29131539-2EED-1069-BF5D-00... failed due to the following error: 80040154”) When i installed Domino Server setup we the issue was solved. But unforunately this will not roll out as we might have to run the migration application in different machines. After searching a lot i net i found an article in IBM site ...
Recently, while browsing Visual Studio extensions I came across the SharpKit tool. It sparked my curiosity as I'm always looking for ways to improve my jQuery and Javascript in general. Working off the example in my previous post about Updating the Content of a WebGrid async we can generate the same Javascript via the SharpKit project. First, head to theSharpKit site to download and setup your first project (check out the Screencasts). Or search "jQuery" in Visual Studio 2010 extension manager. So ...
What a crazy week! Big game releases from the XNA Community, podcasts, reviews, interviews, new educational content being posted and all sorts of upcoming titles that I’m excited about. If there was ever a week that I missed stuff, this was the week. Seemed like every time I glanced at twitter or checked my RSS feeds there was some interesting and new XNA thing going on. No need for me to try and convince you, just like at the size of this weeks XNA Notes! Time Critical XNA News: Making Windows Phone ...
My colleagues in the UK Bing team are running an event at Tech Days for the first time. The intention is to cover the latest on Bing and Bing Maps APIs, providing a great update on how the tools can be used, and showing examples of some new and powerful applications. The event has some great speakers from the UK and from Microsoft Corporation – all of whom are experts in their field. We will be covering the Bing design philosophy, the Bing API, our Webmasters Kit for Search Engine Optimisation and ...
Welcome to my fantastic blog, and very first blog post! In my first post I thought I would share my first experience with the .NET dynamic data type, while doing some Silverlight binding. The scenario is I have a View, ViewModel and Model project. My Model project gets data from a WCF service, and sets the appropriate properties in the ViewModel. There's an ObservableCollection property in the ViewModel bound to a DataGrid in the View. The data in the ObservableCollection can be filtered through ...
Well, it's official. Rules Fest 2011 is on track for October. The web site has been launched and the "Call for Speakers" has been published. Welcome to the world’s premier technical conference for reasoning technologies. http://rulesfest.org/html/h... Building on the success of last year's conference, this year will be bigger and better in every way. We’ve hired a larger venue - the Hyatt Regency in Burlingame, just south of SFO. We really loved being at the Dolce Hayes last year (warmly recommended), ...
Leadership Veracity consultants are an interesting group of people. We have some of the best and brightest people working to help our customers deliver great products to their customers. While there are a lot of consulting shops in the industry, most are not like Veracity Solutions. Many shops simply want to put a body into a chair. They offer cheap hourly full time employee replacements (contractors) instead of people that can actually help their business be successful. Veracity, on the other hand, ...
In the run up to Microsoft’s MIX conference, next week in Las Vegas, a new post on the Silverlight Team Blog from Microsoft Developer Division VPs Walid Abu-Hadba, Scott Guthrie and Soma Somasegar prov ides new clarification of Microsoft’s position on Silverlight and HTML 5. Read the post and interpret it for yourself. My take is this: given the current landscape of Smartphone and tablet OSes, only HTML 5 can let you reasonably target all of them, so Microsoft’s going to bring you greatly improved ...
We have just released a free extension for Visual Studio which adds a Builds Explorer with folders to the Team Explorer. The extension can be downloaded from Visual Studio Gallery or just search for Inmeta in Tools/Extension Manager. The documentation and issue tracking can be found at the codeplex site for the project http://tfsbuildfolders.code... and source code is available there. The Build explorer is based on using a convention of separators in the build definition names. See Brian Harry’s ...
$p4= "C:\Program Files\Perforce\p4.exe"# need to be changed $path="C:\dev\www"$oldValue... need to be changed Write-Host "Searching for : $oldValue"Write-Host "Replaced value: $newValue"$count=0dir $path -Recurse -Include *.aspx, *.ascx| ForEach-Object{ $text=Get-Content $_.FullName; if ($text -match $oldValue) { &$p4 edit $_.FullName $text=$text -replace $oldValue,$newValue set-content $_.FullName -value $text $count++ }}Write-Host ...
I have to replace align=”right” to align=”left” of all <td> in all files in the whole project. Consider the following html <table> <tr> <td align="right" style="border: 1 solid black"> cell1 </td> <td style="border: 1 solid black" align="right"> cell2 </td> <td id="td01" align="right" style="border: 1 solid black"> cell3 </tr></table> Work breakdown: How to replace in single file how to replace in multiple files How to replace in single ...
In this Issue: John Papa, Rudi Grobler, Michael Washington, Jeff Prosise(-2-), Xianzhong Zhu, Nigel Sampson, Martin Krüger, WindowsPhoneGeek, Vinit Yadav, András Velvárt, and Alex Sorokoletov. Above the Fold: Silverlight: "Response.MVVM is now available via NuGet!" András Velvárt WP7: "BounceBall - XNA Farseer Magic" Vinit Yadav Lightswitch: "LightSwitch Online Ordering System" Michael Washington Shoutouts: Cigdem Patlak has a post up about the ROCK! event beginning next weekend in LA: Microsoft ...
In this Issue: Roy Dallal, Rudi Grobler, Jeff Prosise(-2-), Jesse Liberty, Morten Nielsen, Derik Whittaker, Peter Torr, Xianzhong Zhu, and Adam Kinney. Above the Fold: Silverlight: "Silverlight: Adding Google Streets View" Roy Dallal WP7: "Using the accelerometer to control planar transforms on Windows Phone 7" Morten Nielsen Shoutouts: Andy Wigley posted this today from appamundi: Want a FREE Windows Phone?? From SilverlightCream.com: Silverlight: Adding Google Streets View Roy Dallal posted an ...
Daniel Vaughan (not Daniel Vaughan or Daniel Vaughan) and Katka Vaughan have created Surfy, a free tabbed web browser for Windows Phone 7. It sports tabbed browsing, full screen view, orientation locking and search in the address bar while entering text, to name a few features. Well worth checking out ...
WCF services under Azure have a nasty habit of not really telling you what you need to know. Having fought through this – and having been challenged to find exactly what I needed in a Google search, I thought I’d add some more specific info here. Before I do, let me say thanks to Steve Marx, whose blog posts and forum answers pointed me in the right direction. Here are the exceptions that surfaced: ConfigurationErrorsException: Could not create Microsoft.WindowsAzure.Diag... ...
XNA Games in Windows are hosted within a Windows Forms Form. This allows you access to many special Windows-only features, such as drag and drop, provided that you know the right code to put in to get access to that form. Someone on the App Hub forums had asked earlier today about how to enable drag and drop for a Windows-only XNA game. Since it sounded like a neat thing to learn how to do, I coded up a quick sample to display it. As always, the code is heavily commented so that it should be easy ...
We noticed some very odd, random behavior in our environment specifically with Exchange 2010 ActiveSync and Outlook Web App. Some of our mobile devices had trouble synchronizing email (problems with connecting, direct push wasn’t working properly). Some of our users had trouble connecting to Outlook Web App. Some of our users using Outlook Web App externally were inadvertently connecting to other user mailboxes that they did not have permission to and, not to mention, a serious security breach (I ...
In this Issue: Roy Dallal, Mike Snow, Jesse Liberty, Chris Koenig, John Papa, Jeremy Likness, Michael Crump, Chris Rouw, and Beth Massi. Above the Fold: Silverlight: "Clean Design-Time Friendly ViewModels: A Walkthrough" Jeremy Likness WP7: "WP7 Insights #3: Storing User State - Activating and Deactivating" Chris Rouw Shoutouts: Shawn Wildermuth announced a new version of his "Phoney Tools": Phone Tools v0.6 Released - Breaking Change! ... breaking changes and some new stuff too. Takeshi Eto at DiscountASP.NET ...
UPDATE: Scott Hanselman has a NuGet package to automate many of these steps and you should check it out, http://www.hanselman.com/bl... This is in continuation with Part 1 of the article, so you may want to check it out before reading this, in case you haven’t already. Next, we need to enable the Global.asax. We will open up the Global.asax and add the following two references in the namespaces ...
Well, will you look at that - no sooner do I write my first blog about an extension method I've written for accessing deployed Assemblies and Types, than I discover today that it doesn't actually work quite how I intended it. Excellent! The issue is in scenarios where assemblies are copied into a deployment directory as and when they're needed, which I attempted to work around in the original version by calling GetTypes() on all the Assemblies which are found. That gave me the following problem: ...
While converting some MySql databases to SQL Server I ran across this function. Confused by the lack of hints to its purpose in the name I did what any red-blooded IT person would do… look it up. It turns out that this function turns the string representation of an IP address into a long integer. What good that does I am still not sure, but here is the jist of the operation. (octet1 * 256^3) + (octet2 * 256^2) + (octet3 * 256) + octet4 Simple enough, right? Now for the real question. What the heck ...
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 ...
This code didn't quite work how I intended, so I've updated it in a follow up blog. So - first post - might as well start with an extension method of mine I've found rather useful recently. It returns a collection of Types from all locally-deployed Assemblies, optionally filtering by Assembly and Type. It's an extension method on Assembly, so if you wanted to get all the available Types which implement the IService interface, you could call IEnumerable<Type> services = Assembly.GetExecutingAssemb... ...
Now this might be sacrilege to some, and a blessing to others. Through using Objective C, I realise that I really miss the ability to do C# quick and easy string manipulation, like - IndexOf Trim Replace Substring Split etc. For my own sake, I’ve begun working on some functional equivalents. So far I’ve got - (NSInteger) LastIndexOf:(NSString *)searchstring; - (NSInteger) LastIndexOfI:(NSString *)searchstring; - (NSInteger) IndexOf:(NSString *)searchstring; - (NSInteger) IndexOfI:(NSString *)searchstring; ...