Sharing Thoughts and Learning
This my second post of almost same topic asp.net lacking. This time it is Cookie. Still Asp.net has the lacking of creating encrypted cookie. Here is another handy class which generates encrypted cookie. Usage://Writing CookieSecureCookie.Set(Resp... "Key1", "Value1", DateTime.Now.AddDays(1));Se... "Key1", "Value1"); //Overloaded //Reading Cookiestring key1Value = SecureCookie.Get(Request, "Key1"); SecureCookie: using System;using System.IO;using System.Text;using System.Web;using ......
Asp.net 2.0 has been released, but Asp.net still does not have any built-in support for passing querystring in encrypted text. The following class will give you the support to pass querystring in encrypted rather than plain. Usage: //WebForm1.aspx, From the senderSecureUrl url = new SecureUrl("WebForm2.aspx?Ke... WebForm2.aspx?param=HrxR96w... To ReceiverSecureUrl url = new SecureUrl(Request.Url.PathA... ......
It is always pleasure if you get recognition for your contribution from the Community, it makes it more special if it is your first contribution. My first article has been Kicked by the http://www.dotnetkicks.com.
Recently I wrote an article "How to exchange data securely with a WebService without HTTPS/SSL" in codeproject. If Cryptography, Public/Private Key, Digital Signature and Web Service are one of your interest, I strongly recommend to read it ......
Learning: All W* technology such as WWF, WCF and WPF. Linq and the Children, Dlinq, XLinq etc. SQL Server 2005 Internals. And Of Course much more details of ASP.net AJAX Extension. Recognition: Get more community recognition (One of the reason I have started to Blog). Get at least 3 MS Certificates, maybe on ASP.net, Distributed Components and SQL Server - will be piece of Cake. Write at least one article/month on different technology. Professional: Beat all our Competitors even GoogleIG and Microsoft ......
Cheers! Pageflakes wins the best startpage of people choice awards at Mashable. You can view the result from this link. Thanks to all the people who have voted for Pageflakes. The most interesting thing is Mashable has declared Netvibes as the winner of "Our Choice". But they did not disclose the criteria of their "Our Choice"- It only says a panel of Judges. May be because Netvibes enters into market one year ago than we did, or they have more userbase(Controversial?) than we have or maybe some ......
I have just been informed that one my favorite movie series Rocky VI has been released. I am dying to to see how the 52 years Rocky Balboa is going perform in the ring. Not sure when I will be able to get a good quality DVD in the local market. You can view trailers form this link.
Recently Mashable.com launched a new Award for "Best Social Networking Site". Among the nominees Pageflakes is in the StartPage category. I will really appreciate if you vote for Pageflakes as your favorite Personalize Homepage. The Voting is very simple just type "Vote=Pageflakes" in the comment section. To vote for Pageflakes just click ......
After struggling for two hours, finally I am able to post codes in my blog. All you need is to install window live writer and small plugin-Paste from Visual Studio.
Recently I was trying to set an iframe height which is hosted in another domain. But could not able to get its height from its hosting window - It always throws security exception. I searched Google and found a interesting example on Iframe cross domain messaging, here is the link. Based upon it I have created a small solution which finally does the job. Here are files, you can also download these files from this link:// FrameManager.js -- Must be added in Hosting windowvar FrameManager ={ currentFrameId ......
When consuming any external service, don't expect the external service developer is as much smart as you are. Recently I have faced an issue when integrating with Amazon S3 that they failed to serve the data on first request, but on the consequent request they are able to return the data. So I did a little tweak in my code, instead of calling the service once, I am retrying up to 3 times. If the retry also fails the regular code block executes: const int MAX_TRY = 3;int tryCount = 1;byte[] result ......