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. 🙂
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 🙂
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
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
I just experienced the infamous “The breakpoint will not currently be hit”. After reading several posts in various websites in reference to this issue, I found few solutions which I thought of sharing :
- Check if the debug=”true” in your aspx page.
Debug is disable
<%@ Page Language=”C#” MasterPageFile=”~/MainMasterPage.master” AutoEventWireup=”true” CodeFile=”Facility.aspx.cs” Inherits=”_Facility” debug=”false”%>
Debug is enable
<%@ Page Language=”C#” MasterPageFile=”~/MainMasterPage.master” AutoEventWireup=”true” CodeFile=”Facility.aspx.cs” Inherits=”_Facility” debug=”true”%>
- Removing all the references in the project and re-inserting them taking care of the version used.
Manually deleting the bin/release and bin/debug sub-directories in every project in the solution.
De-installing and reinstalling .net framework (any version) and VS-2005
Taking a close look at the target platform in the projects.
Breakpoints Should come back !!It can be caused as the .PDB and the assembly of one of the controls would not have been referenced at the right place, resulting in a desync between the sources and binaries.
By re-referencing all, and killing the bin subdirs problem will be solved.
- Goto Tools menu and select Options; check the “Show advanced build configurations” checkbox. Now the build configurations show in the Project Properties dialog; display will be the Project Properties dialog (Project menu/Properties). We can now see the Configuration dropdown box. Select “Active(Debug)” item. Check the “Define DEBUG constant” checkbox. Rebuilt the project. Now there is a symbols file ([project].pdb) in the current output directory. When debugged, the symbols file is loaded and breakpoints will now hit.
- Other options than can be tried are 1). rebuilding the application many times. 2). completely deleting and redoing it from scratch (though thats not a good idea !! ). 3). Check whether the .pdb file is in the same location as the DLL with the same name and time. 4). Check whether project is running on the debug version of the DLL and associated files. 5). ensured there was only one instance of the DLL, project, etc. on the machine. 6). right clicked on a DLL that is within the Modules window, selected Symbol Settings, selected Debugging | Symbols and manually added the directory with the .pdb file – even though confirmed that this is the default location used by the project. 7). checked that Enable Just My Code is not selected within the Symbol Settings | Debugging | General menu. 8). tried placing the DLL in the C:\Windows32\ directory just to see if the Modules Window would “see” it. 9). adjusting a few other things to match suggestions regarding optimization settings, etc. 10). selecting Load DLL exports within within the Symbol Settings | Debugging | Native menu (although I am not familiar with what this may actually be doing..needs some research in the weekend); this caused most of the DLL’s in the Modules window to have a listing of Exports Loaded, but did not appear to affect my issue in any way – again my DLL is not within the Modules window.
- Select the Solution node in your Solution Explorer… Select Properties from the context menu… Select Multiple Startup Projects…For each project you want to debug, select Start from the action drop down.
Received a comment from Eric Long with an other solution: click here .
My short bio
Are you to looking to find products, extensions, and add-ins for Visual Studio.
Your search ends at Microsoft Website. Microsoft is providing Gallery with
Tools (Build, Coding, Data, Documentation, Modeling, Performance, Programming Languages, Reporting, Security, Setup & Deployment,Source Control, Team Development, Testing and Web )
Controls (ASP.NET Controls, Silverlight Controls, Sharepoint Controls, Windows Forms Controls, WPF Controls and Framework & Libraries)
Templates (ASP.NET, Office , Mobile Device, Silverlight, SQL Server, WCF, Windows Forms, Workflow and WPF)
click here to access all the above mentioned Tools, Controls and Templates.
Happy Coding !!!