file new project n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
File -> New Project PowerPoint Presentation
Download Presentation
File -> New Project

Loading in 2 Seconds...

play fullscreen
1 / 12

File -> New Project - PowerPoint PPT Presentation


  • 86 Views
  • Uploaded on

File -> New Project. E: jonathan@paladincloudware.com G+: +JonathanPeterson42 GitHub & StackOverflow : Eonasdan. Jonathan Peterson Paladin Cloudware. Default VS MVC project. Extra Packages like Modernizr Messy Code Hour + of preparation to get a project ready.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'File -> New Project' - virgil


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
file new project

File -> New Project

E: jonathan@paladincloudware.com

G+: +JonathanPeterson42

GitHub & StackOverflow: Eonasdan

Jonathan Peterson

Paladin Cloudware

default vs mvc project
Default VS MVC project
  • Extra Packages like Modernizr
  • Messy Code
  • Hour + of preparation to get a project ready
how we re going to fix it
How we’re going to fix it
  • Using PowerShell to get things going
  • Less
  • Web.config
  • Code templates
  • Data annotations
  • EditorFor Templates
  • Bundles
using powershell to get things setup
Using PowerShell to get things setup
  • PowerShell can be used to automate our first task
  • Uninstall packages I don’t want
  • Install packages I always install
  • Update all the packages that are installed
using less
Using Less
  • Less gives us Mixins
  • Parameters and variables
  • Separate files
web config additions
Web.Config additions
  • View/web.config
  • Web.config and web.release.config
intermission papercut
Intermission: papercut

http://papercut.codeplex.com

code templates
Code Templates
  • Allows you to customize the OTB Views and Controllers
  • No more unnecessary comments
  • No more Resharpersquigglies
  • C:\Program Files (x86)\Microsoft Visual Studio 12.0\
  • Common7\IDE\Extensions\Microsoft\Web\Mvc\Scaffolding\Templates
data annotations
Data Annotations
  • Uses for validation (Required, Range, String Length)
  • Specify field types (Phone, Email)
  • DisplayFor and ValidationFor text
editorfor templates
EditorFor Templates
  • Must be in Views > Shared > EditorTemplates
  • Can be customized for each DataType
strongly typed bundles
Strongly Typed bundles
  • Takes away the guesswork
  • Easier to make changes to the bundle’s route
links
Links
  • Github: http://goo.gl/UhMAFd
  • Code Templates:
    • C:\Program Files (x86)\Microsoft Visual Studio 12.0\ Common7\IDE\Extensions\Microsoft\Web\Mvc\Scaffolding\Templates
  • Less: http://lesscss.org/
  • Papercut (SMTP Server): http://papercut.codeplex.com