Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ASP.net 4.0 Õë¶ÔSEOµÄ¸Ä½ø

ËÑË÷ÒýÇæÓÅ»¯¶ÔÈκÎÃæÏò¹«ÖÚµÄÍøÕ¾À´Ëµ¶¼·Ç³£ÖØÒª£¬ASP.net 4.0 Ϊ´Ë¾Í×öÁË´óÁ¿¸ÄÔì¡£ÕâЩ¸Ä½ø°üÀ¨ÈçÏ£º
301
ÓÀ¾ÃÐÔÖض¨Ïò
Ëæ×Åʱ¼äµÄǨÒÆ£¬ÍøÕ¾µÄһЩҳÃæµØÖ·»á·¢Éú±ä»¯£¬Õâ»áµ¼ÖÂËÑË÷ÒýÇæÊÕ¼µÄÁ´½ÓµØÖ·¡¢Óû§ÊղصĵØַʧ
Ч¡£Response.Redirect() ¾ÍÊǽâ¾öÕâ¸öÎÊÌâµÄ¡£µ«ÊÇResponse.Redirect ÓÐÒÔÏÂÎÊÌ⣺
Response.Redirect()
·½·¨²úÉúµÄÊǸö HTTP 302
Ìøת£¬ÔÚÓû§³¢ÊÔ·ÃÎÊÀϵÄURLʱ£¬»áµ¼Ö¶àÓàµÄHTTPÍù·µ¡£ÁíÍâËÑË÷ÒýÇæÒ»°ã²»»á¸úËæ¶à¸öÌøת£¬ÕâÒâζ×ÅʹÓÃÒ»¸öÁÙʱתÏò»á¸ºÃæÓ°ÏìÄãµÄÍøÒ³ÅÅÃû¡£ 

ÎÒ֮ǰд¹ý²©¿Í£¬½éÉÜÈçºÎʵÏÖ301Ìøת£¬“´ÓHTTP״̬ 301£¬302£¬200 À´¿´Ò³ÃæÌøת
” ÄÇʱºòʵÏÖ 301 Ìøת±È½ÏÂé·³£¬ASP.net
4.0 Ϊ´ËרÃÅÔö¼ÓÁËResponse.RedirectPermanent() ·½·¨ÓÃÀ´½â¾öÕâ¸öÎÊÌâ¡£
¼òµ¥À´Ëµ£¬ÈçϱíËùʾ£º
HTTP״̬
½âÊÍ
³ÌÐò´ú
Âë
301
301 ´ú±íÓÀ¾ÃÐÔתÒÆ(Permanently Moved)

¼´ÓÀ¾ÃÐÔÖض¨Ïò
Response.RedirectPermanent("test_2.aspx");
302
302 ´ú±íÔÝʱÐÔתÒÆ(Temporarily Moved )
Response.Redirect("test_2.aspx");
MVC ÖÐÒ²ÓÐÀàËƵĴúÂ룺Response.RedirectToRoute(string
routeName) ºÍ Response.RedirectToRoutePermanent(string routeName)
Head
ÖÐµÄ keywords ºÍ description
ÓÉÓÚËÑË÷ÒýÇæÓÅ»¯×÷±×µÄÔ­Òò£¬ÏÖÔÚËÑË÷ÒýÇæÕýÔÚµ­»¯ÕâÁ½¸ö
¹Ø¼ü×ֵIJο¼×÷ÓᣱÈÈçÕâƪ²©¿Í£º“KeywordsºÍDescription--SEO¸ßÊÖΪʲô²»ÓÃ

¾ÍÃèÊöÁËÔ­Òò¡£µ«ÊÇÈç¹û¿ÉÒÔ£¬½¨Ò黹ÊÇÉèÖÃÕâÁ½¸ö¹Ø¼ü×Ö£¬ASP.net 4.0
ÖÐΪ·½±ãÉèÖÃÕâÁ½¸ö¹Ø¼ü×ÖרÃÅ×öÁËÓÅ»¯£¬ÎÒÃÇ¿ÉÒÔͨ¹ýÏÂÃæ¼òµ¥¼¸ÐдúÂë¾Í¿ÉÒÔÍê³É¶¯Ì¬ÉèÖãº
protected
void
Page_Load(object
sender, EventArgs e)
{
Page.Title = "²âÊÔ±êÌâ
";
Page.MetaKeywords = "²âÊԹؼü×Ö
";
Page.MetaDescription = "²âÊÔ¼ò½é
";
}
»òÕßÔÚASPX ÎļþÖÐÈçÏÂд£º
<%@ Page Language="C#"
Title="²âÊÔ±êÌâ"
MetaKeywords = "ÕâÊÇÎҵģ¬¹Ø¼ü×Ö"
MetaDescription = "ÕâÊÇÒ»¸ö¼ò½é"
AutoEventWireup="true"
CodeBehind="Test_2.aspx.cs"
Inherits="WebApplication_CacheOutput.Test_2"
%>
ScottÄǸöÀý×Ó
¹À¼ÆÊǸüÔç²âÊÔ°æ±¾µÄ£¬ÄÇʱºòÊÇ Ke


Ïà¹ØÎĵµ£º

ASP.NETÒ³ÃæÓëIISµ×²ã½»»¥ºÍ¹¤×÷Ô­ÀíÏê½â

ASP.NETÒ³ÃæÓëIISµ×²ã½»»¥ºÍ¹¤×÷Ô­ÀíÏê½â 
µÚÒ»»Ø£º
ÒýÑÔ
ÎÒ²éÔĹý²»ÉÙAsp.NetµÄÊé¼®£¬·¢ÏÖ´ó¶àÊý×÷Õ߶¼ÊÇÕ¾ÔÚÒ»¸ö±È½Ï¸ßµÄ²ã´ÎÉϽ²½âAsp.Net¡£ËûÃÇÄÍÐÄ¡¢Ï¸ÖµظæËßÄãÈçºÎÒ»²½²½ÍϷſؼþ¡¢ÉèÖÿؼþÊôÐÔ¡¢±àдCodeBehind´úÂ룬ÒÔʵÏÖij¸öÌض¨µÄ¹¦ÄÜ¡£
ÕâÖÖ×ö·¨£¬Êµ¼ÊÉÏÊǻشðÁË“ÈçºÎÈ¥×ö”µÄÎÊÌ⣬ȴà ......

ÓÃASP.Net FormsģʽʵÏÖWebServiceÉí·ÝÑéÖ¤

ÔÚ°²È«ÐÔÒªÇó²»ÊǺܸߵÄASP.Net³ÌÐòÖУ¬»ùÓÚFormsµÄÉí·ÝÑéÖ¤ÊǾ­³£Ê¹ÓõÄÒ»ÖÖ·½Ê½£¬¶øÈç¹ûÐèÒª¶ÔWebService½øÐÐÉí·ÝÑéÖ¤£¬×î³£ÓõĿÉÄÜÊÇ»ùÓÚSoap ±êÍ·µÄ×Ô¶¨ÒåÉí·ÝÑéÖ¤·½Ê½¡£Èç¹û¶ÔÁ½Õß×öһϱȽϵĻ°£¬ÏÔÈ»£¬»ùÓÚFormsµÄÑéÖ¤·½Ê½¸ü¼Ó·½±ãÒ×Óã¬ÄÜ·ñ½«FormsÑéÖ¤·½Ê½Ó¦Óõ½WebServiceÖÐÈ¥ÄØ£¿
    ´ÓÀíÂÛÉ ......

asp.net ÖÆ×÷°²×°°ü²¢×Ô¶¯°²×°SQLÊý¾Ý¿â

Ò»).´´½¨²¿ÊðÏîÄ¿    
  1.   ÔÚ“Îļþ”²Ëµ¥ÉÏÖ¸Ïò“Ìí¼ÓÏîÄ¿”£¬È»ºóÑ¡Ôñ“н¨ÏîÄ¿”¡£    
  2.   ÔÚ“Ìí¼ÓÐÂÏîÄ¿”¶Ô»°¿òÖУ¬Ñ¡Ôñ“ÏîÄ¿ÀàÐÍ”´°¸ñÖеē°²×°ºÍ²¿ÊðÏîÄ¿”£¬È»ºóÑ¡Ôñ“Ä£°å”´°¸ñ ......

C# asp.netÈçºÎʹÓÃMD5¼ÓÃÜ£¬½âÃÜ

using System;
using System.Collections.Generic;
using System.Text;
using System.Security.Cryptography;namespace md5
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine(UserMd5("8"));
Console.WriteLine(GetMd5Str("8"));
}
/**//// &lt;summary&gt;
/// MD5 16λ¼ÓÃÜ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ