Tag | Visual Studio Posts

Visual Studio 2010 is the new and improved development tool for SharePoint 2010. Major improvements are that all the Project Templates for SharePoint 2010 are included out of the box. This means a better development experience with debugging, unit testing, TFS!!! and automated builds! As I was experimenting with the overall experience I noticed some funny things I thought I would blog about. 1) Visual Web Parts are the only option available as part of a template. This can be kind of confusing to ...
In this Issue: Michael Crump, Derik Whittaker(-2-), James Ashley, Mike Taulty, Jeff Blankenburg, Kunal Chowdhury, Richard Waddell, and Jeremy Likness. Above the Fold: Silverlight: "Choose the way to Create a Silverlight Out-of-Browser Application" Kunal Chowdhury WP7: "Why Deactivated is not the same as Tombstoned" James Ashley Blend: "More Simple Blend Layout Techniques and Quirks" Richard Waddell Shoutouts: This is clever and I just couldn't pass up mentioning it from Dean and Ying's Blog: iPhone ...
Microsoft has made a target Schema for HTML 5 development. This schema can be installed on VS 2008 en VS 2010. You can download it form this website. Then run the installer. If VS 2010 is not installed in it’s default location (C:\Program Files\Microsoft Visual Studio 10.00), then after running the .msi, you will have to manually move the ‘html_5.xsd’ to the location where VS 2010 is installed on your machine, for the intellisense to work properly ...
Before working with MVC, I would claim to be somewhat intimidated by JavaScript development. Not that I did not know how to use it, however I found that is was much more bug prone and harder to develop against. Having the .Net compiler was a nice safety net-I did not have to worry about variable name mismatch, typos, not to mention the .Net framework itself. In a recent ASP.Net project we used the MS AJAX update panel to implement interface changes that could easily be implemented via client side ...
In this Issue: Sigurd Snørteland, Colin Eberhardt, Andrea Boschin, Jesse Liberty, Shawn Wildermuth, Andrew Tokeley, Jeff Blankenburg(-2-), Kunal Chowdhury(-2-), and Martin Krüger. Above the Fold: Silverlight: "Better Silverlight 4.0 Installation and Upgrade Experience" Andrew Tokeley "Developing a Lookless Silverlight Gauge Control (part 2)" Colin Eberhardt WP7: "31 Days of Windows Phone | Day #21: Silverlight Toolkit for Windows Phone" Jeff Blankenburg Lightswitch: "Beginners Guide to Visual Studio ...
This is the second part. Part 1: BizTalk: Timeline: Development Tools. As you can see, the last version of the BizTalk 2010 shifts the platform support to new versions of the .NET, SQL Server, and Visual Studio, and finish support for the previous platform versions. High-quality picture in PDF format ...
I've spent time the last few month checking out much of the latest in code generation tools. Again one of the most complete and comprehensive is Iron Speed Designer - now in version 7.1. I had the good fortune to talk for about a half hour with Alan Fisher of Iron Speed and I will be adding content here in the next weeks. Hopefully I can also present some examples. Here's the lastest from their press release. For Immediate Release Iron Speed,Inc. Sephorah Green 408.228.3429 sgreen@ironspeed.com http://www.ironspeed.com ...
Normal 0 false false false EN-US X-NONE X-NONE /* 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-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0in; mso-pagination:widow-orphan; font-size:11.0pt; mso-bidi-font-size:10.0pt; font-family:"Calibri","sans... mso-ascii-font-family:Calibri; ...
After upgrading to a new 64-bit OS on our BizTalk server, I was unable to get the WCF-SQL adapter working - kept getting the "No valid adapters are installed on this machine" error message. The Admin Console had SOME of the WCF adapters visible, just not WCF-SQL. I found out that this was due to the fact that I had simply installed the 64-bit version of the Adapter Pack - both Visual Studio and the BizTalk Admin Console run as 32-bit processes, so you'll need to install that version as well. So, ...
In this Issue: Emiel Jongerius, Katka Vaughan, Jay Kimble, Mike Taulty, Thomas Martinsen, Silverlight for WP7 Performance Team blog, Chris Koenig, Beth Massi(-2-), Jeff Blankenburg, and Jesse Liberty. Above the Fold: Silverlight: "Memory Leak in PanelDragDropTarget" Emiel Jongerius WP7: "Netflix Browser for Windows Phone 7 - Part 1" Katka Vaughan Lightswitch: "New How Do I Video Released Today on LightSwitch Access Control" Beth Massi Expression Blend: "Windows Phone Tutorial: Why Windows Phone Developers ...
Introduction Recently I have been involved in some projects to improve the software quality of their code base. These code bases have been rather large, and in some cases consisting of both managed code, C# and C++, and Native code in C++. The reasons for improving the code base comes from a realization of the relationship between non-optimal coding practices and runtime incidents. Runtime incidents can be anything from exceptions, out of memory conditions to functionality simply not working at all ...
As I continue to explore ASP.Net MVC 3, I decided to share a little on NuPack Tools, a recently released Visual Studio 2010 extension. There are a few nice blog entries on NuPack already which you can access here. Figure 1 - NuPack Tools shown as a Visual Studio 2010 Extension What is NuPack Tools? NuPack Tools is a Visual Studio 2010 Extension installed along with ASP.Net MVC 3 and also available as a stand-alone install. It provides a friendly interface that automates the retrieval and installation ...
At the beginning of September, we launched All-In-One Code Framework Customer Polling Survey. 62 customers filled out the survey in September, and provided lots of constructive suggestions. Thanks to all of you who shared your invaluable feedback! The project can become better and better because of you. Please continue to input your comments. Here is a summary of feedback that we collected in September, and the project team's follow-up action. ------------------------ The top five areas that the ...
The biggest question as a new version of a product or framework comes out is whether an upgrade path from the prior version exists and if the new features introduced are worth the headache and time investment made to upgrade. For ASP.Net MVC 3, the answer is yes to both questions. Personally, I would wait until ASP.Net MVC 3 is officially released, but for those wanting to upgrade right away, details for the upgrade can be found here and are pretty straight forward. Today, I decided to tackle a potential ...
I have been developing TouchToolkit for some time now and just released the October community technical preview (CTP) at the codeplex project website. The key features are: A domain-specific language to define custom gestures (e.g. sample gestures) Supports Windows 7/WPF 4.0 Touch API, Microsoft Surface, Silverlight and TUIO A record/replay module to simplify multi-touch testing and simulate multi-user scenarios A test framework to write unit test for testing gestures (integrated with Visual Studio ...
Just a quick tip: in case you are trying to register your windows phone 7 as a developer phone (so that you can deploy your app on it and debug directly on the device from Visual Studio 2010) and get the "Error communicating with the developer portal 0x64" error you might want to check that the regional settings for the Windows Live ID you're using are the same as the regional settings of your development machine where you're running the registration tool. In my case the Windows Live ID was set to ...
Today, I found a good answer on syntax highlighting for Razor. In the Visual Studio Gallery located at http://visualstudiogallery.... a new Visual Studio extension has been recently added for a “Razor Syntax Highlighter”. To leverage this new extension, I had to remove the editor mapping for .cshtml files in the Visual Studio Text Editor/File Extensions window (as outlined in my previous blog post) and install the highlighter extension. As ...
Sample download In Part 1 of the series, we gave an introduction of writing Windows Shell extension in .NET Framework 4, and demonstrated a "skeleton" Context Menu Handler. This article introduces the sample: Infotip Handler. CSShellExtInfotipHandler: Shell infotip handler (C#) VBShellExtInfotipHandler: Shell infotip handler (VB.NET) CppShellExtInfotipHandler: Shell infotip handler (C++) An infotip handler is a shell extension handler that provides pop-up text when the user hovers the mouse pointer ...
El día de hoy fue la primera reunión para desarrolladores de XNA donde Mario Alvarez nos compartió un poco de su pasión y conocimiento en desarrollo de juegos. Siendo esta una introducción, Mario nos habló desde teoría general hasta darnos una demo del juego SpaceRain. XNA es un ambiente de programación, basado en el .NET Framework, para el desarrollo de juegos destinados a Windows Phone, Xbox 360, y sistemas Windows en general. Programar un juego es un poco distinto a programar una aplicación convencional. ...
I received (by chance, mostly) a Netduino last tuesday. Netduino is an open-source hardware project based on Arduino and the .Net Micro Framework. And it’s extremely cool. I’m a C# developer and I was always interested in electronics. This is an excellent tool to start to understand that incredible world. I was about to buy an Arduino when the Netduino fell on my lap, so I was really happy about it. Netduino has various disadvantages over Arduino (for starters, it’s more expensive, not all the shields ...
In the past I’ve used things like ANTS performance profiler to identify performance bottlenecks and to optimize my applications performance. It was always a great way to give an application that final boost that makes it run faster/slicker than my competitor. Now that I’m developing for the WP7 series, I wanted a way to profile those applications as well. I noticed that EQATEC was offering WP7 developers a way to profile their WP7 applications for free and I jumped on the chance. The best thing about ...
Recently, I've been thinking of ranting about Microsoft's BizTalk 2010 release plan. I was not only going to blog about it; but was also thinking to vent my frustration all over the net. Why??? Well.... Microsoft always found it difficult to release BizTalk in conjunction with the newest .NET and Visual Studio releases. On some occasions they were delayed by more than a year. It makes it difficult for organizations like ours to come up with a good upgrade strategy. Some applications can be upgraded ...
In this blog post, we will take a quick look at the new MVC 3 project options as well as the pretty sharp Razor View Engine (not suitable for shaving :) ). Based on a nice Stackoverflow post, it seems that MVC 3/Razor will only be supported in Visual Studio 2010/.Net 4.0. This is great as it will give developers yet another good selling point to argue for upgrading to .Net 4.0. Creating a new ASP.Net MVC 3 project Prior to ASP.Net MVC 3 Beta, Selecting “New Project” in VS 2010 yielded two templates ...
In this Issue: Joost van Schaik, Rudi Grobler, AfricanGeek, Mike Talbot, Jeff Blankenburg, Shawn Wildermuth, and Victor Gaudioso. Above the Fold: Silverlight: "Automatic Grid Layout for Silverlight" Mike Talbot WP7: "On Design Paradigms for Windows Phone 7" Shawn Wildermuth Shoutouts: Victor Gaudioso has posted Video of my two day Sharing in the Light Silverilght/Blend/Visual Studio Course in Dallas Jesse Liberty posted his latest Yet Another Podcast Show #4 – iPhone to Windows Phone 7 Development ...
Scott Guthrie’s team just unveiled a beta release of several projects. In the next few days, I will be exploring each of them, but given that I am preparing for my October 28, 2010 SoFla PDC 2010 talk on MVC, I will probably experiment with the latest ASP.Net MVC 3 Beta first as it will be my main focus at the local PDC event. To get to enjoy the latest and greatest ASP.Net MVC 3, we first would need to uninstall the MVC 3 Preview if we had that already installed. This can be simply done by going ...
[Source: http://geekswithblogs.net/E... A quick tip that may save a lot of anguish. The UML diagrams and editor in Visual Studio 2010 Ultimate are excellent, and you can quickly and easily create very snazzy diagrams like this: - and link components to TFS Work Items. But if you want to base a new diagram from an existing one, don't copy and paste the file from Solution Explorer. VS will let you do it, but what you end up with is effectively a shallow copy, where components in your new ...
When working with multiple IIS worker processes it is useful to be able to correspond the processes to application pools. The command to do this in IIS 7 is: %windir%\system32\inetsrv\a... list wp The output looks like: WP "3948" (applicationPool:Classic .NET AppPool) You can see the PID (3984) and the name of the application pool. The PID can be used to find the process in task manager and the Visual Studio Attach to Process dialog ...
In this Issue: David Anson, Jeff Blankenburg, Walt Ritscher(-2-, -3-, -4-), Dan Wahlin, xprblog, and Jeff Prosise. Above the Fold: Silverlight: "Sizeable, yet square, content control" Walt Ritscher WP7: "Creating Windows Phone 7 Application and Marketplace Icons" xprblog MVVM: "Getting Started with the MVVM Pattern" Dan Wahlin Shoutouts: Scott Hanselman brokered a deal for 2 lucky winners: WIN a FREE Phone with like NO effort and attend the Windows Phone 7 Developer Launch Michael Crump posted a ...
If you hit this issue and are pretty sure that you have downloaded the AjaxControlToolkit and configured it, the primary source of this error is that you haven’t added a script manager in the page where you are trying to use the toolkit control. Lets examine more into this. Setting up the Toolkit AjaxControlToolkit is a set of ajax enabled controls available for free download right from the ASP.NET 2.0 AJAX days and has evolved into various versions. It was moved to CodePlex couple of years back. ...
In this Issue: Michael Washington, Richard Waddell, Jeff Blankenburg(-2-, -3-), Dejan Jakovic, Peter Kuhn, Domagoj Pavlešic, Thomas Martinsen, Jesse Liberty, and Joost van Schaik(-2-). Above the Fold: Silverlight: "Silverlight Unsaved Data Detection " Michael Washington WP7: "Extension methods for tomb stoning the Windows Phone 7 model" Joost van Schaik Expression Blend: "Simple Layout Techniques In Blend " Richard Waddell Shoutouts: Mark your calendars, because Beth Massi announced MSDN Radio on ...
Back in April I began to work with Oracle again after a multiple year absence from doing so. So naturally I decided I would install Oracle on my home system so I could reacquaint myself with it. That proved to be more difficult than I expected. I was able to get Oracle 10g Express downloaded and installed but could not connect to it. So, to save someone else some of the grief I went through let me go through the final sequence of steps that resulted in a solid working Oracle development environment. ...
I’ve blogged about the tools and have played with the hardware, now its time to put an application on the actual Windows Phone 7 hardware. I will guide you through the entire process step-by-step. Please note that I have an early version of the phone and had to get a Connect Login to download Zune 4.7. If you are reading this after the phone has launched then you can probably just go to the Zune web page and download it directly. You will also want to skip down until the next section that starts ...
My last project had me do some SharePoint 2010 Ribbon customizations. I though I would blog about some of the things I learned! There are many ways to create a Ribbon component. You could use a custom action to a tab to an existing Ribbon or in the case that I will be discussing/demonstrating is creating a complete new tab for a SharePoint Application page. The steps developer should take : Work through the Hand-On Lab provided by Microsoft on Customizing the Ribbon. This is part of The SharePoint ...
Has it ever happened to you that you are sitting with your laptop and need to do something with a computer on your local network and it turns out that computer is in a sleep mode and you have to walk to it and move the mouse or press some key to wake it up and then come back to your laptop to do what you initially wanted to do with it? Indeed, if you have to walk to a computer rather than remotely access it than the benefit of having local network is already somewhat undermined. My particular situation ...
One of the things I really wanted to do lately was to get SQL Azure, OData, and Windows Phone 7 working together; in essence, expose SQL Azure data using the OData protocol and consume that data on a Windows Mobile Phone 7 device. This blog will explain how to do just that. This example is also in our SQL Azure book in a bit more detail, but with the push for WP7 I thought I'd give a sneak-peak here. You will first need to download and install a couple of things, the first of which is the OData client ...
Update!!! Sorry but I have some work priorities that need to take precedence. I will not be able to give this presentation. Michael Perry has graciously agreed to give an MVVM talk in my place. I plan to still be there with laptop and Blend in hand so if you had some specific Blend questions, look me up. I will also be posting my MVVM with NAV WebServices project to this blog soon. Join us October 19th at the Forth Worth .NET UG (http://fwdnug.com/) where I will lead a discussion about using the ...
A few months ago Visual Studio 2010 RTM was released. My friend Cory and I noticed a few features that would really come in handy but were not included in the release. After learning how to write extensions, we decided to create a few of our own. We used all of them locally for a while. Around April/May we decided to publish them to the Visual Studio Gallery so they can help other developers as well. Overall, I'm pretty satisfied with the outcome. We got a lot of good feedback on them and it seems ...
I have been playing around with Managed Extensibility Framework (MEF) and have been very happy with the way it works overall. If you remember when you use refection you do something like this try { Assembly assy = Assembly.LoadFile(<DLLLo... Type assyType = assy.GetType("ClassLibrary1... object assyInstance = Activator.CreateInstance(as... PropertyInfo msginfo = assyType.GetProperty("messa... var msgValue = "Hello from this Reflected assembly"; assyType.GetProperty("messa... ...
When you right-click on your WPF project in Visual Studio 2010 (VS2010) and select Add / New Item... / Text File, the "Build Action" on this file is automatically set to "Resource." So, when you ship your application, this text file will be embedded within it. If this was simply meant to be a readme file for your own benefit, you may not want it embedded in your app. In this case, click on the text file in Solution Explorer (or Solution Navigator), go to the Properties window, and change "Build Action" ...
The BizTalk Server team announced today that BizTalk Server 2010 has RTMd. That's a relief, as my reputation was on the line regarding RTM before the end of the month. Just this Tuesday I confidently told a prospective customer to expect an imminent announcement. I've been playing with BTS 2010 for a little while now. It has been my constant companion while writing several chapters for the forthcoming BizTalk Server 2010 Unleashed. It looks great. As well as bringing BTS up to date with Visual Studio ...
A customer of mine for years has been using a very expensive bit of labelling software to produce pallet labels. I’ve made use of this software invoking it from the command line to print labels from a windows service that polls a database table of print jobs. This has worked very nicely, in that all the web-services for my mobile application need to-do is drop a description of what label needs to be produced and what printer to send it to into a row in a database table, and my service does the rest. ...
Well, it's been a long time since my last post and unfortunately it's another simple thread to share my material but I'll resume posting here and there in the next couple weeks... Here's the link to my presentation and supporting material which was about Lambdas and Extension Methods using Visual Studio 2010... The powerpoint is there and so is the small project I used to demo my subjects... There's also the source code for the Umbrella project... Cheers ...
After I renamed the page and namespace for my aspx page, I started getting a compilation error: “The name 'GridView1' does not exist in the current context”. This was odd since the aspx codebehind and inherits attributes were in sync with the aspx.cs and aspx.designer.cs files. So what was wrong? During my rename operation, Visual Studio (or possibly ReSharper) excluded the designer file from my project. I hadn’t noticed because I usually work with the “Show All Files” option enabled in my solution ...
In this Issue: cherylws, Wolf Schmidt, Einar Ingebrigtsen, priozersk, James Ashley, Paul Patterson, Sharker Khaleed Mahmud, Beth Massi, Dave Relyea(-2-), and Mike Taulty(-2-, -3-). Above the Fold: Silverlight: "Just another ViewModelBase class" James Ashley WP7: "Panorama Tricks – How to eliminate blending seams in the background " Dave Relyea Lightswitch: "New LightSwitch “How Do I” Videos Released" Beth Massi From SilverlightCream.com: Content or Resource Files?…Another way to load a static XML ...
In this Issue: Johan Danforth, Michael S. Scherotter, Xianzhong Zhu(-2-), Michael B. McLaughlin, Mike Taulty, Michael Crump, Jobi Joy, Brad Tutterow(-2-), Roger Gullhaug, Tim Heuer, and Walter Ferrari. Above the Fold: Silverlight: "Silverlight, Out-Of-Browser and Multiple Windows" Mike Taulty WP7: "Windows Phone 7 Developer Tips and Tricks" Jeff Wilcox via Tim Heuer Training: "Windows Phone Training Kit for Developers – RTM Refresh" Yochay Kiriaty Shoutouts: Available in the Microsoft Download Center: ...
When you first run Visual Studio 2010 (VS2010), it asks you to select a profile (e.g. C#, C++). This determines the Start Page displayed when VS2010 starts. Once you pick this, there appears to be no easy way to change your selection (at least none that I've found). To see which start pages are available to you, look in the following directory: 32-bit Windows: C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\StartPages\en 64-bit Windows: C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\StartPages\en ...
Final Solution: I figured it out! Open your project in VS2010, select the Project menu and choose Properties..., and click the dropdown next to Platform Toolset. You can select between v100 (VS2010), v90 (VS2008), and Windows7.1SDK. Select the 7.1 SDK and click OK. Now you're all set. Note that you can use v90 to build apps that compile for older versions of Windows as long as you have VS2008 already installed on your machine. --------- The information below is just kept to remind me what I did. ...
In this Issue: John Papa, Tau Sick, Rudi Grobler, David Anson, Tim Heuer, Pete Brown, Jesse Liberty, Brandon Watson, Scott Guthrie, and Miro Miroslavov. Above the Fold: Silverlight: "5+ Ways to Reduce your .Xap Size" Miro Miroslavov WP7: "Windows Phone 7 Developer Tools Released " Scott Guthrie Shoutouts: Crocus Girl posted this contest from SilverlightShow: Announcing SilverlightShow 5-day Windows Phone 7 Quiz! John Papa posted the materials that went along with his OOB brown-bag last week: Silverlight ...
Thanks to Scott Gu for Tweeting a link to this page. I also wanted to thank Chris Alcock for mentioning this on the Morning Brew #688. Feel free to subscribe to my feed for more articles like this one. You may also want to follow me on Twitter. Today, the final version of the Visual Studio Tools for Windows Phone 7 was released. To get started, download the final bits here. You may also want to go ahead and download the Silverlight Tools for Windows Phone 7 and the Windows Phone 7 Training Kit for ...
The official and the final bits of windows phone 7 developer tools are now available, go download them from here. The installer bundles everything you need to develop for windows phone 7 in a nice little package that includes, - Visual Studio 2010 Express - Silverlight for windows phone 7 - XNA Game Studio 4 for windows phone 7 - Expression Blend 4 for Windows Phone 7 - Windows Phone 7 emulator You also get a phone registration and deployment tool which you can use to register and unlock a wp7 device, ...