Tag | Microsoft Posts

Great! You have reached that point where you would like to extend TFS. The first step is to connect to TFS programmatically. Download: Working Demo - VS 2010 Working Demo - VS 2012In this blog post I’ll be showing you, How to connect to TFS programmatically using TFS 2010 SDK How to connect to TFS programmatically using TFS 2012 SDK DLL references required to connect to TFS programmatically Connectivity classes & scope How to establish a connection interactively How to establish a connection ...
Hopefully nothing. But if you have to do more than simple XCopy deployment and you need to support updates, upgrades and perhaps side by side scenarios there is no way around MSI. You can create Msi files with a Visual Studio Setup project which is severely limited or you can use the Windows Installer Toolset. I cannot talk about WIX with my German colleagues because WIX has a very special meaning. It is funny to always use the long name when I talk about deployment possibilities. Alternatively you ...
If you still didn’t explore Extension Manager under Tools in Visual Studio 2010 now it’s the time! VS2010 can be expended to include add-ons you wish to have. The Extension Manager list is pretty extensive, where most of them are ‘still work in progress’ tools but, at least, it is worth trying. Listed below are top ranked ones that should help to enhance your coding experience: · Productivity Power Tools – set of small gadgets: Auto Brace Completion, Quick Access, Column Guides, Align Assignments, ...
The Kinect is awesome. From day one, I’ve said this thing has got potential. After playing with several open-source Kinect projects, I am please to announce that Microsoft has released the official SDK beta on 6/16/2011. I’ve created this quick start guide to get you up to speed in no time flat. Let’s begin: What is it? The Kinect for Windows SDK beta is a starter kit for applications developers that includes APIs, sample code, and drivers. This SDK enables the academic research and enthusiast communities ...
The .NET Base Class Library (BCL) has a wide array of collection classes at your disposal which make it easy to manage collections of objects. While it's great to have so many classes available, it can be daunting to choose the right collection to use for any given situation. As hard as it may be, choosing the right collection can be absolutely key to the performance and maintainability of your application! This post will look at breaking down any confusion between each collection and the situations ...

Wow: http://e3.gamespot.com/press-conference/microsoft-e3/

Unreal. XBOX is changing the world.

There is so much there its wild.

The current xbox is really wild too. I love the racing games and more. The video is just awesome.

Since the demo of Windows 8 given by Microsoft Vice President Julie Larson-Green at the recent D9 conference windows developers have been described in many articles as feeling "Horrified" "Worried" "Deeply Concerned". Why? From the demo it seems that the new Window’s 8 ‘immersive’ applications will be based on HTML5 and JavaScript – which means for experienced win devs who have invested years in learning windows development platforms, they will now have to ‘re-train’ if they want to create these ...
I have seen the rx demos by Bart De Smet and was blown away by the potential that I think they hold – however I just haven’t had time up till now to have a look at them in any depth. Today I finally set some time aside and got a 10 000 foot view of them. So my plan is for the next few days to develop an application in WPF that makes use of reactive extensions as a dummy project… Today I just wanted to get the basics working, and after going through an very good lab on rx was able to get a very basic ...
Released today. Updated HTML5 support and CSS 3 and more new APIs to JavaScript intellisense. Installed without a hitch http://visualstudiogallery.... ...
The approach takes advantage of the SP 2010 OOB Session Token handler and FBA claims provider implementation that during a period of token lifetime, if there is activity during the period of time that can be defined as "EW" in the image in the section "Background" below, that the SPSecurityTokenManager will, with the FBA provider, reissue a Session Token with new SessionToken ValidTo and ValidFrom times without forcing a re-challenge for user credentials (username and password). Additionally, it ...
I registered a domain name today: (dearpeeps.com, dearpeeps.net, dearpeeps.info & dearpeeps.org) for an idea… The idea came to me this morning on the bus. Idea: Where could you go if you want to ask a question about something that you’d feel like sounding out a friend about? You could go to a particular forum, you could maybe go to a craigslist discussion, or a google or yahoo discussion… but each of those choices involves going to a part of a bigger whole – and a fair amount of people wouldn’t ...
I’ve written a couple of posts about SharePoint 2010 Administrator training/learning, so I thought I should follow up with some tips for developer training as well…. Microsoft has two exams for SharePoint 2010 developers. The first is Exam 70-573, Application Development. The second is Exam 70-576, Designing and Developing Microsoft SharePoint 2010 Applications. Those links cover the topics for each exam as well as some Microsoft preparation materials. One of the best sites, and one that I relied ...
I wrote a post last August with details about what materials I used in order to study for the two Microsoft SharePoint 2010 Administration Exams (70-667 & 70-668) : http://kellydjones.com/arch... This question still comes up a lot, so I thought I’d post an update with some more learning materials. First, I’ve recently discovered Safari books online. Safari books online has a lot of SharePoint books, including Wrox books – which I’ve found that I keep gravitating to. There’s ...
The chances are pretty high that you are creating a multi-tiered application with a solution that may be calling several different projects, one of which is the ADO.NET Entity Framework DAO-layer. In order for the entity frame work to work outside the immediate project that its been created under, you'll have to import the connection string built by the EF wizard at create time to your other project's application or web config file. Here's an example. I have two projects under a single solution, ...
MVC 3 is becoming hugely popular thanks to Razor and the Helpers that make building web applications much easier. One of the common requirements in web development, both with web forms as well as MVC based development, is the cascading dropdownlist. Now, for Web Forms, we can use a variety of options viz. server side programming, jQuery or using the AJAX Control Toolkit’s cascading dropdownlist control for accomplishing this. I saw a few samples on the internet that used the erstwhile Microsoft AJAX ...
I had a distinct pleasure of catching up with Russ Fustino of Toolshed fame who is the new amazing community leader for GrapeCity while I was at TechEd11 I was invited by Microsoft to help with Microsoft Expression Blend booth (more on that). Check out the entire blog post and video: GrapeCity Russ Cam Episode #8 (Video) / TechEd Atlanta 2011 – Part 2 (blog) Scott Hanselman, Microsoft Principal Web Community Architect, Mary Jo Foley, author of the “All About Microsoft” Blog on ZD NET , Colin Blakey, ...
Our database has a few lookup tables that uses similar approach to implemented by .Net Framework for localized resources: At run time, ASP.NET uses the resource file that is the best match for the setting of the CurrentUICulture property. If there is no match for the current UI culture, ASP.NET uses resource fallback. It starts by searching for resources for a specific culture. If those are not available, it searches for the resources for a neutral culture. If these are not found, ASP.NET loads the ...
Preamble Microsoft’s first introduction of upcoming Windows 8 spurred lots of discussions among developers. The most noticeable part of the demonstrations at D9 conference and Computex show, as well as on YouTube, is, of course, the new touch-centric UI. So why is it controversial among developers? Let’s take a look at Microsoft’s press release: Today, we also talked a bit about how developers will build apps for the new system. Windows 8 apps use the power of HTML5, tapping into the native capabilities ...

At http://ubelly.com/2011/06/free-webmatrix-e-book/ there is an e-book on Microsoft Web Matrix that is free to download.

In this article we will use ASP.NET MVC 3 and the Windsor Container to explore ideas around modular software design. The principal aim of this guide is to show you how to store controllers and views in a separate assembly and load them at run-time. /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; ...
When I was at TechEd 2011 in Atlanta, I had the pleasure of meeting a bunch of the DevExpress folks and working out some of the details for a series of Windows Phone Development webinars. Here they are, for your viewing pleasure: #1 Introduction to WP7 Development with Silverlight and XNA - http://tv.devexpress.com/#W... #2 Deeper Dive Into XNA on Windows Phone - http://tv.devexpress.com/#W... The source (in C# and VB.NET) for the demos in this talk can be found in my book, or ...
One of of my colleagues wrote a LINQ query similar to the following: var q=from i in keys select GetTuplesOrPossibleNull(i) into kvp orderby kvp.Item2 select kvp; I’ve noticed, that for some data it throws null exception on kvp.Item2 in orderby statement. It was found that calling function sometimes return null instead of expected key-value pair. I thought where I should insert check for null and my first idea was to add check in where statement before select function call, something like the following ...
Friday June 17th, 2011 there will be a Windows Phone Garage event. It will be held at Immedion at 78 Global Drive, Suite 100, Greenville, SC. There are only 40 spots, so register now at http://www.eventbrite.com/e... The idea behind the Windows Phone Garage is simple. Come out, install the tools, learn how to write a Windows Phone application, then build one. Best of all, it's free, and everyone is invited! The second half of the day is an open lab, and assistance will be available. ...
Technorati Tags: TFS 2010 Database,TFS 2010,TFS 2010 Administration Considering you have an advanced TFS installation such that the app tier and the data and reporting tier are spread across multiple servers and the data tier goes down because of a network failure. The below error message may seem familiar, Team Foundation Services are not available from server xxx. Technical information (for administrator): Unable to connect to the remote server. Now your first reaction would be to verify whether ...
I figure it should be in bloody good fun to start off my first real post with a rant on the future of Microsoft Windows, or the lack thereof. You see, my issue is that I have seen the preview of Windows 8 video. It is just further evidence of the fact that Microsoft still does not “get” our issues with the OS. I don’t need a new skin on my OS, I need new and more secure plumbing that actually works. Don’t put the OS into tiles and call it fun. Redesign the bloody thing to make it more secure, easier ...
Today a new Template for Microsoft Expression Blend SketchFlow was released – Windows Phone 7 SketchFlow. Do you have SketchFlow? [If not download the 60-day trial] the new Template can be downloaded from here: http://wp7sketchflow.codepl... With the new SketchFlow template you can create very interactive prototypes that feel like native Windows Phone 7 experiences. Here is the list of the Mockups for Windows Phone 7 that do more than your typical Textbox-Sketch: A long time SketchFlow and Blend ...
Just ran across an issue where the miniport devices were accidently removed from a system. Not having these installed caused the system to have network driver installation and connectivity issues. Here are the steps to re-install WAN miniport devices Step 1: Uninstall WAN Miniport Devices 1. Open Device Manager (devmgmt.msc) and on the view menu select Show hidden devices 2. Under Network adapters, you will see WAN miniport devices (IP, L2TP, Pppoe, PPTP). If you don’t see these, skip to the Step ...
Well it works ! Here is a simple game using the Fex Panda with 10 LEDs wired to Digital ports 0-9, using the on board button for input. The LEDs scroll Knight-Rider-Style and you have to press the button when the left hand led is on. The game keeps speeding up until you fail and then displays your score before restarting. It only too an hour to write and works a treat. Click the YouTube Link to see the game in action using System; using System.Threading; using Microsoft.SPOT; using Microsoft.SPOT.Hardware; ...
I just have to write about design data because it makes my life so much easier. More than I could imaging before I started to use it. There are two ways for creating design data; Either you let Expression Blend do it for you or you just write your own in visual studio. Basically it is a xml file representing your model. Creating The fast way: - Right click a view (or any xaml-file) in your project and choose "Open in Expresion Blend" - Click here: - Choose "Create sample data from class" and then ...
SQL Tidbits Have you ever had a need to see storage information for all your databases in a SQL Server? As they say there are many ways to skin a cat all based on your need. Back in the day I was taught to use SYS.SYSFILES, its handy and it does give you what you need but suppose you wanted a picture of your entire SQL Server? Then this solution is not viable that’s when we divert to SYS.MASTER_FILES according to MSDN http://msdn.microsoft.com/e... this system view contain ...
Hopefully you don’t deal with this often. But if it does happen. A couple of things to keep in mind. The steps to 1) rename a server 2) potentially needing to transfer logins. Mind you my reference and examples here are for Stand-alone Instances. There are at least 2 options for each. The ones that paid off for me are: Renaming sp_dropserver <old_name> GO sp_addserver <new_name>, local GO Followed by a: Select @@SERVERNAME Reference from: http://msdn.microsoft.com/e... ...
NOTE: The variable PropExists as bool has been already created The Property of interest is BTS.RetryCount The Message is Message_In The list from Using Operators in Expressions (http://msdn2.microsoft.com... has the typical list of stuff that you expect in C#, multiplication, bit operations (shift left and right) and Boolean operators, but a couple of extremely useful constructs are available that are unique to BizTalk. The most important of these (in my humble opinion) ...
It is no big news that whatever the architecture you plan and implement, soon or later you'll start to see some code "bad smells". In the early phase of implementation you might do some team training and explain how your developer team should write code using the planned architecture and design (patterns). Despite this effort, you cannot expect people to just follow your implementation recommendations every time. At first, you might consider using gated-checkins or CI builds with VS code analysis. ...
Expert Days is an annual software development conference held by E4D in Israel. This year, for the first time, some of CodeValue’s experts have joined forces with E4D and are participating in order to give you, the attendee, the best possible value. If you are a software developer, software architect, team leader or somehow interested in the hottest available Microsoft technologies – this is definitely the conference you want to be at. The conference is held on 10/07/2011-14/07/2011, and there are ...
When determining infrastructure requirements for a client often the question of whether to use BizTalk Standard or BizTalk Enterprise comes up. If the client is a small enterprise with limited redundancy and scaling needs the Standard Edition of BizTalk should work fine. If the client requires any redundancy or scaling then Enterprise is almost certainly necessary. In other words if your requirements dictate that you require more than one BizTalk server you will need the Enterprise Edition of BizTalk ...
In Visual Studio I’ve started the application with debugging(F5) and then tried to click url in one of the source code comments. After opening URL within VS I suddently start to receive dosens of messages like the following for each breakpoint that I have: --------------------------- Microsoft Visual Studio --------------------------- The following breakpoint cannot be set: At MyClass.cs, line 836 character 6 ('Namespace.MyClass.MyFunct... line 17) Unknown error. --------------------------- OK ...
In the month of May we met again for the .NET Usergroup, and I presented some introductory material into software design and architecture. The talk was aimed at looking into new ways of software design and managing of complex software components by using domain driven approach. I talked about best practices, coding patterns and DDD, TDD and DataObjects.NET (http://dataobjects.net). I advocated for best practices presented by the best practices team http://msdn.microsoft.com/e... ...
I needed to validate customer email addresses. Many articles suggested to use different regEx , but they are not the same and not easy to identify, which is the best. So i decided to use MailAddress, which throw exception if MS implemented validation failed. It world be good if the class would provide Validate or TryParse method to avoid costly exception. /// <summary> /// //// Validating E-mail address /// </summary> public static class MailHelper { //TODO: use Reflector or find some ...
A couple of years ago, I used 'something' to encrypt the connectionstring on a production server. But I never wrote anything down about it. And in the other projects I did later, I never had deploy to the production server. Yesterday, I had to use it again but I couldn't find it. Why? Because I never wrote about it. This blogpost is copy of Chirag Darji post about the encryption of the connectionstring in web.config. All credits to him! The most sensitive information stored in web.config file can ...
I wanted to get familiar with SharePoint 2010 because I have noticed how the market is starting to demand it. Also, most of the SharePoint 2010 guides on the net are outdated. They show everything from registry hacks/editing xml files to installing hot fixes/service packs. My guide uses the latest bits as of 6/7/11 to create a SharePoint 2010 server inside of an Virtual Machine. This will be more than enough to begin creating Silverlight Web Parts inside of SharePoint 2010. NOTE: I did not want to ...
If you were at TechEd 2011 in Atlanta, you likely heard or saw what is coming in the next release of the Visual Studio product line and technologies. Here is a summary of some of those items: Visual Studio Roadmap http://www.microsoft.com/vi... The Future of Microsoft Visual Studio Application Lifecycle Management Presentation from TechEd http://channel9.msdn.com/Ev... ...
Recently I was building a VM for a BizTalk 2006 R2 project. My VM configuration was : Windows 2003 R2 SQL 2005 with SP4 Visual Studio 2005 with SP1 BizTalk Server 2006R2 I installed the BizTalk Server 2006 R2 SP1 update from the Windows Update. Life was good so far. Next I got requirement to use WCF SQL adapter and there I went and started installing the pre-requisite for it. 1. WCF LOB Adapter SDK SP2 2. Microsoft BizTalk Adapter for SQL Server. After that I went and tried to Add the Adapter metadata ...
Yes, Microsoft is getting quite a reputation for abandoning or deprecating it's data access products/libraries. One thing you can do is download a 3rd party product called dotConnect by DevArt. The express edition is free. http://www.devart.com/dotco... ... however, if you are working in a shop that doesn't like its development team to use not well known third party tools, there's an alternative--but it still requires that you go to a non-microsoft source. Use Oracle.DataAccess.dll ...
Workflow 4 State Machine – Distributed Tracking Visualization · Disclaimer: This post requires an understanding of WF 4.0.1 , WCF and WPF. · Before I explain the how, look at the following image for the what: I am debugging a REMOTE workflow STATEMACHINE instance, and from tracking information sent from server, I am able to highlight the current state in my client! Visual Workflow Tracking Sample – a Big Ball of Mud · Workflow 4 provides the System.Activities.Presentat... class which ...
In the next generation of SQL Server, codename “Denali”, there is a new feature named Data-tier Application Framework v2.0 Feature Pack CTP to enhance the data import and export with SQL Server, and currently it had been available in SQL Azure Labs. Run Data-tier Application Locally From the portal we know that the Data-tier Application CTP2 can be executed from the development machine through an EXE utility. So what we need to do is to download the components listed below. Only one thing, the SQLSysClrTypes.msi ...
Check out the Top Five most popular news at SilverlightShow for SilverlightShow Top 5 News for May 30 - June 05, 2011. Here are the top 5 news on SilverlightShow for last week: Windows 8 apps going html/js HTML5? Ok, so let’s also deploy Microsoft Silverlight onto Android then Windows Phone 7 SQL CE – DataContext Tables Telerik Announces Support for Windows Phone 7 Mango, Ships the Fastest WP7 Chart Yet Another Podcast #37 Silverlight HTML5 & Developers Part 2 Visit and bookmark SilverlightShow. ...
Thanks to Brian Hurst and Microsoft for the fantastic Ken Schwaber/Richard Hundhausen talk at the Reston, Virginia Microsoft facilities in April. It was refreshing to see Ken Schwaber take a fundamentally different approach to "the Scrum talk". He focused on the body of software development research, and how the results of this research leads us towards certain sounds practices - which are also tenants of Scrum. I will blog more about some of the key points I took away from the talk, but for now ...
In a previous post, I talked about how to build your own custom Media Type Formatter with the WCF Web API. In this post, I used HAL as the media type to expose an API for Nerd Dinner. There are a core set of guiding principles to building RESTful services and one of those principles is that documentation efforts for a service should be focused on defining the media type(s) and link relations that the service uses. While it’s important to have a consistent pattern for URI design, it’s really not that ...
This is a quick introduction to moving from our own internal assembly repository to using NuGet. It’s terse for a reason, just a note to self and those I work with: What we had One source of builds external to our code repository Didn’t check in external builds Used DVCS to share single feed Rake task to update and copy latest builds local checkout (this location is excluded from VCS) Automatic updates if changed in central repository and version not incremented Caused problems when changes were ...
Technorati Tags: TFS 2010,TFS Power Tools,UnShelve Often i have seen fellow developer working on one branch and later realizing that they intended to check in the code in a different branch, a simple example, working on the MAIN branch and later realizing that the code needs to be checked in to the QA branch. TFS power tool comes to your rescue… when you need to unshelve to a different branch. The power tool command /> tfpt.exe unshelve can be handy for the following, Allows a shelveset to be ...