CategoryDevelopment

Using JoeBlogs -metaWeblog API Wrapper

U

Step 1 Download the latest release of JoeBlogs from Codeplex (Click the Downloads tab, and select the latest download) Step 2 Unzip the contents of the downloaded zip file. (I usually copy DLLs I am going to use into a “lib” folder at the root of my solution) Step 3 Add a reference to BOTH CookComputing.XmlRpcV2.dll AND JoeBlogs.dll Include AlexJamesBrown.JoeBlogs in your class, with using /...

Why Are Interfaces Useful?

W

Interfaces, usually prefixed by “I” are useful in software engineering, for a number of reasons. Primarily, they allow you to create “pluggable” code. By this, I mean that your code is easier to manage, easier to maintain, easier to change the way certain parts of your application work, without changing the entire way it works. Lets look at an example. Our application is an photo sharing web...

Missing Files from DotNetNuke 4.9.4 Starter Kit causing error

M

I downloaded the latest release of the Dot Net Nuke Starter Kit (Version 4.9.4  released on 23rd June 2009) I followed the instructions to install the Visual Studio templates etc… as found here They are a little outdated, but the same process still applies. Upon installing it, loading a new website, I selected the DotNetNuke Web Application Framework (pictured below) The template began...

Reset IDE settings in Visual Studio 2008

R

I recently acquired a PC at my new job where there was an existing installation of Visual Studio. This was fine, however it was set up for a VB.net developer. Whilst I do use VB.net, I didn’t want my VS set up this way. I wanted to re-instate that lovely screen you see when you fresh install VS (below) To do this, simply click: Tools > Import and Export Settings Editor Click Reset all settings...

String.EndsWithAny and StartsWithAny Extension Method

S

It frustrated me that while String provides the StartsWith and EndWith method, it doesn’t provide an EndWithAny. So, if I wanted to see if a particular string started or ended with any specified string, I would have to create my own method to return a true or false. Whilst this is fine, it’s a little clunky if I want to use it in various places in my application. For this reason, I...