Tag | Visual Studio 2008 Posts

Last week I was asked to mask or obfuscate a large volume of data residing in a production database for our software quality assurance team to use in testing some functionality. The data resided in various tables and in several columns per table. Yet, this procedure would need to be done over and over again as the data gets depleted. Yet, the masking supposed to be hidden from the QA people and centrally controlled. I proposed to use SSIS. The next day I did a web scan to just find out that noting ...
A while back I was helping a client upgrade SharePoint 2007 code to SharePoint 2010 and I came across this interesting problem. I was working web parts that were created in Visual Studio 2008 using WSPBuilder extensions. The first order of business was to convert them to Visual Studio 2010 templates instead of using WSPBuilder 2010 extensions. Why Use Visual Studio 2010 templates? There are two main reasons I highly recommend using Visual Studio 2010 templates instead of using WSPBuilder 2010 templates. ...
Recently I delivered a session at Virtual TechDays on why NuGet is so useful. As a part of the demonstration, I was showcasing how it automatically allows us to update some of the external reference libraries. Point in case, here is jQuery. Starting Visual Studio 2008 SP1, we have been shipping jQuery and intellisense for jQuery thereof. With Visual Studio 2010, out of the box, when we create a “File – New Project – ASP.NET Web Application” (which would create a Webforms application) it would automatically ...
One of the greatest benefits of building your solution flies in MSBuild (vs in Visual Studio directly) is that it doesn't lock up the Visual Studio UI, which can be a huge pain if you have a large solution that takes several minutes (or longer) to build. Building your solution in MSBuild leaves you free to inspect code in Visual Studio while your solution is building. The only problem is that to do this you have to open a command prompt and type the command + path every time to build. If you want ...
Let me start with this disclaimer: this is not a supported environment. You may/will run into problems and then you’re on your own. Microsoft will not help you here. If you want to develop for Surface (v1, that is, since that’s the only one available at this time of writing) you will have to use Windows Vista 32bit and Visual Studio 2008 Pro or higher. So, that’s out of the way. Let’s return to the real world. I am, of course, running Windows 7 Ultimate (64bit) and Visual Studio 2010 Ultimate. After ...
The hardest part about using a new technology, such as HTML 5, is getting to what features are available and the syntax. One way to learn how to use new technologies is to adapt your current development to help you use the technology in comfort of your own development environment. For .NET Web Developers, that environment is usually Visual Studio 2010. This technique intends on showing you how to get HTML 5 Intellisense working in your current version of Visual Studio 2008 or 2010, making it easier ...
Recently we upgraded one of our solutions from Visual Studio 2008 to Visual Studio 2010. After checking in our code to our 2008 Team Foundation Server, the CI build unexpectedly failed. We were getting errors like: c:\build\MyApplication\MyAp... error MSB4019: The imported project "C:\Program Files\MSBuild\Microsoft\Vis... was not found. Confirm that the path in the <Import> declaration is correct, and that the ...
Turns out you can't just move a TFS warehouse/cube from SQL Server 2005 to 2008... Once performed we got the following error on the TFS app server tier - when we tried to update/process the cube (both manually and via the TFS scheduler service): Detailed Message: Failed to load adapter Microsoft.TeamFoundation.Wa... Exception Info: \n Microsoft.TeamFoundation.Se... Error encountered when creating connection to Analysis Services. Contact ...
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; ...
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 ...
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. ...
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 ...
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 ...
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 ...
En el artículo anterior se definieron los conceptos de la Nube y Cloud Computing, y se repasó rápidamente la evolución de tecnologías que favorecieron el surgimiento de dicho paradigma. En el presente artículo se definirán los diferentes conceptos “*aaS” relacionados con el concepto de cloud computing (SaaS, PaaS, IaaS, etc.). SaaS digamos que ya es un término hasta cierto punto conocido, pero ¿y los demás? Eso es lo que se aclarará en este artículo. Los servicios de computación en la Nube, así como ...
One of my colleagues pointed me at Howard Baines as a recent example of a web consultancy already using Visual Studio 2010 and Entity Framework 4.0 to build web applications. I managed to grab a little time with co-founder Clive Howard (on twitter) to talk through some of the decisions, especially as I was intrigued to learn that they started out on Open Source Software including Ruby on Rails before switching to the .NET Framework. We discuss: Why switch to the .NET Framework? Entity Framework 4.0 ...
I started training on SharePoint 2010 about 3 months ago and I decided that I needed to blog about the ease of developing Silverlight applications with Visual Studio 2010 for SharePoint 2010. In Visual Studio 2008 the methodology would be to: 1. Create a Silverlight application 2. Create the XAP file 3. Move the XAP file into a SharePoint document library or Layouts folder 4. Put a Silverlight Web part on a SharePoint page (not OOTB) a. Link the Silverlight web part to the XAP file 5. Debug the web ...
If you haven’t seen the video demo in my last post, I suggest you watch it first to get a better understanding. So in this post we are going to see how the WCF service, the .NET Compact Framework application running on HD2 and the Silverlight application running on the Windows Phone 7 emulator work together. The Objective We are going to write three applications, a simple WCF service hosted in a windows console application which implements two functions, one called UploadAccelData() and the other ...
Lightning was one of several code names for a high performance, multi-language, managed execution system for COM+. It eventually became the .NET Common Language Runtime (CLR) which is now an integral part of the .NET Framework. Denali was the code name for the data-driven Web server technology that became Active Server Pages and shipped in Internet Information Server 3.0. Denali (the "High One") was the name the Athabascan people gave the massive peak crowning the Alaskan range, which American explorers ...
Since the commerical availability of Windows Azure, there were a few releases of Windows Azure tools for Visual Studio that had shipped. Now, there is an updated version of Windows Azure Tools for Visual Studio available. It is available as Windows Azure Tools for Microsoft Visual Studio 1.2 (June 2010) and can be downloaded from here This includes support for Visual Studio 2010 RTM as well as Visual Studio 2008 SP1. Other features include Cloud Storage Explorer, .NET 4 support and few other new ...
I was recently on a project that required me to move SharePoint content to SQL Database. As I searched the best way to do this, I thought of a timer job that would run nightly and move the data to SQL, a co-worker who is a SQL expert suggested I use SSIS to move the data over. I started searching online and came up with a couple of options the most notable being the technet article. The problem with the example on technet is that it uses a custom connector that connect one Document library or List ...
A little Background For quite some time now, it’s been possible to merge multiple .NET assemblies into a single assembly using ILMerge in Visual Studio 2008. This is especially helpful when writing wrapper assemblies for 3rd-party libraries where it’s desirable to minimize the number of assemblies for distribution. During the merge process, ILMerge will take a set of assemblies and merge them into a single assembly. The resulting assembly can be either an executable or a DLL and is identified as ...
In the process up updating an app from Visual Studio 2003 to VS 2008. It happens to have a couple dozen crystal reports that it executes regarly. Upgraded visual studio to 2008, and when attempting to generate the reports an exception was thrown. A significant portion of the rendering engine for Crystal Reports is not coming from Crystal, it's coming from Visual Studio and those methods and properties have changed over the years. I needed to upgrade the report generating methods from the VS 2003 ...
The opinions mentioned herein are solely mine and do not reflect those of my employer Wanted to post this for a long time but couldn’t. I have been an ASP.NET Developer for quite sometime and have worked with version 1.1, 2.0, 3.5 as well as the latest 4.0. With ASP.NET 2.0 and Visual Studio 2005, came the era of AJAX and rich UI style web applications. So, ASP.NET AJAX (codenamed “ATLAS”) was released almost an year later. This was called as ASP.NET 2.0 AJAX Extensions. This release was supported ...
This walkthrough describes how to convert a Visual Studio .NET 2002 or Visual Studio .NET 2003 Web project to a Visual Studio 2008 Web application project. The Visual Studio 2008 Web application project model is like the Visual Studio 2005 Web application project model. Therefore, the conversion processes are similar. For more information about Web application projects, see ASP.NET Web Application Projects. You can also convert from a Visual Studio .NET Web project to a Visual Studio 2008 Web site ...
A few months ago I was constantly using Visual Studio 2008 with Team Foundation Server 2008. Searching for work items with queries inside Visual Studio became a pain until I found an add in that simplified it into one little search box in the IDE. It allowed me to enter some text in, hit the enter key, and it would bring back a list (aka open a .wiq file) of work items that matched the text entered. I became a huge fan of Noah Coad's Search Work Item Add In. He wrote a pretty good blog on how to ...
A couple of weeks ago I had some issue with my BizTalk Server 2009 development environment which resulted in a reinstall of Visual Studio 2008 and the Visual Studio 2008 Service Pack 1. Following this reinstall I began to have problems when trying to create BizTalk 2009 projects: Error Details: “Create BizTalk Project …. Project Creation Failed” It turns out that this is a known issue with BizTalk Server 2009 and Visual Studio 2008, whereby the installation of the Visual Studio Service Pack 1 can ...
Introduction You have installed Team Foundation Server 2010, you are ready to go. Your client is Visual Studio 2008 SP1, and need to connect to TFS 2010. Here is the story, the steps to configure Team Explorer are almost the same … meaning, you will open Visual Studio, then go to Team Explorer. At that point you will Add an Existing Project, this where we connect to TFS. Except, we get this: Now what?!? We need to install the Visual Studio Team System 2008 Service Pack 1 Forward Compatibility Update ...
At my previous employer, when developing for BizTalk Server 2004 using Visual Studio 2003, we made use of separate development and deployment environments; developing in Visual Studio on our client PCs and then deploying to a seperate shared BizTalk 2004 Server from there. This server was part of a multi-server Standard BizTalk environment comprising of separate BizTalk Server 2004 and SQL Server 2000 servers. This environment was implemented a number of years ago by an outside consulting company, ...
Microsoft Visual Studio 2010 introduces the concept of rule sets when configuring code analysis. This is a valuable change from Visual Studio 2008 that I didn't even realize I wanted. Visual Studio 2008 by default selected all rules and then you had to remove rules on an item by item basis. The rule sets fall into logical groups including "Microsoft All Rules", "Microsoft Basic Correctness Rules", "Microsoft Security Rules", et al. And within the project properties you can select one rule set, multiple ...
During one of my last semesters in college we were required to take a class call Computer Graphics which tried (quite unsuccessfully) to teach us a combination of mathematics, OpenGL, and 3D rendering techniques. The class itself was horrible, but one little gem of an idea came out of it. See, the final project in the class was to team up and create some kind of demo or game using techniques we learned in class. My friend Paul and I teamed up and developed a top down shooter that, given the stringent ...
With MVC2 officially released, I was involved in a few conversations regarding the feasibility of upgrading existing MVC 1.0 projects to quickly leverage the newly introduced MVC features. Luckily, Microsoft has proactively addressed this question for both Visual Studio 2008 and 2010 and many online resources discussing the upgrade process are a "Bing/Google Search" away. As I will happen to be speaking about MVC2 and Visual Studio 2010 at the Ft Lauderdale ArcSig .Net User Group Meeting on April ...
I tried installing the .NET Framework 4.0 and ASP.NET MVC 2 Framework through the web platform installer. It took a long time and finally i had a restart in between for .NET 4 installation and after that due to my system hang problems had to do a couple of restarts. And after that tried installing the ASP.NET MVC 2 alone and it succeeded. (During this time i had all my VS instances closed). I am having VS 2008 SP1. And finally after opening VS 2008 and clicking on new project it said the above error ...
Today I came across a wierd issue in a Visual Studio 2008 Code Coverage Analysis. Consider the following method: private IController GetController<T>(ICon... context) where T : IController, new() { IController controller = new T(); controller.ListeningContext = context; controller.Plugin = this; return controller; } This method is called in a unit test as follows (MenuController has an empty constructor): controller = plugin.GetController<Men... After calling this method ...
Although the team's intentions might have been good, the new help system in Visual Studio 2010 is a huge step backwards (more like a cannonball-shot-kind-of-leap really) from the one we all know (and love?) in Visual Studio 2008 and 2005 (and heck, even VS6). Its biggest problem, from my point of view, is the total and complete lack of the Help Index feature: you know...the thing where you just go and type in what you're looking for and it filters down the list of results automatically. For me this ...
If you follow this blog, you know how much I love marbles. I was staying up for Microsoft's It's Time To Share event and I thought I'll write up a C# version of Colliding Marbles. It's a pretty straight forward port from the native version, the only major difference being in the drawing primitives. Video follows. The solution was created using Visual Studio 2008 and the source code is shared below. Source Code: CollidingMarbles.zip [Shared on SkyDrive] Video ...
A customer recently contacted me because after installing an SDK it didn’t show up in Visual Studio 2008. So being a good vendor I installed VS2008 and then installed the SDK – no problem the SDK showed up and I could create projects based on it. I let the customer know that the SDK definitely works with VS2008. The customer got back to me and asked what OS I was using. Hmm, how could that play into this? I told him that I use Windows XP, and it turned out that he is way more modern than I am and ...
I have been working on a few client app projects in my spare time that need to persist small amounts of data and have been looking for an easy to use embedded database. I really like db4o but I'm not wanting to open source this particular project so it was not an option. Then I remembered that there was an ADO.NET provider for sqlite. Being a fan of sqlite in general, I downloaded it and gave it an install. The installer added tooling support for both Visual Studio 2008 & 2010 which is nice because ...
BizTalk projects require some manual intervention in order to upgrade them. First of all make sure that you do not port single BizTalk Project from a solution. So the porting should be done for a complete BizTalk 2006 solution. Execute the following steps to port a BizTalk solution / project: Open the projects' solution file (.sln) using a text editor – NotePad++ is recommended. Remove all the contents (in red below) between (not including) the following elements: GlobalSection(ProjectConfig... ...
Overview Windows Azure Tools for Microsoft Visual Studio extend Visual Studio 2008 and the upcoming Visual Studio 2010 RC to enable the creation, configuration, building, debugging, running and packaging of scalable web applications and services on Windows Azure. To download Tool: http://www.microsoft.com/do... Ram Technorati Tags: Ram ...
Unit Testing with VS2008 Team System and Moq In order to loop around the software development life cycle, you do really have to do the unit testing. Once you get in this stage, you will realise that you need to get your hand dirty with heaps of isolation and refactoring and you wish the whole team had been practicing the Test Driven Programming. It is vital that you test your application and the more dependencies you have in classes, the deeper nightmare for isolation. Possibly in some cases, bad ...
Introduction We are adopting Click Once as a deployment standard for Thick .Net application clients. The latest version of this tool has matured it to a point where it can be used in an enterprise environment. This guide will identify how to use Click Once deployment and promote code trough the dev, test and production environments. Why Use Click Once over SCCM If we already use SCCM why add Click Once to the deployment options. The advantages of Click Once are their ability to update the code in ...
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 ...