Tag: Visual Studio

Development

Announcing .NET 2015 Preview: A New Era for .NET

“Today is a pivotal moment for .NET. With the release of .NET 2015 Preview, we are embarking on a new journey while maintaining our strong commitment to the 1+ billion customers that are using .NET today.

As Scott Guthrie and S. ‘Soma’ Somesegar announced at the Connect(); event today, .NET is entering a new era as it embraces open source as a core principal and enables .NET applications to run on multiple operating systems. As part of .NET 2015 Preview, we are delivering .NET Core 5 which is a completely open source stack and can run on multiple operating systems. In addition, not only are we contributing .NET Core 5 to the .NET Foundation but we will openly collaborate with the community and ensure that we continue our strong relationship with existing .NET open source communities, in particular the Mono community. Here are a set of announcement around open source and cross platform from today’s Connect(); event:

.NET Core 5 is the small optimized runtime for ASP.NET 5. It currently runs on Windows, and will be extended to Linux and Mac. You will have more choice of which operating systems you use for ASP.NET 5 development and deployment, supported by Microsoft. Azure will support ASP.NET 5 in both Linux and Windows VMs. You choose.”

Reference

http://blogs.msdn.com/b/dotnet/archive/2014/11/12/announcing-net-2015-preview-a-new-era-for-net.aspx

DesignDevelopment

The Roadmap for WPF – News from the .NET Framework Blog

I’m glad to see some attention being applied to WPF/XAML. Looking forward to all of the new tooling improvements and whatever else they release. Keep it coming!

http://blogs.msdn.com/b/dotnet/archive/2014/11/12/the-roadmap-for-wpf.aspx

Development

CodeRush Shortcut Keys Update

Came across a great post by Mark Miller for an update to the CodeRush shortcut cheat sheet. It’s available in both PDF and PowerPoint.

CodeRushShortcuts1_0F3A625DCodeRushShortcuts2_55B75265

Enjoy

Development

Microsoft launches Visual Studio 2013 and .NET 4.5.1

Today Microsoft announced the release of Visual Studio 2013 and .NET Framework 4.5.1. You can checkout what’s new with Visual Studio 2013 page for more information.

Visual Studio 2013 is the best tool for developers and teams to build and deliver modern, connected applications on all of Microsoft’s platforms.  From Windows Azure and SQL Server to Windows 8.1 and Windows Phone 8, Visual Studio 2013 supports the breadth of Microsoft’s developer platforms.

As part of the Cloud OS vision, Visual Studio 2013 enables developers to build modern business applications that take advantage of the cloud and target a variety of devices and end-user experiences, all delivered within today’s rapid and dynamic application lifecycles.

There are great new features and capabilities in Visual Studio 2013 for every developer, including innovative editor enhancements such as Peek and CodeLens, diagnostics tools for UI responsiveness and energy consumption, major updates for ASP.NET web development, expanded ALM capabilities with Git support and agile portfolio management, and much, much more.

vs2013

You can download these tools now and start using them today. They’re also available to download through MSDN Subscriber Downloads page.

Enjoy!

References

http://blogs.msdn.com/b/somasegar/archive/2013/10/17/visual-studio-2013-available-for-download.aspx

Development

Pretty Paste Tool for Visual Studio

I came across a great tool for Visual Studio that fixes a real issue when pasting code into Visual Studio called Pretty Paste. This is a tool which fixes an issue where copied text into Visual Studio introduces new blank lines and line numbers as shown in the following image:

Paste FixR

This is a fantastic tool. Thank you Mads Kristensen for creating this tool for the community!

Download

You can install it from the Extensions and Updates dialog in Visual Studio. Go to Tools | Extensions and Updates and do an online search for pretty paste:

sshot-441

You can also download it from the Visual Studio Extension Gallery: http://visualstudiogallery.msdn.microsoft.com/6a23234d-45f6-4212-bac3-f6d9bb08fb1e

Enjoy!

Development

How To: Delete a Team Project from your Team Foundation Service Collection

I came across a post in the MSDN Forums on how to delete a project from your TF Service.

“For some time now Buck Hodges has had a nice BLOG post about deleting team projects from Team Foundation Service collections. Not trying to reinvent the wheel but I thought it valuable to have it here in our support forum, too.

Basically, to delete a team project from your Team Foundation Service collection you will need Visual Studio 2012 (or just Team Explorer 2012, which is free here). These provide you with the "tfsdeleteproject.exe" command line tool, which you run thusly:

tfsdeleteproject /collection:https://<Your Collection>.VisualStudio.com/DefaultCollection <"Project Name">

Don’t forget the "/DefaultCollection" bit.”

Thanks Trevor for providing this.

Reference

http://social.msdn.microsoft.com/Forums/en-US/TFService/thread/81997146-a64f-43fb-9952-57d71542cd11

Development

Microsoft Announces Visual Studio 2012 Update 2 (VS2012.2) CTP

On January 30 2013, Microsoft announced the availability of the Community Technology Preview (CTP) for Visual Studio 2012 Update 2 (VS2012.2).

As mentioned in the announcement, there is going to be a ton of cool new capabilities coming in Update 2. With that said, not all of them are available in the CTP, but many are.

The significant improvements in this CTP can be categorized into the following groups:

  1. Agile Planning
  2. Quality Enablement
  3. Line of Business Development
  4. Developer Experience

Developer Experience

Here are a couple screenshots for what’s been changed/added for a developer experience.

Visual Studio Blue Theme. Time and time again, you hear people asking that they bring back the VS2010 theme. Well it looks like the included the “Blue” theme that was previously available on the Visual Studio Gallery:

vs2012_update2_ctp_blue_theme

CodeMap and Debugger Integration. You can now easily add a call stack to a CodeMap to explore the code dependencies from your debugging session:

vs2012_update2_ctp_codemap

Blend for Visual Studio 2012. Finally, Blend has been added back into VS2012, which includes support for WPF, Silverlight and Sketchflow:

vs2012_update2_ctp_blend

NOTE: This CTP is not a “go-live” CTP and is for evaluation purposes only.

Head over to the post for complete details on what’s coming.

I’m looking forward to this update and can’t wait to hear about other cool new capabilities.

Development

Introduction to NuGet

NuGet is a package management system for Microsoft .NET and Visual Studio. It allows you to create simple and/or complex packages that install files into your projects, adds references and make any necessary configuration changes if needed. It also allows you to easily update to a newer version of the package if it’s available, or completely remove the package.

What is NuGet

“NuGet is a Visual Studio extension that makes it easy to add, remove, and update libraries and tools in Visual Studio projects that use the .NET Framework.

When you install the package, NuGet copies files to your solution and automatically makes whatever changes are needed, such as adding references and changing your app.config or web.config file. If you decide to remove the library, NuGet removes files and reverses whatever changes it made in your project so that no clutter is left.”

What is a NuGet Package

“Everything necessary to install a library or tool is bundled into a package (a .nupkg file). A package includes files to copy to your project and a manifest file that describes the contents of the package and what needs to be done to add or remove the library. Packages are bundled into feeds that Visual Studio accesses in order to present lists of available packages. There is an official feed that is the default source for NuGet, and you can contribute to that feed or create your own feeds.”

NuGet User Interface in Visual Studio

“NuGet runs in all versions of Visual Studio 2012, as well as Visual Studio 2010, Visual Web Developer 2010, and Windows Phone Developer Tools 7.1. You can find, install, remove, and update packages by using the Manage NuGet Packages dialog box or by using PowerShell command-line commands in the Package Manager Console dedicated Visual Studio window. Both options are accessible from the Visual Studio main menu; you can also open the dialog box from a Solution Explorer context menu.”

The Manage NuGet Packages Dialog Box

The following illustration shows the Manage NuGet Packages dialog box. You can access this by right clicking on your project in the Solution Explorer and then click on the Manage NuGet Packages… menu item.

sshot-409

The Manage NuGet Packages Console Window

The following illustration shows the Package Manager Console in Visual Studio. This console window lets you run NuGet PowerShell commands.

sshot-410

Supported Operating Systems

  • Windows 8
  • Windows 7
  • Windows Vista SP1
  • Windows Server 2008
  • Windows Server 2008 R2
  • Windows Server 2003 SP2
  • Windows XP SP3

Now that we have an idea of what NuGet is, let’s try it out.

Getting Started

To get started, you will need to download and install NuGet. Launch Visual Studio and then go to the Tools menu, then select the Extensions and Updates… menu item.

sshot-411

Then in the Online section, search for NuGet Package Manager or usually this is listed as one of the top items in the Visual Studio Gallery section.

Once NuGet Package Manager is selected, press the Download button. After a package has been downloaded and installed, you will see a green checkmark as illustrated below:

sshot-412

When the installation is complete, you will need to restart Visual Studio.

After Visual Studio is restarted, NuGet will then be ready for use.

NuGet is truly a pain-free way of installing and managing packages for your projects. NuGet takes care of everything and it just works!

Further Reading

  1. Managing NuGet Packages using the dialog. This describes in great detail how to find, install, update and remove packages from your project and/or solution.

    The solution option is neat as you simply select which projects you want to add the package to and then they’re all installed/updated at once.

  2. Creating and Publishing a Package.

References

CloudDatabaseDesignDevelopment

Top 12 of Visual Studio 2012

I’ve been using Visual Studio 2012 for just over a week now and I’m really liking all the new features and functionality that comes with it. However I’m still not a huge fan of the new light/dark themes. I would like to use the Dark theme, but find it’s just too dark. It would be nice if they made it a few shades lighter.

Anyway I came across the following blog post on Jason Zander’s blog about the Top 12 of Visual Studio 2012 and I thought I would share it.

In summary, with Visual Studio 2012 you can:

  1. Develop for Windows 8
  2. Develop for the Web
  3. Developer for Windows Phone 8
  4. Develop for Windows Azure
  5. Develop Business Applications
  6. Develop Games and other 3D Applications
  7. Take advantage of the latest language enhancements
  8. Performance, Reliability and Compatibility Improvements
  9. New IDE Productivity Features
  10. Improve your code quality with enhanced testing tools
  11. Reduce cycle times using tools for agile practices
  12. Deliver Cloud-Based Services with Smoother Collaboration between Operations and Engineering

Checkout Jason Zander’s blog post for the full article the Top 12 of Visual Studio 2012.

If you have access to Visual Studio 2012, I highly recommend you give it a try. You can always work in both Visual Studio 2010 and 2012 as they are backwards compatible with one another.

Happy Coding!

Development

Visual Studio 2012 Now Available

IC611657

Today Microsoft has made Visual Studio 2012 and all it’s related products available to download. You should note that with the 2012 edition, Team Foundation Server Express is available. Sweet!

Download and try it today

Attend the launch event on September 12