<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>IT公司面试手册 &#187; ASP.NET</title>
	<atom:link href="http://www.mianwww.com/html/category/it-interview/aspnet/feed" rel="self" type="application/rss+xml" />
	<link>http://www.mianwww.com</link>
	<description></description>
	<lastBuildDate>Wed, 08 Feb 2012 11:48:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>请简单介绍依赖注入在asp.net中的基本体现</title>
		<link>http://www.mianwww.com/html/2011/10/11157.html</link>
		<comments>http://www.mianwww.com/html/2011/10/11157.html#comments</comments>
		<pubDate>Wed, 19 Oct 2011 12:29:35 +0000</pubDate>
		<dc:creator>jim.jin</dc:creator>
				<category><![CDATA[ASP.NET]]></category>

		<guid isPermaLink="false">http://www.mianwww.com/?p=11157</guid>
		<description><![CDATA[所谓“依赖注入”，就是将应用程序所依赖的组件在运行的时候动态的加载到应用程序中间。依赖注入的目标并非为、应用程序添加更多的功能，而是提升了组件的重用性，并为应用程序搭建一个具有较强灵活性和扩展性的平台。在Asp.net中，程序的实现是如此实现的：Assembly.Load(AssemblyName).CreateInstance(TypeName(类名等)),如此可以在程序中得到一个要求的对象实例。在程序的实现过程中间，可以配合反射技术，达到更加灵活的变化。]]></description>
		<wfw:commentRss>http://www.mianwww.com/html/2011/10/11157.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>请用C#语言调用Oracle的存储过程</title>
		<link>http://www.mianwww.com/html/2011/10/11155.html</link>
		<comments>http://www.mianwww.com/html/2011/10/11155.html#comments</comments>
		<pubDate>Wed, 19 Oct 2011 12:29:16 +0000</pubDate>
		<dc:creator>jim.jin</dc:creator>
				<category><![CDATA[ASP.NET]]></category>

		<guid isPermaLink="false">http://www.mianwww.com/?p=11155</guid>
		<description><![CDATA[Function GetList(keywords In varchar2 ,p_info_list_Cursor out get_data_cur_type) Return Number As Begin open p_info_list_Cursor For Select * from Test where Key=keywords; Return 0; End; &#8212;&#8212;&#8212;&#8212;&#8212;- OracleConnection OracleConn = new OracleConnection(连接字符串); OracleCommand cmd = new OracleCommand(&#8220;GetList&#8221;, OracleConn); cmd.Parameters.AddRange(new OracleParameter[] { new OracleParameter(&#8220;keyWords&#8221;, OracleType.VarChar), new OracleParameter(&#8220;ReturnValue&#8221;, OracleType.Number, 0,                  ParameterDirection.ReturnValue, true, 0, 0, &#8220;&#8221;,DataRowVersion.Default,                   Convert.DBNull), new OracleParameter(&#8220;p_info_list_Cursor&#8221;, OracleType.Cursor, 2000,                  [...]]]></description>
		<wfw:commentRss>http://www.mianwww.com/html/2011/10/11155.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>请问在Asp.net中xml文件与xsl文件如何进行整合</title>
		<link>http://www.mianwww.com/html/2011/10/11153.html</link>
		<comments>http://www.mianwww.com/html/2011/10/11153.html#comments</comments>
		<pubDate>Wed, 19 Oct 2011 12:28:51 +0000</pubDate>
		<dc:creator>jim.jin</dc:creator>
				<category><![CDATA[ASP.NET]]></category>

		<guid isPermaLink="false">http://www.mianwww.com/?p=11153</guid>
		<description><![CDATA[System.Xml.XmlDocument xmldoc = new System.Xml.XmlDocument(); xmldoc.Load(Server.MapPath(&#8220;user.xml&#8221;)); System.Xml.Xsl.XslTransform xmltrans = new System.Xml.Xsl.XslTransform(); xmltrans.Load(Server.MapPath(&#8220;user.xsl&#8221;)); Xml1.Document = xmldoc; Xml1.Transform = xmltrans;]]></description>
		<wfw:commentRss>http://www.mianwww.com/html/2011/10/11153.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>请简单介绍Asp.net2.0 泛型技术</title>
		<link>http://www.mianwww.com/html/2011/10/11141.html</link>
		<comments>http://www.mianwww.com/html/2011/10/11141.html#comments</comments>
		<pubDate>Wed, 19 Oct 2011 12:25:25 +0000</pubDate>
		<dc:creator>jim.jin</dc:creator>
				<category><![CDATA[ASP.NET]]></category>

		<guid isPermaLink="false">http://www.mianwww.com/?p=11141</guid>
		<description><![CDATA[1、类型安全；2、减少装箱拆箱，运行速度加快；3、增强代码重用用 1、泛型实现 表面上，C# 泛型的语法看起来与 C++ 模板类似，但是编译器实现和支持它们的方式存在重要差异。正如您将在后文中看到的那样，这对于泛 型的使用方式具有重大意义。 注 在本文中，当提到 C++ 时，指的是传统 C++，而不是带有托管扩展的 Microsoft C++。 与 C++ 模板相比，C# 泛型可以提供增强的安全性，但是在功能方面也受到某种程度的限制。 在一些 C++ 编译器中，在您通过特定类型使用模板类之前，编译器甚至不会编译模板代码。当您确实指定了类型时，编译器会以内联方式插入 代码，并且将每个出现一般类型参数的地方替换为指定的类型。此外，每当您使用特定类型时，编译器都会插入特定于该类型的代码，而不管 您是否已经在应用程序中的其他某个位置为模板类指定了该类型。C++ 链接器负责解决该问题，并且并不总是有效。这可能会导致代码膨胀， 从而增加加载时间和内存足迹。 在 .NET 2.0 中，泛型在 IL（中间语言）和 CLR 本身中具有本机支持。在编译一般 C# 服务器端代码时，编译器会将其编译为 IL，就像其 他任何类型一样。但是，IL 只包含实际特定类型的参数或占位符。此外，一般服务器的元数据包含一般信息。 客户端编译器使用该一般元数据来支持类型安全。当客户端提供特定类型而不是一般类型参数时，客户端的编译器将用指定的类型实参来替换 服务器元数据中的一般类型参数。这会向客户端的编译器提供类型特定的服务器定义，就好像从未涉及到泛型一样。这样，客户端编译器就可 以确保方法参数的正确性，实施类型安全检查，甚至执行类型特定的 IntelliSense。 有趣的问题是，.NET 如何将服务器的一般 IL 编译为机器码。原来，所产生的实际机器码取决于指定的类型是值类型还是引用类型。如果客 户端指定值类型，则 JIT 编译器将 IL 中的一般类型参数替换为特定的值类型，并且将其编译为本机代码。但是，JIT 编译器会跟踪它已经 生成的类型特定的服务器代码。如果请求 JIT 编译器用它已经编译为机器码的值类型编译一般服务器，则它只是返回对该服务器代码的引用。 因为 [...]]]></description>
		<wfw:commentRss>http://www.mianwww.com/html/2011/10/11141.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASP.NET面试题专题(2)</title>
		<link>http://www.mianwww.com/html/2011/10/11134.html</link>
		<comments>http://www.mianwww.com/html/2011/10/11134.html#comments</comments>
		<pubDate>Wed, 19 Oct 2011 12:23:00 +0000</pubDate>
		<dc:creator>jim.jin</dc:creator>
				<category><![CDATA[ASP.NET]]></category>

		<guid isPermaLink="false">http://www.mianwww.com/?p=11134</guid>
		<description><![CDATA[31.谈谈对WSE的认识。 Web Services Enhancements 2.0 for Microsoft .NET (WSE)是一个用来建设Web服务的.NET类库，它支持最新的Web服务协议 （包括WS-Security、WS-SecureConversation、WS-Trust、WS-Policy、WS-SecurityPolicy、WS-Addressing和 WS-Attachments）。 WSE可使开发人员跨平台建设可升级的、安全的Web服务。它支持用传输的方式发送SOAP消息，而不是HTTP。另一个特点是具有建立SOAP路 由器的功能，SOAP消息被发送给SOAP路由器，路由器再将工作交付给托管该服务的Web服务器。 32. 你用过哪些版本控制工具 &#8212;&#8212;&#8212;&#8212;&#8211;各位同学兄弟可以根据自己的实际情况，谈论一些自己在使用这些工具时所遇到的问题以及体会 TFS（ASP.Net）、cvs、svn。 33. 在开发中你利用那些工具进行单元测试和模块测试 NUNIT和PDM.页面测试 httpunuit 34．如何进行Bug管理 由一个BUG跟踪平台，提供该程序的各个模块的BUG，以及级别，以及解决时间等信息 35. 如何生成和管理开发文档 一般用NDOC来生成文档，大部分文档主要还是Word为主。主要是各个模块以及版本的控制等 36.请用代码简单描述一下Singleton、抽象工厂、策略模式、Composite（任选一个）的设计模式的概念(代码题) Singleton 单一模式所有类共享一个实例 下面这种实现方式对多线程来说是安全的，同时线程不是每次都加锁，只有判断对象实例没有被创建时它才加锁，有了我们上面第一部分的里面的分析，我们知道，加锁后还得再进行对象是否已被创建的判断。它解决了线程并发问题，同时避免在每个 Instance 属性方法的调用中都出现独占锁定。它还允许您将实例化延迟到第一次访问对象时发生。实际上，应用程序很少需要这种类型的实现。大多数情况下我们会用静态初始化。这种方式仍然有很多缺点：无法实现延迟初始化。 //author:renfuming public sealed class Singleton 2{ 3    static Singleton instance=null; 4    static readonly object padlock = new object(); 6    Singleton(){} 10    public static [...]]]></description>
		<wfw:commentRss>http://www.mianwww.com/html/2011/10/11134.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASP.NET面试题专题(1)</title>
		<link>http://www.mianwww.com/html/2011/10/11132.html</link>
		<comments>http://www.mianwww.com/html/2011/10/11132.html#comments</comments>
		<pubDate>Wed, 19 Oct 2011 12:22:25 +0000</pubDate>
		<dc:creator>jim.jin</dc:creator>
				<category><![CDATA[ASP.NET]]></category>

		<guid isPermaLink="false">http://www.mianwww.com/?p=11132</guid>
		<description><![CDATA[1、概述反射和序列化 反射:程序集包含模块，而模块包含类型，类型又包含成员。反射则提供了封装程序集、模块和类型的对象。您可以使用反射动态地创建类型的实例，将类型绑定到现有对象，或从现有对象中获取类型。然后，可以调用类型的方法或访问其字段和属性 序列化:序列化是将对象转换为容易传输的格式的过程。例如，可以序列化一个对象，然后使用 HTTP 通过 Internet 在客户端和服务器之间 传输该对象。在另一端，反序列化将从该流重新构造对象。 2.如何把一个array复制到arrayList里 方法一、使用foreach循环，将array数组中的数据逐步放入ArrayList的对象中； 方法二、使用Copy方法，进行数据的复制； 方法三、使用ArrayList的adpater的方法 ，将整个Array对象封装到ArrayList对象中。 // author:renfuming        public static voidMain(string[] renargs)        {            int[] arrayInt=new int[]{1,2,3,4};            ArrayList arrlistInt=new ArrayList();            //方法一            foreach(int a in arrayInt)            {               arrlistInt.Add(a);            }            Console.WriteLine(arrlistInt[2].ToString());//输出3            //方法二：            ArrayList arrlistInt2=new ArrayList();            arrlistInt2=ArrayList.Adapter(arrayInt);            Console.WriteLine(arrlistInt2[2].ToString());//输出3 [...]]]></description>
		<wfw:commentRss>http://www.mianwww.com/html/2011/10/11132.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>北京-恒远至达ASP.NET面试题</title>
		<link>http://www.mianwww.com/html/2011/05/9183.html</link>
		<comments>http://www.mianwww.com/html/2011/05/9183.html#comments</comments>
		<pubDate>Fri, 27 May 2011 13:54:03 +0000</pubDate>
		<dc:creator>jim.jin</dc:creator>
				<category><![CDATA[ASP.NET]]></category>

		<guid isPermaLink="false">http://www.mianwww.com/?p=9183</guid>
		<description><![CDATA[1、 ASP.NET里命名空间的定义; 2、 .net中类与对象的关系; 3、 ASP.NET中页面传值的方法; 4、 IspostBack的作用,当其值为TRUE或FALSE时的作用; 5、 写出求某字段最大值的SQL语句.]]></description>
		<wfw:commentRss>http://www.mianwww.com/html/2011/05/9183.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>北京-辉华优点科技有限公司</title>
		<link>http://www.mianwww.com/html/2011/05/9141.html</link>
		<comments>http://www.mianwww.com/html/2011/05/9141.html#comments</comments>
		<pubDate>Fri, 27 May 2011 10:13:11 +0000</pubDate>
		<dc:creator>jim.jin</dc:creator>
				<category><![CDATA[ASP.NET]]></category>

		<guid isPermaLink="false">http://www.mianwww.com/?p=9141</guid>
		<description><![CDATA[1.面向对象的思想主要包括什么？ 2.什么是ASP.net中的用户控件 3.什么叫应用程序域？什么是受管制的代码？什么是强类型系统？什么是装箱和拆箱？什么是重载？CTS、CLS和CLR分别作何解释？ 4.列举一下你所了解的XML技术及其应用 5.值类型和引用类型的区别？写出C#的样例代码。 6.ADO.net中常用的对象有哪些？分别描述一下。 7.如何理解委托？ 8.C#中的接口和类有什么异同。 9.。net中读写数据库需要用到哪些类？他们的作用 10.UDP连接和TCP连接的异同。 11.ASP.net的身份验证方式有哪些？分别是什么原理？ 12.进程和线程分别怎么理解？ 13.什么是code-Behind技术。 14.活动目录的作用。 15..net中读写XML的类都归属于哪些命名空间？ 16.解释一下UDDI、WSDL的意义及其作用。 17.什么是SOAP,有哪些应用。 18.如何部署一个ASP.net页面。 19.如何理解.net中的垃圾回收机制。 20.常用的调用webservice方法有哪些？]]></description>
		<wfw:commentRss>http://www.mianwww.com/html/2011/05/9141.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>广州-地球村科技 ASP.NET题目：</title>
		<link>http://www.mianwww.com/html/2011/05/9107.html</link>
		<comments>http://www.mianwww.com/html/2011/05/9107.html#comments</comments>
		<pubDate>Fri, 27 May 2011 09:15:20 +0000</pubDate>
		<dc:creator>jim.jin</dc:creator>
				<category><![CDATA[ASP.NET]]></category>

		<guid isPermaLink="false">http://www.mianwww.com/?p=9107</guid>
		<description><![CDATA[1. 接口和抽象类的区别？ 2. 解释DataSet(ds) 和 ds as DataSet 的含义？ 3. WebService是什么意思？什么情况下用WebService？ 4. ASP.NET中内置对象是什么？ 5. OLEDBConnection 和SQLConnection 有什么区别？ 6. 采用怎样的方法保证数据的完整性？]]></description>
		<wfw:commentRss>http://www.mianwww.com/html/2011/05/9107.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>广州-乐天科技试题</title>
		<link>http://www.mianwww.com/html/2011/05/9067.html</link>
		<comments>http://www.mianwww.com/html/2011/05/9067.html#comments</comments>
		<pubDate>Fri, 27 May 2011 09:01:02 +0000</pubDate>
		<dc:creator>jim.jin</dc:creator>
				<category><![CDATA[ASP.NET]]></category>

		<guid isPermaLink="false">http://www.mianwww.com/?p=9067</guid>
		<description><![CDATA[1.C/S和B/S的区别，优缺点有哪些？ 答：C/S是客户端/服务器端，C/S的程序通常也叫胖客户端，也就是一个程序的大部分功能，都在客户端实现，而服务器端只实现一小部分功能。通过这点不难看出，C/S的程序大部分在客户端实现，对于服务器端的压力相对小一些，服务器端可以节省一些。而且C/S的程序用窗口来做，个人认为开发效率上快一点。但C/S的程序一大弊端就是，必须要在客户端安装并部署程序才能运行，也就是用户必须得到客户端程序才可以运行。所以得考虑不同系统之间的安装与配置。 B/S是浏览器/服务器端，B/S的程序通常也叫瘦客户端，与C/S相反。B/S的程序大部分功能都要在服务器端实现，客户端只用来做辅助的控制功能。因为B/S的程序直接部署安装在服务器上。用户只需要有浏览器，并知道网址就可以使用程序。客户端不必做任何配置和安装，即可使用应用程序。而B/S也是有缺点的，首先B/S大部分功能都要在服务器端实现，对于服务器的要求就很高。服务器同时要应付用户访问与程序处理，所以服务器的配置必须能够应付。另外就是B/S的程序是浏览器中执行，所以B/S的程序操作客户端电脑的硬件，一般就得安装ActiveX等插件在客户端才可以操作。因此B/S的程序对于操作硬件，优势没有C/S的程序要好。 2.ADO.NET的常用对象 答：Connection，Command，DataAdapter，DataSet，DataReader，configuration 3.MVC指的是什么？ 答：MVC将程序功能分成三部分考虑：视图(VIEW，即可见的用户界面部分)、模型（Model，程序的数据模型和业务逻辑部分），控制器（Controller，根据用户输入通知模型和视图进行相应更改）。 4.三层架构？ 答：业务层，逻辑层，可视层 5.为什么要用ISPORTBACK？ 答：页面第一次加载时需要绑定一些数据，如果每次加载都绑定的话，会给服务器很大压力 ISPORTBACK第一次加载时返回的是false，以后每次返回的都是true，这样可以设置 一些只需要在页面一次加载时就绑定好的数据。 6.用户自定义控件？ 答：自定义控件，跟HtmlControl或WebControl相似，编译后可以添加引用到工具栏里 7.WEBSERVERS调用主要有哪两种方法？ 答：SOAP（简单对象访问协议），WSDL（Web服务描述语言） 8.怎样在ASP.NET中改变DATAGRID的自动换行？ 答：在他的RowStyle属性的Font属性的Wrap＝true 9.怎样布置一个ASP.NET的界面？ 答：VS 2005和VS 2003都有发布机制。2003可以发布然后再复制部署。 VS2005基本上可以直接部署到对应位置。 10.谈谈你对ASP和ASP.NET的区别？ 答：ASP.Net摆脱了以前ASP使用脚本语言来编程的缺点，理论上可以使用任何编程语言包括C++ , VB , JS等等，当然，最合适的编程语言还是MS为.Net Frmaework专门推出的C(读c sharp)，它可以看作是VC和Java的混合体吧，尽管MS自己讲C#内核中更多的象VC，但实际上我还是认为它和Java更象一些吧。首先它是面向对象的编程语言，而不是一种脚本，所以它具有面向对象编程语言的一切特性，比如封装性、继承性、多态性等等，这就解决了刚才谈到的ASP的那些弱点。封装性使得代码逻辑清晰，易于管理，并且应用到ASP.Net上就可以使业务逻辑和Html页面分离，这样无论页面原型如何改变，业务逻辑代码都不必做任何改动；继承性和多态性使得代码的可重用性大大提高，你可以通过继承已有的对象最大限度保护你以前的投资。并且C#和C++、Java一样提供了完善的调试/纠错体系。]]></description>
		<wfw:commentRss>http://www.mianwww.com/html/2011/05/9067.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

