Tag | MSDN Posts

As of today, the official release of Lightswitch is now available. Visit: http://www.microsoft.com/vi... or you can download from your MSDN subscription. What is Lightswitch? It is basically a simple to use application generator that can be used to build applications within minutes in many cases. If you have an existing, well structured (primary keys, relationships) SQL Server database you are just a few clicks away from an administration tool and well on the way to a full ...
This is a recent question I ran into on the MSDN TFS Forums. Made me think why I use it and how to make it effective. Here is what my response to this was … “My #1 justification is the fact that when you are looking at TFS source control is not all it does. TFS has the benefit of enabling a solutions team with different roles the right level of visibility. Not everyone will use Visual Studio, for example project managers. In many cases Visual Studio can intimidate the individual. When deployed with ...
We are proud to announce the arrival of a key milestone through the All-In-One Code Framework project. With strong partnership, dedication and commitment, and big supports from the community, All-In-One Code Framework has now exceeded its Fiscal Year 2011 ? target of 1 million downloads - 10 times over our last year's download number! All-In-One Code Framework reduces the efforts of developers in solving typical programming tasks. Sample codes are made available for download; reducing the time developers ...
In this Issue: Rob Eisenberg, Kunal Chowdhury(-2-, -3-), Pavan Podila, Beth Massi, Andrea Boschin(-2-), David Kelley, Dhananjay Kumar, SLMPerf, Jaime Rodriguez, and Vikram Pendse(-2-). Above the Fold: Silverlight: "TIP: Routed events in Silverlight" Andrea Boschin WP7: "Useful Mango Developer Resources" Jaime Rodriguez HTML5/WP7: "Building an HTML/HTML5... Based Application for Phone 7" David Kelley Shoutouts: Mark this one just for fun... Rudi Grobler has a WP7 app of Duke Nuken Sound clips: Duke ...
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 ...
Kevin Williamson has a great post on the overall flow of things from the point of publishing of your package up on the Windows Azure Developer Portal to Run(). These are good things to know as many times you need to inject steps, tasks, context at various stages of your service instance’s lifetime. http://blogs.msdn.com/b/kwi... Windows Azure Role Architecture - Windows Azure - Troubleshooting & Debugging - Site Home - MSDN Blogs ...
In this Issue: Kunal Chowdhury, Joost van Schaik, Xpert360, Tony Champion, Paul Sheriff, Vangos Pterneas, Jesse Liberty, Jeremy Likness, Mike Taulty, and Pete Brown. Above the Fold: Silverlight: "Binding on Style Setter in Silverlight 5" Kunal Chowdhury WP7: "Debugging Windows Phone 7 device network access with just a laptop" Joost van Schaik Training: "MVPs Chat It Up on Twitter - Tony Champion's Pivot of the results" Tony Champion From SilverlightCream.com: Binding on Style Setter in Silverlight ...

This is a very nice addition and will make development across the various WebSSO protocols that much easier.

Announcing the WIF Extension for SAML 2.0 Protocol Community Technology Preview! - Claims-Based Identity Blog - Site Home - MSDN Blogs

With the NetFx 4.0 platform update, the WF state machine is back…

Microsoft .NET Framework 4 Platform Update 1 - The .NET Endpoint - Site Home - MSDN Blogs

Let’s focus on Exam 70-583 this time. This exam is PRO: Designing and Developing Windows Azure Applications. This guide itself will be a different approach to preparing for the exam itself. Instead of just taking the individual topics, let’s review the topic in as much information as we can. Here is a set of resources to get started. This is the topic I will be presenting at TechEd North America 2011, so expect more information after 5/18/2011. Here is the link to the session: http://northamerica.msteche... ...
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 ...
From MSDN (http://msdn.microsoft.com/... Note that the buffer contains allocated bytes which might be unused. For example, if the string "test" is written into the MemoryStream object, the length of the buffer returned from GetBuffer is 256, not 4, with 252 bytes unused. To obtain only the data in the buffer, use the ToArray method; however, ToArray creates a copy of the data in memory ...
Ahhh, the beauty of having Windows Live Writer on the mac again, I love it. So when I bought this machine, I said I would never run Boot Camp, Parallels, or Fusion on it because it only has 2GB of ram that is not upgradeable and who can run a VM with under a 1GB ram dedicated? Well the answer is Windows 7 Starter Edition. How did I come to that conclusion, trial and error. We are prepping for a big event at TechEd 2011 (the announcement will be coming soon) and I needed Windows Live Writer on my ...

It is available the April 2011 edition of MSDN Magazine

You can access to online contents following the link: http://msdn.microsoft.com/en-gb/magazine/gg749836.aspx

I have a .Net 4.0 site that uses Entity Framework and Linq to SQL. After reworking a few tables and a few page operations, a new error appeared: "Row not found or changed". Every time I commit changes to a particular table, this error would be raised. From a quick review of msdn and the internet, the primary reason for this exception appears to be data concurrency issues - (The source data in the database is out of sync with the data you are attempting to update.) That did not apply to my development ...
For anybody who might have missed the news, XNA is coming to Visual Basic. I’ll admit that my first reaction was to groan and grumble and mumble. But this is actually a very good thing. While nothing’s ever certain, the fact that Microsoft has spent time making Visual Basic a supported language in XNA Game Studio is a further sign of Microsoft’s long-term commitment to XNA. (Note that VB.NET with XNA is not an immediately available thing; it’s still a few months off as the original blog post notes). ...
Tuesday evening I found myself minus family. I decided to use the time to “have a crack at this Silverlight Phone 7 stuff”. From zero (no experience, no tools installed, no membership on the AppHub) to submitted for approval took me from 8pm to 1am – with the last hour messing around with png files in Paint to complete the submission process! Two days later on Thursday it was approved and is now in the marketplace for you to install - or not :-) The application is very simple but it works and looks ...
Bad accelerometer controls kill otherwise good games. I decided to try to do something about it. So I create an XNA GameComponent called AccelerometerInput. It’s still a beta project but you are welcome to try it, use it, modify it, etc. I’m releasing under the terms of the Microsoft Public License. Important info: First, it only supports tilt-style controls currently. I have not implemented motion-style controls yet (and make no promises as to when I might find time to do so). Second, I commented ...
Visual Studio 2010 Service Pack 1 (SP1) is now available for general download for almost a week now. The Beta of SP1 came couple of months back and it did a lot of performance enhancements, added support for HTML5 tags and few other stuff related to web development. Now, the final release of SP1 is available. The good part is that, if you had installed the SP1 beta, you don’t have to remove the Beta and start all over again. You can apply the final release on top of the Beta and it works like a charm. ...
Last week I was fortunate enough to spend time in Redmond on Microsoft’s campus for the 2011 Microsoft MVP Summit. It was great to hang out with a number of old friends and get the opportunity to talk tech with the various product teams up at Microsoft. The weather wasn’t exactly sunny but Microsoft always does a great job with the Summit and everyone had a blast (heck, I even got to run the bases at SafeCo field) While much of what we saw is covered under NDA, there a ton of great things in the ...
I posted this yesterday but had the wrong link at the bottom. SP1 for VS 2010 just hit the web today. Check it out at http://support.microsoft.co... This should fix lots of big and little things such as startup time, bugs and more. Plus there are tons of features in there too for web, xaml, and other application types. I am really excited about the unit testing and load testing features that were added. Theres also an update for .Net 4 framework. And check out the new Silverlight ...

The final version of Visual Studio 2010 SP1 is available for MSDN subscribers and can be downloaded here.

For general public, it will be available on Thursday, March 10.

You can see the annoucement at http://blogs.msdn.com/b/jasonz/archive/2011/03/08/announcing-visual-studio-2010-service-pack-1.aspx

One of the many neat functions added to Visual Studio in VS 2010 was the Navigate To feature. You can find it by clicking Edit, Navigate To, or by using the keyboard shortcut Ctrl, (yes, that's control plus the comma key). This pops up the Navigate To dialog that looks like this: As you type, Navigate To starts searching through a number of different search providers for your term. The entries in the list change as you type, with most providers doing some kind of fuzzy or at least substring matching. ...
There is an interesting artcile about PEX at http://blogs.msdn.com/b/ukm... PEX can be downloaded from http://research.microsoft.c... The licence conditions are: "Pex and Moles are Power Tools available for commercial use for MSDN subscribers. Moles is also available separately for commercial use without requiring an MSDN subscription. Pex and Moles are also available for academic and non-commercial use." ...
Since discovering the XML commenting features built into .NET years ago I have been using it to help make my code more readable and simpler for other developers to understand exactly what the code is doing. Entering /// preceding a line of code causes Visual Studio to insert "summary" tags. It also results in additional tags being generated if you are commenting a method with parameters and a return type. I already knew that Intellisense would pick up these comments and display them when coding and ...
On the MSMQ front, only two hotfixes are listed: 2028997 - FIX: Message Queuing may become unresponsive in Windows 7 or in Windows Server 2008 R2 974813 - FIX: You cannot send or receive messages by using Message Queuing 4.0 or Message Queuing 5.0 after you configure the BindInterfaceIP registry entry. from a total of 625 documented for the service pack. There may, of course, be undocumented changes where an update was not previously released separately and so has no associated KB article published. ...
SP1 went RTM today which means it will be widely available soon. According to the Microsoft server division blog, the service pack will be available to Microsoft's TechNet and MSDN subscribers, as well as to Microsoft volume licensing customers, on Feb. 16, 2011. It will be generally available via the Microsoft Download Center and Windows Update on Feb. 22 You can see the blog and news here: http://blogs.technet.com/b/... ...
In this Issue: Roy Dallal, Kevin Dockx, Gill Cleeren, Oren Gal, Colin Eberhardt, Rudi Grobler, Jesse Liberty, Shawn Wildermuth, Kirupa Chinnathambi, Jeremy Likness, Martin Krüger(-2-), Beth Massi, and Michael Crump. Above the Fold: Silverlight: "A Circular ProgressBar Style using an Attached ViewModel" Colin Eberhardt WP7: "Isolated Storage" Jesse Liberty Lightswitch: "How To Create Outlook Appointments from a LightSwitch Application" Beth Massi Shoutouts: Gergely Orosz has a summary of his 4-part ...
Or until my arm falls off at least…. I’ve been meaning to get a new tattoo for quite a while. And I wanted it to be geeky and to represent some memorable milestone in my life. So I was thinking, mulling over some various ideas, sketching some things out. And then it hit me. XNA. Specifically the XNA logo. It’s super geeky (so geeky I’ll probably have to explain to 90% of the people that say it what it even means) and I’m not sure that anything has been so memorable and made such a change in my life ...
This is Part 1. Part 2. BizTalk: Suspend shape and Convoy Convoys are frequently used in the in the orchestrations in BizTalk Server. Sometimes we have got contra intuitive behavior in the convoys, when messages and orchestrations get suspended in unpredictable manner. This issue is well-known, the suspended messages get name the "zombie". The name is unofficial, but issue is still there. Here I would describe in details, what, when and why this zombie situations are happen. An orchestration can ...
Today I thought I would write a bit about delegates in C#. Up till recently I have managed to side step any real understanding of what delegates do and why they are useful – I mean, I know roughly what they do and have used them a lot, but I have never really got down dirty with them and mucked about. Recently however with my renewed interest in Silverlight delegates came up again as a possible solution to a particular problem, and suddenly I found myself opening a bland little console application ...
The Microsoft All-In-One Code Framework is a free, centralized code sample library provided by the Microsoft Community team. It aims to provide typical code samples for all Microsoft development technologies. The team listens to developers’ pains in MSDN forums, social media and various developer communities and write code samples based on developers’ frequently asked programming tasks. Additionally, our team offers a free code sample request service. Awesome?! I think so. Have also just added it ...
On Microsoft’s MSMQ forum, David Wellna got to the bottom of a problem being seen with not being able to use all 124 characters for a queue name. Although the queue could be created at this length, it was not possible to change any of its properties without receiving a “Format name buffer supplied to the API was too small to fit the format name” error. As discussed in this MSDN article, Queue Path Names, the full address for a queue is made up of 256 characters for the machine name and 124 for the ...
The code samples in Microsoft All-In-One Code Framework are updated on 2011-1-23. Download address: http://1code.codeplex.com/r... You can download individual code samples or browse code samples grouped by technology inthe updated code sample index. If it’s the first time that you hear about Microsoft All-In-One Code Framework, please read this Microsoft News Center article http://www.microsoft.com/pr... or watch the ...
In this Issue: Dennis Doomen, Doug Holland, Kunal Chowdhury, Sacha Barber, Paul Sheriff, Mike Snow(-2-), Peter Kuhn(-2-), and Mike Ormond. Above the Fold: Silverlight: "Silverlight: Fixing the BookShelf Sample" Peter Kuhn WP7: "Searching the Windows Phone 7 Marketplace Programmatically" Doug Holland Prism/Cinch: "PRISM 4 Custom Transitioning Region" Sacha Barber Shoutouts: Sacha Barber the author of Cinch asks for some advice from users: Cinch V2 : Question For The Reader Michael Crump introduces ...
XML has been a pervasive tool in software development for over a decade. It provides a way to communicate data in a manner that is simple to understand and free of platform dependencies. Also pervasive in software development is what I consider to be the anti-pattern of using string manipulation to create XML. This usually starts with a “quick and dirty” approach because you need an XML document and looks like (for all of the examples here, we’ll assume we’re writing the body of a method intended ...
I remember at one point someone telling me how close Migrate was to Migraine. This was a process that included an environment from TFS 2008 to TFS 2010, needed to be migrated too as far as the process template goes. Here we are talking about CMMI v4.2 to CMMI v5.0. Now, the process to migrate the TFS Infrastructure is one thing, migrating the Process Template is a different deal, not hard … just involved. Followed a combination of steps that came from a blog post as the main guidance and then MSDN ...
I got stocked passing parameter to one master page for some reasons, seems the page lifecycle and dynamic loading of the master pages has got some issues with defining public properties in the masterpage within my project. It did not set my values and as a result, properties became useless. A collegue just mentioned using HttpContext. have a look what MSDN saying "Encapsulates all HTTP-specific information about an individual HTTP request" http://msdn.microsoft.com/e... ...
So, I attended the Microsoft Community Evening. The attendance was better than I was expecting for December and we had our first Programming Languages Meeting where Gary did a great presentation on an intro to Ruby. The best surprize of the evening happened when I was about to leave, Robert MacLean asked me how we did our MS licensing – the fact being that we were about to reach the end of our empower license with Microsoft and that I had no idea how we were going to afford upgrading it early next ...
A big thank you to everyone who attended yesterdays “informal” briefing on the Windows Azure Platform. There were lots of great discussions during the day and I know we al certainly enjoyed it. This post contains (ultimately) the slides and links from yesterday. Slides: Davids on Windows Azure all up Eric on SQL Azure (which fyi is hosted on Windows Azure Blob Storage) Links and Notes Start following the UK ISV technical team (our blog and twitter accounts) http://bit.ly/firststopuk Sign up to Microsoft ...
This post is about VS 2010, go here for the VS/TFS 11 extensions. UPDATED Apr 9th 2012: VersionInfo, NuGet, Code Contracts UPDATED Oct 7th 2012: New Visual Studio GDR UPDATED Aug 31th 2012: New versions updated of ReSharper, NDepend, Web Essentials, Community Build Manager, Code Contracts (March 2012), NuGet, ILSpy, DotPeek, Just Decompile, tangible T4 editor, LinqPad. Added the VersionInfo tool, so you know you have the latest update of VS 2010 UPDATED April 20th 2012: New version of NuGet manager. ...
I got a question in MSDN forum that how to add a SharePoint document property in respective document's footer and it should be available to all new documents. It's really interesting and started R&D on this. Lets see how to insert document property in header/footer. How to use SharePoint document property inside Document's Header/Footer? Here the steps on creating document library and update the document template. First I'll create a Document Library named "Docs". If you already have document ...
All-In-One Interop and Fusion Code Samples Introduction Download Interop and Fusion code samples Request Interop and Fusion code samples Introduction The All-In-One Interop and Fusion code samples demonstrate the typical programming topics about .NET - native interop, COM interop, fusion, .NET Reflection, etc. These topics are either frequently asked in MSDN forums and Microsoft Support, or are requested by many developers via our code sample request function. We want to alleviate the frustration ...
All-In-One Windows Shell Code Samples Introduction Download Windows Shell code samples Request Windows Shell code samples Introduction The All-In-One Windows Shell code samples demonstrate the typical programming topics about extending Windows Shell and using the Windows Shell APIs. These topics are either frequently asked in MSDN forums and Microsoft Support, or are requested by many developers via our code sample request function. We want to alleviate the frustration felt by developers when they ...
All-In-One Office Development Code Samples Introduction Download Office development code samples Request Office development code samples Introduction The All-In-One Office development code samples demonstrate the typical programming topics about Microsoft Office. These topics are either frequently asked in MSDN forums and Microsoft Support, or are requested by many developers via our code sample request function. We want to alleviate the frustration felt by developers when they are developing Office ...
All-In-One Windows Base and .NET General Code Samples Introduction Download Windows Base and .NET General code samples Request Windows Base and .NET General code samples Introduction The code samples demonstrate the typical programming topics about Windows Base and .NET General. These topics are either frequently asked in MSDN forums and Microsoft Support, or are requested by many developers via our code sample request function. Visual Studio 2008 Windows Base and .NET General Code Samples Sample ...
All-In-One Data Platform Code Samples Introduction Download Data Platform code samples Request Data Platform code samples Introduction The All-In-One Data Platform code samples demonstrate the typical programming topics about ADO.NET, Entity Framework, WCF Data Services, ADO, and other Data Platform technologies. These topics are either frequently asked in MSDN forums and Microsoft Support, or are requested by many developers via our code sample request function. We want to alleviate the frustration ...
All-In-One Windows 7 Code Samples Introduction Download Windows 7 Code Samples Request Windows 7 Code Samples Introduction Windows 7 provides many new programmable features, e.g. the new Taskbar, the Shell Library, the service trigger-start feature. The All-In-One Windows 7 code samples demonstrate the typical programming topics about Windows 7. These topics are either frequently asked in MSDN forums and Microsoft Support, or are requested by many developers via our code sample request function. ...
All-In-One WPF Code Samples Introduction Download WPF code samples Request WPF code samples Introduction Windows Presentation Foundation (WPF) provides developers with a unified programming model for building rich Windows smart client user experiences that incorporate UI, media, and documents. The All-In-One WPF code samples demonstrate the typical programming topics about WPF. These topics are either frequently asked in MSDN forums and Microsoft Support, or are requested by many developers via our ...
All-In-One Windows Forms Code Samples Introduction Download Windows Forms code samples Request Windows Forms code samples Introduction The All-In-One Windows Forms code samples demonstrate the typical programming topics about Windows Forms. These topics are either frequently asked in MSDN forums and Microsoft Support, or are requested by many developers via our code sample request function. We want to alleviate the frustration felt by developers when they are developing Windows Forms projects. Visual ...