2
³ Microsoft Visual Studio 2012 File () New Project... ( ). , ASP.NET MVC 4 Web Application:
:
Internet Application.
MVC 4
Internet Application. , , , .
Intranet Application. Internet Application. ³ , Intranet Application Windows, ASP.NET Membership.
Empty. - .
Basic. . , , CSS, MVC. MVC 3 Empty.
Mobile Application. - .
Web API. Web API.
, View Engine .
- Razor ASPX ( Web Forms). Razor.
, OK . :
, , , .
MVC 4
Solution Explorer ( ) MVC 4.
App_Data - , , , . ϳ , .
Global.asax App_Start mvc 4 App_Start. , Global.asax, , Global.asax. ֳ , .
Web.config ,
Content ̳ , C# javascript, . , CSS. , Site.css, , , css .
Controllers ̳ - , . - HomeController AccountController.
|
|
Images Scripts Images Scripts JavaScript, . , , Scripts jQuery.
Models ̳ , . - AccountModel, .
Views . , . ϳ , , , 볺. , - Shared
MVC 4, MVC. Empty - .
. , . . , , , .
³ Visual Studio, File -> New Project.. ASP.NET MVC 4 Web Application - , , MvcCreditApp. ASP.NET MVC 4 Web Application Empty:
ϳ , . .
-, , . : . ³, . , Models. . Add- > Class.... Credit , :
- Bid:
. (Primary Key), . . . ' '_Id Id. , Credit CreditId, . Key, . , .