Posted by Vakul Kumar More on September 11, 2012
.NET / Visual Studio
Posted in Useful Links | Tagged: .NET, ASP.NET, C# 3.0, Microsoft, MSDN, Vakul, Vakul Kumar, Vakul Kumar More, Visual Studio 2008, Visual Studio 2010 | Leave a Comment »
Posted by Vakul Kumar More on November 4, 2011
In an effort to make its presence felt in the widespread use of smart phones. Microsoft has started a new “I unlock Joy” program for developers, students and provides them an opportunity to win free Windows Phone handsets and other gifts.‘I unlock Joy’ program for developers will start from November 1, 2011 and will continue till March 30, 2012.
Mr. Moorthy Uppaluri, General Manager, Developer Partner Evangelism, Microsoft India said, “India is a vibrant developer market, and we see a lot of excitement and enthusiasm around the availability of marketplace for customers in India. We believe that opening up this marketplace will provide the developer community in India with an opportunity to showcase creativity. He added, “The best part about Windows Phone Marketplace is that developers will be able to use familiar development tools and technologies. They create global market opportunities for themselves and reach out to a large user base.”
The main offer has three categories:
Submit and Receive: Developers get a chance to receive a Windows Phone by submitting three distinct, original and non-trivial Windows Phone applications.
Port 2 Apps and Receive: Developers submitting two Windows Phone applications that are ported from existing Android and iPhone applications will get to receive a Windows Phone.
Women Special: The first hundred women developers to submit one Windows Phone application will qualify to receive a Windows Phone each. The applications can be based on entertainment, fashion, leisure, sports, recreation or travel themes.
In addition to these categories there is also a special offer for students. Each student to submit a Windows Phone application will receive a Merit Certificate, a Windows Phone T-Shirt and a 2GB USB flash drive. Students submitting four apps will additionally receive a Windows Phone. Submissions for the student category will close on December 18, 2011. Any app submitted under this initiative will be considered as a valid entry only after it passes Windows Phone Marketplace certification testing.
Visit http://www.microsoft.com/india/student/windowsphone/ for more information.
Happy Coding. 🙂
Posted in Windows 7 | Tagged: .NET, .NET Framework 4.0, Microsoft, MSDN, N-tier application development, Vakul, Vakul Kumar, Vakul Kumar More, Visual Studio, Visual Studio 2010, WPF | 5 Comments »
Posted by Vakul Kumar More on November 2, 2011
I have been passive for quite some time and would like to be back into regular blogging.
Today, I present an eBook which is available for free.
The developers guide to AppFabric – October Edition.
Alan Smith is the author of the book and explains “The Developer’s Guide to AppFabric” is a free e-book for developers who are exploring and leveraging the capabilities of the Azure AppFabric platform. Click here to download. You can visit here for the latest edition of the book.
Happy coding 🙂
Posted in ASP.NET | Tagged: .NET, ASP.NET, Vakul, Vakul Kumar, Vakul Kumar More, VB.NET, Visual Studio 2008, Visual Studio 2010 | Leave a Comment »
Posted by Vakul Kumar More on April 13, 2011
From the early days of using ASP.NET, we use Server.Transfer(URL) and Response.Redirect(URL). These simple calls used in ASP would never create problems but, in ASP.NET an exception is thrown when used.
The ThreadAbortException is thrown when a call is made to Response.Redirect(url). This happens because the system aborts processing of the current web page thread after it sends the redirect to the response stream. Internally, Response.Redirect(url) makes a call to Response.End() and that call Thread.Abort() which forces the stack to end the thread.
Many suggest using Try and Catch block. I feel it may not be a proper solution as processing exception can be costly. Best option would be to use an overload method of Response.Redirect() to redirect without calling Response.End().
Response.Redirect(string url, bool endResponse);
Response.Redirect(url, true) – The client will be sent the redirect for the new page and present page will immediately stop processing as a thread abort will occur. This is the default behavior of a redirect.
Response.Redirect(url, false) – In this overload method, the second parameter tells the system whether to make the internal call to Response.End() or not. Parameter should be false to make the client is sent to redirect url but call to Response.End is skipped. This is one way to avoid the exception, but the cost is that this thread doesn’t stop executing the Application events!
If you are doing a redirect in Page_Init (or any page events) and call Response.Redirect(url, false) the page will only redirect once the current page is done executing. This means that any server side processing you are performing on that page WILL get executed.
Though, there are cons of using both methods I personally prefer using Respose.Redirect(url,false).
My short bio
Posted in ASP.NET | Tagged: ASP.NET, false), Response.Redirect(url), Server.Execute, Server.Transfer, ThreadAbortException, Vakul, Vakul Kumar, Vakul Kumar More, Visual Studio 2008, Visual Studio 2010 | 4 Comments »
Posted by Vakul Kumar More on October 29, 2010
Microsoft is offering Free ebook which covers basics of writing applications for Windows Phone 7 using the C# programming language with the Silverlight and XNA 2D frameworks.
Book is about 1000 pages with 24 chapters and well, its a gift from Microsoft team to developer community. Getting a book written by Charles Petzold through Microsoft Press is one of the best thing to happen for a developer.
You can download a PDF here (38.6 MB).
And you can download the ebook’s sample code here (5.03 MB).
My short bio
Posted in Windows 7 | Tagged: .NET, C#, C# 3.0, Vakul, Vakul Kumar, Vakul Kumar More, Visual Studio 2008, Visual Studio 2010 | Leave a Comment »