markrendle/Simple.Web — pull request #52 by ianbattersby (2013-02-01 00:21:03+00:00)
Title: Updated transforms as not to duplicate compilation tag.

Using NuGet to start a new Simple.Web project (even with Razor) is now pretty friction free, however kept finding the compilation tag duplicated in VS2012 due to .NET 4.5. Have removed the target framework from the compilation tag to stop this, I think the risk is negligible.

#### For example (Razor)
* New `ASP.NET Empty Web Application` called `SimpleWebTest`
* Manage NuGet Package Dependencies / Package-Manager Console
* Install `Simple.Web.AspNet` --> Brings in `Simple.Web`
* Install `Simple.Web.Razor`
* Create class `/IndexModel.cs`
* Add `public string Something { get; set; }`
* Create class `/Index.cs`
* Decorate class with `[UriTemplate("/")]`
* Inherit and implement `IGET` and `IOutput`
* `return 200;` in `Get()`
* `get { return new IndexModel { Something = "Test" }; }` in `public IndexModel Output`
* Create "Views" folder **(add to nuspec?)**
* Create `/Views/Index.cshtml`
* Add;

@model SimpleWebTest.IndexModel

<html>
<body>
Hello!
</body>
</html>

* Hit F5 to run