• 大小: 8.70M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-01-30
  • 语言: ASP
  • 标签: MVC  EF  asp.net  

资源简介



MVC 音乐店是用来介绍和展示使用 ASP.NETMVC 以及 Visual Studio 进行 Web 开发的示例应用程序,我们将从基础知识开始,一步一步地进行介绍,因此,初学者也可以去的很好的学习体验。

这个示例程序使用 ASP.NET MVC3 完成,视图部分使用 Razor 引擎,数据库访问使用 EF CodeFirst

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
using System.Web.Security;
using Mvc3ToolsUpdateWeb_Default.Models;

namespace Mvc3ToolsUpdateWeb_Default.Controllers
{
    public class AccountController : Controller
    {

        //
        // GET: /Account/LogOn

        public ActionResult LogOn()
        {
            return View();
        }

        //
        // POST: /Account/LogOn

        [HttpPost]
        public ActionResult LogOn(LogOnModel model string returnUrl)
        {
            if (ModelState.IsValid)
            {
                if (Membership.ValidateUser(model.UserName model.Password))
                {
                    FormsAuthentication.SetAu

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件    4993295  2011-04-29 09:09  MvcMusicStore-v3.0\MVC Music Store - Tutorial - v3.0.pdf

     文件       6818  2011-04-13 05:48  MvcMusicStore-v3.0\MvcMusicStore-Assets\Code\Controllers\AccountController.cs

     文件       2145  2011-04-13 05:25  MvcMusicStore-v3.0\MvcMusicStore-Assets\Code\Models\AccountModels.cs

     文件      66929  2011-04-12 21:31  MvcMusicStore-v3.0\MvcMusicStore-Assets\Code\Models\SampleData.cs

     文件       1787  2011-04-13 05:25  MvcMusicStore-v3.0\MvcMusicStore-Assets\Code\Views\Account\ChangePassword.cshtml

     文件        139  2011-04-13 05:25  MvcMusicStore-v3.0\MvcMusicStore-Assets\Code\Views\Account\ChangePasswordSuccess.cshtml

     文件       1528  2011-04-13 05:25  MvcMusicStore-v3.0\MvcMusicStore-Assets\Code\Views\Account\LogOn.cshtml

     文件       2024  2011-04-13 05:25  MvcMusicStore-v3.0\MvcMusicStore-Assets\Code\Views\Account\Register.cshtml

     文件     254130  2010-07-31 04:54  MvcMusicStore-v3.0\MvcMusicStore-Assets\Content\Images\home-showcase.png

     文件       2963  2010-08-03 04:04  MvcMusicStore-v3.0\MvcMusicStore-Assets\Content\Images\logo.png

     文件       1556  2010-07-31 04:54  MvcMusicStore-v3.0\MvcMusicStore-Assets\Content\Images\placeholder.gif

     文件       4219  2011-04-13 21:25  MvcMusicStore-v3.0\MvcMusicStore-Assets\Content\Site.css

     文件   10485760  2010-08-13 05:38  MvcMusicStore-v3.0\MvcMusicStore-Assets\Data\ASPNETDB.MDF

     文件     516096  2010-08-13 05:38  MvcMusicStore-v3.0\MvcMusicStore-Assets\Data\aspnetdb_log.ldf

     文件     148200  2010-08-13 05:40  MvcMusicStore-v3.0\MvcMusicStore-Assets\Data\MvcMusicStore-Create.sql

     文件    4194304  2010-08-13 05:38  MvcMusicStore-v3.0\MvcMusicStore-Assets\Data\MvcMusicStore.mdf

     文件    2883584  2010-08-13 05:38  MvcMusicStore-v3.0\MvcMusicStore-Assets\Data\MvcMusicStore_log.ldf

     文件        507  2011-04-13 21:40  MvcMusicStore-v3.0\MvcMusicStore-Assets\readme.txt

     文件     254130  2011-04-08 14:23  MvcMusicStore-v3.0\MvcMusicStore-Completed\Backup\MvcMusicStore\Content\Images\home-showcase.png

     文件       2963  2011-04-08 14:23  MvcMusicStore-v3.0\MvcMusicStore-Completed\Backup\MvcMusicStore\Content\Images\logo.png

     文件       1556  2011-04-08 14:23  MvcMusicStore-v3.0\MvcMusicStore-Completed\Backup\MvcMusicStore\Content\Images\placeholder.gif

     文件       4219  2011-04-13 21:25  MvcMusicStore-v3.0\MvcMusicStore-Completed\Backup\MvcMusicStore\Content\Site.css

     文件        180  2011-04-08 09:23  MvcMusicStore-v3.0\MvcMusicStore-Completed\Backup\MvcMusicStore\Content\themes\base\images\ui-bg_flat_0_aaaaaa_40x100.png

     文件        178  2011-04-08 09:23  MvcMusicStore-v3.0\MvcMusicStore-Completed\Backup\MvcMusicStore\Content\themes\base\images\ui-bg_flat_75_ffffff_40x100.png

     文件        120  2011-04-08 09:23  MvcMusicStore-v3.0\MvcMusicStore-Completed\Backup\MvcMusicStore\Content\themes\base\images\ui-bg_glass_55_fbf9ee_1x400.png

     文件        105  2011-04-08 09:23  MvcMusicStore-v3.0\MvcMusicStore-Completed\Backup\MvcMusicStore\Content\themes\base\images\ui-bg_glass_65_ffffff_1x400.png

     文件        111  2011-04-08 09:23  MvcMusicStore-v3.0\MvcMusicStore-Completed\Backup\MvcMusicStore\Content\themes\base\images\ui-bg_glass_75_dadada_1x400.png

     文件        110  2011-04-08 09:23  MvcMusicStore-v3.0\MvcMusicStore-Completed\Backup\MvcMusicStore\Content\themes\base\images\ui-bg_glass_75_e6e6e6_1x400.png

     文件        119  2011-04-08 09:23  MvcMusicStore-v3.0\MvcMusicStore-Completed\Backup\MvcMusicStore\Content\themes\base\images\ui-bg_glass_95_fef1ec_1x400.png

     文件        101  2011-04-08 09:23  MvcMusicStore-v3.0\MvcMusicStore-Completed\Backup\MvcMusicStore\Content\themes\base\images\ui-bg_highlight-soft_75_cccccc_1x100.png

............此处省略342个文件信息

评论

共有 条评论