Quantcast
Channel: BlogFodder
Browsing latest articles
Browse All 23 View Live

Image may be NSFW.
Clik here to view.

Which w3wp.exe Belongs To Which Application Pool In IIS7

If you have a few sites running on your server, and want to know which worker process/application pool is taking up the most memory. There is a very simple script you can run. 1.) Make sure you have...

View Article


Getting IPublishedContent In A Custom Action / Class

If you want to make use of the cool new Querying/Api that came with Umbraco MVC. Then its as simple as getting an instance of the UmbracoHelper like so. var uHelper = new...

View Article


New Training Routine

I've been doing pretty much the same training regime for a while. I had little variations, where I'd try a kettle bell session of some other session that was on at the gym. I was doing some reading at...

View Article

Image may be NSFW.
Clik here to view.

How To Use The nForum Source To Debug Your Forum

I get a lot of questions on our.umbraco about problems using nForum in existing websites. 99% of the time it's impossible to diagnose, as I have no idea how the package has been moved around or...

View Article

Export All nopCommerce Blogs Or Products Into Xml (In Fact Any Db Table)

There is a really cool feature that not many people know about in SQL Management Studio. Exporting to XML. All you need to do is use the following line after your query FOR XML AUTO So for example we...

View Article


Nofollow All External Links In Html Page Using HtmlAgilityPack

A little method to find auto find and mark external links in a block of HTML as nofollow and add a custom class to them. public static string NofollowExternalLinks(string html, string...

View Article

Set Active Tab Class In Bootstrap v3

For some reason, OOTB bootstrap doesn't give you an active tab class when using their tabs solution. But they give you a couple of JavaScript events, below is a script to add an 'active' class to the...

View Article

Image may be NSFW.
Clik here to view.

Win 8.1 - No Scanners Were Detected

We have a Canon MG6150 Printer and Scanner which is on our network and I can print to it fine. However, periodically I can this annoying problem where I can't scan to it. It shows as online, and shows...

View Article


Find Largest Tables In Database

Stumbled on this really useful script recently which finds the largest tables in a database. USE [DatabaseNameHere] GO CREATE TABLE #temp ( table_name sysname , row_count INT, reserved_size...

View Article


Split Large List Into Chunks Of A Specified Size

I had the need recently to split up a List of objects (2.5 million rows) into smaller lists so I could batch insert into a database. I stumbled on this method, and it's lightning fast for splitting...

View Article
Browsing latest articles
Browse All 23 View Live


Latest Images