How to fix intellisense issues after upgrading to ASP.NET Ajax 1.0 RC

简介:
Many people reported issues after upgrade from Atlas/Ajax Beta or CTP to the most recent RC build (1.0.61025). Typical symptoms are: 

1. UpdatePanel, ScriptManager and other ASP.NET Ajax elements are squiggled as 'unrecognized'. 
2. Formatting lost in UpdatePanel when switching from Design to Source view. 
3. Weird __designer::wfdid attributes appear on ASP.NET Ajax elements 
4. No intellisense is available for any of the new controls. 

The reason it is happening is that structure of the ASP.NET Ajax-enabled Web site has changed. Name of the Ajax assembly changed as well as it's location and the namespace. Here is what you can do: 

1. Before you install ASP.NET Ajax RC, make sure you uninstalled any previous releases. 
2. After you install ASP.NET Ajax RC:
  • Remove reference to the old assembly which may still be sitting in the bin folder of the Web site or simply delete the old assembly from bin.
  • Delete cached intellisense schemas in
    • C:\Documents and Settings\USER\Application Data\Microsoft\VWDExpress\8.0\ReflectedSchemas
    • C:\Documents and Settings\USER\Application Data\Microsoft\Visual Studio\8.0\ReflectedSchemas
  • Add a web config file to the Web site from C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.xxxx.
If site already has config file, you may have to manually add sections to it as described here:  http://ajax.asp.net/docs/ConfiguringASPNETAJAX.aspx  
原文地址:
http://blogs.msdn.com/mikhailarkhipov/archive/2007/01/03/how-to-fix-intellisense-issues-after-upgrading-to-asp-net-ajax-1-0-rc.aspx

【译文】(待有时间我再翻译出来)

如何修正更新到ASP.NET AJAX 1.0之后的智能提示影响 













本文转自周金桥51CTO博客,原文链接:http://blog.51cto.com/zhoufoxcn/167067,如需转载请自行联系原作者




相关文章
|
1月前
|
XML 开发框架 .NET
C# .NET面试系列八:ADO.NET、XML、HTTP、AJAX、WebService
## 第二部分:ADO.NET、XML、HTTP、AJAX、WebService #### 1. .NET 和 C# 有什么区别? .NET(通用语言运行时): ```c# 定义:.NET 是一个软件开发框架,提供了一个通用的运行时环境,用于在不同的编程语言中执行代码。 作用:它为多语言支持提供了一个统一的平台,允许不同的语言共享类库和其他资源。.NET 包括 Common Language Runtime (CLR)、基础类库(BCL)和其他工具。 ``` C#(C Sharp): ```c# 定义: C# 是一种由微软设计的面向对象的编程语言,专门为.NET 平台开发而创建。 作
174 2
|
9月前
|
前端开发
解决.NET Core Ajax请求后台传送参数过大请求失败问题
解决.NET Core Ajax请求后台传送参数过大请求失败问题
|
10月前
|
开发框架 前端开发 JavaScript
【Asp.net】 Ajax小例子
【Asp.net】 Ajax小例子
68 0
|
开发框架 前端开发 JavaScript
ASP.Net Core中使用jquery-ajax-unobtrusive替换Ajax.BeginForm
ASP.Net Core中使用jquery-ajax-unobtrusive替换Ajax.BeginForm
154 0
|
开发框架 移动开发 前端开发
ASP.NET MVC中使用jQuery Ajax通过FormData对象异步提交图片文件到服务端保存并返回保存的图片路径
ASP.NET MVC中使用jQuery Ajax通过FormData对象异步提交图片文件到服务端保存并返回保存的图片路径
249 0
|
开发框架 前端开发 .NET
ASP.NET MVC 中使用Highcharts+Ajax+Json生成动态曲线图,柱状图,饼图
ASP.NET MVC 中使用Highcharts+Ajax+Json生成动态曲线图,柱状图,饼图
128 0
ASP.NET MVC 中使用Highcharts+Ajax+Json生成动态曲线图,柱状图,饼图
|
JSON 前端开发 .NET
如何构建ASP.NET MVC4&JQuery&AJax&JSon示例
背景:   博客中将构建一个小示例,用于演示在ASP.NET MVC4项目中,如何使用JQuery Ajax。 步骤: 1,添加控制器(HomeController)和动作方法(Index),并为Index动作方法添加视图(Index.cshtml),视图中HTML如下: 输入你的姓名: 输入你的年龄: 提交 清空   视图中包含两个文本框,分别用来输入名字和年龄,包含连个按钮,分别用来提交信息和清空文本框的内容,同时包含一个段落,用来显示Ajax返回的数据信息。
1050 0
tsh
|
JSON 前端开发 JavaScript
.net core 2.0 Razor调用ajax(自学笔记)
刚刚开始使用.net core 2.0 Razor进行web开发,上来就遇到一点小问题,在前端页面如何调用ajax,网上的文章很多,但大多是传统的MVC架构,即通过ajax调用controller,虽可以使用但总不理想。
tsh
2695 0
|
SQL JSON 前端开发
.NET+Ajax+ashx 实现Echarts图表动态交互
前言:   使用Echarts展示图表效果,在这里只做了四种案例:折线、柱状、圆形、雷达。当初是一位朋友用到Echarts展示数据,他没有太多时间弄,所以我就帮他搞出来,当初刚接触的时候也是一头雾水,不知道该怎么下手,网上类似的案例有也不多,并且不是自己想要的效果。
1765 0