Tag Archives: Visual Studio 2010

Help make Microsoft developer technologies better!

Follow devkeydet on Twitter

Ron Jacobs just blogged about how .NET developers can provide feature feedback and vote on WCF/WF features.

http://blogs.msdn.com/b/rjacobs/archive/2011/04/14/how-you-can-make-wf-wcf-better.aspx

Many Microsoft product teams are doing this nowadays. It still surprises me how many .NET developers don’t realize these feature voting sites exist. In addition to WF/WCF, I am aware of these:

http://wpdev.uservoice.com/forums/110705-app-platform

https://windowsphone7community.uservoice.com/forums/84435-feature-feedback

http://data.uservoice.com/forums/72027-wcf-data-services-feature-suggestions

http://data.uservoice.com/forums/72025-ado-net-entity-framework-ef-feature-suggestions

http://dotnet.uservoice.com/forums/40583-wpf-feature-suggestions

http://dotnet.uservoice.com/forums/4325-silverlight-feature-suggestions

http://dotnet.uservoice.com/forums/87171-visual-basic-content-requests

http://dotnet.uservoice.com/forums/57026-wcf-ria-services

http://www.mygreatwindowsazureidea.com/pages/34192-windows-azure-feature-voting

http://www.mygreatwindowsazureidea.com/forums/35889-microsoft-codename-dallas-feature-voting

http://www.mygreatwindowsazureidea.com/forums/44459-sql-azure-data-sync-feature-voting

http://www.mygreatwindowsazureidea.com/forums/34685-sql-azure-feature-voting

http://www.mygreatwindowsazureidea.com/forums/100417-sql-azure-reporting-feature-voting

http://www.mygreatwindowsazureidea.com/forums/40626-windows-azure-appfabric-feature-voting

http://www.mygreatwindowsazureidea.com/forums/103009-windows-azure-code-samples-voting

http://www.mygreatwindowsazureidea.com/forums/103403-windows-azure-content-voting

http://aspnet.uservoice.com/forums/41199-general

http://aspnet.uservoice.com/forums/41201-asp-net-mvc

http://aspnet.uservoice.com/forums/41202-asp-net-webforms

http://aspnet.uservoice.com/forums/50615-orchard

http://aspnet.uservoice.com/forums/100405-performance

http://aspnet.uservoice.com/forums/41233-visual-studio-performance-feedback

Let me know in the comments if I’ve missed any.  I’ll add them.

SCREENCAST: JavaScript Intellisense for SharePoint

Follow devkeydet on Twitter

In this screencast, you will learn how to get the most out of JavaScript programming with SharePoint 2010 projects in Visual Studio 2010. You will see how to get JavaScript Intellisense and debugging working for jQuery and the Client Object Model. You’ll also learn about the benefits of using the Microsoft Ajax Content Delivery Network (CDN).

If you don’t pause your video player at the right time, you might miss the location of the SharePoint JavaScript files. Here is a link to the MSDN How to article that talks about those files:

http://msdn.microsoft.com/en-us/library/ff798328.aspx

Direct link:

https://channel9.msdn.com/posts/JavaScript-Intellisense-for-SharePoint

Does jQuery ship with SharePoint 2010? (and why you should be using an Ajax CDN)

jQuery is one of the most popular javascript libraries used by ASP.NET developers.  In fact, jQuery ships with Visual Studio 2010.  It is in the “Scripts” folder of a new “ASP.NET Web Application” or “ASP.NET MVC 2 Web Application” project template.

Does jQuery ship with SharePoint 2010?  Short answer: No.  I see this asked (publicly and internally) a few times a month.  Long answer: You don’t need it to.  Just use it from the Microsoft Ajax CDN

Assuming you don’t have to build a solution on a closed network with no internet access, then one of the first things you should consider is to replace all the references in your code to local javascript files to CDN references.  By doing so you get the general benefit that all CDNs offer (not just Ajax CDNs) which is that you get directed to a server the is closer to you.  Also, since browsers cache files based on URL, referencing the CDN from all your code means that different web apps use the same version of the javascript file cached in the browser.  Last, but not least, it means less files you have to maintain on your own servers.

Here’s what a script reference to jQuery 1.4.2 looks like when it is local:

<script src="../../Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>

Here’s what it looks like when referencing the CDN:

<script src="http://ajax.microsoft.com/ajax/jquery/jquery-1.4.2.min.js" type="text/javascript"></script>

So that’s how easy it is to reference jQuery from your SharePoint code.  However, as you can see, this applies way beyond just SharePoint programming.

LINQ to SharePoint DSL Extension for VS2010

http://visualstudiogallery.msdn.microsoft.com/en-us/993df7ed-2dd2-44e4-98f2-e6233812692b

This extension looks very useful!  I haven’t gotten around to trying it out just yet because I am in the process of rebuilding my SharePoint 2010 dev environment now that the product has released.  However, it essentially gives you “Add Service Reference” like capability so you don’t have to use spmetal to use LINQ to SharePoint 2010.  You can see a video walkthrough of this extension at http://code.msdn.microsoft.com/linq2spdsl/.

FREE TRAINING: What’s New in Microsoft SharePoint 2010 for Developers

digg_url = “http://blogs.msdn.com/devkeydet/archive/2010/04/26/free-training-what-s-new-in-microsoft-sharepoint-2010-for-developers.aspx&#8221;;digg_title = “FREE TRAINING: What’s New in Microsoft SharePoint 2010 for Developers”;digg_bgcolor = “#555555”;digg_skin = “normal”;http://digg.com/tools/diggthis.jsdigg_url = undefined;digg_title = undefined;digg_bgcolor = undefined;digg_skin = undefined;

“This two-hour clinic describes various new features and enhancements that Microsoft SharePoint 2010 provides developers. It describes how you can create and deploy SharePoint 2010 solutions using Microsoft Visual Studio 2010. It also describes how you can develop remote clients for SharePoint 2010 and develop SharePoint 2010 solutions that incorporate data from external line-of-business applications.”

https://www.microsoftelearning.com/eLearning/courseDetail.aspx?courseId=160329&tab=overview

DevDinner: A Lap around Visual Studio 2010 and Team Foundation Server

digg_url = “http://blogs.msdn.com/devkeydet/archive/2010/03/19/devdinner-a-lap-around-visual-studio-2010-and-team-foundation-server.aspx&#8221;;digg_title = “DevDinner: A Lap around Visual Studio 2010 and Team Foundation Server”;digg_bgcolor = “#555555”;digg_skin = “normal”;http://digg.com/tools/diggthis.jsdigg_url = undefined;digg_title = undefined;digg_bgcolor = undefined;digg_skin = undefined;

Details are on my team’s blog:

http://tinyurl.com/MAR2010DevDinner

“Microsoft Visual Studio 2010 introduces a whole host of new design and modeling tools to help enterprises and teams build software. UML Diagrams and the Layer Diagram can be used to plan and design the assets your team will produce, and communicate effectively about those designs during the entire development lifecycle. The Architecture Explorer and Graphs help you investigate and better understand the assets you have to enable more effective planning and decision making. Visual Studio also advances developer productivity with new tools for application debugging to collect more detailed diagnostic data during a test run leading to higher quality bugs that provide more insight to the developers on what actually went wrong when the bug occurred. We’ll show how Test Impact Analysis helps developers test the right automated tests from within Visual Studio, while testers know what the right set of tests to prioritize and run is given recent changes introduced by the development team. Finally, experience how the ALM tools in Team Foundation Server 2010 support agile project management and improve quality assurance efforts by facilitating great collaborations between developers and testers.”

SCREENCAST: Running Reporting Services Reports in Windows Azure


digg_url = “http://blogs.msdn.com/devkeydet/archive/2010/02/24/screencast-running-reporting-services-reports-in-windows-azure.aspx&#8221;;digg_title = “SCREENCAST: Running Reporting Services Reports in Windows Azure”;digg_bgcolor = “#555555”;digg_skin = “normal”;

http://digg.com/tools/diggthis.js

digg_url = undefined;digg_title = undefined;digg_bgcolor = undefined;digg_skin = undefined;


In this screencast, I show you how to run a SQL Server Reporting Services 2008 report in Windows Azure using the ReportViewer control that ships with Visual Studio 2010.  As an added bonus, I demonstrate using ReportViewer against an OData service through the use of WCF Data Services client libraries and the ObjectDataSource.


Get Microsoft Silverlight


Direct link to Ch. 9 post:


https://channel9.msdn.com/posts/keydet/Running-Reporting-Services-Reports-in-Windows-Azure/

Entity Framework 4.0 Sneak Previews

If you haven’t been keeping up on the ADO.NET team blog, but you want to get up to speed with what’s coming in the next release of the Entity Framework (.NET 4.0), then now is the time to start monitoring their blog.  Since 5/11, they’ve cranked out seven posts on new features.  I like what they are doing.  The post on 5/11 gives you a high level update.  Then, they have followed it up with “Sneak Previews” of specific improvements.  Definitely worth the time to read through these posts!