dksung007 / Trianing-ASP.net

0 stars 0 forks source link

Content #1

Open dksung007 opened 8 years ago

dksung007 commented 8 years ago

#days 1

M Model database entity V View user interface C Controller control entity

Json web service Web API Jquery Ajax http://www.w3schools.com/

waterfall model TDD

Sample UML Use case Diagram Linq

#days 2

CRUD ศึกษาวิธีใช้ http://www.asp.net/mvc/overview/getting-started/getting-started-with-ef-using-mvc/implementing-basic-crud-functionality-with-the-entity-framework-in-asp-net-mvc-application

https://code.msdn.microsoft.com/MVC4-ENTITY-FRAMEWORK-10-e15ef983

LogActionFilter http://www.asp.net/mvc/overview/older-versions-1/controllers-and-routing/understanding-action-filters-cs

event driven programming คือ win app

http://dictionary.sanook.com/search/dict-computer/event-driven-programming

#days 3

คำสั่ง checked กรณี check over flow

IntelliTrace https://msdn.microsoft.com/en-us/library/dd264915.aspx

C# Class คือ ตัวต้นแบบของ object

encapsulation or information hiding การห่อตัวแปร ในคลาสการเรียกใช้ต้องผ่าน method

inheritance

polymorphism

constructor การกำหนดค่าเริ่มต้นให้กับตัวแปร

virtual class แม่ override class ลูก

protected เหนได้ เฉพาะ class แม่ กับ class ลูก

Interface http://stackoverflow.com/questions/7762291/c-sharp-how-to-use-interfaces

abstract class
Abstract Class C# การสร้าง และใช้งาน abstract class Abstract Class คือ Class ชนิดหนึ่งที่มีคุณสมบัติแตกต่างจาก Interfaces Class ตรงที่ Abstract Class จะสามารถมี Method ได้ทั้งแบบมีส่วนการประมวลผล หรือหน้าที่การทำงาน กับแบบ Method ที่มีเพียงแค่ชื่อเหมือนใน Interfaces Class

ภาพรวมของ Abstract Class

  1. Abstract Class คือ Class ที่มี Method ได้ทั้งแบบมีส่วนหน้าที่การทำงาน และแบบมีเพียงแค่ชื่อ Method
  2. Abstract Class ต่างจาก Interfaces Class ตรงที่สามารถมี Method ที่มีส่วนหน้าที่การทำงาน หรือส่วนการประมวลผล
  3. Abstract Class เหมาะสำหรับการออกแบบ Class ที่มีส่วนการทำงานที่เหมือนกัน และมีส่วนที่แตกต่างกันในการประมวลผล หรือขั้นตอนการดำเนินงาน

https://msdn.microsoft.com/en-us/library/k535acbf(v=vs.71).aspx

active directory login asp net https://msdn.microsoft.com/en-us/library/ms180890(v=vs.80).aspx

#day 4 final

javascriptEncode

sql injection
c2 security Temp Data : inproc

WCF Web service http://www.wcftutorial.net/

API Rounting http://www.asp.net/web-api/overview/getting-started-with-aspnet-web-api/tutorial-your-first-web-api

How to: Deploy a Web Project Using One-Click Publish in Visual Studio https://msdn.microsoft.com/en-us/library/dd465337.aspx

dksung007 commented 8 years ago

CMMI คือ มาตรฐานกระบวนการในการพัฒนางาน ย่อมาจาก Capability Maturity Model Integration ผู้กำหนดมาตรฐานนี้ คือ สถาบันวิศวกรรมซอฟต์แวร์ มหาวิทยาลัยคาร์เนกี้เมลลอน สหรัฐอเมริกา (Software Engineering Institute, Carnegie Mellon University, USA)

CMMI มี 5 ระดับ (Level) ซึ่งใช้เป็นตัวบ่งบอกวุฒิภาวะของกระบวนการองค์กรว่ามีความสามารถอยู่ในระดับใด

CMMI Level 1 (CMMI ระดับ 1) (Initial) เป็นระดับเริ่มต้นซึ่งไม่มีการกำหนด Process Area สำหรับระดับนี้แต่อย่างใด

CMMI Level 2 (CMMI ระดับ 2) (Managed) เป็นระดับที่มีการกำหนดกระบวนการบริหารจัดการขั้นพื้นฐาน 7 กลุ่ม (Process Area) ได้แก่

Requirements Management Project Planning Project Monitoring and Control Supplier Agreement Management Measurement and Analysis Process and Product Quality Assurance Configuration Management CMMI Level 3 (CMMI ระดับ 3) (Defined) เป็นระดับที่มีการกำหนดกระบวนการทั่วทั้งองค์กรประกอบด้วยกระบวนการ 11 กลุ่ม (Process Area) ได้แก่

Requirements Development Technical Solution Product Integration Verification Validation Risk Management Integrated Project Management Organizational Process Definition Organizational Process Focus Organizational Training Decision Analysis and Resolution CMMI Level 4 (CMMI ระดับ 4) (Quantitatively Managed) เป็นระดับที่นำหลักการจัดการเชิงปริมาณเข้ามาช่วยในจัดการเพื่อทำให้ทราบธรรมชาติของกระบวนการ และ สามารถตรวจหาความผิดปกติที่มีสาเหตุมาจากความผิดธรรมชาติ (Special Cause) ของกระบวนการ จึงทำให้ผลลัพธ์ไม่เป็นไปตามที่คาดการณ์ไว้ ในระดับนี้จะประกอบด้วยกระบวนการ 2 กลุ่ม (Process Area) ได้แก่

Organizational Process Performance Quantitative Project Management CMMI Level 5 (CMMI ระดับ 5) (Optimizing) เป็นระดับที่การวิเคราะห์หาสาเหตุรากเหง้า (Root Cause) เพื่อแก้ไขปัญหาที่สาเหตุ ซึ่งจะตามมาด้วยการปรับปรุงกระบวนการหรือการนำนวัตกรรมใหม่มาใช้ เพื่อแก้ไขปัญหาดังกล่าว ในระดับนี้จะประกอบด้วยกระบวนการ 2 กลุ่ม (Process Area) ได้แก่

Causal Analysis and Resolution Organizational Performance Management

dksung007 commented 8 years ago

using (ServiceContext svcContext = new ServiceContext(_serviceProxy)) { var query_where1 = from a in svcContext.AccountSet where a.Name.Contains("Contoso") select a; foreach (var a in query_where1) { System.Console.WriteLine(a.Name + " " + a.Address1_City); } }