二、快捷键

一、快捷键

1、F11逐步

2、F12

3、F5运行,断点后,想正常运行,不受断点影响,断点后在按F5

4、F11加Shift是汇编

5、窗体的时候 出现重叠  选中元素 按下Esc 会跳到选择该元素的外部容器。

6、查询变量数据格式

 

二、MVC的命名空间

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
 
namespace MvcApplication1
{
    public class RouteConfig
    {
        public static void RegisterRoutes(RouteCollection routes)
        {
            routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
 
            routes.MapRoute(
                name: "Default",
                url: "{controller}/{action}/{id}",
                defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional },
                namespaces: new[] { "MvcApplication1.Controllers" }
            );
        }
    }
}

 三、Core的控制器命名空间

 

原文地址:https://www.cnblogs.com/fger/p/10291625.html