netstudio2005.blogspot.com
.net studio 2005: C# HttpResponse.Filter Property and http commression
http://netstudio2005.blogspot.com/2007/09/c-httpresponsefilter-property-and-http.html
Thursday, September 27, 2007. C# HttpResponse.Filter Property and http commression. You can use that property to modify the HTTP entity body before transmission to the client browser. If you want to send the http response compressed for example. First you should determine whether client browser accepts compressed content. Browsers send this information in http header value Accept-encoding. Request.Headers[ " Accept-encoding. Request.Headers[ " Accept-encoding. Request.Headers[ " Accept-encoding.
netstudio2005.blogspot.com
.net studio 2005: Rewrite urls in asp.net (To make them search engine friendly)
http://netstudio2005.blogspot.com/2007/09/rewrite-urls-in-aspnet-to-make-them.html
Tuesday, September 25, 2007. Rewrite urls in asp.net (To make them search engine friendly). Suppose you have urls that looks as that one. Http:/ www.vic.bg/Default.aspx? Http:/ www.vic.bg/Default.aspx? Http:/ www.vic.bg/Default.aspx? But you want to looks like those:. Http:/ www.vic.bg/Police.aspx. Http:/ www.vic.bg/Students.aspx. Http:/ www.vic.bg/Sport.aspx. Without having actual pages. You should add new IHttpHandler in your web.config file which dynamically will transform from one to another.
netstudio2005.blogspot.com
.net studio 2005: 5/20/07 - 5/27/07
http://netstudio2005.blogspot.com/2007_05_20_archive.html
Monday, May 21, 2007. Aspnet 2.0 Login Control "Remember me" functionality example. Const string IMASHOPS LOGIN = "http:/ imashops.com/tv/";. Protected void Page Load(object sender, EventArgs e). If (Request.Cookies[IMASHOPS LOGIN]! HttpCookie cookie = Request.Cookies.Get(IMASHOPS LOGIN);. String sUserName = cookie.Values["login"].ToString();. String sPassword = cookie.Values["Pass"].ToString();. If (Authenticate(sUserName, sPassword). Response.Redirect(" /Default.aspx");. UserRow = udt[0];. Do not use R...
netstudio2005.blogspot.com
.net studio 2005: 8/19/07 - 8/26/07
http://netstudio2005.blogspot.com/2007_08_19_archive.html
Saturday, August 25, 2007. Using the tilde in everywhere in your .aspx pages. If you are not familiar with tilde usage in ASP.NET, then you are sooooo missing out. Many times our development environment is totally different than a production server. We may test our application using a virtual directory on our development machine, but may publish to a dedicated root site. Property, which refers to the virtual application root, not the root of the web server. MsPosition = 0;. Output = tr.ReadToEnd();.
netstudio2005.blogspot.com
.net studio 2005: HTTP Compression on IIS 6 Server
http://netstudio2005.blogspot.com/2007/09/http-compression-on-iis-6-server.html
Friday, September 28, 2007. HTTP Compression on IIS 6 Server. 1 First enable compression on iis server, Right click on Web Sites, Properties. 2 Add gzip as server extention, Right Click on Web Service Extensions. Add a new Web Service Extensions. Add Following file. C: WINDOWS system32 inetsrv gzip.dll. Subscribe to: Post Comments (Atom). HTTP Compression on IIS 6 Server. C# HttpResponse.Filter Property and http commressi. Rewrite urls in asp.net (To make them search engin. View my complete profile.
netstudio2005.blogspot.com
.net studio 2005: 9/16/07 - 9/23/07
http://netstudio2005.blogspot.com/2007_09_16_archive.html
Sunday, September 16, 2007. ASPNET, How to Save ViewState into the Session object. Usually ViewState is send to client browser as input hidden tag. That generate huge pages and makes aspx to look very slow platform to build web pages. It is easy to change ViewState storage. For example I'll show you how to store ViewState into Sessoin object (but you can easily store ViewState into WebServer file or database. Session["ViewState"] = viewState;. Links to this post. Subscribe to: Posts (Atom).
netstudio2005.blogspot.com
.net studio 2005: How to split csv file with regular expression
http://netstudio2005.blogspot.com/2009/03/how-to-split-csv-file-with-regular.html
Friday, March 20, 2009. How to split csv file with regular expression. This function is similar to the string.Split function, except it works with a line from csv file and it using c# Regex class. Protected string[] Split(string s). Regex r = new Regex(",(? List = new List. Int sStart = 0;. Int nCount = 0;. Foreach (Match m in r.Matches(s). ListAdd(s.Substring(sStart, m.Index - sStart).Trim('"') ;. SStart = m.Index 1;. ListAdd(s.Substring(sStart, s.Length - sStart).Trim('"') ;. Return list.ToArray();.
netstudio2005.blogspot.com
.net studio 2005: 9/9/07 - 9/16/07
http://netstudio2005.blogspot.com/2007_09_09_archive.html
Tuesday, September 11, 2007. Asp:ImageButton/ Onmouseover onmouseout in C#. You want to change image on mouseover event and to return back original image when mouse goes out. Very simple solution. Asp:imagebutton id="ibOne" runat="server" imageurl=" /images/1.gif" borderwidth="0" /asp:imagebutton. IbOneAttributes.Add("onmouseover", "this.src='images/3o.gif'");. IbOneAttributes.Add("onmouseout", "this.src='images/4.gif'");. See an example of that on vic.bg. Links to this post. Subscribe to: Posts (Atom).
netstudio2005.blogspot.com
.net studio 2005: 3/15/09 - 3/22/09
http://netstudio2005.blogspot.com/2009_03_15_archive.html
Friday, March 20, 2009. How to split csv file with regular expression. This function is similar to the string.Split function, except it works with a line from csv file and it using c# Regex class. Protected string[] Split(string s). Regex r = new Regex(",(? List = new List. Int sStart = 0;. Int nCount = 0;. Foreach (Match m in r.Matches(s). ListAdd(s.Substring(sStart, m.Index - sStart).Trim('"') ;. SStart = m.Index 1;. ListAdd(s.Substring(sStart, s.Length - sStart).Trim('"') ;. Return list.ToArray();.