Tag | Visual Studio Posts

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, ...
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 ...