Tag: .NET

Development

Error when opening an ASP.NET Core project with Visual Studio 2015 after installing Visual Studio 2017 RC : The following error occurred attempting to run the project model server process 1.0.0-preview4-004223

Ok so if your like me and tried installing Visual Studio 2017 RC, you were probably astonished at how fast it installs compared to previous version of Visual Studio. But as impressive at it is at installing, I ran into some compatibility issues with Visual Studio 2015, so I had to uninstall Visual Studio 2017 RC.

Now even with Visual Studio 2017 RC uninstalled, I ended up running into an issue when I was trying to open a  new or existing ASP.NET Core project. Here is the error I would get when trying to open my ASP.NET Core projects in Visual Studio 2015:

The following error occurred attempting to run the project model server process 1.0.0-preview4-004223

image

To resolve this, I had to go to directory “C:\Program Files\dotnet\sdk” and delete folder “1.0.0-preview4-004233” as shown here:

image

This then resolved my issue when trying to open an existing or new ASP.NET Core project in Visual Studio 2015.

Enjoy!

DevelopmentWeb

ASP.NET 5 Overview

ASP.NET 5 is a significant redesign. Checkout the overview on the ASP.NET site.

“ASP.NET 5 is a lean .NET stack for building modern web apps. We built it from the ground up to provide an optimized development framework for apps that are either deployed to the cloud or run on-premises. It consists of modular components with minimal overhead, so you retain flexibility while constructing your solutions.”

Reference

http://www.asp.net/vnext/overview/aspnet-vnext/aspnet-5-overview

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

Development

Introduction to universal Windows apps in Windows 8.1 and Windows Phone 8.1

Came across a great post today on building universal Windows apps in Windows 8.1 and Windows Phone 8.1. They even touched on being able to leverage this common WinRT from WPF (desktop) apps.

This is very neat and I’m looking forward to seeing more information about this from Microsoft with the next version of .NET and Visual Studio.

Enjoy!

Reference

http://blogs.windows.com/windows/b/buildingapps/archive/2014/07/24/introduction-to-universal-apps-in-windows-8-1-and-windows-phone-8-1.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

How to call WinRT APIs in Windows 8 from Desktop Applications

Great article by Scott Hanselman on How to call WinRT API’s in Windows 8 from a Desktop Applications.

Enjoy!