Dr. Dobb's Blogs http://www.drdobbs.com//author/6936 Dr. Dobb's Copyright 2013, United Business Media. en-us New Features In ASP.NET MVC 3 http://www.drdobbs.com/windows/new-features-in-aspnet-mvc-3/229700025 ASP.NET MVC, a framework that runs on top of the ASP.NET runtime, enables you to design and implement applications that can leverage the Mode View Controller design pattern. Thu, 26 May 2011 07:05:00 -0400 ViewState Enhancements in ASP.NET 4.0 http://www.drdobbs.com/windows/viewstate-enhancements-in-aspnet-40/229503424 ASP.NET 4 introduces a new property called <b>ViewStateMode</b>. Fri, 20 May 2011 09:53:00 -0400 web.config Transformations in Visual Studio 2010 http://www.drdobbs.com/windows/webconfig-transformations-in-visual-stud/229402394 Visual Studio 2010 now comes with a new and interesting feature named "web.config transformation". Thu, 28 Apr 2011 05:38:00 -0400 Enhanced Track Change Features in Visual Studio 2010 http://www.drdobbs.com/windows/enhanced-track-change-features-in-visual/229300243 Track Changes is a well known feature in Visual Studio. To enable or disable this feature, you need to follow these steps: Open the Visual Studio 2010 IDE Click on Tools -> Options -> TextEditor Swit... Wed, 05 Jan 2011 09:41:45 -0500 Cloud Development Tools in Visual Studio 2010 http://www.drdobbs.com/windows/cloud-development-tools-in-visual-studio/228701035 Visual Studio 2010 provides excellent support for developing applications that reside in the cloud.</p> Mon, 27 Sep 2010 07:45:07 -0400 SEO Enhancements in ASP.NET 4.0 http://www.drdobbs.com/windows/seo-enhancements-in-aspnet-40/228700376 ASP.NET 4.0 is a web application development framework that ships with Visual Studio 2010.</p> Tue, 21 Sep 2010 21:18:50 -0400 Visual Studio 2010's Parallel Programming Support in Visual Studio 2010 http://www.drdobbs.com/windows/visual-studio-2010s-parallel-programming/228701105 Visual Studio 2010 provides better support for debugging, profiling, and analyzing parallel applications running on multicore platforms.</p> Fri, 17 Sep 2010 07:10:21 -0400 Enabling Thumbnail Previews in Visual Studio 2010 IDE http://www.drdobbs.com/windows/enabling-thumbnail-previews-in-visual-st/228700516 Ever wanted to see thumbnail previews in your Visual Studio 2010 IDE? Yes, it's possible. To enable this feature, do the following:</p> <ol> <li>Invoke the command shell by clicking Start -&gt; Run or simply pressing Win + R keys</li> <li>Now, type the following command in the Run dialog and click OK:</li> reg ADD HKCU\Software\Microsoft\VisualStudio\10.0\General /v ShowThumbnailsOnNavigation /t REG_DWORD /d 1 </p> </ol> Now, invoke the Visual Studio 2010 IDE and press Ctrl + Tab keys together to bring the IDE navigator window. Wow! You can now see thumbnail previews on the navigator.</p> Tue, 07 Sep 2010 06:07:23 -0400 Enabling Session State Compression in ASP.NET 4.0 http://www.drdobbs.com/windows/enabling-session-state-compression-in-as/228700167 In ASP.NET, Session is a server-side state management technique that helps you to preserve user specific data in memory so that they can be accessed and used when required. If the data that is to be stored in the session is large, it would consume more server resources. Now, Session data can be stored in either of the following two modes:</p> <ul> <li>In Process - Stored in the same ASP.NET Process</li> <li>Out of Process - Stored in the database or in some other system</li> </ul> ASP.NET 4 now comes with in-built support for compressing Session data for storing out-of-process sessions. To enable this feature, just set the <b>compressionEnabled</b> attribute to "true" as shown in the code snippet below:</p> <pre> &lt;sessionState mode="SQLServer" stateConnectionString="some connection string..." compressionEnabled="true"/&gt; </pre> Thu, 12 Aug 2010 09:18:53 -0400 Take a Look at the ASP.NET MVC 3 Preview 1 Release http://www.drdobbs.com/windows/take-a-look-at-the-aspnet-mvc-3-preview/228700682 The ASP.NET MVC framework is based on the widely popular, proven and time tested Model View Controller design pattern and is instrumental in seperation of concerns in your application to make your application easier to test and maintain. Microsoft has recently released ASP.NET MVC 3 Preview 1 that provides you a new Model-View-Controller (MVC) framework on top ASP.NET 4 runtime environment.</p> The notable enhancements in this release include the following: </p> <ul> <li>Support for Global Action Filters <li>Support for .NET 4 Data Annotation and Validation attributes <li>Support for multiple view engines including even custom view engines <li>Support for IValidatableObject interface to perform model-level validation </li>Enhanced support for applying Dependency Injection and integration with other Dependency Injection/IOC containers <li>Support for improved HTML Helper Methods <li>Enhanced Support for URL Routing</em> </ul> To know more on ASP.NET MVC 3 Preview 1 and what all it provides, you can see it <a href="http://weblogs.asp.net/scottgu/archive/2010/07/27/introducing-asp-net-mvc-3-preview-1.aspx">here</a>.</p> You can now have your ASP.NET MVC 3 and those of earlier versions reside side by side.</p> You can download a copy of ASP.NET MVC 3 Preview 1 <a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=cb42f741-8fb1-4f43-a5fa-812096f8d1e8">here</a>. </p> Thu, 12 Aug 2010 08:52:28 -0400 Multi-monitor Support in Visual Studio 2010 http://www.drdobbs.com/windows/multi-monitor-support-in-visual-studio-2/228701649 Multi-monitor support is a new feature in Visual Studio 2010 that lets you partition the IDE across multiple monitors. You can now move the editors, designers, and tool windows in the IDE outside the top-level window and position them anywhere you need to -- and on any monitor on your system. </p> It is also easy to use this feature -- just click on a document tab or tool window in the Visual Studio 2010 IDE and drag it to your desired location within the top-level IDE window or, outside of the IDE to any location on any monitor you would want. Once you are done, you can drag the tab or the window back to its original location.</p> Also, Visual Studio 2010 can persist the state -- the last saved screen position of the tabs and the windows would be recovered when the projects are re-opened. This feature comes in handy when you are debugging applications that make use of parallel programming -- you can organize the code, the menu, and the Immediate window as you need. You can know more on this feature <a href="http://weblogs.asp.net/scottgu/archive/2009/08/31/multi-monitor-support-vs-2010-and-net-4-series.aspx">here</a> at Scott Guthrie's blog.</p> Wed, 07 Jul 2010 04:08:01 -0400 Import and Export Breakpoints in Visual Studio 2010 http://www.drdobbs.com/windows/import-and-export-breakpoints-in-visual/228700864 A breakpoint is a point in your application's code where the application at runtime will break and then you can invoke the debugger so that you can inspect the progress of the program.</p> Fri, 25 Jun 2010 03:49:40 -0400 Generate From Usage in Visual Studio 2010 http://www.drdobbs.com/windows/generate-from-usage-in-visual-studio-201/228701694 The <a href="http://msdn.microsoft.com/en-us/library/dd409796.aspx">Generate From Usage</a> feature in Visual Studio 2010 helps you use classes and members even before they have been defined.</p> Fri, 25 Jun 2010 03:35:16 -0400 Enhanced Support for Debugging http://www.drdobbs.com/windows/enhanced-support-for-debugging/228700332 There are features aplenty in Visual Studio 2010 that can boost developer productivity. One such feature is enhanced support for debugging in the IDE. </p> Thu, 27 May 2010 21:13:36 -0400 The New XSD Designer Tool in Visual Studio 2010 http://www.drdobbs.com/windows/the-new-xsd-designer-tool-in-visual-stud/228701575 The Visual Studio 2010 IDE comes with lots of new features and enhancements. Some of the most important features and enhancements include support for: </p> <ul> <li>Multi-targeting (Enhanced) <li>Call Hierarchy of methods <li>Parallel Programming and Debugging <li>XSLT Profiling and Debugging <li>Creating SharePoint Applications <li>Quick Search <li>XSD Designer <li>UML Designer <li>Better application performance and deployment features </ul> And the list goes on! I have just listed only the ones that I have been using. One of the amazing new feature I liked in Visual Studio 2010 is the new <b>XSD Designer</b> tool. The XSD Designer tool includes a schema explorer with distinct visual representation of different levels of detail. This is a graphical tools that you can use to visualize a XML schema at varying levels of abstraction. The major components that make up the XSD Designer include the:</p> <ul> <li>XML Schema Explorer <li>Start View <li>Graph View <li>Content Model View </ul> The XML Schema Explorer is a component that you can use to browse, search and navigate the XML schema tree. The Start View is a component that is used as a launching point for the XSD Designer -- you can navigate to other views of the XSD Designer from this view. The Graph View is the component that enables you to visualize the schema and the relationships amongst its various nodes. The Content Model View is a component that provides you a graphical representation of the local and also the global schema nodes. You can get more information on the new XSD Designer tool of Visual Studio 2010 <a href="http://msdn.microsoft.com/en-us/library/dd489286.aspx">here</a>.</p> Thu, 20 May 2010 09:01:51 -0400 'Add Reference Dialog' Improvements in Visual Studio 2010 http://www.drdobbs.com/windows/add-reference-dialog-improvements-in-vis/228701483 I have been exploring Visual Studio 2010 for some time now. While lots of new features have been introduced, there are a number of areas where Visual Studio 2010 shows marked improvement compared to its earlier counterparts. </p> Thu, 13 May 2010 22:01:25 -0400 Enhanced Multi-targeting Support in Visual Studio 2010 http://www.drdobbs.com/windows/enhanced-multi-targeting-support-in-visu/228701446 Multi-targeting is a Visual Studio 2010 feature that lets you create applications targeting earlier versions of the .NET Framework.</p> Mon, 10 May 2010 01:38:43 -0400 Managing Visual Studio Extensions using Visual Studio 2010 Extension Manager http://www.drdobbs.com/windows/managing-visual-studio-extensions-using/228700815 Visual Studio 2010 provides excellent support for extensibility via the Extension Manager -- a new component in Visual Studio 2010 IDE that lets you add, remove, enable/disable Visual Studio extensions.</p> Fri, 07 May 2010 10:55:59 -0400 Web Deployment Enhancements in Visual Studio 2010 http://www.drdobbs.com/windows/web-deployment-enhancements-in-visual-st/228700579 Microsoft's Visual Studio 2010 marks the next generation of developer tools for designing Windows and web applications. Visual Studio 2010 provides marked improvements in application packaging and deployment that improves the deployment experience to a great extent. Visual Studio 2010 provides the following deployment enhancements: <ul> <li><strong>Web packaging</strong>. The Web Publishing Pipeline (WPP) feature makes use of MSBuild and MSDeploy and provides support for seamless packaging and deployment of web applications. Visual Studio 2010 uses MSDeploy to create a compressed file for your application. This compressed file is commonly known as a "web package" and consists of: <ul> <li>Metadata Information <li>IIS Settings <li>Web Content <li>SQL Server Database used (if any) <li>Security Information <li>Registry Information </ul> Note that you can use the IIS Manager User Interface to install a web package. <li><strong>Web.Config File Transformation</strong>. Typically, your web application goes through a chain of deployment environments. These may include: Development environment, QA/Staging environment, Production environment. While transitioning between these environments, you would often need to change the settings of the application's web.config file to suit a particular environment. Such settings may include: connection strings, debug flags, etc. Making changes to the application's web.config file to suit it for a particular hosting environment is tedious and prone to errors. Visual Studio 2010 lets you transform the application's web.config used at the development time to a web.config file for production/deployment using the XML Document Transform (XDT) feature. Web.Config file transformation is controlled by allowing you to have multiple copies of the application's web.config files suited for various environments, i.e., web.debug.config, web.release.config, etc and then enabling you to change the content of the web.config file to suit it for a particular environment. <li><strong>One-Click Web Publish </strong>. ClickOnce deployment is a deployment strategy that enables you to deploy self-updating applications that can be installed and updated remotely. This is a feature that enables you to publish your web application, IIS settings, web content and other dependencies to IIS with one-click. In essence, Visual Studio 2010 lets you package and publish your web applications in one click. Visual Studio 2010 supports the following four methods of publishing content: <ul> <li>MSDeploy Publish <li>FTP <li>File System <li>Front Page Server Extensions (FPSE) </ul> To use Web One-Click Publish with Visual Studio 2010 you need to properly set up your application's web.config transformation to change the database connection string and then create a One-Click Publish Profile to publish your web content, database(s), and the transformed web.config files. <li><strong>Database Deployment</strong>. You can use Visual Studio 2010 to deploy your application including all of its dependencies on SQL Server. You just need to provide the connection string for your source database -- Visual Studio 2010 would automatically create a package for deployment along with the IIS settings and web content. Once your application has been packaged successfully, you can deploy it on any server -- you just need to provide the connection string while installing the package. Thu, 22 Apr 2010 12:00:10 -0400 The Visual Studio 2010 Code Editor http://www.drdobbs.com/windows/the-visual-studio-2010-code-editor/228701262 Visual Studio 2010 and .NET Framework 4.0 mark the next generation of developer tools from Microsoft. As such, the tools provide you with a single integrated development environment for prototyping, designing, modeling, and testing tools that you can use to build applications. The Visual Studio 2010 <b>Code Editor</b> comes with some new exiting features that promote developer productivity to a great extent. Thu, 15 Apr 2010 10:38:47 -0400 Visual Studio 2010 Global Launch is Underway! http://www.drdobbs.com/windows/visual-studio-2010-global-launch-is-unde/228701798 The countdown has begun! The much awaited release of Visual Studio 2010 is around the corner. Visual Studio 2010 marks the next generation of development tools from Microsoft. Visual Studio 2010 and .NET Framework 4.0 would be launched globally on April 12, 2010. Microsoft is all set to position Visual Studio 2010 as a development tool that can support Windows 7, Windows Server 2008 R2, Azure, SQL Server, Office 2010 and SharePoint 2010. Visual Studio 2010 would be available in the following editions: <ul> <li>Visual Studio 2010 Professional <li>Visual Studio 2010 Premium <li>Visual Studio 2010 Ultimate <li>Visual Studio 2010 Test Professional </ul> All these Visual Studio 2010 editions would be available from April 12th, 2010. You can watch the live webcast of the Microsoft Visual Studio 2010 Launch Conference and Expo, held at the Bellagio Resort in Las Vegas on April 12th, 2010. Here is the link to the webcast: http://www.microsoft.com/visualstudio/en-us/watch-it-live With key notes from Scott Guthrie and Bob Muglia, the noted speakers in this event include: Scott Allen, Dino Esposito, Steven Smith, Rick Strahl, Dan Wahlin, Michele Leroux Bustamante and others. You can find the complete list of the speakers for the Visual Studio 2010 launch event here: http://www.devconnections.com/shows/SP2010VS/default.asp?c=2&s=144 The sessions are listed here: http://www.devconnections.com/shows/SP2010VS/default.asp?c=1&s=144 Visual Studio 2010 Global Launch events would be held worldwide in many places around the globe. Here is the list of those places where such events would be organized: http://www.microsoft.com/visualstudio/en-us/visual-studio-events The Visual Studio 2010 IDE comes in with a lot of new features and enhancements. These include: <ul> <li>Enhanced Support for Multi-targeting <li>Support for Call Hierarchy of methods <li>Support for Parallel Programming and Debugging <li>Support for XSLT Profiling and Debugging <li>Support for Creating SharePoint Applications <li>Support for Quick Search <li>Support for XSD Designer <li>Support for UML Designer <li>Support for better application performance and deployment features </ul> We will explore more on each of these features in future posts. So, why wait? Want to give a try? Well, you can download a copy of Visual Studio 2010 RC from this link: http://www.microsoft.com/visualstudio/en-us/download Mon, 12 Apr 2010 06:01:01 -0400