ASP.NETÃæÊÔÌâ(¶þ)
£¨×ª ÔÎĵØÖ·http://blog.sina.com.cn/s/blog_524c848901009e7b.html~type=v5_one&label=rela_nextarticle ×÷Õß
ÀîÑóµÄ²©¿Í
http://blog.sina.com.cn/liiyang£©
66.Èí¼þ¿ª·¢¹ý³ÌÒ»°ãÓм¸¸ö½×¶Î£¿Ã¿¸ö½×¶ÎµÄ×÷Óã¿
´ð£ºÐèÇó·ÖÎö£¬¼Ü¹¹Éè¼Æ£¬´úÂë±àд£¬QA£¬²¿Êð
67.ÔÚc#ÖÐusingºÍnewÕâÁ½¸ö¹Ø¼ü×ÖÓÐʲôÒâÒ壬Çëд³öÄãËùÖªµÀµÄÒâÒ壿using Ö¸Áî ºÍÓï¾ä new ´´½¨ÊµÀý new Òþ²Ø»ùÀàÖз½·¨¡£
´ð£ºusing ÒýÈëÃû³Æ¿Õ¼ä»òÕßʹÓ÷ÇÍйÜ×ÊÔ´
new н¨ÊµÀý»òÕßÒþ²Ø¸¸Àà·½·¨
68.ÐèҪʵÏÖ¶ÔÒ»¸ö×Ö·û´®µÄ´¦Àí,Ê×ÏȽ«¸Ã×Ö·û´®Ê×βµÄ¿Õ¸ñÈ¥µô,Èç¹û×Ö·û´®Öм仹ÓÐÁ¬Ðø¿Õ¸ñµÄ»°,½ö±£ÁôÒ»¸ö¿Õ¸ñ,¼´ÔÊÐí×Ö·û´®ÖмäÓжà¸ö¿Õ¸ñ,µ«Á¬ÐøµÄ¿Õ¸ñÊý²»¿É³¬¹ýÒ»¸ö.
´ð£ºstring inputStr=" xx xx ";
inputStr=Regex.Replace(inputStr.Trim()," *"," ");
69.ÏÂÃæÕâ¶Î´úÂëÊä³öʲô£¿ÎªÊ²Ã´£¿
int i=5;
int j=5;
if (Object.ReferenceEquals(i,j))
Console.WriteLine("Equal");
else
Console.WriteLine("Not Equal");
´ð£º²»ÏàµÈ£¬ÒòΪ±È½ÏµÄÊǶÔÏó
70.ʲô½Ð×öSQL×¢È룬ÈçºÎ·ÀÖ¹£¿Çë¾ÙÀý˵Ã÷¡£
´ð£ºÀûÓÃsql¹Ø¼ü×Ö¶ÔÍøÕ¾½øÐй¥»÷¡£¹ýÂ˹ؼü×Ö'µÈ
71.ʲôÊÇ·´É䣿
´ð£º¶¯Ì¬»ñÈ¡³ÌÐò¼¯ÐÅÏ¢
72.ÓÃSingletonÈçºÎдÉè¼Æģʽ
´ð£ºstaticÊôÐÔÀïÃænew ,¹¹Ô캯Êýprivate
73.ʲôÊÇApplication Pool£¿
´ð£ºWebÓ¦Óã¬ÀàËÆThread Pool£¬Ìá¸ß²¢·¢ÐÔÄÜ¡£
74.ʲôÊÇÐ麯Êý£¿Ê²Ã´ÊdzéÏóº¯Êý£¿
´ð£ºÐ麯Êý£ºÃ»ÓÐʵÏֵģ¬¿ÉÓÉ×ÓÀà¼Ì³Ð²¢ÖØдµÄº¯Êý¡£³éÏóº¯Êý£º¹æ¶¨Æä·ÇÐé×ÓÀà±ØÐëʵÏֵĺ¯Êý£¬±ØÐë±»ÖØд¡£
75.ʲôÊÇXML£¿
´ð£º XML¼´¿ÉÀ©Õ¹±ê¼ÇÓïÑÔ¡£eXtensible Markup Language.±ê¼ÇÊÇÖ¸¼ÆËã»úËùÄÜÀí½âµÄÐÅÏ¢·ûºÅ£¬Í¨¹ý´ËÖÖ±ê¼Ç£¬¼ÆËã»úÖ®¼ä¿ÉÒÔ´¦Àí°üº¬¸÷ÖÖÐÅÏ¢µÄÎÄÕµȡ£ÈçºÎ¶¨ÒåÕâЩ±ê¼Ç£¬¼´¿ÉÒÔÑ¡Ôñ¹ú¼ÊͨÓõıê¼ÇÓïÑÔ£¬±ÈÈçHTML£¬Ò²¿ÉÒÔʹÓÃÏóXMLÕâÑùÓÉÏà¹ØÈËÊ¿×ÔÓɾö¶¨µÄ±ê¼ÇÓïÑÔ£¬Õâ¾ÍÊÇÓïÑԵĿÉÀ©Õ¹ÐÔ¡£XMLÊÇ´ÓSGMLÖмò»¯Ð޸ijöÀ´µÄ¡£ËüÖ÷ÒªÓõ½µÄÓÐXML¡¢XSLºÍXPathµÈ¡£
76.ʲôÊÇWeb Service£¿UDDI£¿
´ð£ºWeb Service±ãÊÇ»ùÓÚÍøÂçµÄ¡¢·Ö²¼Ê½µÄÄ£¿é»¯×é¼þ£¬ËüÖ´ÐÐÌض¨µÄÈÎÎñ£¬×ñÊؾßÌåµÄ¼¼Êõ¹æ·¶£¬ÕâЩ¹æ·¶Ê¹µÃWeb ServiceÄÜÓëÆäËû¼æÈݵÄ×é¼þ½øÐл¥²Ù×÷¡£
UDDI µÄÄ¿µÄÊÇΪµç×ÓÉÌÎñ½¨Á¢±ê×¼£»UDDIÊÇÒ»Ì×»ùÓÚWebµÄ¡¢·Ö²¼Ê½µÄ¡¢ÎªWeb ServiceÌṩµÄ¡¢ÐÅÏ¢×¢²áÖÐÐĵÄʵÏÖ±ê×¼¹æ·¶£¬Í¬Ê±Ò²°üº¬Ò»×éʹÆóÒµÄܽ«×ÔÉíÌṩµÄWeb Service×¢²á£¬ÒÔʹ±ðµÄÆóÒµÄܹ»·
Ïà¹ØÎĵµ£º
private void btnUploadPicture_Click(object sender, System.EventArgs e) { //¼ì²éÉÏ´«ÎļþµÄ¸ñʽÊÇ·ñÓÐЧ if(this.UploadFile.PostedFile.ContentType.ToLower().IndexOf("image") < 0) { Response.Write("ÉÏ´«Í¼Æ¬¸ñʽÎÞЧ£¡"); return; } //Éú³ÉÔͼ Byte[] oFileByte = new byte[this.UploadFile.PostedFile.Conte ......
public string GetPage(int page, int pages, string url)
{
if (pages == 0)
{
&n ......
ÔÚ´´½¨ÍøÕ¾ÖУ¬³£³£»áʹÓõ½Éí·ÝÑéÖ¤¡£asp.netÖÐÄÚÖÃÁ˼¸ÖÖÉí·ÝÑéÖ¤µÄ·½Ê½£¬ÈçWindows¡¢froms¡¢PassportµÈ¡£Õ⼸ÖÖÉí·ÝÑéÖ¤µÄ·½Ê½¸÷Óв»Í¬¡£
Ò»°ãÀ´Ëµ£¬ÍøÕ¾µÄÉí·ÝÑéÖ¤·½Ê½¶¼»á¾¹ýÒÔϼ¸¸ö²½Ö裺
1¡¢ÊäÈëÓû§ÃûºÍÃÜÂ룬µ¥»÷È·¶¨°´Å¥¡£
2¡¢ÔÚºǫ́ÅжÏÓû§ÃûºÍÃÜÂëÊÇ·ñÕýÈ·£¬Èç¹û´íÎó·µ»ØÌáʾ£»Èç¹ûÕýÈ·£¬½øÈë¿É·ÃÎʵÄÒ ......
Ö÷ÒªÀࣺ
¡¡¡¡System.Web.HttpRuntime
¡¡¡¡System.Web.HttpApplicationFactory
¡¡¡¡System.Web.HttpApplication
¡¡¡¡System.Web.Compilation.BuildManager
¡¡¡¡System.Web.Compilation.ApplicationBuildProvider
¡¡¡¡System.Web.Compilation.BuildProvidersCompiler
¡¡¡¡System.Web.UI.PageHandlerFactory
¡¡¡¡ÇëÇó ......