{"id":156443,"date":"2012-11-03T01:45:03","date_gmt":"2012-11-02T21:45:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=156443"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=156443","title":{"rendered":"<span class=\"post_title\">\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u0430 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 MVC4 \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0440\u043e\u043b\u0435\u0432\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0441\u0430\u0439\u0442\u0443<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t\u041f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e.<br \/>  \u0421\u0435\u0433\u043e\u0434\u043d\u044f \u043c\u043d\u0435 \u0431\u044b \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u0432 \u0441\u043e\u0432\u0441\u0435\u043c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u043c \u0443\u0440\u043e\u043a\u0435 (\u0443\u0440\u043e\u0432\u0435\u043d\u044c \u0441\u043a\u043e\u0440\u0435\u0435 \u0434\u043b\u044f \u043e\u0447\u0435\u043d\u044c \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0445), \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0431\u044b\u0441\u0442\u0440\u043e \u0438 \u043b\u0435\u0433\u043a\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c <a href=\"http:\/\/ru.wikipedia.org\/wiki\/%D0%90%D1%83%D1%82%D0%B5%D0%BD%D1%82%D0%B8%D1%84%D0%B8%D0%BA%D0%B0%D1%86%D0%B8%D1%8F\">\u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044e<\/a> \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u0430 \u0442\u0430\u043a \u0436\u0435 <a href=\"http:\/\/ru.wikipedia.org\/wiki\/%D0%90%D0%B2%D1%82%D0%BE%D1%80%D0%B8%D0%B7%D0%B0%D1%86%D0%B8%D1%8F\">\u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044e<\/a> \u043f\u0440\u0438 \u0438\u0445 \u0434\u043e\u0441\u0442\u0443\u043f\u0435 \u043a \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u0443 \u043d\u0430 \u0412\u0430\u0448\u0435\u043c \u0441\u0430\u0439\u0442\u0435, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0448\u0442\u0430\u0442\u043d\u044b\u0435 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 MVC(4).<\/p>\n<h5>\u0412\u0432\u043e\u0434\u043d\u0430\u044f<\/h5>\n<p>  \u042f \u0441\u0435\u0439\u0447\u0430\u0441 \u043f\u0438\u0448\u0443 \u043b\u0438\u0447\u043d\u044b\u0439 \u043f\u0440\u043e\u0441\u0442\u0435\u043d\u044c\u043a\u0438\u0439 \u0441\u0430\u0439\u0442 \u0434\u043b\u044f \u0443\u0447\u0435\u0442\u0430 \u0438 \u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0440\u0430\u0441\u0445\u043e\u0434\u043e\u0432, \u0434\u043e\u0445\u043e\u0434\u043e\u0432, \u043d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u043d\u0438\u044f \u043e \u043f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043f\u043b\u0430\u0442\u0435\u0436\u0430\u0445 (\u0436\u043a\u0445, \u043a\u0440\u0435\u0434\u0438\u0442\u044b, \u0448\u043a\u043e\u043b\u0430 \u0438 \u0442.\u043f.) + \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u043a\u0430 (\u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b), \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043c\u0435\u043d\u044f \u0438 \u043c\u043e\u044e \u0436\u0435\u043d\u0443 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c Google Docs \u0443\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u043b\u0430.<br \/>  \u0421\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0432\u0441\u0442\u0430\u043b \u0432\u043e\u043f\u0440\u043e\u0441 \u043e \u0442\u043e\u043c, \u043a\u0430\u043a <b>\u0437\u0430\u043a\u0440\u044b\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e<\/b>, \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0444\u0438\u043d\u0430\u043d\u0441\u043e\u0432\u043e\u0433\u043e \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f \u0441\u0435\u043c\u044c\u0438 \u043e\u0442 \u043f\u043e\u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0445 \u0433\u043b\u0430\u0437 \u043f\u043e\u0434 <b>\u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044e<\/b> \u0430 \u0442\u0430\u043a \u0436\u0435 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c <b>\u0440\u043e\u043b\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 (\u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044f)<\/b> \u2014 \u0447\u0442\u043e \u043c\u043e\u0433\u0443\u0442 \u0436\u0435\u043d\u0430, \u0440\u0435\u0431\u0435\u043d\u043e\u043a, \u0430\u043d\u043e\u043d\u0438\u043c\u043d\u044b\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438, \u0430 \u0447\u0442\u043e \u043c\u043e\u0436\u0435\u0442 <s>\u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440<\/s> \u0433\u043b\u0430\u0432\u0430 \u0441\u0435\u043c\u044c\u0438.<\/p>\n<p>  <a name=\"habracut\"><\/a><\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043f\u0440\u0435\u0434\u0438\u0441\u043b\u043e\u0432\u0438\u0435 &#8212; \u041f\u0440\u0438\u0447\u0438\u043d\u044b, \u043f\u043e\u0431\u0443\u0434\u0438\u0432\u0448\u0438\u0435 \u043c\u0435\u043d\u044f \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u044d\u0442\u0443 \u0441\u0442\u0430\u0442\u044c\u044e \u0438 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0437\u0430\u043c\u0435\u0442\u043e\u043a \u0434\u043b\u044f \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0445<\/b><\/p>\n<div class=\"spoiler_text\">\u041f\u0440\u043e\u0435\u043a\u0442 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u043b\u0441\u044f \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 \u0438\u0437\u0443\u0447\u0435\u043d\u0438\u044f C#, MVC4 \u2014 \u044f \u043d\u043e\u0432\u0438\u0447\u043e\u043a.<br \/>  \u042f \u043f\u043e\u0442\u0440\u0430\u0442\u0438\u043b \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0435\u0447\u0435\u0440\u043e\u0432 \u043d\u0430 \u043f\u043e\u0438\u0441\u043a, \u0432\u043e\u0437\u043d\u044e \u0441 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u043c\u0438 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430\u043c\u0438 \u0438 \u0438\u0445 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u043e\u0439, \u043f\u043e\u043a\u0430 \u043d\u0435 \u043f\u043e\u043d\u044f\u043b, \u0447\u0442\u043e \u0432\u0435\u0441\u044c \u044d\u0442\u043e\u0442 \u043a\u043e\u0434 \u043d\u0435 \u043d\u0443\u0436\u0435\u043d \u043c\u043d\u0435 \u043d\u0430 \u0434\u0430\u043d\u043d\u043e\u043c \u044d\u0442\u0430\u043f\u0435. \u0421\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0435\u043c \u0441\u0442\u0430\u043b\u043e \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u043d\u0438\u0435 \u0441\u0442\u0430\u0442\u044c\u0438 \u043f\u043e \u043a\u043e\u0433\u0434\u0430-\u0442\u043e \u0432\u0431\u0438\u0442\u043e\u043c\u0443 \u043c\u043d\u0435 \u0432 \u0433\u043e\u043b\u043e\u0432\u0443 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0443 \u2014 \u0447\u0435\u043c \u043c\u0435\u043d\u044c\u0448\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0432\u043d\u043e\u0441\u0438\u0442\u0441\u044f \u0432 \u043b\u044e\u0431\u043e\u0439 \u043e\u0431\u044a\u0435\u043a\u0442, \u0431\u0443\u0434\u044c \u0442\u043e \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b, \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442 \u0438\u043b\u0438 \u043a\u043e\u0434 \u043d\u0430 \u0442\u0435\u043a\u0443\u0449\u0435\u043c \u0443\u0440\u043e\u0432\u043d\u0435 \u043c\u043e\u0438\u0445 \u0437\u043d\u0430\u043d\u0438\u0439 \u043b\u0438\u0431\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0439, \u0442\u0435\u043c \u043f\u043e\u0442\u043e\u043c \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0449\u0435. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u044f \u0443\u043f\u0443\u0441\u0442\u0438\u043b \u043a\u0430\u043a\u0438\u0435-\u0442\u043e \u0432\u0430\u0436\u043d\u044b\u0435 \u043d\u044e\u0430\u043d\u0441\u044b (\u044f \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0439 ), \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0431\u0443\u0434\u0443 \u0440\u0430\u0434 \u043a\u0430\u043a \u043a\u0440\u0438\u0442\u0438\u043a\u0435, \u0442\u0430\u043a \u0438 \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0430\u043c \u0430\u0443\u0434\u0438\u0442\u043e\u0440\u0438\u0438.<\/p>\n<p>  \u042f \u0441\u0447\u0438\u0442\u0430\u044e, \u0447\u0442\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0443\u0436\u0435 \u0441\u043e\u0437\u0434\u0430\u043b \u0445\u043e\u0442\u044f \u0431\u044b \u043e\u0434\u0438\u043d \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0441\u0430\u0439\u0442 \u043d\u0430 \u0434\u0430\u043d\u043d\u043e\u043c \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0435, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, <a href=\"http:\/\/www.asp.net\/mvc\/tutorials\/mvc-4\/getting-started-with-aspnet-mvc4\/intro-to-aspnet-mvc-4\">\u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0432\u0448\u0438\u0441\u044c \u0431\u0430\u0437\u043e\u0432\u043e\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0435\u0439 \u043f\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044e \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430 \u0412\u0430\u0448\u0438\u0445 \u0444\u0438\u043b\u044c\u043c\u043e\u0432 \u043d\u0430 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0435 MVC4<\/a> (\u0443 \u043c\u0435\u043d\u044f \u0443\u0448\u043b\u043e \u043e\u043a\u043e\u043b\u043e 20 \u043c\u0438\u043d\u0443\u0442).<br \/>  \u0418\u043b\u0438 \u0436\u0435 \u0438\u0437\u0443\u0447\u0430\u044f MVC \u043f\u043e \u0432\u0442\u043e\u0440\u043e\u0439, <a href=\"http:\/\/www.asp.net\/mvc\/tutorials\/mvc-music-store\/mvc-music-store-part-1\">\u043e\u0447\u0435\u043d\u044c \u0445\u043e\u0440\u043e\u0448\u0435\u0439 \u0438 \u0431\u043e\u043b\u0435\u0435 \u0441\u043b\u043e\u0436\u043d\u043e\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0435\u0439, \u043f\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044e \u043e\u043d\u043b\u0430\u0439\u043d \u043c\u0430\u0433\u0430\u0437\u0438\u043d\u0430 \u043f\u0440\u043e\u0434\u0430\u0436\u0438 \u043c\u0443\u0437\u044b\u043a\u0430\u043b\u044c\u043d\u044b\u0445 \u0430\u043b\u044c\u0431\u043e\u043c\u043e\u0432<\/a>, (\u043e\u043d\u0430 \u043a\u0430\u0441\u0430\u0435\u0442\u0441\u044f MVC3, \u043d\u043e, \u0442\u0435\u043c \u043d\u0435 \u043c\u0435\u043d\u0435\u0435, \u0438\u0437\u0443\u0447\u0435\u043d\u0438\u0435 MVC \u044f \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e \u043d\u0430\u0447\u0438\u043d\u0430\u0442\u044c \u0441 \u0434\u0430\u043d\u043d\u043e\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438).<\/p>\n<p>  \u0412 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u0438\u0437\u0443\u0447\u0435\u043d\u0438\u044f \u0432\u0442\u043e\u0440\u043e\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u044f \u043d\u0430\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0441\u044f \u043d\u0430 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0435 \u0441 \u0442\u0435\u043c, \u0447\u0442\u043e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u0435\u0449\u0438 \u0432 MVC4 \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u0438\u0441\u044c, \u043f\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044e \u0441 MVC3, \u0438 \u0431\u0440\u0430\u0442\u044c \u0443\u0441\u0442\u0430\u0440\u0435\u0432\u0448\u0438\u0439 \u043a\u043e\u0434 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 \u043e\u0442 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u043c\u043e\u0434\u0435\u043b\u0438 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 \u0438 \u043c\u043e\u0434\u0435\u043b\u0438 \u0441\u0447\u0438\u0442\u0430\u044e \u043f\u043b\u043e\u0445\u043e\u0439 \u0438\u0434\u0435\u0435\u0439, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0440\u0435\u0448\u0438\u043b \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f \u0441 \u044d\u0442\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0435\u0439.  <\/div>\n<\/div>\n<h5>\u041f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0443\u0441\u043b\u043e\u0432\u0438\u0435:<\/h5>\n<p>  \u041f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u043d\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430 MVC4 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0432\u0432\u0435\u0440\u0445\u0443, \u0441\u043f\u0440\u0430\u0432\u0430 \u043f\u0440\u0438 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u0438 \u0441\u0430\u0439\u0442\u0430 \u0435\u0441\u0442\u044c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043c\u0435\u043d\u044e \u0438\u0437 \u0434\u0432\u0443\u0445 \u043f\u0443\u043d\u043a\u0442\u043e\u0432 \u2014 \u00ab\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f\u00bb \u0438 \u00ab\u0412\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0432\u0445\u043e\u0434\u00bb.<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/d6b\/a38\/c29\/d6ba38c294ed162933b2b946db637efd.jpg\"\/><\/p>\n<h5>\u0422\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0437\u0430\u0434\u0430\u043d\u0438\u0435:<\/h5>\n<p>  \u00ab\u0410\u043a\u0442\u0438\u0432\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u00bb \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043d\u0430 \u043d\u0430\u0448\u0435\u043c \u0441\u0430\u0439\u0442\u0435 \u0440\u043e\u043b\u0435\u0432\u0443\u044e \u043c\u043e\u0434\u0435\u043b\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u0441 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u0430.<\/p>\n<p>  \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0432\u0441\u0435, \u0447\u0442\u043e \u043d\u0430\u043c \u043d\u0430\u0434\u043e, \u0443\u0436\u0435 \u0435\u0441\u0442\u044c \u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u0441\u043f\u0430\u0441\u0438\u0431\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c, \u043d\u043e \u043a\u043e\u0435 \u0447\u0442\u043e \u043d\u0430\u043c \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u0434\u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e.<\/p>\n<h5>\u0420\u0430\u0431\u043e\u0447\u0430\u044f \u0441\u0440\u0435\u0434\u0430:<\/h5>\n<p>  \u0423 \u043c\u0435\u043d\u044f \u0441\u0442\u043e\u044f\u0442 \u043f\u0440\u0438\u0432\u044b\u0447\u043d\u044b\u0435 \u043c\u043d\u0435 \u0440\u0443\u0441\u0441\u043a\u043e\u044f\u0437\u044b\u0447\u043d\u044b\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b Visual Studio 2012 Express, .Net 4.5, SQL 2012 \u0438 MVC4 (\u0430 \u0442\u0430\u043a \u0436\u0435 TFS2012 Express. \u0412\u0441\u0451 \u044d\u0442\u043e \u0436\u0438\u0432\u0435\u0442 \u043d\u0430 Windows 2008R2), \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0443 \u0412\u0430\u0441 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u043e\u0439 \u043b\u043e\u043a\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f, \u043f\u0443\u043d\u043a\u0442\u044b \u043c\u0435\u043d\u044e \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0431\u0443\u0434\u0443\u0442 \u043d\u0430\u0437\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u043e \u0434\u0440\u0443\u0433\u043e\u043c\u0443, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u043f\u043e \u043c\u0430\u043a\u0441\u0438\u043c\u0443\u043c\u0443 \u0430\u0431\u0441\u0442\u0440\u0430\u0433\u0438\u0440\u043e\u0432\u0430\u043b\u0441\u044f \u043e\u0442 \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u043e\u0432 \u044d\u043a\u0440\u0430\u043d\u0430.<\/p>\n<h1>\u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u0437\u0430\u0434\u0430\u0447\u0438<\/h1>\n<h5>\u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430<\/h5>\n<p>  \u042f \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0438\u0442\u0430\u044e \u043e\u0442\u0434\u0435\u043b\u044f\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043e\u0442 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441\u043e\u0437\u0434\u0430\u043b \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0443\u044e \u0431\u0430\u0437\u0443 \u0434\u0430\u043d\u043d\u044b\u0445 users,<\/p>\n<ol>\n<li>\u0412 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 App_Data \u043d\u0430\u0434\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043d\u043e\u0432\u0443\u044e, \u043f\u0443\u0441\u0442\u0443\u044e \u0431\u0430\u0437\u0443 \u0434\u0430\u043d\u043d\u044b\u0445, \u043d\u0430\u0437\u043e\u0432\u0451\u043c \u0435\u0451 \u00abusers\u00bb \u0434\u043b\u044f \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u0435\u0451 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0433\u043e.<\/li>\n<li>\u0412 \u043d\u0430\u0448\u0435\u043c web \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u043d\u0430\u0434\u043e \u043e\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a \u043d\u0430\u0448\u0435\u0439 \u043d\u043e\u0432\u043e\u0439 \u0431\u0430\u0437\u0435 \u0434\u0430\u043d\u043d\u044b\u0445, \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0430\u0434\u043e \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u0444\u0430\u0439\u043b web.config, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u043a\u043e\u0440\u043d\u0435\u0432\u043e\u043c \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 \u043d\u0430\u0448\u0435\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u043d\u0430\u0439\u0442\u0438 (\u043e\u0431\u044b\u0447\u043d\u043e \u0432 \u0441\u0430\u043c\u043e\u043c \u043d\u0430\u0447\u0430\u043b\u0435 \u0444\u0430\u0439\u043b\u0430), \u043f\u0443\u043d\u043a\u0442, \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u044e\u0449\u0438\u0439 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0441 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u0445. (\u044f \u0432\u0437\u044f\u043b \u043a\u043e\u043d\u0444\u0438\u0433 \u0438\u0437 \u0443\u0436\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0435\u0433\u043e \u0441\u0430\u0439\u0442\u0430, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0443 \u0412\u0430\u0441 \u0432\u0435\u0440\u043d\u044b\u043c \u0438 \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u044e\u0449\u0438\u043c \u043f\u0443\u043d\u043a\u0442\u043e\u043c \u0431\u0443\u0434\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0438\u043c\u044f \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f DefaultConnection).<br \/> \n<pre><code class=\"xml\">&lt;connectionStrings&gt; &lt;add name=&quot;DefaultConnection&quot; connectionString=&quot;Data Source=(LocalDb)\\v11.0;Initial Catalog=aspnet-MyMoney-2132141343;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\\users.mdf&quot; providerName=&quot;System.Data.SqlClient&quot; \/&gt; &lt;add name=&quot;payDBContext&quot; connectionString=&quot;Data Source=(LocalDb)\\v11.0;Initial Catalog=aspnet-MyMoney-data;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\\MyMoney.mdf&quot; providerName=&quot;System.Data.SqlClient&quot; \/&gt; &lt;\/connectionStrings&gt; <\/code><\/pre>\n<p>  \u041d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435: <br \/>  \u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043f\u0438\u0441\u043a\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0439 \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u00abDefaultConnection\u00bb, \u0443 \u043d\u0430\u0441 \u043e\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043c\u044b \u044d\u0442\u043e \u043c\u0435\u043d\u044f\u0442\u044c \u043d\u0435 \u0431\u0443\u0434\u0435\u043c, \u0432\u0441\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0431\u0443\u0434\u0443\u0442 \u0445\u0440\u0430\u043d\u0438\u0442\u044c\u0441\u044f \u0432 \u0434\u0440\u0443\u0433\u043e\u0439 \u0431\u0430\u0437\u0435 \u0434\u0430\u043d\u043d\u044b\u0445, payDBContext.<br \/>  \u0412 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 DefaultConnection \u043c\u044b \u043c\u0435\u043d\u044f\u0435\u043c:   <\/p>\n<ol>\n<li>\u041d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u00abInitial Catalog=aspnet-MyMoney-2132141343\u00bb, \u044d\u0442\u043e \u0438\u043c\u044f \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u043c\u043e\u043c\u0435\u043d\u0442 \u043f\u0440\u0438\u043a\u0440\u0435\u043f\u043b\u0435\u043d\u0438\u044f \u0411\u0414 \u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0443 \u0411\u0414, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0440\u0430\u0431\u043e\u0442\u044b \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0431\u0430\u0437 \u0434\u0430\u043d\u043d\u044b\u0445 \u0441 \u044d\u0442\u0438\u043c \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u043c \u0438\u043c\u0435\u043d\u0435\u043c, \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u043d\u0435\u043e\u0434\u043d\u043e\u0437\u043d\u0430\u0447\u043d\u043e\u0441\u0442\u0438<\/li>\n<li>\u043f\u0443\u043d\u043a\u0442 \u00abAttachDBFilename=|DataDirectory|\\users.mdf\u00bb, \u0438\u043c\u044f \u0444\u0430\u0439\u043b\u0430 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445, \u0433\u0434\u0435 \u0431\u0443\u0434\u0435\u0442 \u0445\u0440\u0430\u043d\u0438\u0442\u044c\u0441\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u0445 \u0438 \u0440\u043e\u043b\u044f\u0445. \u0418\u043c\u044f \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u0439 \u043d\u0430\u043c\u0438 \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 App_Data, \u00abusers.mdf\u00bb.<\/li>\n<\/ol>\n<p>   <\/li>\n<li>\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0441\u0430\u0439\u0442, \u0437\u0430\u0439\u0442\u0438 \u0438 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0434\u0432\u0443\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 Admin \u0438 User<\/li>\n<li>\u041f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u0432 \u043e\u0431\u043e\u0437\u0440\u0435\u0432\u0430\u0442\u0435\u043b\u0435 \u0431\u0430\u0437 \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u0440\u044f\u043c\u043e \u0432 \u0441\u0442\u0443\u0434\u0438\u0438 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u043d\u0430\u0448\u0435\u0439 \u0411\u0414<br \/> \n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0418 \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u043d\u0435\u0447\u0442\u043e \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0435<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/e30\/138\/641\/e301386412cb5ea749615dc83a35fd6e.png\"\/><\/div>\n<\/div>\n<\/li>\n<li>\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0442\u0430\u0431\u043b\u0438\u0447\u043a\u0443 \u00abUserProfile\u00bb \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0444\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0430\u0441 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0442 UserID \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0445 \u0440\u0430\u043d\u0435\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 Admin \u0438 User.<\/li>\n<li>\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u00abwebpages_Roles\u00bb \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f, \u0438 \u0432\u0432\u043e\u0434\u0438\u043c \u0440\u043e\u043b\u044c Admin, \u0432 \u043a\u043e\u043b\u043e\u043d\u043a\u0443 \u00abRoleName\u00bb, \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u0441\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438, \u0438 \u0432\u0432\u043e\u0434\u0438\u043c \u0432\u0442\u043e\u0440\u0443\u044e \u0440\u043e\u043b\u044c \u00abUser\u00bb. \u0417\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u043c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u0440\u043e\u043b\u0435\u0439 \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u044b.<br \/>  \u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u00abwebpages_UsersInRoles\u00bb<br \/>  \u0438 \u0432\u0432\u043e\u0434\u0438\u043c \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u043f\u043e\u043b\u044f ID \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0438 ID \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0439 \u0435\u043c\u0443 \u0440\u043e\u043b\u0438, \u043d\u043e \u0441 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u043c \u043e\u0442\u043b\u0438\u0447\u0438\u0435\u043c:<br \/>  \u041c\u044b \u0445\u043e\u0442\u0438\u043c, \u0447\u0442\u043e\u0431\u044b \u0410\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440 \u0432\u0445\u043e\u0434\u0438\u043b \u043a\u0430\u043a \u0432 \u0440\u043e\u043b\u044c \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430, \u0442\u0430\u043a \u0438 \u0432 \u0440\u043e\u043b\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432 \u044d\u0442\u043e\u0442 \u0440\u0430\u0437 \u0441\u0442\u0440\u043e\u043a \u0431\u0443\u0434\u0435\u0442 3.<br \/> \n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0418 \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u043d\u0435\u0447\u0442\u043e \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0435<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/981\/451\/ebf\/981451ebf60bb9612bf61266b9fdc89d.png\"\/><\/div>\n<\/div>\n<p>  \u0423 \u043c\u0435\u043d\u044f \u0437\u0430 \u0440\u0430\u0431\u043e\u0442\u0443 \u0441 \u0444\u0438\u043d\u0430\u043d\u0441\u043e\u0432\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0435\u0439 \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u0432, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0438 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 (\u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043a\u0440\u044b\u0442\u044c \u0438\u043b\u0438 \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442, \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u043c\u0435\u0442\u043e\u0434\u044b) \u043d\u0430\u0434\u043e \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0443\u044e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0443 \u0434\u043e\u0441\u0442\u0443\u043f\u0430: <\/p>\n<pre><code class=\"cs\">[Authorize(Roles = &quot;Admin&quot;)] <\/code><\/pre>\n<p>  <\/p>\n<pre><code class=\"cs\">namespace MyMoney.Controllers {     [Authorize(Roles = &quot;Admin&quot;)]     public class catController : Controller     { <\/code><\/pre>\n<p>  \u0418\u043b\u0438 \u0436\u0435 \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0442\u0430\u043a\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443 \u0434\u043b\u044f \u0432\u0445\u043e\u0434\u0430 \u0432 \u043c\u0435\u0442\u043e\u0434\u044b \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0440\u043e\u043b\u0435\u0439 <\/p>\n<pre><code class=\"cs\">[Authorize(Roles = &quot;Admin, User&quot;)] <\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u044f \u0445\u043e\u0447\u0443 \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0440\u043e\u043b\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u043c\u0435\u043d\u044e.  <\/p>\n<ol>\n<li>\u0412 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 \/Views\/Shared \u044f \u0441\u043e\u0437\u0434\u0430\u044e \u0447\u0430\u0441\u0442\u0438\u0447\u043d\u043e\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 (\u043e\u043d\u043e \u0436\u0435 Partial View) \u0441 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c &quot;_Menu&quot;<br \/> \n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434, \u043a\u0441\u0442\u0430\u0442\u0438, \u043a\u0442\u043e \u043f\u043e\u0434\u0441\u043a\u0430\u0436\u0435\u0442 \u043a\u0430\u043a \u0435\u0433\u043e \u043b\u0443\u0447\u0448\u0435 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c, \u0430 \u0442\u043e \u0443\u0442\u044f\u043d\u0443\u043b<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"cs\">@{          var menus = new[]                 {                    new { LinkText=&quot;\u041d\u0430 \u0433\u043b\u0430\u0432\u043d\u0443\u044e&quot;, ActionName=&quot;Index&quot;,ControllerName=&quot;Home&quot;,Roles=&quot;All&quot; },                    new { LinkText=&quot;\u041e \u0441\u0435\u0431\u0435&quot;, ActionName=&quot;About&quot;,ControllerName=&quot;Home&quot;,Roles=&quot;All&quot; },                    new { LinkText=&quot;\u041a\u043e\u043d\u0442\u0430\u043a\u0442\u044b&quot;, ActionName=&quot;Contact&quot;,ControllerName=&quot;Home&quot;,Roles=&quot;All&quot; },                    new { LinkText=&quot;\u0424\u0438\u043d\u0430\u043d\u0441\u044b&quot;, ActionName=&quot;Index&quot;,ControllerName=&quot;payments&quot;,Roles=&quot;Admin,User&quot; },                 }; }  &lt;ul id=&quot;menu&quot;&gt; @if (HttpContext.Current.User.Identity.IsAuthenticated) {     String[] roles = Roles.GetRolesForUser();     var links = from item in menus                 where item.Roles.Split(new String[] { &quot;,&quot; }, StringSplitOptions.RemoveEmptyEntries)                 .Any(x =&gt; roles.Contains(x) || x == &quot;All&quot;)                 select item;     foreach (var link in links)     {         @: &lt;li&gt; @Html.ActionLink(link.LinkText, link.ActionName,link.ControllerName)&lt;\/li&gt;     } } else{     var links = from item in menus                 where item.Roles.Split(new String[]{&quot;,&quot;},StringSplitOptions.RemoveEmptyEntries)                 .Any(x=&gt;new String[]{&quot;All&quot;,&quot;Anonymous&quot;}.Contains(x))                 select item;      foreach ( var link in links){          @: &lt;li&gt; @Html.ActionLink(link.LinkText, link.ActionName, link.ControllerName)&lt;\/li&gt;      } } &lt;\/ul&gt; \t\t<\/code><\/pre>\n<p>   <\/div>\n<\/div>\n<p>   <\/li>\n<li>\u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u0434\u043e \u0435\u0433\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0432 \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0443 \/Views\/Shared\/_Layout.cshtml<br \/> \n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0418\u0449\u0435\u043c \u0432 \u0444\u0430\u0439\u043b\u0435 _Layout.cshtml \u044d\u0442\u043e\u0442 \u043a\u043e\u0434<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"cs\">   &lt;section id=&quot;login&quot;&gt;                     @Html.Partial(&quot;_LoginPartial&quot;)                 &lt;\/section&gt;                 &lt;nav&gt;         &lt;ul id=&quot;navlist&quot;&gt;             &lt;li class=&quot;first&quot;&gt;&lt;a href=&quot;@Url.Content(&quot;~&quot;)&quot; id=&quot;current&quot;&gt;Home&lt;\/a&gt;&lt;\/li&gt;             &lt;li&gt;&lt;a href=&quot;@Url.Content(&quot;~\/Store\/&quot;)&quot;&gt;Store&lt;\/a&gt;&lt;\/li&gt;             &lt;li&gt;@{Html.RenderAction(&quot;CartSummary&quot;, &quot;ShoppingCart&quot;);}&lt;\/li&gt;             &lt;li&gt;&lt;a href=&quot;@Url.Content(&quot;~\/StoreManager\/&quot;)&quot;&gt;Admin&lt;\/a&gt;&lt;\/li&gt;         &lt;\/ul&gt;                         &lt;\/nav&gt; <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0438 \u043c\u0435\u043d\u044f\u0435\u043c \u0431\u043b\u043e\u043a <\/p>\n<pre><code class=\"xml\">&lt;nav&gt; ... &lt;\/nav&gt; <\/code><\/pre>\n<p>  \u043d\u0430    <\/p>\n<pre><code class=\"xml\">&lt;nav&gt;             @Html.Partial(&quot;~\/Views\/Shared\/_Menu.cshtml&quot;) &lt;\/nav&gt;             <\/code><\/pre>\n<p>   <\/li>\n<li>\u0423 \u043c\u0435\u043d\u044f \u0435\u0441\u0442\u044c \u043e\u0434\u0438\u043d \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u0441 \u043a\u043e\u0440\u043e\u0442\u043a\u0438\u043c \u0438\u043c\u0435\u043d\u0435\u043c, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0449\u0438\u0439 \u043e\u0434\u043d\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043a\u0430\u043a \u043c\u0435\u043d\u044e, \u0432\u043e\u0442 \u043a\u043e\u0434 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f.<br \/>  \u041d\u0430\u0431\u0440\u043e\u0441\u0430\u043b \u043f\u043e \u0431\u044b\u0441\u0442\u0440\u043e\u043c\u0443, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0443 \u0441 \u0440\u043e\u043b\u044f\u043c\u0438.<br \/> \n<div class=\"spoiler\"><b class=\"spoiler_title\">\u043a\u043e\u0434 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"html\">@{     var menus = new[]                 {                    new { LinkText=&quot;Home&quot;, ActionName=&quot;Index&quot;,ControllerName=&quot;Home&quot;,Roles=&quot;All&quot;  },                    new { LinkText=&quot;About&quot;, ActionName=&quot;About&quot;,ControllerName=&quot;Home&quot;,Roles=&quot;Anonymous&quot;  },                    new { LinkText=&quot;Contact&quot;, ActionName=&quot;Contact&quot;,ControllerName=&quot;Home&quot;,Roles=&quot;Anonymous&quot;  },                                        new { LinkText=&quot;\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043f\u043b\u0430\u0442\u0451\u0436&quot;, ActionName=&quot;Create&quot;,ControllerName=&quot;pay&quot;,Roles=&quot;Admin,User&quot;  },                    new { LinkText=&quot;\u041f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 \u043f\u043b\u0430\u0442\u0435\u0436\u0435\u0439&quot;, ActionName=&quot;Index&quot;,ControllerName=&quot;pay&quot;,Roles=&quot;Admin,User&quot;  },                     new { LinkText=&quot;\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044e&quot;, ActionName=&quot;Create&quot;,ControllerName=&quot;cat&quot;,Roles=&quot;Admin&quot;  },                    new { LinkText=&quot;\u041f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0439&quot;, ActionName=&quot;Index&quot;,ControllerName=&quot;cat&quot;,Roles=&quot;Admin,User&quot;  },                                        new { LinkText=&quot;\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f&quot;, ActionName=&quot;Create&quot;,ControllerName=&quot;user&quot;,Roles=&quot;Admin&quot;  },                    new { LinkText=&quot;\u041f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439&quot;, ActionName=&quot;Index&quot;,ControllerName=&quot;user&quot;,Roles=&quot;Admin&quot;  },                                        new { LinkText=&quot;\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0442\u0438\u043f&quot;, ActionName=&quot;Create&quot;,ControllerName=&quot;type&quot;,Roles=&quot;Admin&quot;  },                    new { LinkText=&quot;\u041f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 \u0442\u0438\u043f\u043e\u0432&quot;, ActionName=&quot;Index&quot;,ControllerName=&quot;type&quot;,Roles=&quot;Admin&quot;  },                    \/\/new { LinkText=&quot;&quot;, ActionName=&quot;&quot;,ControllerName=&quot;&quot;,Roles=&quot;Administrator&quot;  },                 }; }  @{     ViewBag.Title = &quot;\u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0444\u0438\u043d\u0430\u043d\u0441\u0430\u043c\u0438&quot;; }  &lt;h2&gt;\u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0444\u0438\u043d\u0430\u043d\u0441\u0430\u043c\u0438&lt;\/h2&gt;  &lt;p&gt;\u0412\u044b: @User.Identity.Name&lt;\/p&gt; &lt;p&gt;\u0412\u044b \u0432\u0445\u043e\u0434\u0438\u0442\u0435 \u0432 \u0433\u0440\u0443\u043f\u043f\u044b:&lt;\/p&gt; &lt;table&gt;     &lt;tr&gt;         @{ foreach (string item in Roles.GetRolesForUser())            {                &lt;li&gt;@item&lt;\/li&gt;            }         }     &lt;\/tr&gt; &lt;\/table&gt;   &lt;ul id=&quot;list&quot;&gt;      @if (HttpContext.Current.User.Identity.IsAuthenticated)     {         String[] roles = Roles.GetRolesForUser();         var links = from item in menus                     where item.Roles.Split(new String[] { &quot;,&quot; }, StringSplitOptions.RemoveEmptyEntries)                     .Any(x =&gt; roles.Contains(x) || x == &quot;All&quot;)                     select item;         foreach (var link in links)         {         @: &lt;li&gt; @Html.ActionLink(link.LinkText, link.ActionName, link.ControllerName)&lt;\/li&gt; \u00a0\u00a0\u00a0\u00a0}     }     else     {         var links = from item in menus                     where item.Roles.Split(new String[] { &quot;,&quot; }, StringSplitOptions.RemoveEmptyEntries)                     .Any(x =&gt; new String[] { &quot;All&quot;, &quot;Anonymous&quot; }.Contains(x))                     select item;         foreach (var link in links)         {         @: &lt;li&gt; @Html.ActionLink(link.LinkText, link.ActionName, link.ControllerName)&lt;\/li&gt; \u00a0\u00a0\u00a0\u00a0\u00a0}     } &lt;\/ul&gt; <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  <\/li>\n<\/ol>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u0434\u043e \u043e\u0447\u0438\u0441\u0442\u0438\u0442\u044c, \u043f\u0435\u0440\u0435\u0441\u043e\u0431\u0440\u0430\u0442\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0438 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c. \u0415\u0441\u043b\u0438 \u0437\u043d\u0430\u044f \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u043e\u0434\u0438\u043d \u0438\u0437 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u0432, \u0437\u0430\u043a\u0440\u044b\u0442\u044b\u0445 \u0434\u043b\u044f \u0430\u043d\u043e\u043d\u0438\u043c\u043d\u043e\u0433\u043e \u0432\u0445\u043e\u0434\u0430, \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0437\u0430\u0439\u0442\u0438 \u2014 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0435 \u0444\u043e\u0440\u043c\u0443 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438 \u0441 \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0442\u043d\u044b\u043c \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u043e\u043c \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0447\u043a\u0443, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u044f\u0432\u043b\u044f\u043b\u0430\u0441\u044c \u0438\u043d\u0438\u0446\u0438\u0430\u0442\u043e\u0440\u043e\u043c \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438.<br \/>  \u0412\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u044d\u0442\u043e \u0442\u0430\u043a:  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0410\u043d\u043e\u043d\u0438\u043c\u043d\u044b\u0439 \u0432\u0445\u043e\u0434<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/af2\/7cc\/da1\/af27ccda1356ae83f15bfd3e307b8c2a.png\"\/>  <\/div>\n<\/div>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0412\u0445\u043e\u0434 \u0441 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0439 \u0440\u043e\u043b\u044c\u044e<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/281\/0c0\/544\/2810c0544c4dae1b59419df04ffa93b5.png\"\/>  <\/div>\n<\/div>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0412\u0445\u043e\u0434 \u0441 \u0440\u043e\u043b\u044c\u044e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/3fe\/cbd\/780\/3fecbd7804507a2d3056f4c539f17d62.png\"\/>  <\/div>\n<\/div>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0417\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u044f \u043d\u0430\u043f\u043e\u0441\u043b\u0435\u0434\u043e\u043a<\/b><\/p>\n<div class=\"spoiler_text\">\u0415\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u043c\u0438\u043d\u0443\u0441 \u2014 \u043d\u0430\u0434\u043e \u0441\u0430\u043c\u043e\u043c\u0443 \u0434\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u043c\u0435\u0442\u043e\u0434\u044b \u0434\u043b\u044f \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f\/\u0443\u0434\u0430\u043b\u0435\u043d\u0438\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0445 \u043f\u0440\u043e\u0444\u0438\u043b\u0435\u0439 \u2014 \u043d\u0435 \u043b\u0435\u0437\u0442\u044c \u0436\u0435 \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u0432 \u0442\u0430\u0431\u043b\u0438\u0447\u043a\u0438 \u0440\u043e\u043b\u0435\u0439, \u043f\u0440\u043e\u0444\u0438\u043b\u0435\u0439 \u0438 \u0442.\u043f.<\/p>\n<p>  \u0412\u0442\u043e\u0440\u043e\u0435, \u043e \u0447\u0435\u043c \u044f \u0441\u0435\u0439\u0447\u0430\u0441 \u0434\u0443\u043c\u0430\u044e \u2014 \u043d\u0430\u0434\u043e \u0432 \u0441\u0432\u043e\u044e \u0411\u0414 \u0444\u0438\u043d\u0430\u043d\u0441\u043e\u0432 \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u0442\u044c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0442\u0435\u043a\u0443\u0449\u0435\u0433\u043e \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u0442.\u043a. \u0441\u0435\u0439\u0447\u0430\u0441 \u0432 \u0433\u0443\u0433\u043b\u044c \u0434\u043e\u043a\u0441 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0440\u0443\u043a\u0430\u043c\u0438 \u0432\u044b\u0431\u0438\u0440\u0430\u0442\u044c, \u043a\u0442\u043e \u0431\u044b\u043b \u0438\u043d\u0438\u0446\u0438\u0430\u0442\u043e\u0440\u043e\u043c \u0440\u0430\u0441\u0445\u043e\u0434\u0430\/\u0434\u043e\u0445\u043e\u0434\u0430 \u2014 \u0430 \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u0434\u0432\u0430 \u0440\u0430\u0437\u0430 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0433\u043b\u0443\u043f\u043e. \u0410 \u0432 \u0438\u0434\u0435\u0430\u043b\u0435 \u2014 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044e \u0438 \u0438\u0437 Windows \u0441\u0435\u0441\u0441\u0438\u0438, \u0435\u0441\u043b\u0438 \u0431\u0440\u043e\u0443\u0437\u0435\u0440 IE.  <\/div>\n<\/div>\n<p>  \u0414\u0430, \u0437\u0430 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u044b \u043a\u043e\u0434\u0430 \u043c\u0435\u043d\u044f, \u043a\u0430\u043a \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0435\u0433\u043e \u043d\u0430\u0434\u043e \u0431\u043e\u043b\u044c\u043d\u043e \u0431\u0438\u0442\u044c \u043f\u043e \u0440\u0443\u043a\u0430\u043c, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u0441 \u0443\u0434\u043e\u0432\u043e\u043b\u044c\u0441\u0442\u0432\u0438\u0435\u043c \u043f\u0440\u0438\u043c\u0443 \u043f\u043e\u043f\u0440\u0430\u0432\u043a\u0438 \u0438 \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430.<\/p>\n<p>  \u0421\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u043d\u0430\u0434\u0435\u044e\u0441\u044c \u044f \u043a\u043e\u043c\u0443-\u0442\u043e \u043f\u043e\u043c\u043e\u0433.<\/li>\n<\/ol>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/156443\/\"> http:\/\/habrahabr.ru\/post\/156443\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t\u041f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e.<br \/>  \u0421\u0435\u0433\u043e\u0434\u043d\u044f \u043c\u043d\u0435 \u0431\u044b \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u0432 \u0441\u043e\u0432\u0441\u0435\u043c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u043c \u0443\u0440\u043e\u043a\u0435 (\u0443\u0440\u043e\u0432\u0435\u043d\u044c \u0441\u043a\u043e\u0440\u0435\u0435 \u0434\u043b\u044f \u043e\u0447\u0435\u043d\u044c \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0445), \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0431\u044b\u0441\u0442\u0440\u043e \u0438 \u043b\u0435\u0433\u043a\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c <a href=\"http:\/\/ru.wikipedia.org\/wiki\/%D0%90%D1%83%D1%82%D0%B5%D0%BD%D1%82%D0%B8%D1%84%D0%B8%D0%BA%D0%B0%D1%86%D0%B8%D1%8F\">\u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044e<\/a> \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u0430 \u0442\u0430\u043a \u0436\u0435 <a href=\"http:\/\/ru.wikipedia.org\/wiki\/%D0%90%D0%B2%D1%82%D0%BE%D1%80%D0%B8%D0%B7%D0%B0%D1%86%D0%B8%D1%8F\">\u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044e<\/a> \u043f\u0440\u0438 \u0438\u0445 \u0434\u043e\u0441\u0442\u0443\u043f\u0435 \u043a \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u0443 \u043d\u0430 \u0412\u0430\u0448\u0435\u043c \u0441\u0430\u0439\u0442\u0435, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0448\u0442\u0430\u0442\u043d\u044b\u0435 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 MVC(4).<\/p>\n<h5>\u0412\u0432\u043e\u0434\u043d\u0430\u044f<\/h5>\n<p>  \u042f \u0441\u0435\u0439\u0447\u0430\u0441 \u043f\u0438\u0448\u0443 \u043b\u0438\u0447\u043d\u044b\u0439 \u043f\u0440\u043e\u0441\u0442\u0435\u043d\u044c\u043a\u0438\u0439 \u0441\u0430\u0439\u0442 \u0434\u043b\u044f \u0443\u0447\u0435\u0442\u0430 \u0438 \u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0440\u0430\u0441\u0445\u043e\u0434\u043e\u0432, \u0434\u043e\u0445\u043e\u0434\u043e\u0432, \u043d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u043d\u0438\u044f \u043e \u043f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043f\u043b\u0430\u0442\u0435\u0436\u0430\u0445 (\u0436\u043a\u0445, \u043a\u0440\u0435\u0434\u0438\u0442\u044b, \u0448\u043a\u043e\u043b\u0430 \u0438 \u0442.\u043f.) + \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u043a\u0430 (\u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b), \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043c\u0435\u043d\u044f \u0438 \u043c\u043e\u044e \u0436\u0435\u043d\u0443 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c Google Docs \u0443\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u043b\u0430.<br \/>  \u0421\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0432\u0441\u0442\u0430\u043b \u0432\u043e\u043f\u0440\u043e\u0441 \u043e \u0442\u043e\u043c, \u043a\u0430\u043a <b>\u0437\u0430\u043a\u0440\u044b\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e<\/b>, \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0444\u0438\u043d\u0430\u043d\u0441\u043e\u0432\u043e\u0433\u043e \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f \u0441\u0435\u043c\u044c\u0438 \u043e\u0442 \u043f\u043e\u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0445 \u0433\u043b\u0430\u0437 \u043f\u043e\u0434 <b>\u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044e<\/b> \u0430 \u0442\u0430\u043a \u0436\u0435 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c <b>\u0440\u043e\u043b\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 (\u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044f)<\/b> \u2014 \u0447\u0442\u043e \u043c\u043e\u0433\u0443\u0442 \u0436\u0435\u043d\u0430, \u0440\u0435\u0431\u0435\u043d\u043e\u043a, \u0430\u043d\u043e\u043d\u0438\u043c\u043d\u044b\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438, \u0430 \u0447\u0442\u043e \u043c\u043e\u0436\u0435\u0442 <s>\u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440<\/s> \u0433\u043b\u0430\u0432\u0430 \u0441\u0435\u043c\u044c\u0438.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-156443","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/156443","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=156443"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/156443\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=156443"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=156443"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=156443"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}