Tag | Visual Studio 2008 Posts

This post is for those who want to apply or have already applied (but not finished the interview) for a Microsoft Job. The recruitment process is quite similar for everyone and consists of a few steps. Application E-Mail Interview Phone Interview On Site Interview I will tell you my story and how I went through the four phases. 1. Application My blog's title (Ex Nihilo Nihil Fit) means "Nothing Comes Out of Nothing". You can't get a job at Microsoft by not doing anything - this is true for anything ...
Few months ago, I’ve created a simple demo about “Creating a Simple Registration Form using the ADO.NET way”. In this article, I'm going to demonstrate how to create a simple form that would allows users to insert data to the database using L2S. As an overview, LINQ to SQL is a technology that allow you to query sql server. LINQ to SQL is an O/RM (object relational mapping) implementation that ships in the .NET Framework "Orcas" release, and which allows you to model a relational database using .NET ...
Note: Cross posted from Coding The Document. Permalink Sometimes in order to work with Open XML we need a little help from other tools. In this post I am going to describe a fairly simple solution for marking up PowerPoint presentations so that they can be used as templates and processed using the Open XML SDK. Add-ins are tools which it can be hard to find information on. I am going to up the obscurity by adding a Ribbon button. For my example I am using Visual Studio 2008 and creating a PowerPoint ...
In this post we'll look at the AlphaBlend() api and how it can be used for semi-transparent blitting. AlphaBlend() takes a source device context and a destination device context (DC) and combines the bits in such a way that it gives a transparent effect. Follow the links for the msdn documentation. So lets take a image like, and AlphaBlend() it on our window. The code to do so is below, (under the WM_PAINT message of WndProc) HBITMAP hBitmap=NULL, hBitmapOld=NULL; HDC hMemDC=NULL; BLENDFUNCTION bf; ...
For those in the Ann Arbor, Michigan area, you might be familiar with the “Come Jam With Us” project. Every week, we get together for an hour and code on a particular topic. It is usually led by one or two people and the rest of the group codes along in order to learn about the topic at hand. It is a really great forum for learning new concepts and technologies. This week, on Tuesday, March 2nd, I will be hosting an MVVM jam session at 5:30 (directions). I will be taking you through the process of ...
Although the azure application will be running on the sky we still need to develop it on the ground since we would not be able to fly. In order to make it easy and simple to work with azure on local machine we need to download the Azure SDK firstly. Azure SDK extend Visual Studio 2008 and Visual Studio 2010 RC to enable the creation, configuration, building, debugging, running and packaging of scalable web applications and services on Windows Azure, and it includes all necessary assemblies which ...
I am currently (Feb 2010) moving lots of Azure samples originally built in Visual Studio 2008 to Visual Studio 2010 RC. I just realised there is a simple mistake folks can fall into. Easy to do, easy to avoid. When opening an Azure solution originally built in Visual Studio 2008 you will see the Conversion Wizard. Once you click Finish you will see this dialogue box with a default of Yes. Do not click Yes! Instead click No. The reason is simple. As of Feb 2010 the Windows Azure Fabric in Microsoft ...
I have been using VSeWSS 1.3 since it first became available. As of this writing it is still in the CTP release stage. The previous version, 1.2 is still available, but the biggest advantage of the 1.3 release is support for 64 bit OS which was a prime motivator for me. Also 1.3 now supports publishing sites which was not possible with the previous versions. VSeWss 1.3 March 2009 CTP is available, and is the version I am using for the purposes of this article. A good blog post about the extensions ...
Recently my son had noticed that I was reading eBooks on my BlackBerry Storm using MobiPocket reader. Since he and I share an interest in a lot of the same books, he inquired as to if he could do the same thing with his cell phone. Unfortunately his phone is not capable of running MobiPocket reader. I remembered that I still had my Sony Clie NX70V which in its day was a fantastic Palm device. And I used to use it to read eBooks with MobiPocket as well. The problem was that I was not sure I could ...
I just ran into a scenario where I couldn't find a file in it's expected directory. I took the next logical step and ran a typical search using Windows Explorer. Unfortunately this search turned up no results. I then found out about the WHERE utility in the Visual Studio 2008 Command Prompt. Using this utility I was able to display all possible locations of the file on my machine based on a search pattern. Here's what you do: Start -> Programs -> Microsoft Visual Studio 2008 -> Visual Studio ...
[Source: http://geekswithblogs.net/a... I recently had the pleasure of installing and configuring the ESB Toolkit 2.0 in a multi-server environment. There are some notes on how to do this in the official documentation but they’re not exhaustive and they don’t include details on how to install the management portal in a multi-server environment. Prerequisites: · Install and Configure BizTalk in your multi-server environment · Install and Configure UDDI in your multi-server ...
I wrote this short article for the 27th of January edition of the UK MSDN Flash newsletter. I thought it would be useful to sneak it in here as well especially as it will be the basis of a number of upcoming blog posts – probably about seven of them :-) Seven things that may surprise you about the Windows Azure Platform January 2010 is when the Windows Azure Platform for Cloud Computing moved from beta to live. We have three services live and already serving applications developed in the UK: · Windows ...
We’ve been upgrading our BTS 2006 R2 projects to Visual Studio 2008 while using Visual SourceSafe 2005. We all started to get this annoying error pop-up when checking files in and out. Unexpected error encountered. It is recommended that you restart the application as soon as possible. Error: Not implemented File: vsee\pkgs\vssprovider\csolu... Line number: 2111 There is a workaround available thanks to Stephen Burdeau In the VSS "Check Out for Edit" or "Check In" dialog, change from ...
When exporting a Crystal Reports Basic for Visual Studio 2008 report in Excel, HTML, or PDF/RTF/Word format, you can specify formatting options for the export using an ExcelFormatOptions, HTMLFormatOptions, or PdfRtfWordFormatOptions object, respectively. Each FormatOptions object has 3 properties that can be set: UsePageRange, FirstPageNumber, and LastPageNumber. By default, their values are: UsePageRange = False FirstPageNumber = 1 LastPageNumber = 1 If you want to display all pages of the report, ...
I like using ASMX Web Services (WS)in my code -- either creating them or just calling them. (Yes, I use Windows Communication Foundation (WCF) also). One of the best features of the WS call is that the object model can be exposed to allow the caller to return specific results that need no additional parsing. This does not hold up, however, if the result is returned in a string of raw XML as the result may require additional parsing to be of best use. Here is an example of calling Web Services where: ...
Lately I have been diving deep into the world of TFS integration with MS Project 2007. What I mean by that is having a project plan that is created and then loaded into TFS as workitems. So the idea is that a PM can still manage their project in a tool that lends itself to that and that they feel comfortable with. One of the new features of TFS 2010 is that you can define work items as either a parent or a child of another. This new relationship is fantastic when you are managing a small project ...
Earlier I had written 2 posts – Taking your Northwind Database to SQL Azure and binding it to an ASP.NET GridView Part I and Part II . I thought, I will complete the series with a post on moving your ASP.NET Application as well to Windows Azure making it a truly cloud based application. Before we start, there are a bunch of things that you would need to do. First and foremost, you would need a Token for Windows Azure. You can request for a free token for Windows Azure from here after providing your ...
If you have used the Entity Framework that shipped with Visual Studio 2008 SP1, you would really start appreciating the flexibility it offers for building schema driven data access layer and get it to the UI Layer either directly or using a middle tier such as WCF RIA Service. Check my earlier post on this, if you are interested further :) Meanwhile, the other exciting stuff that has been around is the SQL Azure which is part of the Windows Azure platform. SQL Azure provides relational data over ...
While working on SQL Azure connectivity from Visual Studio 2010, I faced the above error. The full error text is as below:- “Server name cannot be determined. It must appear as the first segment of the server's dns name (servername.database.window... Some libraries do not send the server name, in which case the server name must be included as part of the user name (username@servername). In addition, if both formats are used, the server names must match. “ As the message suggested, I tried putting ...
I have been playing with the WCF RIA Services (erstwhile .NET RIA Services) for sometime and found that most of the samples out there focus on Silverlight based applications. While the new WCF RIA Services preview for VS 2010 is awesome in terms of its Silverlight integration, I also wanted to test out on building plain vanilla ASP.NET Applications and using the power of WCF RIA Services to build a middle tier for the same. Ok, to begin with, I already had Visual Studio 2010 Beta 2 installed and ...
It's been a while since I built a windows service and I forgot how annoying it is having to install and uninstall it using installUtil.exe from the command line every time I build it. Automating this task makes building and running windows services projects in Visual Studio much more fluent. In Visual Studio 2008 right click on your windows services project and choose properties from the context menu to open the properties window. On the compile tab, at the bottom right click the Build Events... ...
The project and item templates allowing you to create pre-wired MVVM Light applications are now also available for Expression Blend 3 and Expression Blend Preview for .NET 4 and Silverlight 4. The installation process is manual, but not difficult at all (unzipping a few files to predefined paths). I did document the installation process here. Read the rest of this entry » ...
We are working on a cloud based application for a long time existing customer. we came across a pretty interesting challenge. The problem was; the New cloud based application needed to be able to integrate with our existing legacy applications. in particular our call center application. We have no intentions of moving this application to the cloud, however we need to be able to have access to some of that data with our new Application. Couple of weeks ago At PDC, during the Keynote Andy Lapin of ...
[NOTE: Shows 12 and above are not currently available on ITunes while I finalise the switch of podcast hoster] While at TechEd Europe in November 2009 I had a chance to catch up with the two lead developers of the Pex team Peli de Halleux and Nikolai Tillmann. Pex enables white box testing. It looks at your code, finds all the branches and determines which inputs will result in those branches being executed. Pex attempts to exercise every reachable statement in your code. It works with Visual Studio ...
Update: The templates are also available for Expression Blend 3 and Expression Blend Preview for .NET 4 and Silverlight 4. I just published the latest alpha version of the MVVM Light Toolkit. I will post more about the new features in this alpha version, but the most exciting is probably that with this release, the MVVM Light Toolkit works in Windows Presentation Foundation 4 and in Silverlight 4 (in Visual Studio 2010). Read the rest of this entry » ...
Welcome to the first part of the Silverlight 3 tutorial. I know SL4 Beta is out, but if you have your fundamentals right, versions are not a problem, just a little bit of study will keep you abreast of the latest version. Here are some prerequisites for this tutorials. Remember, our ultimate aim here is to create a Twitter client from Silverlight. Softwares required: 1) Visual Studio 2008 with SP1 2) Silverlight 3 Tools for VS2008 - here 3) Silverlight 3 SDK – here 4) Expression Blend 3 – I am not ...
After installing VS2005 TE on my machine (which previously runs Visual Studio 2008 TE) all mixed projects (VS2005/VS2008 compatibility with TargetFramework=2.0 and ToolsVersion=2.0 options) thrown an error during compilation: C:\Program Files\MSBuild\Microsoft\Vis... error : In order to perform Code Analysis on managed binaries, MSBuild needs to launch FxCop. MSBuild is unable to locate the FxCop binaries. Make sure Visual Studio Team ...
I was asked a little while back to pull together the best training resources for .NET development to feed into a MSDN UK site. I thought it would be useful to share here as well. By no means everything is listed but sometimes less is more :-). Enjoy: Top Tip: Watch out – these are sometimes big downloads. For instance I just downloaded a high def PDC2009 session at 600MB! I recommend you check out Free Download Manager – it is a great open source tool for working with large files. Offline Training ...
I have been working with T4 (Text Template Transformation Toolkit) lately thanks to the Entity Framework team moving their code generation model over to T4 in Visual Studio 2010. However by default Visual Studio 2008 and 2010 do not include syntax highlighting or intellisense support for T4 files, which makes it rather difficult to work with them (very difficult at times!). Thankfully there are partners who address this. The one I am using with Beta 2 of Visual Studio 2010 is the Tangible T4 editor. ...
[This is the second in a series of posts on getting started with the new features in Entity Framework 4 based on the demos I did in my session at TechEd Europe in Berlin last week (Nov 2009).] Code generation from the Entity Data Model (EDM) has changed significantly in version 4 of the Entity Framework. The product does retain a backwardly compatible model of code generation but also now includes T4 templates for code generation. This is a fantastic addition to the Entity Framework as many developers ...
All these days I was trying out with ADO.Net Dataservices in my local Visual Studio 2008 express which used to run in the Cassini WebServer which comes along with that. I was having some problem with the port as the number is dynamic.So I decided myself to upload the same in IIS and did so. When tried running the app pointing to the DataService file "Data.svc" I got a boom error saying the MIME type was not registered. I was going through IIS trying to find a possible solutions .I tried adding the ...
*Moved to: Installing Visual Studio 2008 Team Foundation Server SP1I have been trying since SP1 was released to get it installed at Aggreko, but due to our global, three time zones, development team and release schedules it has been very difficult to get some time set aside for it. Now that I am leaving, last day is Tuesday 17th November, there was more of an apatite to take the hit on time and get it installed.Read more...Follow my new blog on http://blog.hinshelwood.com ...
No? Nor me. (If you are wondering what Mocking is, check out my previous post on Mocking, Stubs and Test Doubles.) I am at TechEd Europe this week in Berlin, speaking on Entity Framework 4.0 and manning the .NET Framework stand. Behind the .NET Framework stand is the Pex and Code Contracts stand manned by the two lead developers of Pex, Peli de Halleux and Nikolai Tillmann. I looked at Pex many months back but was completely unaware of a great new feature they added in September 2009 – Stubs and ...
<< Part 2 – A quick look at IronRuby Gambling with Cucumbers In part 2 we demonstrated how we can mix .NET and Ruby though IronRuby. The question is, why would you want to do that? It is probably easier to stick with one language for most projects. Why combine them? The problem with BDD in .NET One area where Ruby currently has a clear advantage over.NET is in the realms of Behavioral Driven Development (BDD). You can write Unit Tests and Integration Tests in .NET just fine, but what about ...
Game development is a great career but we all can't be the next John Carmack. And let's be honest, even though you've got a great resume and a smashing portfolio, the odds are slim you'll get that coveted game programmer job. To sharpen your skills and expand your portfolio why not take a look at Microsoft's XNA Game Studio? XNA Game Studio is a library built on top of the DirectX framework to ease game development for students and hobbyists while still providing enough flexibility to create games ...
This is a follow up to my usergroup presentation I recently did for Gold Coast Usergroup recently. I have many emails, ok just 2 asking me to document my presentation so they can get started developing with windows Azure. before you get started you need to make sure your development machine is running, Vista or Windows Server 2008 or my favorite windows 7, you also need to have IIS 7.0 with WCF HTTP activation installed. Next you will need to have Visual Studio 2008 or Visual Web Developer Express. ...
In this Issue: Alex Knight, Michael Washington, Gavin Wignall, Tim Heuer, Shawn Wildermuth, Karl Shifflett(2), Mark Miller, The Silverlight Blog, René Schulte Shoutouts: In addition to the XAML Power Toys release noted below, Karl Shifflett also announced XAML Power Toys for Visual Studio 2008 v5.0.0.1 Released Rob Eisenberg has announced Caliburn v1 RTW for WPF, Silverlight 2.0 and 3.0! Shawn Wildermuth shares his material with us from his Second Week of European Conference Tour... like being there ...
*Moved to: A change for the better #2In the last 2+ years at Aggreko I have worked with Visual Studio 2008 Team Foundation Server, Office SharePoint Server 2007 and a number of WPF, Silverlight and ASP.NET projects. There had been some discussion of a new role within Aggreko in the solution architecture arena. I also spoke to Adam Cogan who has the title “SSW Chief Architect and Microsoft Regional Director”…Read more...Follow my new blog on http://blog.hinshelwood.com ...
In this Issue: Rishi, Andrea Boschin, Tiago Andrade e Silva, Jeff Wilcox, Vijay Rajagopalan, Gavin Wignall, Damon Payne, Tim Heuer, Hannes Preishuber, Jafar Husain Shoutouts: Watch a webcast by Tim Heuer in the Architect Innovation Cafe – Webcast Series: An Architect’s perspective on Silverlight 3 Andrew Duthie announced Visual Studio 2010 and .NET Framework 4 Training Kit – October Preview Rob Bagby had this announcement up: Watch the Windows 7 / Windows Server 2008 R2 Launch Virtually From SilverlightCream.com: ...
The team and I were having a conversation about developers (we do that from time to time). It went something like: “Isn’t it a shame that so many developers are stuck on Visual Studio 2005 when Visual Studio 2008 would be way better for them and Visual Studio 2010 is just around the corner” “Why is that?” <LONG CONVERSATION LISTING EVERY REASON DEVELOPERS ARE ON 2005 DELETED> “And… then there are all these myths that developers believe to be true which hold them back from adopting Visual Studio ...
Javascript Intellisense I read this interesting artilce when trying to enable intellisense for my Javascript file. Don miss this as its very useful. Its similar to what we do for VB or C# for intellisense i.e XML documentation. Same concept applies for JavaScript also. This will work in Visual Studio 2008 as there is an enahncement for this. Thanks, Thani ...
Resource Refactoring Tool a nice tool under Visual Studio 2005 - but with Visual Studio 2008 a lot of peoples (including me) have troubles :-( Multi-Language Add-In for Visual Studio must be evaluated - looks fine Zeta Resource Editor must be evaluated - looks fine RGreatEx Resource Refactoring Tool (Link 1) RGreatEx Resource Refactoring Tool (Link 2) must be evaluated - looks fine ...
If you’re a web developer using Microsoft technologies then, unless you’ve been hiding under a rock somewhere, you’ve probably heard of ASP.NET MVC. If you’re not sure what it is, how it works, or why you would want to consider using it, you’ll find three videos on the ASP.NET MVC page that will answer most, if not all, of your questions. Video #1, titled “Why Use ASP.NET MVC?”, is a 3 minute video which provides a high-level overview of ASP.NET MVC for decision-makers. I especially like the motor ...
Earlier, I had written this post on how you can accomplish using FileUpload control in UpdatePanel since by default it wasn’t supported. The post seems to have helped many and keeps being the most visited one. However, with the new release of Ajax Control Toolkit (v 3.0.30930) released specifically for .NET 3.5 SP1 (with Visual Studio 2008 SP1), there are couple of new controls. One of them is the AsyncFileUpload control. Thanks to the codeplex community which keeps getting better and better with ...
The debate has risen of what the best practice is for WCF proxies, should they be generated using Visual Studio references pointing to a WSDL or should they be hand coded and shared alongside service and data contracts through libraries? Now, admittedly of course using the WSDL option is the instant preference for WCF services that have the potential of facing non .net clients, but what about those who for all intents and purposes will likely forever be consumed by .net clients? Yavor Georiev from ...
I created a brand spanking new environment, Server 2008 x64, SQL Server 2008, WSPBuilder, and Visual Studio 2008 Team Systems…All the awesome that you would expect out of a base development environment for SharePoint. I get to the Shared Service Provider and it keeps prompting me to authenticate repeatedly. I checked the logs and it looked like it wasn’t even passing credentials in the Event Viewer. I got that generic can’t pass the token or whatever error. So I thought maybe it’s related to a trusted ...
If you like to migrate your Web tier or the ASP.NET Application to Windows Azure, check my new posts Part I and Part II In the previous post we had examined on getting access to SQL Azure, creating your first database, accessing it with SQL Server Management Studio and then migrating the Northwind database schema to SQL Azure using the SQL Azure Migration Wizard Beta. UPDATE: The latest version of SQL Azure Migration Wizard migrates both Data and Schema. You can download the same from http://sqlazuremw.codeplex.... ...
Recently I upgraded to Windows 7 RTM and started setting up my machine. The usual set of tools I install are Visual Studio 2008, SQL Server 2008, Expression etc., Also, for .NET 3.5 and Visual Studio 2008 I would require to install the respective SP1 releases as well since they are mandatory and contain tons of new features as well. I had done this in the past in Windows Vista, Windows 7 RC etc., and while I was trying to install .NET 3.5 SP1 on the new Windows 7 RTM, it surprisingly, popped up a ...
ASP.NET MVC Reports in ASP.NET MVC Integrating OpenID in an ASP.NET MVC Application using DotNetOpenAuth Microsoft Chart Controls to PDF with iTextSharp and ASP.NET MVC Setting Up ASP.NET MVC with NUnit for Visual Studio 2008 Standard Edition ASP.NET MVC ExtJS using LINQ Using ExtJS Grid with ASP.NET Ajax WCF WebServices & C# How To Get Started With Selenium Core And ASP.NET MVC ASP.NET MVC Cheat Sheets ASP.NET How to Implement Trackback Handler in ASP.NET How to Implement Pingback Handler in ...
Team Foundation Server allows you to see who has what file checked out at any time. If you would like to see a list of files that any TFS User has checked out, follow the steps below: Open Visual Studio 2008 > Click File > Source Control > Find In Source Control > Status Select "Display all checked out" or "Display files checked out to" (to filter changes by user) Hit Find The screenshots below show the type of results you should expect. Another great way to get this info is by using ...