Tag | VS 2008 Posts

Environment what we are building consists of: Operating System: Windows Server 2008 SP2. Database Server: SQL Server 2008 with SP2. PeopleSoft Application: PeopleSoft Enterprise Human Resources Management System and Campus Solutions 9.0 PeopleTools: PeopleSoft PeopleTools 8.52 Web Server: Oracle Web Logic Server 10.3.4 The machine name given for this environment is WIN2K8 and currently only 1 user, the default username is Administrator and it is the local admin. The below steps are performed with ...

Visual Studio 2010 is not support built-in syntax highlight for HLSL, and I found great soultion – NShader – HLSL\ GLSL \ CG - Shader Syntax Highlighter add-in for Visual Studio. And now editor window with loaded *.fx file looks like following: NShader support VS 2008 and 2010, and it’s free. Another way to get syntax highlight is to set VS for opening *.fx in Notepad++ (with one of HLSL language definitions, it hasn’t built-in support). I like to stay inside Visual Studio, so I prefer NShader :) ...

We are glad to release the BizTalk RFID Data Services as part of our open source contribution here at Tellago. Let me get into some details on what’s BizTalk RFID data service and who can take advantage of it. BizTalk RFID data service is all about exposing BizTalk RFID artifacts as Restful service interface which can be easily accessed by different application within the enterprise and outside such as mobile applications. So anyone who wants to monitor the BizTalk RFID can take advantage of it. ...

Visual Studio 2010 Service Pack 1 (SP1) is now available for general download for almost a week now. The Beta of SP1 came couple of months back and it did a lot of performance enhancements, added support for HTML5 tags and few other stuff related to web development. Now, the final release of SP1 is available. The good part is that, if you had installed the SP1 beta, you don’t have to remove the Beta and start all over again. You can apply the final release on top of the Beta and it works like a charm. ...

Came across this today when I switched from WIX 3.0 and VS 2008 to WIX 3.5 and VS 2010. The solution ended up being pretty simple. Just need to update the Wix Project Properties to provide an additional parameter to the compiler and linker. These can be found at Wix Installer Project Properties > Tool Settings > Additional Parameters Compiler and Wix Installer Project Properties > Tool Settings > Additional Parameters Linker. Just make sure to add ‘-ext WixIIsExtension’ in the fields ...

A simple and straight forward article taken from http://christopherdeweese.c... which uses WCF REST Service Template 40(CS) Drop the Soap: WCF, REST, and Pretty URIs in .NET 4 Years ago I was working in libraries when the Web 2.0 revolution began. One of the things that caught my attention about early start-ups using the AJAX/REST/Web 2.0 model was how nice the URIs were for their applications. Those were my first impressions of REST; pretty ...

You may come up against this little error when working on a MVC application, I specifically find things like this crop up when you are upgrading from previous version e.g. VS 2008 to 2010 and the like. They are a complete pain in the bum quite frankly, you can spend hours googling around, trying this trying that, posting questions here and there etc etc…so I’m adding to the this and that which you will of course try, because it’s the sort of error you don’t care about…it’s just getting in the way ...

Microsoft has made a target Schema for HTML 5 development. This schema can be installed on VS 2008 en VS 2010. You can download it form this website. Then run the installer. If VS 2010 is not installed in it’s default location (C:\Program Files\Microsoft Visual Studio 10.00), then after running the .msi, you will have to manually move the ‘html_5.xsd’ to the location where VS 2010 is installed on your machine, for the intellisense to work properly ...

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

One of the clear changes in Visual Studio from Visual Studio 2005, is the dependency of VS on IIS for creating websites/web applications. In VS 2005 until its SP1 you only had the choice to create Websites that use the local cassini web server for development purposes. The Web Application Projects allows you to create the legacy style of project based sites which can run on IIS. From VS 2008, you can create both Web Application Projects as well as Websites that can run on Cassini i.e. without the ...

Like the style and theme of Microsoft Expression Blend? Me too! Want to get this look? Here is how: Historically I liked the darker chrome in Windows since Vista. Same in with Windows 7 now: Since Office 2007 – I’ve used the Silver and Black theme. Most people don’t know about this feature hidden in Options menu of the Office 2007+ apps. [In Office 2011 you can get to this option in the Outlook Options, in 2007 use Word] In the last year I got infected with passion for Expression Blend and SketchFlow ...

I have good news! Microsoft has released the June 2010 Windows Azure Tools + SDK. These new tools extend Visual Studio (both VS 2010 & VS 2008) for Windows Azure development. With these tools you can create, configure, debug, build, run, and deploy scalable web apps on Windows Azure. At first glance what I see as some of the most interesting points of interest are the fact that Visual Studio 2010 RTM is fully supported as well as .NET 4 support. You can choose to build your apps with the .NET ...

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

*Moved to: Guidance: How to layout you files for an Ideal SolutionCreating a solution and having it maintainable over time is an art and not a science. I like being pedantic and having a place for everything, no matter how small. For setting up the Areas to run Multiple projects under one solution see my post on When should I use Areas in TFS instead of Team Projects and for an explanation of branching see Guidance: A Branching strategy for Scrum Teams.Read more...Follow my new blog on http://blog.hinshelwood.com ...

*Moved to: Upgrading Team Foundation Server 2008 to 2010I am sure you will have seen my posts on upgrading our internal Team Foundation Server from TFS2008 to TFS2010 Beta 2, RC and RTM, but what about a fresh upgrade of TFS2008 to TFS2010 using the RTM version of TFS. One of our clients is taking the plunge with TFS2010, so I have the job of doing the upgrade. Read more...Follow my new blog on http://blog.hinshelwood.com ...

After installing VS 2008 on a new PC I noticed that the Autos and Locals windows did not show up when debugging. So I went to the logical place to find them View/Other Windows. No luck they were not there. I use VS every day but like a lot of folks I only need to install it every few years, usually with a new PC. So I forgot where they were. Finding them is easy, just start debugging a project and go to Debug/Windows. The Autos and Locals windows along with the others will be there. And I will probably ...

Update 29/04/10: In contrary to what I initially stated in this post, Moles is not only available as part of the Pex framework, but also stand-alone on Visual Studio Gallery, and this is completely free (no MSDN subscription required). - Thanks to Peli for the correction... Usual opensource mocking frameworks (like e.g. Moq or Rhino.Mocks) can mock only interfaces and virtual methods. In contrary to that, Microsoft’s Moles framework can ‘mock’ virtually anything, in that it uses runtime instrumentation ...

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

One of the 6 sessions I and Mikael Nitell is running on MSDN Live 2010 here in Norway is about Code Quality, and part of that session goes through the use of Code Contracts and Pex. Both fantastic tools ! They can be used together, but are also completely independent from each other, and each can be used single. Code Contracts has to downloaded separately from VS 2010 (works also on VS 2008). Start looking at http://msdn.microsoft.com/e... . This download is a free download. ...

MIX is happening and there is a lot of excitement around the various releases such as the Windows Phone 7 Developer Preview, IE9 Platform Preview and few other announcements that have been made. Clearly, the Windows Phone 7 Developer Preview has generated the maximum interest and opened a plethora of opportunities for .NET Developers. It also takes the mobile development to a new generation and doesn’t force developers to learn different programming language. Along with this, few other releases have ...

As promised in the previous post, here is a first look on Visual Studio 2010 RC. i am sure many of you have downloaded the bits already so this is for those who are waiting yet. VS 2010 RC is an upgrade to the Beta 2 that was shipped last year. This build has been heavily focussed on implementing community feedback and fixing performance issues reported. The start up screen looks as below. A little darker compared to the Beta 2 build. You can read my earlier post on First look on Beta 2 here I didn’t ...

While there is often very good learning going on as a newbie, when your a newbie that was on oldie (experience in another realm of coding) it can be VERY frustrating deciphering the secret handshake of manuals, error codes, etc. So, what's my problem. Well, I want to make a Windows XP service that listens to a TCP port and then, upon accepting a connection, goes off and performs a specific task. Sounds simple enough, right? Well I created a service using VS 2008. I can start, stop, pause, continue ...

While many of the single components of an ASP.NET MVC application are easy to test (-drive) in an isolated manner (e.g. controllers), this can be hard for some others (like e.g. model binders) - and sometimes it just doesn't make much sense to test a single piece of code in isolation (e.g. for security-related issues). In such a case, some sort of integration testing has to be done, which in the context of ASP.NET MVC typically implies the usage of a browser automation framework like e.g. Selenium ...

Technorati Tags: WPF WPF patterns : MVC, MVP or MVVM or…? What to use? Model-view-controler, the model-view-presenter or the new paradigm called model-view-viewmodel? MVC is kind of template and also a framework that can be used in VS 2005 and VS 2008. MVVM is a part of WPF which can be used to create windows apps. It's common practice to let the UI layer do more than it should. Without a clear separation of responsibilities, the UI layer can often become a catch-all for logic that really belongs ...

From the many available IoC containers out there, LinFu is the one that I like most. This is because it is extremely simple to use, needs almost no configuration at all, and yet it is highly flexible and extensible, if you need to do some more complicated things (you can read two good introductory articles about LinFu IoC here and here). During the last weeks, I was doing some stuff with the ASP.NET MVC framework, and I wondered how easy or complicated it would be to use the application's IoC container ...

One of the single most influential cost factors for software projects is code readability and understandability - and the most important factor for readability in turn lies in the adherence to Coding Style Guidelines. To enforce such guidelines, Microsoft has provided a free tool which checks a given set of source code files against a given set of style and consistency rules: MS StyleCop. The tool comes with quite a lot of predefined rules - however, they mirror the coding practice at MS and not ...

This series of posts discusses the use of an Aspect-oriented programming approach for implementing the validation part of a business domain, using the ValidationAspects aspect library, that sits on top of the PostSharp aspect weaver and allows for placing Design by Contract - style attributes on properties and method arguments, as well as for easy runtime validation of an object's state. This is the third post of a three-part series that discusses the use of these validation aspects throughout the ...

[Source: http://geekswithblogs.net/E... Following on from the sample for processing Excel uploads with nServiceBus, I have a comparable version using BizTalk on MSDN Code Gallery here: BizTalk and nServiceBus Excel Upload. The BizTalk (2006 R2) sample uses a FILE receive port with a simple pipeline component to disassemble the Excel file into separate messages. A SQL send port subscribes to the messages, and with an outbound map calls the AdventureWorks stored procedure to insert each product. ...

This series of posts discusses the use of an Aspect-oriented programming approach for implementing the validation part of a business domain, using the ValidationAspects aspect library, that sits on top of the PostSharp aspect weaver and allows for placing Design by Contract - style attributes on properties and method arguments, as well as for easy runtime validation of an object's state. This is the second post of a three-part series that discusses the use of these validation aspects throughout the ...

Validation is one of the most important objectives when crafting a domain. You have to shelter your domain objects from undesirable property and method argument values as well as being able to explicitly validate an object's state in certain situations, for example to enforce business rules. My preferred way to do this is with the ValidationAspects aspect library, that sits on top of the PostSharp aspect weaver and allows for placing Design by Contract - style attributes on properties and method ...

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

I have been converting my current client’s development environment to a VPC instead of taking over my main machine as we did to get the project kicked off. I decided to go with Windows Virtual PC now that it has RTMed, but quite a bit has changed. Once I had Windows 7 installed and VS 2008 configured, I started looking for a multiple monitor solution for VPCs. In the past, I had just lived with the limitation of running virtual and not getting the benefit of dual monitors. This time I wanted something ...

From time to time (and when there's room for it, of course), I'm doing a so-called Code Kata, a small to mid-size programming exercise that usually originates from some seminar or meeting. (Kata collections can be found here or here, for example.) What I especially like about them is the level of professional self-knowledge that they provide: When working on a Kata, you can experience how you deal with things without the usual business pressure. Lately, I did the KataPotter (you can download my solution ...

I love Test Driven Development. I use this development approach wherever I can. It makes my code a lot better and gives me the confidence that I indeed have crafted a good and reliable piece of code. However, some things are quite hard to test-drive, simply because they have so many dependencies that you would need to make extensive use of a mocking framework (and probably inspecting some things via Reflector...). In such a case, you usually decide to not have unit tests, because the time and amount ...

WCF REST Starter Kit Preview 2 contains not only tools for creating REST services. It include rich set of client tools, that allow to do HTTP-requests and process service response in more convenient way. I create small overview of it basic features. We’ll create a simple WPF desktop client for Yahoo Shopping Web Services. Our client sill search products by the keyword. Details of Search API is available here, but information about GET-request format and service URI is enough. For example, if we want ...

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

Visual Studio 2010 Beta 2 is out and has a slick new UI. Also, this Beta has most of the features that would ship with the final version compared to the earlier Beta. Note that while new features might be added, there are chances that some of the features demonstrated here may also not be a part of the final release. But, for now, lets examine the current Beta 2. The first thing you would notice and probably like, is the UI enhancements. Herebelow, is the launch screen. Also, the start page has been ...

This series of posts is about overcoming a restriction, that O/R mappers like NHibernate have with respect to lazy loading and polymorphic type information. (Please refer to the problem description and example in part 1 and 1.5.) The previous part of this series demonstrated how we can fetch type-discriminating data from the db during the regular insert/update/retrieve lifecycle of an instance, along with its 'normal' data, and totally transparent from the domain perspective. This part now will show ...

Download from ActivityExecutionContext in Workflows caused "The project type is not supported by this installation" when opened the solution. On my machine I have Workflow only for VS 2008, but not for VS 2005, but the download solution was in 2005 format. I've explicitely started VS 2008 and then converted solution from 2005 to 2008. Error disappeared. Similar problem with Moral: If you are trying to develop with .NET 3.0 maybe it’s a good idea to check that .NET 3.0 is installed first... described ...

Almost every software project comes with a database. Sometimes it will be developed from scratch and in parallel with the actual domain model for a new (aka. 'greenfield') project, sometimes it will be a pre-existent datastore provided by the customer or coming from an already running software that has to be extended (then we can call it a 'brownfield' project). In either case, you will likely end up with a bunch of database scripts that need to be executed as part of your installation process. I ...

So I have recently converted all my server to Windows Server 2008 64 bit. I came to find out that only Team Foundation 2010 beta 1 is available in a 64 bit version. I have successfully installed it and started on connecting my VS 2008 client to the server according to this blog: http://blogs.msdn.com/grant... I can not emphasis the need to run or rerun SP1 for VS 2008 or you will not be able to ...

VS 2008 requires you have VS 2008 Test Edition to see the results of a Generic Test, this wasn't sufficient with out current project as a lot of developers don't use test edition. I put together this custom xslt transform to convert the .trx test result file to an html report anyone can view, complete with collapsable sections...Here is a link to the latest version of the XSLT: http://yourcomputer.com/TRX... is the TrxConverter.cs file I use to Generate the html.http://yourcomputer.co... ...

In some scenarios, you may have a database that contains text data in a column which is restricted to a certain set of discrete values. In such a case it is a good idea to use an enumeration for representing these data in your domain. - I occasionally came across this situation when I had to deal with legacy databases with large amounts of pre-existing data. - This post demonstrates an easy and effective way to put this "enum value vs. database string" mapping under test, using the xUnit.net unit ...

I was reading the Developer Evangelist Handbook which is a good guide for public facing developer evangelists created by Chris Heilmann of the Yahoo Developer Network. Check out the online handbook here http://developer-evangelism... In this handbook there is some great advice for people who complete public presentations or someone who want to expand their current speaking engagements. In reality many developers are evangelists (or should be) at there places of employment. Developers often feel ...

Today.. ASP.NET MVC Version 2.0 preview one is release. There are many new features introduced as part of this.. you can download this from Here Support of areas, strong typed UI Helpers, Data Annotation validation are couple of them and many more features are there. To know more about the new features of this, look at scottgu's blog here. In this post you can also download the example application... This Version of MVC works with .NET 3.5 SP1 and VS 2008, and can be installed side-by-side on the ...

It’s 6am and I am bored, so I thought I would give you a quick heads up on what’s coming in the next version of SAF (due by the end August). Here’s the Feature list : DSL with Diagram capabilities inside Visual Studio 20008. This is probably been the most exciting one for the release. We have been spending a few months working on a way to create SAF Macros visually via a VS 2008 designer window. This will give you the following advantages : You don’t need to know the Schema for a SAF Macro (which ...