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 :
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.
Microsoft has posted Visual Studio 2010 Beta 1 and .NET Framework 4.0 Beta 1 downloads on MSDN. The public will get Beta 1 on May 20th,2009.MSDN subscribers now have access to the Beta 1 releases of both Visual Studio 2010 and .NET Framework 4.0. If you have MSDN access, go ahead and start downloading. You may also want to check out the Visual Studio 2010 MSDN Library. From what I’ve heard, performance is supposed to be significantly improved over the CTP and earlier interim builds. Also, the releases seem to work just fine with the Windows 7 Release Candidate build. Here is a list of all the downloads that subscribers now have access to:
Visual Studio 2010 Professional Beta 1 (x86) – DVD (English)
Includes: Professional;
Charles Petzold is a well known author of over fifteen programming books. To many, his books on programming Windows are the definitive books on the subject. As part of a new book on .NET programming, he wrote a chapter zero, to help bridge the gap between Windows developers and .NET developers. This chapter grew and grew until it became a book in its own right and he has now made it available as a free download.
Charles Petzold explained how this book originated :
This book originated as a Chapter Zero in my book Applications = Code + Markup: A Guide to the Microsoft Windows Presentation Foundation (Microsoft Press, 2006), which is about the new Windows client program-ming platform that‘s part of Microsoft .NET 3.0 and Microsoft Windows Vista. I wanted Applications = Code + Markup to focus almost exclusively on the Windows Presentation Foundation. I knew there was enough to cover without going into the basics of general .NET programming and C#. Yet, I wasn‘t sure how much .NET my readers would know.
I started writing a Chapter Zero for the book that would summarize all the basics of .NET and C# for the C and C++ programmers who might be coming to .NET for the very first time. It soon became evident that this Chapter Zero would be very long. It occurred to me that I could extract the material and make it a book on its own. And so I did and this is it. What you have in your hands (or are reading on a screen) is an introduction to C# and those topics in .NET that are typically found in all .NET programming.
The contents of .NET Book Zero are copyrighted by Charles Petzold, but the book is freely distributable.
http://idealprogrammer.com has over 300 hours of Free .NET Video tutorials that you can watch on your DVD player, TV, or Computer. By burning the videos to DVD, you can de-couple yourself from the computer and learn anywhere and anytime you want.
http://www.hanselminutes.com/ ( Hanselminutes is a weekly audio talk show with noted web developer and technologist Scott Hanselman and hosted by Carl Franklin. Scott discusses utilities and tools, gives practical how-to advice, and discusses ASP.NET or Windows issues and workarounds ).
Recently, I was browsing Nicke Andersson blog and I was so impressed by the presentation that Iam posting the presentation in my blog.
This presentation was about Windows Azure, and what Niche have learned from considering porting several applications to it. This is not a particularly technical session, focused on the slightly more philosophical side, by looking at Azure and Cloud applications from a bit of a business perspective as well as an architectural one.
Recently, I tried to connect to a sql server database using Windows Authentication, I got a message that the login failed even with different combination of connection strings. I was not sure what was going wrong and spent around 3 hours to find the problem.
When SQL Server is installed, it grants two logins all privileges.
The first user is ’sa’ that can be used only in mixed authentication mode. The second user is the group ‘BUILTIN\Administators’. The ASP.NET runtime runs under the privileges of the user ‘<MACHINE-NAME>\ASPNET’, an account created during installation of ASP.NET.Since this user is not a member of the Administrators group, when we try to access SQL Server, we get login failed error.
There are 2 solutions for this problem:
Make the user ‘<MACHINE-NAME>\ASPNET’ member of the administrators group. This has its share of problems creating security problems.
The next possible solution is to enable mixed mode authentication so that users (database only) can login the database.
Then came the problem of enabling mixed mode authentication. For SQL Server 2000, we have a GUI in which we can browse the node, select properties and security tab to change to mixed mode. But, for SQL Server 2005 Express Edition, there is not GUI tool available to configure the server. Everything has to be done manually.
The first step is to change the login-mode. Open registry editor (Type regedit.exe in the command prompt) and go to HKLM\Software\Microsoft\Microsoft SQL Server\MSSQL.1\MSSQLServer in the tree on the left. On the right, look for an entry named LoginMode. The default value, when installed is 1. Update it to 2.
The next step is to restart the service.
Launch your Service Manager (Start -> Run -> Type services.msc) and look for a service named MSSQL Server (SQLEXPRESS). Restart the service.
After this, We need to add a user with administrative privileges so that the database can be accessed from ASP.Net. On the command prompt, login to SQL Server command prompt using the osql utility. SQL Server 2005 Express Edition is installed with the instance name SQLEXPRESS. Use the following command to login:
osql -E -S .\SQLEXPRESS
One the SQL-command prompt, execute the following:
Replace the username and password with the username and password you wish to create but not forget the quotes. To verify, try login using the following on the command prompt:
osql -S .\SQLExpress -U username
Provide the password when asked for and hurray…you should be logged in!
Language-Integrated Query (LINQ) is a groundbreaking innovation in Visual Studio 2008 and the .NET Framework version 3.5 that bridges the gap between the world of objects and the world of data.
Traditionally, queries against data are expressed as simple strings without type checking at compile time or IntelliSense support. Furthermore, you have to learn a different query language for each type of data source: SQL databases, XML documents, various Web services, and so on. LINQ makes a query a first-class language construct in C# and Visual Basic. You write queries against strongly typed collections of objects by using language keywords and familiar operators. The following illustration shows a partially-completed LINQ query against a SQL Server database in C# with full type checking and IntelliSense support.
Amit Agarwal has written a post on Oxite, an open source CMS (Content Management System) that can power anything from small blogs to big web sites.
Microsoft Oxite offers almost everything you need in a good blogging platform – anonymous or authenticated commenting, comment moderation, gravatar support, RSS feeds, pingbacks, trackbacks, SEO optimized clean URLs, multiple blogs, group blogging and support for custom pages.
To be successful in today’s competitive marketplace, organizations must extend information beyond the walls of their organization and seamlessly interact with customers, partners, and suppliers in real time. Microsoft SQL Server Reporting Services enables organizations to transform valuable enterprise data into shared information for insightful, timely decisions at a lower total cost of ownership.
I would try my best to include advanced topics and interesting topics this year. Lets start with a post from Microsoft on developing plug-ins for Microsoft Live Writer. I use Live writer for all my blog posts and being a developer, I would like to develop a plug-in.
Charles discusses the Windows Live Writer SDK which includes a managed API for extending Live Writer. He demonstrates the Polaroid Picture Plug-in and also shows how to build a “Hello World” plug-in in Visual Studio.
Microsoft in the process of making a logo that stands well on its own and creates an impact which reflects the key areas like : consistency, robustness and great user experiences.
For more information, click here. Thanks to Abu Ismail to keep us updated on new links.
MSDN Virtual Labs! Quickly evaluate or learn how to build great applications for Windows and the Web through a series of guided, hands-on labs which can be completed in 90 minutes or less. The best part is, the MSDN Virtual Labs don’t require any installation and are available to you immediately for FREE.
Every developer or anyone related to Microsoft would know about the Microsoft Developer Network, aka MSDN. I regularly have an occasional reason to turn to MSDN for information and other essential ingredients in building code. Most recently Microsoft have been active in providing interesting content on all kind of topics — .NET Development, Servers and Enterprise Development, Development Tools and Languages. MSDN Virtual Labs are also available as an RSS feed. Several recent items are particularly interesting, especially for developers already active in or would like to investigate more on related development projects.
You can start looking for Virtual labs which is of your interest here
Microsoft has revealed few features which are going to be included in .NET 4.0. Windows Server will host composite applications by extending the Application Server Role. Microsoft is concentrating on the integration between WCF and WF more seamless than today. Also, XAML (Extensible Application Markup Language) is going to play important role in the integration using it as a common model stack for applications which will help developers to build the entire application declaratively in XAML.
Everyone must have started learning .NET from beginning stages. Microsoft has many User groups, Boot Camps and even Fire Starter Sessions. Now, Microsoft has started a basic training for the beginner programmers who have no programming experience.
Microsoft has started a centralized learning environment specifically targeted to beginning programmers. Here you’ll find a rich array of learning content that starts with the very basics, and guides you through step-by-step to becoming a fully-fledged developer!
All lessons in the Beginner Developer Learning Center are organized into two development tracks: Windows Development and Web Development.
In addition, all Lessons are classified into Tiers or levels of difficulty to make it easier to choose the right lessons for your skill level.
Tier 1 Lessons are a great place to start if you’re brand-new to programming. Most of these lessons don’t assume any prior software development knowledge and will take the time to introduce basic concepts.
Tier 2 Lessons assume you understand the foundations of .NET development. These lessons will proceed at a faster pace, and cover a lot of the core concepts of Windows and Web development. By the end of these lessons, you should be able to create a basic, working application!
Tier 3 Lessons follow up on the skills learned in Tier 2. These lessons expand your knowledge of Windows and Web development with more advanced concepts such as data access and debugging. If you finish the Tier 3 lessons, Congratulations – you’ve graduated from the Beginner Developer Learning Center and can officially call yourself a Software Developer!
We save all our technical favorites web links….What if Microsoft provides a social bookmarking link where you can tag all your online resources and also help others.
I recently visited http://msdnbookmarks.com . This website is for Developers and led me to some of the very interesting websites and some useful blogs. Visit the site and you would know.
You can visit any of the following sites to get started.
During the search, I have also been to somasegar’s blog and found a Silverlight app called “Ticker”, built using Silverlight 2 beta to consume the feeds of social bookmarks created by the community. The ticker runs through recently added bookmarks and as you hover over a bookmark, the ticker will momentarily pause.
There are many factors which are making information storage an important function of a company. Enabled by new types of information, such as digitization of images and video, and sensor information from RFID tags, the amount of digital information within an organization is mushrooming. Growing regulatory compliance and globalization require that information be stored securely and available at all times. At the same time, the cost of disk storage has dramatically decreased, enabling organizations to store more data per dollar invested. Users must quickly sift through mountains of data to find relevant information. Furthermore, they want to use this information on any device and with the programs that they use every day, such as Microsoft Office System applications. Managing this data explosion and the increase in user expectations creates numerous challenges for the enterprise.
My first visit to Shamshabad Airport was really exciting. I was rearing to have a look at Shamshabad Airport from its early days. I’m extremely happy to leave for US from Shamshabad Airport. The staff in the Airport are really friendly. I had a pleasant experience in interacting with the staff. Though I had more than 3 hours for the flight after check-in, It was like just few minutes as I enjoyed the environment in the airport and was talking to the excited staff.
Vivekananda explains the gist of Hinduism by quoting a sloka from “Baghavad Gita”. In fact that also explains the concept of Universal acceptance of all religion.
From an audio release, about the Life and Works of Swami Vivekananda. Though it is not the actual voice of Vivekananda, we can feel the power of his thoughts on Hinduism, and his respect for other religions.
Visual Studio 2008 promises numerous improvements for Visual Basic, a data query called the Language Integrated Query (LINQ), a new Entity Framework for ADO.NET and updated tools for ASP.NET AJAX and Office 2007 development.
This series examines the IDE’s new features . This article looks at the improvements to the IDE and the aforementioned ADO.NET Entity Framework. Also we look looks at what’s new in Visual Basic 9 and LINQ; as you will see, these two concepts are closely related. All the new features in C# 3.0 are also discussed more clearly in further parts.
Part-1 of this series covers the following topics:
Visual Studio is the latest version of Microsoft’s flagship IDE. Along with it comes the .NET Framework 3.5, new versions of Visual Basic and C#, a data query model known as LINQ, improvements to the .NET Framework technologies that were released alongside Windows Vista, and out-of-the-box access to ASP.NET AJAX and Visual Studio Tools for Office.
Searchwindevelopment has made considerable amount of work in presenting Visual Studio 2008 Learning with introduction to the language, performance, testing and data management improvements in VS 2008.
I found few interesting links which would help developers and architects to absorb from the release of VS 2008. I also introduce few blogs which may include very useful information for you to know the latest in Microsoft Technologies.