Quantcast
Channel: asp.net – blog.boro2g.co.uk
Browsing latest articles
Browse All 6 View Live

Add ITemplate content to a controls markup

When building web controls, a common scenario is how to cascade control parameters to the control from the markup (or code-behind). Within Sitecore controls this is typically the Field you want to...

View Article


Adding functionality to interfaces with extension methods

When building large scale applications a very useful design pattern to adopt is dependency injection. An example of this is programming to interfaces such that the implementation of each interface can...

View Article


Image may be NSFW.
Clik here to view.

Moq – the basics

During a recent XP programming course we made use of the Moq’ing framework. I’d not used this before so tried to come up with some example moq basic tests. There are several tutorials on the internet...

View Article

No Sitecore logs, no Event log entries and no working site?

It’s not a nice place to be I’m sure you’ll agree! Before we go on, I can’t guarantee one size will fix all!! This worked (well, fixed) our setup – it’s by no means the only way to solve the scary...

View Article

Image may be NSFW.
Clik here to view.

Grunt and gulp tasks in visual studio 2015 – libsass error

One of the neat features baked into the new Visual Studio is the ability to run grunt and gulp tasks. This can be done on demand via the Task Runner Explorer or tied into build events. Some simple...

View Article


Image may be NSFW.
Clik here to view.

Documenting webapi with Swagger

If you’ve ever worked with webservices, chances are you’ve run into WSDL (http://www.w3.org/TR/wsdl). In the webapi world you don’t get so much out the box – this is where swagger can help expose test...

View Article
Browsing latest articles
Browse All 6 View Live