Tag | Visual Studio Posts

The Windows Phone 7 Developer Tools have now shipped. I am extremely happy to share this news with you! And can be downloaded here. What’s included: Visual Studio 2010 for Windows Phone Express Blend 4 for Windows Phone XNA Game Studio 4.0 for Windows Phone Necessary SDK and Emulator If you already have the above products, the downloader will only get what is needed. Full install might be available later. Inside the final SDK you will find the Panorama, Pivot and Bing Maps controls that were eagerly ...
Sample download In MSDN forums, lots of developers ask how to write Windows Shell extension with .NET languages (e.g. C#, VB.NET). http://social.msdn.microsof... http://social.msdn.microsof... http://social.msdn.microsof... http://social.msdn.microsof... ...
Here’s a recent post I made to the MSDN Forums and the reply which quickly fixed my problem. I’m posting it here, because I didn’t find it anywhere else on the web. I'm in the process of migrating projects from one solution to another. I've created the new solution, and copied the project files from their current disk location (a subdir of the old solution's folder) to their new disk location (a subdir under the new solution's folder). I then tried to add the application to TFS. The application was ...
In this Issue: Michael Washington(-2-), Brian Noyes, Michael Ossou, Sharker Khaleed Mahmud, Mike Taulty, Jeremy Likness, Brad Tutterow(-2-), and András Velvárt. Above the Fold: Silverlight: "Best Practices for Themes in Modular Silverlight Applications " Jeremy Likness WP7: "Being theme aware in Windows Phone 7 Silverlight apps" András Velvárt Lightswitch: "LightSwitch Student Information System" Michael Washington Shoutouts: Erik Mork & Crew have their latest podcast up: Show 106: Jetpack themes ...
Hajan posted a blog at codeasp.net and discovered an awesome tool that would let you Create, Build, Run, Test and Debug codes online. I find this tool very useful and handy because I can easily run and test codes without Visual Studio and without installing something in my computer. What is this awesome tool by the way? They called it CodeRun Studio - CodeRun is A free, cross-platform browser-based IDE designed for the cloud. It enables you to easily develop, debug and deploy web applications using ...
One of the blogs I read is Zain Naboulsi’s Visual Studio Tips and Tricks. In a recent post he discussed the power of using Find and Replace with regular expressions and it gave me an idea about how to quickly reverse a set of assignment statements. Lets say you have the following code: Me.FirstNameTextBox.Text = customer.FirstName Me.LastNameTextBox.Text = customer.LastName Me.TelephoneTextBox.Text = customer.Telephone Me.EmailTextBox.Text = customer.Email And you want to reverse the assignments ...
I’ve been making my way through a few MVC books recently and was looking forward to reading Stephens book. Stephen does a lot of videos on the Microsoft asp.net site that I like and I was not disappointed by the book. Although not really targeted at MVC2 and VS 2010 all the basics are the same. He does an excellent job of stepping through the components of MVC… controllers, views, models and routing. He also digs into HTML helpers, binding, caching, authentication, testing and jquery. All the examples ...
Integrate RIA and Data Services why do we need 2 high level service abstractions? DataSources · Aggregate and expose entities from multiple sources including other RIA / Data Services OData · Navigation Properties on Derived Types · Any / All LINQ Operators · OData Binary Serialization Format - Provide support for a binary wire format (to supplement JSON/ATOM). · Containment / Hierarchical Models - If I have a schema that has Orders and OrderDetails, I dont want /OrderDetails to be direclty accessible. ...
Merge Wpf and Silverlight to single framework · Merge both frameworks to use the same assemblies and controls (with optional functionality in separate assemblies) make a .net silverlight profile that would be a subset of .net client profile and used by partially trusted xaps. · Conditional compilation within Xaml - stopgap solution: for Silverlight/WPF differences in shared markup. · Support the direct hosting of Silverlight – stopgap solution: support the direct hosting of Silverlight in a WPF application ...
A few companies pack huge amounts of useful information into their queue names so that it is very easy to work out what each queue is for. A downside of this is that some Windows applications inconsistently display the queue names. Take the following sample public and private queues I created for test, each 70 characters in length: Performance Monitor can only display 64 characters for the MSMQ queue object which includes the computer name (and "\private$" for private queues) as documented here: ...
In this Issue: Szilárd Szakács, Michael Washington, Mike Taulty(-2-), Chris Koenig, Tim Heuer, Kranthi Kiran Gullapalli, David Anson, Mohamed Mosallem, Michael Crump, Dan Wahlin. Above the Fold: Silverlight: "MVVM so easy a n00b can do it (Silverlight4) " Michael Crump WP7: "DeferredLoadListBox (and StackPanel) help Windows Phone 7 lists scroll smoothly and consistently " David Anson Lightswitch: "A LightSwitch Home Page " Michael Washington Shoutouts: Jesse Liberty has a ** DRAFT ** Community Comment ...
For those that didn’t know, I have recently left a long run at Thomson Reuters (which is a great company BTW) for a new gig as CIO of Swank Motion Pictures. This company works in the movie distribution business to cruise ships, trains, universities, and more. Some links if you are interested: http://www.onboardmovies.com/ http://www.swank.com/colleg... https://www.swankhealth.com http://www.k12digitalmovies... http://www.swank.com/digita... and more more more …. The thing is that ...
I created a getting started guide for the MVVM pattern back in June 2010. Since the guide came out, I had several developers ask me when I was going to publish my MVVM example that I had promised. I played around with a way to present this that did not seem like the same old MVVM blog post that everyone has already written. Most of the blog post that I ran across explaining the pattern had lots of complicated diagrams and code snippets that would leave out vital pieces of information. I decided that ...
For those of you who have pinned any program to your Windows 7 taskbar, you can hold down the Ctrl and Shift keys when clicking the icon and it will launch it with Administrator privileges. I use this frequently when I need to run Visual Studio 2010 with Administrator privileges, but it will work with any program. Now I just need someone to write a VS2010 Extension to relaunch VS2010 with Administrative privileges for the same Solution file. Maybe I have a new project on my hands... Rob ...
If you don't have the Visual Studio IDE to work with, you can go the old fashioned route with issuing PRINT statements. If you do have the Visual Studio IDE available, execute the following steps: open visual studio navigate to server explorer create/open a connection to your database right click on the stored proc you want to work with and choose "Step into stored procedure" For more details, or for a more visual example with the instructions, navigate to this url: http://www.dotnetfunda.com/... ...
Microsoft All-In-One Code Framework is updated on 2010-09-06. Download address: http://1code.codeplex.com/r... If it’s the first time that you hear about Microsoft All-In-One Code Framework, please read the introduction on our homepage http://1code.codeplex.com/, and this Port25 article http://port25.technet.com/a... Windows Shell Extension New Samples How to write a Windows Shell extension using managed code (C#/VB.NET) is an extremely ...
I recently got the following errors when starting Enterprise Single Sign-On on a pre-production BizTalk Server: The SSO service failed to start. Error Code: 0x80131700 The first error gives two suggestions on how to fix this error. The first suggestion is to reinstall SSO. I tried a repair which did not do the job so what about a full re-install? Unfortunately I could not uninstall Enterprise Single Sign-On due it being used by other programs (BizTalk anyone?). The second suggestion is to run regasm ...
*Moved to: A change for the better #3 Over the last 11 months, I have worked for a fantastic group of people at SSW and on a fantastic array of projects. However, the time has now come to specialise in one specific area. I have worked with Visual Studio ALM since its launch in 2005 and more recently with Scrum and the Professional Scrum Developer course that launched in April. Therefore, to this end I am leaving my job as a Solution Architect at SSW for an ALM Consultant role at Northwest Cadence. ...
Back in May and June I jointly run a highly successful (IMVHO) training programme on the Windows Azure Platform over a six week period for UK developers (Check out some stats/background). We have been discussing how we can take that format forward and I am pleased to say we have our first “spin off”. Namely the “Windows Azure Platform – Accelerated Virtual Training Workshop” which will take place in October. Yippeee. The training will be delivered over a two week period and combines instructor led ...
(This is a series of posts covering how to include a WinForm app inside a SharePoint 2007 application, which allows users to upload batches of files to a SharePoint document library. For further info, please see Posts One, Two, and Three. All of the code can be downloaded in Post Two.) Just a quick review of our solution, as detailed in the first three posts of this series: a Custom Action adds a menu choice to a document library’s Upload menu, which links to a Windows Form application deployed using ...
These are my notes on creating a windows service using Visual Studio. Another post will show the code; this just deals with the Visual Studio IDE Add new project -> Windows -> Windows Service Rename service source name Create the installer View service in designer mode Right-click in designer to display menu; choose Add Installer Add Service Process Installer Define parent as Installer Set account as LocalSystem Add Service Installer Set display name Set serviceName; this is what appears in ...
Windows Live has had many lives. It started as a single page at www.live.com, where you could set up various widgets in a tiled configuration. The widgets mostly consumed RSS feeds and the idea was that you could have a home page where the content updated dynamically; i.e. where the content was “live.” I remember when the service was still in Beta and called Start.com; Robert Scoble, then a Microsoft employee, was hawking it pretty hard. It was kind of cool for its time, but it petered out, as did ...
Silverlight es una plataforma dentro del .NET Framework para crear aplicaciones poderosas y estéticamente atractivas para web, desktops, y dispositivos móbiles. Es compatible con varios navegadores de internet y sistemas operativos utilizando siempre el mismo código. Funciona con video HD y con protección de contenido, se puede crear aplicaciones multithreaded, integración avanzada de datos, y además se puede crear aplicaciónes que funcionan offline. Para desarrollar en Silverlight utiliza Visual ...
MVC uno de los dos modelos de programación incluidos dentro del framework de ASP.NET para construir aplicaciones web. El otro modelo es el tradicional ASP.NET web forms. El modelo MVC separa la aplicación web en las siguientes tres partes: Modelo: administra y estructura de la toda aplicación. Aquí se regula aspectos como el acceso a la información, reglas de validación, entre otros. Vista: encapsula la información en una forma presentable; aquí es donde se incluye el HTML y CSS. Controlador: contiene ...
Thanks to everyone who attended the “Flip on LightSwitch!” at the Kansas City Office Geeks User Group last night! Lots of great questions and interaction from the group! As promised, here are the resources we talked about: First, you need a place to play with LightSwitch. As it is beta, a vpc is always a good idea. Currently there are three flavors of the Visual Studio 2010 Ultimate VPC: Microsoft® Visual Studio® 2010 and Team Foundation Server® 2010 RTM virtual machine for Microsoft® Virtual PC ...
Starting a new Visual Studio solution through the IDE is offen too complex and time wasting. Other programs allows per default to create a blank document with the explorer context menu. Why not offer this functionality for Visual Studio? This is no problem – with a blank solution file in the %SystemRoot%\ShellNew folder and addional informations in the registry you have this: The whole bundle is downloadable under: ExplorerContextmenuForCreat... ...

So far this has proved fun to use and also very, very frustrating!! I would very much like the addition of intellisense, support in Visual Studio and Expression!!

First help just about completed….

This is just going to be a quick post on some techniques for getting your XAP size down when creating games for WP7. It is by no means exhaustive. First, XAP files are basically zip files with specific requirements re: mandatory content and directory layout. So any solutions that would involve zip-style compression will almost certainly result in a larger XAP sizes due to added code. So those type of solutions are off-the-table. But if you can shrink your source input in ways that zip compression ...
I recently bought a new PC and I choosed a machine based on the 64bit version of Windows 7. Using a 64bits OS will allow me to use more than 4GB of RAM and this is quite important for me because it will allow me to run multiple virtual machines to test beta products and keep some customers' development environment isolated from the others (for example for customers that need to test and certify each installed QFE and may allow me to install them on my development machine some time after their availability). ...
(This is a series of posts covering how to include a WinForm app inside a SharePoint 2007 application. For further info, please see Posts One, Two, and Four. All of the code can be downloaded in Post Two.) As I promised several months ago, I’ll cover the Custom Action piece of our solution. The custom action is used to allow the users to launch our Windows Forms application using Click Once deployment. Our custom action adds a new link to the Action menu of a document library’s toolbar: Adding a ...
Long ago, in the mid and late-90s, the mobile device market was a bit different from today’s. Palm led the PDA category, with monochrome devices that operated offline, until the Palm VII and its ultra-slow Internet service came out. The Palm VII was all the rage amongst early-adopters…I even bought the erstwhile publisher of Visual Studio Magazine’s predecessor one and shipped it to him, because they were available in New York, but not in the Bay Area, where he was. Then a Canadian company called ...
Update 1 (Sept. 17, 2010): While the part below about using SLSvcUtil.exe to generate the service reference undoubtedly still works, it is no longer necessary. The RTM version of the Windows Phone Developer Tools now properly supports right-clicking on your game project's "References" item in the Solution Explorer and adding a Service Reference that way. ChannelFactory and related methods remain unsupported. For more details see http://msdn.microsoft.com/e... (Networking ...

An updated version of this post is located in the following location:

http://geekswithblogs.net/tonyt/archive/2012/02/16/148728.aspxv

I watched John Papa’s Silverlight TV Ep 42: Apply and Customize the new Silverlight Themes this morning and decided to try it out. I felt that the documentation for getting started was sparse, so I decided to write my own to help the community. First, what is is and why do I care? The themes are designed to provide a navigation template for a Silverlight Business Application. If you are not a designer then chances are you are not going to make something this pretty. =) First, you should download ...
Okay, this is one I’ve been meaning to write for far too long. (So long, in fact, that NDepend 3 is released already, and has been for some time now.) One of the indispensable tools I use is NDepend. This is a great code analysis tool, providing not only valuable insight into our code base, but also visualization tools that let me easily convey a sense of architectural issues to management. Whenever I need to understand why something isn’t working the way I think it should, or I get the dreaded “cannot ...
In this Issue: John Papa, Beth Massi, Simon Jackson, Rob Miles, Pete Brown(-2-), Senthil Kumar, Don Burnett(-2-), and Brian Noyes. From SilverlightCream.com: Apply and Customize the New Silverlight Themes Tsitsi Gora joins John Papa on the latest Silverlight TV to discuss the new Silverlight themes -- did you know about them? -- how about tips on customizing them from one of the devs?? cool stuff. Visual Studio LightSwitch How Do I Videos 5 Lightswitch training videos from Beth Massi ... and more ...
Visual Studio / ReSharper to learn SHIFT + ALT + PgDown/PgUp (R#) Find next/previous error ALT + PgDown/PgUp (R#) Find next/previous suggestion/hint Editing ALT + ENTER (R#, ReSharper.QickFix) Show quick fixes and content actions CTRL + D (R#, ReSharper.DuplicateText) Duplicate (line or selection) CTRL + K, S (VS, Edit.SurroundWith) Code Snippet Picker (wrap around) CTRL + Alt + RightArrow or LeftArrow (R#, ReSharper.ExtendSelection) Extends/Shrinks selection CTRL + K, X (VS, Edit.InsertSnippet) ...
In this Issue: Phil Middlemiss Justin Angel, Kunal Chowdhury, Emiel Jongerius, Microsoft, Channel 9, András Velvárt, Timmy Kokke, Microsoft Expression Blog, Jesse Liberty, and Jeremy Likness. Shoutouts: Jeff Weber announced Farseer Physics Engine 3.0 RELEASED, has a link to it and information about it. Jesse Liberty has posted The Great Silverlight Competency Test – Part 1 Chris Koenig announced Sharing the Light – Silverlight Development with Expression Blend... DFW Silverlight training with Victor ...
Over the past few months I had the great opportunity to tackle the challenge of learning both the iPhone and Android mobile platforms for the first time as a developer. I had used both previously as a consumer, so it was interesting to finally get a chance to jump in with both feet for a work project. I have been focused on .NET development in C# for the past 8 years, but originally cut my teeth on unmanaged C & C++ during the 90's, along with a smattering of Java development for college courses ...
this year I had the pleasure of cramming the following information into my lobes: Book: Schuams Graph Theory - http://www.amazon.com/Schau... - a subset of combinatorics. From my perspective, just use linear algebra - you can bash anything into vectors. some interesting stuff on platonic solids and the 3 color world map. SD - shortest distance SP - shortest path bipartite graph - 2 disjoint sets ...
*Moved to: Rangers shipped Visual Studio 2010 Database Guide Have you ever struggled with the Database Developer (was DataDude) components of Visual Studio? Well I have…and now the ALM Rangers have released a new guide to help us all get the benefits. There is Guidance as well as Hands-On-Labs and even how to do WIX integration for deployment. Read more...Follow my new blog on http://blog.hinshelwood.com ...
After my last post, I discovered a side effect of registering the BizTalk Assembly Viewer. The Assembly Viewer is seen, essentially, as a system drive, but one that opens VERY slowly. The side effect is that when you're in Microsoft Office (and possibly other apps) and try to Save As..., the file dialog hangs. I'm not sure if it will eventually respond, but I got tired of waiting and simply unregistered the Assembly Viewer. To unregister: 1. Open up a Visual Studio Command Prompt 2. Navigate to <BizTalk ...
You’ve heard good things about Visual Studio 2010 but you still need to answer the question “What’s in it for me?” You need to justify the cost the new software as well as the not insignificant cost of migration. The Entity Framework is a powerful tool for creating a conceptual model of your data store and abstract away the details of data access. Exposing these conceptual entities over the wire to client applications mean one of two things: ADO.NET Data Services (now called WCF Data Services) or ...
A few weeks ago my local TFS server stopped responding to Visual Studio because of this error: “TFS Service not available: HTTP Error 503”. So this morning while I was waiting for the kids to finish getting ready for school I uninstalled (yes, I lost my existing repository) and started with scorched earth. I received a new error during this installation: TF254043. Here’s a link to a post that fixes a few problems if you are upgrading, using SQL R2, or just can’t get Basic to run the verifications ...
I blogged last month about an unsolved mystery I was experiencing, which I dubbed the Mystery of the Uncooperative EF Model and the Missing Target Frameworks. Since then, I’ve since expanded that to include the Mystery of why VS.NET 2010 can’t seem to resolve where my .NET 3.5 assemblies reside. Because of all this, let’s just go with the title of this blog, or as it’ll be known in its European release: HOOPED – a boy and his VS.NET installation. Without getting too wordy, let me give you the recent ...
Thanks to all of you who attended my session at STL Day of Dotnet. Hopefully you found it useful. You may find a copy of my presentation here: http://www.slideshare.net/k... I hope to create some follow up blog entries on this topic but in the meantime, you may download the sample project here I have also included the script I used to build the demo. New Project - Silverlight Business Application AdventureWorksHR @ C:\Code Projects\DayOfDotNet2010\ Build and Run. ...
After following steps in this link, I found that my projects would still not build correctly. The error I got in the build was: "The path C:\Documents and Settings\myBuildServiceUser... Settings\Temp\myProject\Bui... is already mapped in workspace myBuildServerMachineName_16." To fix this problem you need to delete all workspaces on the build server (owned by the user account that the build service runs as) - these are named buildservername_nn where buildservername ...
I was listening to the latest episode of the CodeCast podcast this morning, featuring Microsoft's Jay Schmelzer talking about Visual Studio LightSwitch. Host Ken Levy made an interesting analogy for the future choice whether to use LightSwitch or Visual Studio: "Have you ever been to Palm Springs? It's an interesting place because a lot of times you'll see people in golf carts driving around - not just on the golf course - on the street. If someone needs to go from Palm Springs to LA, they need a ...
This past Wednesday, Beta 1 of Visual Studio LightSwitch (VSLS) was be made available to MSDN Subscribers. On Monday, it will be made available to the general public, at http://www.msdn.com/lightsw... Even in advance of Monday, that site is already making useful content available. Specifically, a Channel 9 video called “Visual Studio LightSwitch - Beyond The Basics” is well worth the viewing time. In it, Beth Massi (Program Manager on the Visual Studio Community Team) interviews Joe Binder (a Program ...
While Microsoft continues to add features to WCF with each version, they are also adding features that simplify working with WCF services as well. Historically WCF has been somewhat intimidating to the uninitiated because of the non-trivial configuration for endpoints including behaviors, bindings, and much more. For this reason, a lot of people stayed with “old school” asmx web services. With the new features of WCF 4, you can build powerful web services with *no* svc file and *no* endpoint configuration. ...