This site uses cookies to deliver our services. By using this site, you acknowledge that you have read and understand our Cookie and Privacy policy. Your use of Kontext website is subject to this policy. Allow Cookies and Dismiss

Tag - asp.net

asp.net

Migrate ASP.NET Core Projects – VS2015 to VS2017 and TFS2015 to TFS2017 Issues and Fixes

432 views   0 comments last modified about 2 years ago

Context Before Visual Studio 2017 was released, I was implementing my ASP.NET Core project using VS2015. TFS2015 is used for Continuous Build and Deployment for my projects. After migrating to VS2017, there are couple of issues I encountered in my environment: VS2017 has ...

View detail
asp.net

[WebMatrix] [MVC]在Grid中显示数据

534 views   0 comments last modified about 7 years ago

这一章节将说明怎样使用一个帮助类在HTML表格中(在一个网格中)展示数据。 你将学到以下内容: • 怎样在一个网页中使用WebGrid 帮助类展示数据。 • 怎样为展示在网格中的数据设置样式。 • 怎样为网格设置分页。 本章将介绍如下ASP.NET编程特性: • WebGrid 帮助类.

View detail
asp.net

[ASP.NET]在虚拟目录中禁止web.config继承IIS根目录的web.config的配置

623 views   0 comments last modified about 8 years ago

在我们的ASPNET虚拟目录应用中,有时会出现一些异常,比如在根目录的web.config中添加了HttpHandler以及HttpModule(如一些UrlRewiter重写组件、自己的全局HttpModule等)在虚拟目录运行时就会提示找不到找不到指定的文件的异常。解决方法是在根目录的web.config中针对根路径通过location配置这些module和handler等, 并且在location设置允许子目录重写,以及是否被子集应用程序继承设置为false,如下把<system.web> </system.web>包含在<location></location>结点内部:

View detail