Created
August 3, 2011 12:35
-
-
Save danieleli/1122531 to your computer and use it in GitHub Desktop.
Chewie notes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Using the PowerShell Module or Package Manager Console | |
Using the module is not much different than the script itself except for a couple of changes. | |
To init a Chewie file once the module is imported you can : | |
PS>Initialize-Chewie | |
Once you import the module you can get can get chewie doing its thing by calling : | |
PS>Invoke-Chewie | |
Nuget file | |
install_to 'lib' | |
chew 'machine.specifications' | |
chew 'jQuery.vsdoc' | |
chew 'EntityFramework' | |
chew 'elmah' | |
chew 'MvcScaffolding' // how to: http://blog.stevensanderson.com/2011/01/13/scaffold-your-aspnet-mvc-3-project-with-the-mvcscaffolding-package/ | |
chew 'Html5Boilerplate.Mvc3.Razor' | |
chew 'MVCHtml5Toolkit' | |
chew 'DataAnnotationsExtensions.MVC3' | |
//chew 'MvcContrib' | |
//chew 'Html5Boilerplate' | |
//chew 'FacebookMVC' | |
//chew 'jquery-ui' | |
//chew 'Glimpse.Mvc3' | |
//chew 'Glimpse.Elmah' | |
//Test Project | |
//chew 'Nunit' | |
//chew 'RhinoMock' | |
//chew 'EntityFramework' | |
//Global.cs | |
// Database.SetInitializer<DbName>(new CreateDatabaseIfNotExists<DbName>()); | |
// web.config | |
<connectionStrings> | |
<add name="Romance" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|romance.mdf;User Instance=true" providerName="System.Data.SqlClient" /> | |
// fuController | |
public class UserController : Controller | |
{ | |
RomanceDb _db = new RomanceDb(); | |
// _Layout.cs | |
<script src="@Url.Content("~/Scripts/jquery-1.6.min.js")" type="text/javascript"></script> | |
// Remove jquery-1.4.4.js files |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment