SharePoint unit testing without SharePoint!

by Michel 27. November 2008 08:22

Ever heard about TypeMock?? TypeMock is a tool which simplifies unit testing. As a not proffie unit testing I can tell that TypeMock is pretty easy to learn....

TypeMock has a pretty cool tool now for unit testing SharePoint, it´s called Isolator For SharePoint. It´s the only tool that allows you you unit test your SharePoint application without SharePoint.

I do not have any experience with the tool yet, I´ll keep updates posted on this topic... Did you btw know that you can get a license for free??

So how do I get the Free License?J ust make a post on your blog or site about the latest Typemock product, that includes the below text:Typemock are offering their new product for unit testing SharePoint called Isolator For SharePoint, for a special introduction price. it is the only tool that allows you to unit test SharePoint without a SharePoint server. To learn more click here. The first 50 bloggers who blog this text in their blog and tell us about it, will get a Full Isolator license, Free. for rules and info click here.

Tags: , , ,

.Net | Debug | SharePoint | Tooling

Up the ramp

by michel 13. November 2008 07:37

Ever heard about the free, online, community-based learning program from Microsoft Ramp Up?

Specifically Designed Learning Plans
We understand that different development skills have different learning needs. That's why Ramp Up comprises multiple learning plans, each designed with the unique learning needs of different developers in mind. Whether you’re just starting your software development career or a seasoned professional wanting to build your skills on the latest Microsoft technology, Ramp Up bridges the gaps you want to close.

Trusted Experts Guide Your Way
Ramp Up is a program built by expert developers for developers. Each learning plan comprises of premium technical content developed by renowned experts—famous authors, MVPs, and developer community leaders.

Success Is the Destination
Upon completion, you will have built a solid foundation of professional development skills and increased your proficiency with Microsoft Visual Studio 2005 and the Microsoft .NET Framework 2.0. You will also earn a graduation award comprising discounted learning and certification offerings. That gets you recognized and marked for advancement.

 

At the moment they have a nice SharePoint 2007 developer and a Visual Studio 2008 course... go check it out!

Tags: , , ,

.Net | SharePoint | Microsoft

Microsoft Enterprise Library 4.1 is OUT

by Michel 13. November 2008 07:27

Tags: , ,

.Net | Microsoft

ADO.Net Services not showing anything in browser

by Michel 10. November 2008 10:59

Having the problem as well that, when you are testing your ADO.Net Services in Internet Explorer, the browser is not showing anything?

This 'error' occurs when the 'Turn on feed reading view' option is enabled. To disable this, do the following:

Open IE, go to Tools > Internet Options > Content > Feeds (Settings) > Un-tick 'Turn on feed reading view'

Turn on feed reading view enabled Turn on feed reading view Disabled

Turn on feed reading view Enabled

Turn on feed reading view disabled

 

[kickit]

Tags: , , , ,

.Net | C# | Debug

WCF: Cannot load the X.509 certificate identity specified in the configuration

by Michel 2. November 2008 13:57

When doing the WCF introduction from Microsoft / PluralSight I got the following error at screencast 2 when trying to run the test application:

 

System.InvalidOperationException: Cannot load the X.509 certificate identity specified in the configuration.
   at System.ServiceModel.Description.ConfigLoader.LoadIdentity(IdentityElement element)
   at System.ServiceModel.Description.ConfigLoader.LoadServiceDescription(ServiceHostBase host, ServiceDescription description, ServiceElement serviceElement, Action`1 addBaseAddress)
   at System.ServiceModel.ServiceHostBase.LoadConfigurationSectionInternal(ConfigLoader configLoader, ServiceDescription description, ServiceElement serviceSection)
   at System.ServiceModel.ServiceHostBase.LoadConfigurationSectionInternal(ConfigLoader configLoader, ServiceDescription description, String configurationName)
   at System.ServiceModel.ServiceHostBase.ApplyConfiguration()
   at System.ServiceModel.ServiceHostBase.InitializeDescription(UriSchemeKeyedCollection baseAddresses)
   at System.ServiceModel.ServiceHost.InitializeDescription(Type serviceType, UriSchemeKeyedCollection baseAddresses)
   at System.ServiceModel.ServiceHost..ctor(Type serviceType, Uri[] baseAddresses)
   at Microsoft.Tools.SvcHost.ServiceHostHelper.CreateServiceHost(Type type, ServiceKind kind)
   at Microsoft.Tools.SvcHost.ServiceHostHelper.OpenService(ServiceInfo info)

 

The example is giving you a wsHTTP contract which relies WS-Security layer. Because in this example you are running locally, you could remove the <certificateReference> tags in the app.config.

If you receive this error when not running it locally, try to resolve the certificate from the destination party and import the certificate into Internet Explorer. That should do the trick.

[kickit]

Tags: , , ,

About the author

Michel TolMy name is Michel Tol. I'm a developer specialized in .NET technologies. Mainly focussing on SharePoint Technologies and web development. I am Certified Technology Specialist for MOSS 2007 -  Configuration, .Net Framework 2.0 - Web applications and Biztalk Server 2006 - Custom Applications.

View Michel Tol's profile on LinkedIn

  

E-mail me Send mail

Page List