October 2011
2 posts
Dangers of Multiple Threads in ASP.NET →
4 tags
Multiple Threads in ASP.NET (VB)
I’ve been using ASP.NET for years and never thought about the usage of threads within the .NET site. It’s not that I thought it was impossible, it’s just that I hadn’t even considered it.
Earlier this year I did a few experiments with threads and more recently I built upon this and put a generic task manager system in an eCommerce platform I am building, after seeing how...
September 2011
1 post
MVC 4 and Mobile Support
I have been doing a lot of work on my ASP.NET MVC web platform, as well as doing work on nopCommerce v2. The more I use ASP.NET MVC then the more I love it.
Within the next few months I will be moving over some high traffic ecommerce stores onto my platform, and some of these have mobile versions. My plan has been to setup a seperate copy of the web project but with very lightweight views. This...
June 2011
1 post
2 tags
makitCommerce
I have recently been doing some work on my own MVC eCommerce platform:
http://makitcommerce.codeplex.com/
I have created several basic platforms and this will be my first open source, generic one. I am trying to build in a lot of flexibility with dynamic DLL loading so the idea of the platform is that the person setting it up would choose the modules they need on install and only have what is...
February 2011
3 posts
8 tags
.NET MVC SEO/Slug Only URLs for eCommerce
As part of my ongoing journey creating an eCommerce site I had to implement into the .NET MVC 3 website I’m creating a way of having URLs such as
website.com/pretty-pink-boots
Instead of:
website.com/product/view/100/pretty-pink-boots
The theory being that the URL is shorter and more SEO friendly, as it contains just the important information and the full URL is shown in Google. The keen...
BikerSpares.com - Motorcycle Parts →
Well it’s been launched last week, and now just waiting for traffic to build
7 tags
.NET Dependency Injection
Introduction
Recently I’ve been started a new MVC 3 app which is to have lot’s of components so I decided to go down the Dependency Injection route. This, for those who are hazy, is a OO design pattern for decoupling components.
I did some research (read, Google) and thought I’d go with StructureMap, but due to my limitations at work I must use VB.NET and I couldn’t find...
January 2011
3 posts
Avoiding "Validation of viewstate MAC failed"
This is usually down to servers hosting multiple websites/shared hosting, or I tend to get it when developing and keep on compiling. To stop this then simply add a machine key to the config so it’s always the same, to do this easily use this generator:
http://aspnetresources.com/tools/machineKey
Simply press the button and copy the machinekey element in your web.config within system.web.
ASP.NET MVC 3
This is a message to anybody considering using MVC. Especially 3 with Razor. Do it.
You won’t regret it, it’s fast, beautiful and razor makes it very easy to manage the design side of things.
When I have several e-commerce sites running on it then I’ll know more, so I’ll blog along the way.
nop
The code for the latest nopCommerce is completely rewritten compared to 1.9 due to the MVC architecture. I’m intrigued to see the performance differences.
I’ve just spend a few hours tracing and looking for performance issues in the product listing page on nop 1.8 - turned out to be down to the discount pricing code (was adding up to 2 seconds to the page load). Now I’ve got it...
December 2010
1 post