Version Control
Week 04
Outline
• Week 03 Revisited
• Hello World – MVC Application
• Using GitHub
Week 03 Revisited
Hello World
• Console Application
• Web Form
• IIS Setup
• Permission
• First Design Pattern – Strategy Pattern
Hello World
MVC 4 Application
New Project
New Project
New Controller
HoleController.cs
HomeController.cs
public class HomeController : Controller
{
//
// GET: /Home/
public ActionResult Index()
{
ViewBag.Text ...
View
• _ViewStart.cshtml
• _Layout.cshtml
• Index.cshtml
Using GitHub
For Collaboration & Source Code Management
GitHub Account
• Creating an account
• Fork a repository
• Create a branch
• Push changes
• Send a pull request
Branching Strategy (Best Practice)
• http://nvie.com/posts/a-
successful-git-branching-model
Project – MOKA CMS
• Content Management System
• ASP.NET MVC 4
• MS-SQL Server 2012
Upcoming SlideShare
Loading in …5
×

Moka .Net Study Week 04

295 views
244 views

Published on

Week 4

- Week 3 Revisited
- MVC4 Application
- Using GitHub

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
295
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Moka .Net Study Week 04

  1. 1. Version Control Week 04
  2. 2. Outline • Week 03 Revisited • Hello World – MVC Application • Using GitHub
  3. 3. Week 03 Revisited
  4. 4. Hello World • Console Application • Web Form • IIS Setup • Permission • First Design Pattern – Strategy Pattern
  5. 5. Hello World MVC 4 Application
  6. 6. New Project
  7. 7. New Project
  8. 8. New Controller
  9. 9. HoleController.cs
  10. 10. HomeController.cs public class HomeController : Controller { // // GET: /Home/ public ActionResult Index() { ViewBag.Text = "Hello World!"; return View(); } }
  11. 11. View • _ViewStart.cshtml • _Layout.cshtml • Index.cshtml
  12. 12. Using GitHub For Collaboration & Source Code Management
  13. 13. GitHub Account • Creating an account • Fork a repository • Create a branch • Push changes • Send a pull request
  14. 14. Branching Strategy (Best Practice) • http://nvie.com/posts/a- successful-git-branching-model
  15. 15. Project – MOKA CMS • Content Management System • ASP.NET MVC 4 • MS-SQL Server 2012

×