May 3, 2013
The widget’s demo site already contains an AngularJS demo, but I wanted a minimum setup, so I started from scratch and figured out the necessary parts to implement the file upload using ASP.NET MVC as the server-side platform.
Let’s see which steps we need to take to implement a basic version.
August 7, 2011
A couple of months ago I wrote a post on unit testing using NUnit & Moq which showed how you can use the Moq framework to remove database dependencies from your unit tests.
Last week I got a question about how to mock the session state when unit testing your controller actions. This can be quickly achieved using the MVC Contrib library provided by the Outercurve Foundation.
It contains a TestHelper library which helps you to quickly create unit tests and reduce your workload. Let’s see how we can use it to our advantage…
April 30, 2011
Tired of developing ASP.NET web sites with the ASP.NET Development Server (Cassini) or the IIS version that was installed along with your Windows operating system?
Cassini works great in most cases, but sometimes you want to test some functionality (SSL,…) that it cannot handle and you have to go through the hassle of hosting your site in IIS.
Let’s quickly setup IIS Express…
July 11, 2010
In my last post I discussed how you can setup Windows AppFabric Caching and use it from ASP.NET MVC.
AppFabric isn’t the only tool out there that provides you with a distributed in-memory object cache. NCache from Alachisoft is another excellent product which can solve your caching issues.
Let’s see it in action…
July 4, 2010
One key functionality of AppFabric that caught my attention was its caching feature also known as Velocity (Project Code Name). To quote MSDN:
“For Web applications, AppFabric provides caching capabilities to provide high-speed access, scale, and high availability to application data.“
Sounds interesting, especially as I am building a web application which is going to be hosted in a web farm. Instead of using ASP.NET’s built-in caching option, which is tied to a single AppDomain and thus one web server, I can opt to use a cache powered by AppFabric which is shared across web servers.
Let’s see it in action…
December 14, 2008
Last week I was reading some articles about using WCF, the Entity Framework and how to transport entities across the service boundary. One of the articles I encountered included a demo project that made use of the Model View Presenter (MVP) pattern.
Having explored the demo project I thought it might be interesting to write an article about this pattern. Your favorite search engine will happily supply you with a plethora of links to other articles that explain this pattern thoroughly.
For this article I’ve decided to supply a concrete implemention and to focus less on the theory behind the pattern.