Aklımda Kalası Kelimeler

* давайте работать вместе
* Zarf ve Mazruf, Zerafet(xHoyratlık) ile aynı kökten(za-ra-fe) gelir
* Bedesten
* Suç subuta ermiştir - Suç sabit olmuştur

17 Ocak 2010 Pazar

ASp.Net Resimleri

Request



Request.Url




Request.UserLanguages



Request.Params.AllKeys - Request.ServerVariables



Request.Filter - Request.Headers



File Upload




protected void btnYukle_Click(object sender, EventArgs e)
{
// Check to see if file was uploaded
if (flYuklenen.PostedFile != null)
{
// Get a reference to PostedFile object
HttpPostedFile yuklenenDosya = flYuklenen.PostedFile;

// Get size of uploaded file
int iDosyaUzunlugu = yuklenenDosya.ContentLength;

// make sure the size of the file is > 0
if (iDosyaUzunlugu > 0)
{
// Allocate a buffer for reading of the file
byte[] dosyaVerisi = new byte[iDosyaUzunlugu];

// Read uploaded file from the Stream
yuklenenDosya.InputStream.Read(dosyaVerisi, 0, iDosyaUzunlugu);

// Create a name for the file to store
string strSadeceDosyaAdi = Path.GetFileName(yuklenenDosya.FileName);
string sKaydedilecekYer = Server.MapPath("MediaYuklenen") + "/";
string sKaydedilecekDosyaAdi = strSadeceDosyaAdi +DateTime.Now.ToString("-ddMMyyyyhhMMss");

// Save file to disk
yuklenenDosya.SaveAs(sKaydedilecekYer+sKaydedilecekDosyaAdi);
}
}
}



HTTP Request




AbsolutePath"/Default.aspx"string
AbsoluteUri"http://localhost:50416/Default.aspx"string
Authority"localhost:50416"string
DnsSafeHost"localhost"string
Fragment""string
Host"localhost"string
HostNameTypeDnsSystem.UriHostNameType
IsAbsoluteUritruebool
IsDefaultPortfalsebool
IsFilefalsebool
IsLoopbacktruebool
IsUncfalsebool
LocalPath"/Default.aspx"string
OriginalString"http://localhost:50416/Default.aspx"string
PathAndQuery"/Default.aspx"string
Port50416int
Query""string
Scheme"http"string
-Segments{string[2]}string[]
[0]"/"string
[1]"Default.aspx"string
UserEscapedfalsebool
UserInfo""string
+Static membersSystem.UriSystem.Uri
+Non-Public members{http://localhost:50416/Default.aspx}System.Uri



REQUEST





+ AcceptTypes {string[1]} string[]
AnonymousID null string
ApplicationPath "/" string
AppRelativeCurrentExecutionFilePath "~/Ilanlar.aspx" string
+ Browser {System.Web.Mobile.MobileCapabilities} System.Web.HttpBrowserCapabilities {System.Web.Mobile.MobileCapabilities}
+ ClientCertificate {System.Web.HttpClientCertificate} System.Web.HttpClientCertificate
+ ContentEncoding {System.Text.UTF8Encoding} System.Text.Encoding {System.Text.UTF8Encoding}
ContentLength 0 int
ContentType "" string
+ Cookies {System.Web.HttpCookieCollection} System.Web.HttpCookieCollection
CurrentExecutionFilePath "/Ilanlar.aspx" string
FilePath "/Ilanlar.aspx" string
+ Files {System.Web.HttpFileCollection} System.Web.HttpFileCollection
+ Filter {System.Web.HttpInputStreamFilterSource} System.IO.Stream {System.Web.HttpInputStreamFilterSource}
+ Form {} System.Collections.Specialized.NameValueCollection {System.Web.HttpValueCollection}
+ Headers {Connection=Keep-Alive&Accept=*%2f*&Accept-Encoding=gzip%2c+deflate&Accept-Language=tr&Host=localhost%3a53237&User-Agent=Mozilla%2f4.0+(compatible%3b+MSIE+8.0%3b+Windows+NT+5.1%3b+Trident%2f4.0%3b+.NET+CLR+1.1.4322%3b+.NET+CLR+2.0.50727%3b+.NET+CLR+3.0.4506.2152%3b+.NET+CLR+3.5.30729)} System.Collections.Specialized.NameValueCollection {System.Web.HttpHeaderCollection}
HttpMethod "GET" string
+ InputStream {System.Web.HttpInputStream} System.IO.Stream {System.Web.HttpInputStream}
IsAuthenticated true bool
IsLocal true bool
IsSecureConnection false bool
+ LogonUserIdentity {System.Security.Principal.WindowsIdentity} System.Security.Principal.WindowsIdentity
+ Params {ALL_HTTP=HTTP_CONNECTION%3aKeep-Alive%0d%0aHTTP_ACCEPT%3a*%2f*%0d%0aHTTP_ACCEPT_ENCODING%3agzip%2c+deflate%0d%0aHTTP_ACCEPT_LANGUAGE%3atr%0d%0aHTTP_HOST%3alocalhost%3a53237%0d%0aHTTP_USER_AGENT%3aMozilla%2f4.0+(compatible%3b+MSIE+8.0%3b+Windows+NT+5.1%3b+Trident%2f4.0%3b+.NET+CLR+1.1.4322%3b+.NET+CLR+2.0.50727%3b+.NET+CLR+3.0.4506.2152%3b+.NET+CLR+3.5.30729)%0d%0a&ALL_RAW=Connection%3a+Keep-Alive%0d%0aAccept%3a+*%2f*%0d%0aAccept-Encoding%3a+gzip%2c+deflate%0d%0aAccept-Language%3a+tr%0d%0aHost%3a+localhost%3a53237%0d%0aUser-Agent%3a+Mozilla%2f4.0+(compatible%3b+MSIE+8.0%3b+Windows+NT+5.1%3b+Trident%2f4.0%3b+.NET+CLR+1.1.4322%3b+.NET+CLR+2.0.50727%3b+.NET+CLR+3.0.4506.2152%3b+.NET+CLR+3.5.30729)%0d%0a&APPL_MD_PATH=&APPL_PHYSICAL_PATH=C%3a%5cProjeler%5cYabanTV%5cSourceCode%5cTest%5cwaDataGrid%5c&AUTH_TYPE=NTLM&AUTH_USER=VS08SQL05%5cAdministrator&AUTH_PASSWORD=&LOGON_USER=VS08SQL05%5cAdministrator&REMOTE_USER=VS08SQL05%5cAdministrator&CERT_COOKIE=&CERT_FLAGS=&CERT_ISSUER=&CERT_KEYSIZE=&CERT_SECRETKEYSIZE=&CERT_SERIALNUMBER=&CERT_SERVER_ISSUER=&CERT_SERVER_SUBJECT=&CERT_SUBJECT=&CONTENT_LENGTH=0&CONTENT_TYPE=&GATEWAY_INTERFACE=&HTTPS=&HTTPS_KEYSIZE=&HTTPS_SECRETKEYSIZE=&HTTPS_SERVER_ISSUER=&HTTPS_SERVER_SUBJECT=&INSTANCE_ID=&INSTANCE_META_PATH=&LOCAL_ADDR=127.0.0.1&PATH_INFO=%2fIlanlar.aspx&PATH_TRANSLATED=C%3a%5cProjeler%5cYabanTV%5cSourceCode%5cTest%5cwaDataGrid%5cIlanlar.aspx&QUERY_STRING=&REMOTE_ADDR=127.0.0.1&REMOTE_HOST=127.0.0.1&REMOTE_PORT=&REQUEST_METHOD=GET&SCRIPT_NAME=%2fIlanlar.aspx&SERVER_NAME=localhost&SERVER_PORT=53237&SERVER_PORT_SECURE=0&SERVER_PROTOCOL=HTTP%2f1.1&SERVER_SOFTWARE=&URL=%2fIlanlar.aspx&HTTP_CONNECTION=Keep-Alive&HTTP_ACCEPT=*%2f*&HTTP_ACCEPT_ENCODING=gzip%2c+deflate&HTTP_ACCEPT_LANGUAGE=tr&HTTP_HOST=localhost%3a53237&HTTP_USER_AGENT=Mozilla%2f4.0+(compatible%3b+MSIE+8.0%3b+Windows+NT+5.1%3b+Trident%2f4.0%3b+.NET+CLR+1.1.4322%3b+.NET+CLR+2.0.50727%3b+.NET+CLR+3.0.4506.2152%3b+.NET+CLR+3.5.30729)} System.Collections.Specialized.NameValueCollection {System.Web.HttpValueCollection}
Path "/Ilanlar.aspx" string
PathInfo "" string
PhysicalApplicationPath "C:\\Projeler\\YabanTV\\SourceCode\\Test\\waDataGrid\\" string
PhysicalPath "C:\\Projeler\\YabanTV\\SourceCode\\Test\\waDataGrid\\Ilanlar.aspx" string
+ QueryString {} System.Collections.Specialized.NameValueCollection {System.Web.HttpValueCollection}
RawUrl "/Ilanlar.aspx" string
RequestType "GET" string
+ ServerVariables {ALL_HTTP=HTTP_CONNECTION%3aKeep-Alive%0d%0aHTTP_ACCEPT%3a*%2f*%0d%0aHTTP_ACCEPT_ENCODING%3agzip%2c+deflate%0d%0aHTTP_ACCEPT_LANGUAGE%3atr%0d%0aHTTP_HOST%3alocalhost%3a53237%0d%0aHTTP_USER_AGENT%3aMozilla%2f4.0+(compatible%3b+MSIE+8.0%3b+Windows+NT+5.1%3b+Trident%2f4.0%3b+.NET+CLR+1.1.4322%3b+.NET+CLR+2.0.50727%3b+.NET+CLR+3.0.4506.2152%3b+.NET+CLR+3.5.30729)%0d%0a&ALL_RAW=Connection%3a+Keep-Alive%0d%0aAccept%3a+*%2f*%0d%0aAccept-Encoding%3a+gzip%2c+deflate%0d%0aAccept-Language%3a+tr%0d%0aHost%3a+localhost%3a53237%0d%0aUser-Agent%3a+Mozilla%2f4.0+(compatible%3b+MSIE+8.0%3b+Windows+NT+5.1%3b+Trident%2f4.0%3b+.NET+CLR+1.1.4322%3b+.NET+CLR+2.0.50727%3b+.NET+CLR+3.0.4506.2152%3b+.NET+CLR+3.5.30729)%0d%0a&APPL_MD_PATH=&APPL_PHYSICAL_PATH=C%3a%5cProjeler%5cYabanTV%5cSourceCode%5cTest%5cwaDataGrid%5c&AUTH_TYPE=NTLM&AUTH_USER=VS08SQL05%5cAdministrator&AUTH_PASSWORD=&LOGON_USER=VS08SQL05%5cAdministrator&REMOTE_USER=VS08SQL05%5cAdministrator&CERT_COOKIE=&CERT_FLAGS=&CERT_ISSUER=&CERT_KEYSIZE=&CERT_SECRETKEYSIZE=&CERT_SERIALNUMBER=&CERT_SERVER_ISSUER=&CERT_SERVER_SUBJECT=&CERT_SUBJECT=&CONTENT_LENGTH=0&CONTENT_TYPE=&GATEWAY_INTERFACE=&HTTPS=&HTTPS_KEYSIZE=&HTTPS_SECRETKEYSIZE=&HTTPS_SERVER_ISSUER=&HTTPS_SERVER_SUBJECT=&INSTANCE_ID=&INSTANCE_META_PATH=&LOCAL_ADDR=127.0.0.1&PATH_INFO=%2fIlanlar.aspx&PATH_TRANSLATED=C%3a%5cProjeler%5cYabanTV%5cSourceCode%5cTest%5cwaDataGrid%5cIlanlar.aspx&QUERY_STRING=&REMOTE_ADDR=127.0.0.1&REMOTE_HOST=127.0.0.1&REMOTE_PORT=&REQUEST_METHOD=GET&SCRIPT_NAME=%2fIlanlar.aspx&SERVER_NAME=localhost&SERVER_PORT=53237&SERVER_PORT_SECURE=0&SERVER_PROTOCOL=HTTP%2f1.1&SERVER_SOFTWARE=&URL=%2fIlanlar.aspx&HTTP_CONNECTION=Keep-Alive&HTTP_ACCEPT=*%2f*&HTTP_ACCEPT_ENCODING=gzip%2c+deflate&HTTP_ACCEPT_LANGUAGE=tr&HTTP_HOST=localhost%3a53237&HTTP_USER_AGENT=Mozilla%2f4.0+(compatible%3b+MSIE+8.0%3b+Windows+NT+5.1%3b+Trident%2f4.0%3b+.NET+CLR+1.1.4322%3b+.NET+CLR+2.0.50727%3b+.NET+CLR+3.0.4506.2152%3b+.NET+CLR+3.5.30729)} System.Collections.Specialized.NameValueCollection {System.Web.HttpServerVarsCollection}
TotalBytes 0 int
+ Url {http://localhost:53237/Ilanlar.aspx} System.Uri
+ UrlReferrer null System.Uri
UserAgent "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)" string
UserHostAddress "127.0.0.1" string
UserHostName "127.0.0.1" string
+ UserLanguages {string[1]} string[]
+ Static members
+ Non-Public members

Hiç yorum yok: