Category Archives: Development

Using a FileStreamResult with a MemoryStream in ASP.NET MVC 3

I was playing around with EO.Pdf 2011.2 for .NET from Essential Objects to see how easy it would be to use HTML and Razor to generate a report and convert it to a PDF file. EO.Pdf allows you to save … Continue reading

Posted in Development | Tagged | Leave a comment

An HtmlHelper to display if a field is required or not in ASP.NET MVC 3

A lot of the users I develop web applications for would like some sort of visual indication for required fields. A commonly used approach for this is putting an asterisk behind the input element. I could manually put an asterisk … Continue reading

Posted in Development | Tagged , | Leave a comment

Hosting Nancy from a console application

A few day ago I needed to add some functionality to an old ASP.NET 1.1 web application in Visual Studio 2003. The version of the .NET framework and Visual Studio are irrelevant to the story, but I just wanted to … Continue reading

Posted in Development | Tagged | 3 Comments

Building a photoblog with Nancy and Simple.Data Part 7: The archives

This is the seventh part in my Building a photoblog with Nancy and Simple.Data series: Setting up the project Defining the routes Rendering some views Adding the database Updating Simple.Data Adding comments The archives Once again, it’s been a while … Continue reading

Posted in Development, MyPhotoBlog | Tagged , | 1 Comment

Building a photoblog with Nancy and Simple.Data Part 6: Adding comments

This is the sixth part in my Building a photoblog with Nancy and Simple.Data series: Setting up the project Defining the routes Rendering some views Adding the database Updating Simple.Data Adding comments The archives It’s been a while since my … Continue reading

Posted in Development, MyPhotoBlog | Tagged , | 2 Comments

Building a photoblog with Nancy and Simple.Data Part 5: Updating Simple.Data

This is the fifth part in my Building a photoblog with Nancy and Simple.Data series: Setting up the project Defining the routes Rendering some views Adding the database Updating Simple.Data Adding comments The archives In the previous post we added … Continue reading

Posted in Development, MyPhotoBlog | Tagged , | 2 Comments

Building a photoblog with Nancy and Simple.Data Part 4: Adding the database

This is the fourth part in my Building a photoblog with Nancy and Simple.Data series: Setting up the project Defining the routes Rendering some views Adding the database Updating Simple.Data Adding comments The archives In the previous post we made … Continue reading

Posted in Development, MyPhotoBlog | Tagged , | 4 Comments

Building a photoblog with Nancy and Simple.Data Part 3: Rendering some views

This is the third part in my Building a photoblog with Nancy and Simple.Data series: Setting up the project Defining the routes Rendering some views Adding the database Updating Simple.Data Adding comments The archives In the previous post we added … Continue reading

Posted in Development, MyPhotoBlog | Tagged | 8 Comments

Building a photoblog with Nancy and Simple.Data Part 2: Defining the routes

This is the second part in my Building a photoblog with Nancy and Simple.Data series: Setting up the project Defining the routes Rendering some views Adding the database Updating Simple.Data Adding comments The archives In the previous post we created … Continue reading

Posted in Development, MyPhotoBlog | Tagged | 9 Comments

Building a photoblog with Nancy and Simple.Data Part 1: Setting up the project

This is the first part in my Building a photoblog with Nancy and Simple.Data series: Setting up the project Defining the routes Rendering some views Adding the database Updating Simple.Data Adding comments The archives As an amateur photographer, I’m currently … Continue reading

Posted in Development, MyPhotoBlog | Tagged , | 11 Comments