Serving your ASP.NET MVC site on Nginx / fastcgi-mono-server4

In my previous post I showed you how to compile and install mono and get your MVC site up running using the development web server xsp4. The next step is to serve your site using a real web server, my choice is nginx. First, we need a configuration file for the nginx site. If you […]

Read more Serving your ASP.NET MVC site on Nginx / fastcgi-mono-server4

Deploying your ASP.NET MVC3 site on Mono

In this blog post I am going to show you how easy it is to create a new ASP.NET MVC site and deploy it on Linux/Mono. Step 1 – Create project Create a new ASP.NET MVC 3 project. Compile and run it.

Read more Deploying your ASP.NET MVC3 site on Mono

MVC 3 RTM Install Error (after upgrading to VS2010 SP1)

Yesterday I installed Visual Studio 2010 SP1 on my home computer. After the installation I wanted to upgrade MVC3 to the RTM version (I had the RC version installed), so i uninstalled the RC and downloaded the new version. The installation came half way, then stopped, in the log file i found this: Installation failed […]

Read more MVC 3 RTM Install Error (after upgrading to VS2010 SP1)

First steps toward EPiServer and ASP.NET MVC

Recently I started a new assignment at a customer where we are going to build their new public web site and their intranet, both of them based on EPiServer CMS 6. The person leading the project is very found of ASP.NET MVC, so my first task was to experiment with EPiServer and ASP.NET MVC, to […]

Read more First steps toward EPiServer and ASP.NET MVC

EPiServer friendly URLs for paginated pages (and why the asp:LinkButton must die)

Recently I got a request from a customer to perform some search engine optimizing for an old EPiServer site we are maintaining. One of the optimizations was to fix the paging on their product page. The products are fetched from an external data source and are not stored as pages in EPiServer, thus normal EPiServer […]

Read more EPiServer friendly URLs for paginated pages (and why the asp:LinkButton must die)

Book review: ASP.NET MVC 1.0 – Test Driven Development

About a month ago I finished reading the book ASP.NET MVC 1.0 – Test Driven Development by Emad Ibrahim. The book weighs in only at about 300 pages, making it easily something you can read in a couple of nights. The book is written in tutorial fashion and is is probably best read with a […]

Read more Book review: ASP.NET MVC 1.0 – Test Driven Development

Rename a Folder using EPiServer.Web.Hosting.UnifiedDirectory

While reading the EPiServer 5 SDK documentation, i found this: Rename a Folder There is no Rename method on the EPiServer.Web.Hosting.UnifiedDirectory class. To rename a folder you need to call the MoveTo method as follows: protected void RenameFolder(string path, string oldName, string name) { if (IsFolder(path)) { UnifiedDirectory directory = System.Web.Hosting.HostingEnvironment.VirtualPathProvider.GetDirectory(path) as UnifiedDirectory; int e […]

Read more Rename a Folder using EPiServer.Web.Hosting.UnifiedDirectory

Microsoft Web Platform Installer

I recently needed to setup a new ASP.NET development environment and deiced to give Microsofts Web Platform Installer 2.0 a chance. I had actually never heard about this product before, but what it does is installing .NET, the needed development libraries, and the express versions of Visual Studio and SQL Server. It required three reboots, […]

Read more Microsoft Web Platform Installer

Friendly URLs in ASP.NET using URLRewriter.NET

I was having a chat the other day with Danish Peter (yes, another one) about URL rewrites in ASP.NET. In a previous post I wrote about how to use friendly URLs in the Zend framework, in this post, which is based on our discussion, I will discuss how to do this in ASP.NET. Friendly URLs […]

Read more Friendly URLs in ASP.NET using URLRewriter.NET

Clearing a form in ASP.NET

You would think that ASP.NET would have build in support for something so simple as clearing all input fields on a page, but no. However, this easy to add. Add the following to your Page_Load (btnClear should be the name of your clear button): btnClear.Attributes.Add(“onClick”, “document.forms[0].reset();return false;”);

Read more Clearing a form in ASP.NET

Older posts