Getting started with RavenDB in an ASP.NET MVC application

RavenDB is one of the newer document type databases that is conceptually comparable to MongoDB or CouchDB. One of the nice thing about RavenDB, at least for a .NET developer, is that is has been developed with .NET in mind from the start. And this makes it really easy to get started with. In fact it is so easy to get started with that it surprises me that not everyone is using it.   One of the things that attract me to document databases like RavenDB is the fact that they are really fast and schema free. This means that … Continue reading Getting started with RavenDB in an ASP.NET MVC application

Tincr and live reloading of CSS/JavaScript in Google Chrome

The standard workflow with web development is run the web application, make some changes to your CSS in Visual Studio, flip back to the browser and reload the page to see the effect. While this works relatively well it can be somewhat slow at times.   One improvement is make changes to your CSS in the browser. I use Google Chrome as my main browser and it’s CSS and JavaScript viewer is actually an editor so you can make changes there. The nice thing is you see the effect of your changes immediately making for a much faster feedback loop. … Continue reading Tincr and live reloading of CSS/JavaScript in Google Chrome

DotNed podcast: Erik van Appeldoorn over mobile development met ASP.NET MVC 4

In deze podcast spreekt Maurice de Beijer met Erik van Appeldoorn over het maken van mobiele websites met ASP.NET MVC. Door de opkomst van smartphones, tablets en andere mobile devices is het van essentieel belang dat je website er ook op deze apparaten goed uit ziet en tevens handig en intuïtief functioneert. Met de komst van de nieuwe ASP.NET MVC 4.0 template wordt nieuwe functionaliteit meegeleverd die je kan helpen je site te optimaliseren voor deze mobile devices. We praten je bij over de nieuwe ASP.NET MVC 4.0 template, HTML5, CSS3 en jQuery Mobile. Links: blog: http://blogs.oosterkamp.nl/blogs/erik/ Initializr: http://www.initializr.com/ protoFluid: … Continue reading DotNed podcast: Erik van Appeldoorn over mobile development met ASP.NET MVC 4

Using SignalR for real time data updates

In a previous post I showed how easy it is to create a simple chat application using SignalR. And chatting on the internet might be popular but as it turns out there are rather a lot of applications that need to do more than just chat. As it is there are a lot more CRUD style applications, where users edit data usually stored in a database for some purpose, than chat applications. So in this blog post I am using a simple CRUD, without the delete part, application to show the power of SignalR. Traditionally HTML based CRUD would generate … Continue reading Using SignalR for real time data updates

Query composition with the ASP.NET Web API

Having the ASP.NET Web API as a REST service returning data is kind of nice but to be efficient on the wire we don’t want to return more data that required only to discard it in the client.   As we have seen in a previous post just returning a collection data was real easy.   As it turns out changing the service so the client can filter data is almost just as easy. In the previous example we returned an IEnumerable<Product>. All we need to do is change this to return an IQueryable<Product> instead of an IEnumerable<Product> and most … Continue reading Query composition with the ASP.NET Web API

Installing ASP.NET MVC 4 Beta breaks ASP.NET MVC 3 RTM applications

We where just bitten by this one and the problem was not immediately obvious. You will see some error like The name ‘model’ does not exist in the current context or ‘System.Web.WebPages.Html.HtmlHelper’ does not contain a definition for ‘ActionLink’ and no extension method ‘ActionLink’ accepting a first argument of type ‘System.Web.WebPages.Html.HtmlHelper’ could be found (are you missing a using directive or an assembly reference?)     Additionally when you check the IntelliSense of @Html you will not see some of the extension methods like Action() or ActionLink()   Fixing it is not hard one you know the problem. Include the … Continue reading Installing ASP.NET MVC 4 Beta breaks ASP.NET MVC 3 RTM applications