This is a great article that helps explain how to test Silverlight
Tuesday, 3 March 2009
Tuesday, 10 February 2009
Entity Framework
Finally got the EF to install!! It appears that VS2008 did not have SP1 and non of this was picked up on the updates. Once installed the DataModeller appered
Monday, 9 February 2009
Entity Framework
Had some problems, and still do, installing the Entity Framework on my home laptop. At one point after un-installing 3.5 SP1 and the updates VS2008 decided that it would also delete all my templates.
Thursday, 15 January 2009
Remote debugging
I was looking at a way to get remote debugging working for debugging MOSS custom webparts from an VS2008/XP PC to the Win2003 server running MOSS.
The section “The Remote Debugging Monitor is the one accepting your debug calls and the talking back to Visual Studio on your client, so to get these things to work you have to start the client as the user running Visual Studio (or have administrative permissions on the client). You can either log in to the remote host using that user or, as I prefer, right-click on the msvsmon.exe and choose Run As... Make sure that the user you are using to run the monitor with is member of the local Administrators group.” was a ‘gotcha’ that I missed first time round.
http://www.wictorwilen.se/Post/How-to-get-Remote-Debugging-work-properly.aspx
Do remember that when you attach to the w3p process during debugging it will prevent other users on MOSS from performing any actions.
Tuesday, 13 January 2009
Announcing: Community Technology Preview of Visual Studio 2008 extensions for SharePoint v1.3
Announcing: Community Technology Preview of Visual Studio 2008 extensions for SharePoint v1.3
There is a CTP for VS2008 extensions for Sharepoint released.
The final release of VSeWSS 1.3 is planned for the North American Spring of 2009.
Wednesday, 15 October 2008
Pex Automated Testing
“Pex is a tool being developed by Microsoft Research which has the potential to dramatically improve the quality of software testing while requiring minimal, if any, effort on the part of the developer. Pex can automatically generate a set of inputs for a paramaterized unit test which can effectively exercise most, if not all, possible code paths.“
http://channel9.msdn.com/posts/briankel/Pex-Automated-Exploratory-Testing-for-NET/
There is a talk at the DDD7 at Reading on the 22nd November that include Pex, presentation by Ben Hall, along with ‘TDD and Hard to Test code’, IoC, MVC and lots more.
Monday, 30 June 2008
Code Metrics don't run with a reference to Microsoft.SharePoint.dll
I thought it might be worthwhile to run some code metrics on an event receiver that I'm writing to send emails when someone submits a request.
When running the metrics an error is returned:
Message: An error occurred while calculating code metrics for target file <YourFileName> in project <YourProjectName>. The following error was encountered while reading module 'Microsoft.SharePoint': Security attribute type does not have a default constructor: Microsoft.SharePoint.Security.SharePointPermissionAttribute, Microsoft.SharePoint.Security, Version=12.0.0.0, Culture=neutral, Publickeytoken=71e9bce111e9429c.
Solution: https://connect.microsoft.com/VisualStudio/feedback/Workaround.aspx?FeedbackID=324796
Thursday, 5 June 2008
Visual Studio extensions for Visual Studio 2008
Got this from the SharePoint blogs:
Announcing the VSeWSS version 1.2!
Hi everyone, Chris Johnson from the WSS PM team here. We are really excited and pleased to announce that Version 1.2 of the Visual Studio extensions for WSS is now available for download!
This version adds Visual Studio 2008 support to the extensions. This is something many of you have been asking for.
Download VSeWSS 1.2 right here.
Today we are releasing the English edition of the Version 1.2 extensions. We will be releasing the German, French, Spanish, Italian, Japanese, Chinese Traditional, Chinese Simplified, and Korean language versions shortly.
We know many of you have been eagerly awaiting VS2008 support, so we hope this release will help you build fantastic SharePoint solutions with the latest Visual Studio toolset.
Note: Version 1.2 is only for Visual Studio 2008. If you use Visual Studio 2005, you should still use Version 1.1 (download).
Also, I'm very excited to introduce: http://www.MSSharePointDeveloper.com! If you want to learn about SharePoint development, we designed this website to be the best place for you to get started. It has links to whitepapers, virtual labs, webcasts, screencasts, quickstarts, and other useful resources. You can also download a virtual machine that has been optimized for SharePoint development and includes all the tools you need to get started. So, go to http://www.MSSharePointDeveloper.com now! It's an easy URL to remember, so pass it along to your friends!
VSeWSS User Guide
In case you have not seen our User Guide for VSeWSS, you can download it here. It is a great resource that explains how you can use VSeWSS in many common SharePoint development scenarios.
What's in VSeWSS?
Version 1.2 of the Visual Studio 2008 Extensions for Windows SharePoint Services contains the following tools to aid developers in building SharePoint applications:
Visual Studio 2008 Project Templates
- Web Part
- Team Site Definition
- Blank Site Definition
- List Definition
- Empty SharePoint Project
Visual Studio 2008 Item Templates (items that can be added into an existing project)
- Web Part
- Custom Field
- List Definition (with optional Event Receiver)
- Content Type (with optional Event Receiver
- Module
- List Instance
- List Event Handler
- Template
SharePoint Solution Generator
This stand-alone program generates a Site Definition project from an existing SharePoint site. The program enables developers to use the browser and Microsoft Office SharePoint Designer to customize the content of their sites before creating code by using Visual Studio.
Frequently Asked Questions and Answers
-
Q: Does VSeWSS 1.2 support Visual Studio 2008?
A: Yes. -
Q: Does VSeWSS 1.2 support Visual Stuido 2005?
A: No, you must use Version 1.1 with Visual Studio 2005. -
Q: What additional features are in Version 1.2?
A: For Version 1.2 we focussed on Visual Studio 2008 support only. -
Q: Does VSeWSS support Microsoft Office SharePoint Server
A: Yes, VSeWSS supports both Windows SharePoint Services and Office SharePoint Server. -
Q: Does VSeWSS support Windows XP or "remote debugging"?
A: No, VSeWSS only works against local SharePoint installations.
Thanks!
Chris Johnson
Program Manager – SharePoint