How to Create a Simple File Compression and Decompression with .Net

Overview This example is an illustration of using Native .Net features to perform file compression and decompression.  Inputs are simple strings that can represent both directories and files. User Story As a developer I want a library that can compress or decompress the input I specify to the output location I specify so that I[…]

Modify Razor Layout for Mobile

Ok, so now I’m ready to begin modifying the SwappedBooks.com project for display on mobile devices.  This will involve the _Layout.cshtml file in the Views>Shared directory. When you open this file you will see code similar to the following: <meta charset=”utf-8″ /> <title>@ViewBag.Title</title> <link href=”@Url.Content(“~/Content/Site.css”)” rel=”stylesheet” type=”text/css” /> <script src=”@Url.Content(“~/Scripts/jquery-1.8.1.min.js”)” type=”text/javascript”></script> First add two meta[…]

How to Blend jQuery Mobile and .Net MVC

I’ve got an inkling that jQuery and .Net MVC together can produce some very powerful mobile web experiences.  So I’m setting up a Greenfield project at SwappedBooks.com.  The intent of the project is to build a site capable of running across multiple mobile devices and delivering a true e-commerce experience to users. Here, I’ll be[…]