Browsing archives for 'ASP.NET MVC'

RavenSuggest: A better approach

ASP.NET MVC,jquery,RavenDB 8 July 2012 | 2 Comments

[This post follows on from my first post “RavenSuggest: The wrong approach“. It is aimed at responding to Ayende’s RavenSuggest blog post] Ok, let me start by saying, its wonderful that Ayende took the time to review my RavenSuggest demo code, that was very demo code. Did I mention it is demo code? I made […]

RavenSuggest: The wrong approach

ASP.NET MVC,jquery,RavenDB 8 July 2012 | 1 Comment

[Note: I am writing this blog post after Ayende’s. I was planning to do just one post after I had got some help from him on improving my RavenSuggest code. This post is my initial thoughts I wasn’t going to post.] RavenSuggest, Why? Its come to the point in the client’s application where letting the […]

Simple email testing with SMTP SpecifiedPickupDirectory

ASP.NET MVC,Testing 16 April 2012 | 0 Comments

I often found myself messing around with test email accounts and manually checking these accounts and worrying about sending an actual customer an email. A super simple way to develop an ASP.NET project locally and not even use an actual SMTP server is to take advantage of ASP.NET SMTP’s “SpecifiedPickupDirectory” option. Using this, an actual […]

RavenDB: Deleting all documents

ASP.NET MVC,RavenDB 20 February 2012 | 2 Comments

I often see people ask “how can I delete all documents?” or “how can I delete all documents of type Foo?” this post is mainly so I can paste a link to it for those who keep asking me. Use the RavenDB Management studio: Deleting a whole collection: Introduced in the newer versions of RavenDB, […]

Dear SagePay, please suck less

ASP.NET MVC,SagePay,Testing 27 January 2012 | 1 Comment

This is a general technical and personal rant against SagePay. In this post I’ll present the reasons why I’m starting to get nervous about them handling my clients money… Firstly, their sample ASP.NET applications, oh dear. What’s wrong with them: ASP.NET WebForms, no MVC samples. VB only, no C# samples. Heavy use of VB specific […]

SagePay development with localhost

ASP.NET MVC,SagePay 24 January 2012 | 1 Comment

I thought it would be a good idea to share how I have managed to get SagePay’s simulator working and accepting my localhost development server as valid. This is kind of a big deal for me as I can now develop and test in an easier environment, previously had to upload to a VPS which […]

RavenDB: Learning from RacoonBlog, Paging.

ASP.NET MVC,RavenDB 18 January 2012 | 0 Comments

In this series of blog posts I’ll be looking at a few gems I’ve found in the Racoon Blog source code that have helped me become a better code and feel happier about my codebase. One thing I find really helpful when trying to improve my coding skills is reading other (smarter) peoples code. Specifically […]

RavenDB: Just add your annotations to your model

ASP.NET MVC,RavenDB 18 January 2012 | 0 Comments

Yesterday whilst chatting in the RavenDB room on JabbR I had a brainwave and it was confirmed by the guys there. I should add my model annotations (Required, DisplayName etc) to my model because RavenDB doesn’t care! For example, take this model: It then means I have to write a view model to describe the […]

RavenDB, I love it’s aggressive caching. But be careful.

ASP.NET MVC,RavenDB 30 November 2011 | 0 Comments

In my earlier “RavenDB, I love it’s aggressive caching.” post, I made a fatal mistake in my coding for the caching scenario, I forgot about stale indexes. Today I pushed an update to our “beta” environment for the website to let the client see the progress of the rewrite to a new theme, features and […]

I do my queries in the ASP.NET MVC controller with RavenDB.

ASP.NET MVC,RavenDB 28 November 2011 | 8 Comments

This blog post has been brewing for a few weeks now, mainly since I had the eureka moment with RavenDB about how I should structure my ASP.NET MVC application’s data access. Mainly, I shouldn’t. Probably like many coming to RavenDB from the heavyweight ORM world such as Entity Framework, you feel the need to continue […]