Stories Tagged with 'Visual Studio'


Are your Node-Based Tools Failing in Visual Studio?

WebPack Since I do a lot of web development and teach web dev on the Microsoft platform, I spend a lot of time in tools that are node-based. If you don't know already, gulp, grunt, webpack, etc. all use node to run themselves.

Because of this, Visual Studio tries to be a good guy and pre-installs Node with Visual Studio. When you use some of these tools in Visual Studio, they just work. No more having to tell dev's to go install something to get them to work.

ASP.NET Core 2.0 Released

Image result for webI’m very excited that the v2 of ASP.NET Core is now released. Married with Visual Studio 2017 Update 3 (or VS Core), it is now a maturing platform.

I really like what the team has been doing since the release of 1.0. They seem to really have thought about the pain points of the initial versions and worked to eliminate as many as they could.

Using VS Code and ASP.NET Core?

Image result for vs code logoDevelopers are an odd beast. Some developers love a big IDE and lots of automation to help them create great solutions.

The other type of developer, wants to write code quickly and spends a lot of time at the command-line. Luckily, Microsoft supports both types of developer.

Why is ASP.NET Core Development So Much Harder in VS2017?

Concerned young woman looking at laptop As most of you know, I’ve been using Visual Studio 2015 and ASP.NET Core for quite a while and I’ve been pretty happy with the functionality.

But now that we’re in ASP.NET Core 1.1 (I know 2.0 is in preview, but I’m sticking with 1.1 for this discussion) and Visual Studio 2017, it feel a lot harder than it should be.

Wroc# Wrap-Up

P1000610The great organizers of Wrocsharp invited us to come to Poland and present at an unusual conference. I had a great time and everyone was just lovely to me and my wife!

Wroclaw Poland (not pronounced anything like you’re thinking) is a lovely little city that has an interesting history. We enjoyed chasing down some of the hundred or so dwarves that line the front of shops and churches (seen to the right – yes, that’s a dwarf using a tiny ATM).

ASP.NET Core Snippets for Visual Studio Code

Image result for visual studio code logoI’m currently creating a new course on how to use Visual Studio Code with ASP.NET Core. While I rely on yeoman for project scaffolding and some file scaffolding, I wanted to get some of the snippets I’ve grown used to having in the full Visual Studio.

I found a project called ASP.NET Core Snippets to my excitement, but it only had snippets for some of the main files in your project. Not action snippets or razor snippets. So at 4am last night I wrote a Visual Studio Code extension to add some of these snippets.

Updating My Blog to Visual Studio 2017 and .csproj

cat-667909Now that the ASP.NET Core tooling changes are finally here, I decided to update my blog to the new bits. Goodbye project.json and hello .csproj.

Finding the project after upgrading it, I had to look for those points of contact I had gotten comfortable using. The upgrade wasn’t painful (look back at those Beta 7-Beta 8 upgrades for that story), but knowing where they moved your cheese is important. Hopefully this post helps you with the same issues.

Updating WilderBlog to ASPNETCore 1.1

yawning_babyI upgraded my WilderBlog project to ASP.NET Core 1.1 today. I had planned on writing a big blog post about how to accomplish it, but I was surprised instead by how uneventful the process was.

Some of my students were using ASP.NET Core 1.1 in their walk through using my Pluralsight course and I was unsure of how much of a problem that was going to be, but so far no problems really.

A Look at ASP.NET 5: Part 1 - Getting Started

babyflyerOver the past few weeks I’ve been playing with the new ASP.NET 5 (also known as ASP.NET vNext) bits using Visual Studio 2015. I’m trying to make sense of the new changes and how they will affect how I build websites. I’d like to share some of what I’ve learned about the new stack.

I’m going to do this by talking through an example website I wrote using the new bits. Do know that we’re still pretty early and Visual Studio 2015 (CTP6 as of this writing) and ASP.NET 5 Beta 3 are both in a state of flux. This is definitely about what’s coming, not what is here so far.

ASP.NET 5: First Impressions

cloudraysI’ve been working on a new web site wholly using the ASP.NET 5 (e.g. vNext, MVC6, etc.) for the past couple of weeks. This means using Visual Studio 2015 Preview and the new project types in ASP.NET 5.

The idea around the site is to be an example of an ASP.NET 5 site using MVC6, EF7, and Visual Studio 2015. It’s not perfect and ASP.NET 5 isn’t ready yet so I expect to continue to fix and remove hacks for quite a while, but it’s been fun to dig into a whole new stack while it’s still getting the kinks worked out.  Here are some of my first impressions.

Node.js and Visual Studio? Sure!

nodejsI’ve been working on a new course for Pluralsight on “Node.js for .NET Developers”. It’s been a fun course to write and one of the aspects of the course that I find interesting is that the open source Node.js Tools for Visual Studio plugin actually works really well.

What I particular like is that it doesn’t change the way you use Node.js – it can live side-by-side with command-line tooling like NPM, Bower, or even node.exe. It doesn’t try to do more than it should.

Zen Coding (Emmit) with Visual Studio

As many of you know, I have a new course with Pluralsight called "Building a Site with Bootstrap, AngularJS, ASP.NET, EF and Azure". I had the opportunity to use Zen Coding (renamed Emmet for some reason) in the course. We've released a snippet of the course on YouTube that shows off this cool productivity enhancement that Web Essentials powers. Caveat: Web Essentials doesn't work with free versions of Visual Studio.

NOTE: The title of the video is incorrect and we're trying to change it...it is about Zen coding.

Maintaining a Project with Two Windows Phone Versions

I am currently reading the Mango (Windows Phone OS 7.1) version of my Phoney Tools project. But I have a particular problem: I need to maintain both a 7.0 and a 7.1 version of the project builds. You might have the same issue with your own project so I thought it’d be a good way to show off some special features that Visual Studio has to help you solve these sorts of situations. Essentially my goal was to maintain one set of code but build both sets from the same source.

First off, I took my original project and created two solution folders and created the 7.1 projects as shown here:

Developing for the Windows Phone 7 - Part 2: Debugging on the Phone

Windows Phone 7

I've had my phone a couple of days now and been playing with the development experience on the device.  As some of you remember, I've been creating a new Moon Phase application for the phone (called "Moon Phaser").  I'll be releasing the source and you'll be able to install it on your phone (for free) once the Marketplace launches.

My Favorite Visual Studio Shortcuts and Snippets

Keyboard Shortcuts

I've been speaking at user groups and conferences for a long time now. Usually at these short talks I don't get asked much about how I use Visual Studio.  But now that I am teaching Silverlight, my students are never shy about asking what I am doing while in Visual Studio.  I am often amazed by how people use Visual Studio without learning some of my favorite hotkeys/snippets.  Here are some of mine:

Blend and Visual Studio - Why Two Tools?

Silverlight Logo

I am here at DevTeach and having a great time. I got in a discussion with several of the speakers about the common complaint of some Silverlight/WPF folks that they want Blend to be in Visual Studio; or why Cider has always been disabled by most dev's.

Running Silverlight 2 and 3 On Same Machine - Redux!

Url: http://wilderminds.blob.core.windows.net/downloads/Setup_SLTools_U...

Silverlight Logo

When is a ASP.NET Project Not an MVC Project?

I am working on a hybrid ASP.NET MVC and MVC Dynamic Data project. To work on it I started with the MVC Dynamic Data project assuming this would be a Dynamic Data Project and an MVC project. As Scott Hanselman recently posted, you can mix and match pretty easily so the code was working but I was missing an important piece of functionality in Visual Studio:

Congratulations Sara Ford!

Url: http://blogs.msdn.com/saraford/archive/2008/12/...

After 382 Visual Studio Tips and a book, Sara is retiring the series.  Those tips have been hitting my RSS Feed for a long time now. They've been helpful to me and my students. I really appreciate all her hard work helping us in the community.

Sara Ford's Blog

Url: http://blogs.msdn.com/saraford/archive/2008/06/...

I am surprised when I talk to developers these days and they don't know who Sara Ford is.  She's responsible for CodePlex and many open source initiatives at Microsoft. In addition, her blog is an excellent source of information on Visual Studio tricks and features that most of us have never noticed.  It is well worth a read. Just announced today, her blog is now available in Russian and Spanish so if English isn't your native tongue, you're in luck there too.

The Document Outline in Visual Studio 2008

Something I never noticed before is the Document Outline window in Visual Studio (2008?).  When editing large XAML files this is particularly useful to help navigate the tree of elements.

If you've never noticed it like me, you can make it show up by using the menu's when a XAML file is open:  View->Other Windows->Document Outline. Alternatively, the default key command is Ctrl-Alt-T.

Regionate Can Cause LINQ to SQL to Fail

Url: http://www.rauchy.net/regionerate/

I've been using a LINQ for SQL model for a project for a few months now.  The project has been compiling fine forever now.  Suddenly it was failing to build the .dbml file for no apparent reason.  A quick search for the problem turned up an issue with Regionate and LINQ for SQL.  Uninstalled Regionate and its back to compiling. 

Visual Studio 2008 PowerCommands

Url: http://code.msdn.microsoft.com/PowerCommands

Not sure when these were released but someone on Witty mentioned this release. Its a cool number of little features for Visual Studio:

Getting Silverlight XAML Intellisense in VS2008

I've gotten the question a number of times about problems getting intellisense with Visual Studio 2008. If your XAML looks like this in Visual Studio 2008 then I can help you:

 

Visual Studio 2008 for .NET 2.0 Development - An Interesting Quirk

I've been converting some projects to Visual Studio 2008 (but not .NET 3.5) to see if I like the new IDE better than 2005.  So far I can't tell a big difference (though the improved Script debugging is nice).  I did find out something interesting...

I use the 'prop' snippet (if you don't know what this is, in 2005 or 2008 type 'prop' {no quotes} and hit tab twice) to add simple properties.  In 2005 it stubs out the field and the property.  But in 2008 it stubs out an implicit property.


Application Name WilderBlog Environment Name Production
Application Ver v4.0.30319 Runtime Framework x86
App Path D:\home\site\wwwroot\ Runtime Version .NET Core 4.6.26628.05
Operating System Microsoft Windows 10.0.14393 Runtime Arch X86