asp net VNext and older visual studio versions - asp.net

I am trying to convert my current asp net application to an ASP.Net vnext application and I am trying to figure out if we have have to use Visual Studio 15 or visual studio 14 ctp 3 for vnext to work? Will it work in visual studio 12 or 13?
I found this link
http://blogs.msdn.com/b/dotnet/archive/2014/08/18/try-out-the-new-releases-net-framework-vnext-asp-net-vnext-net-native-and-ryujit.aspx
and I haven't heard any updates.

If you want to use Visual Studio, you need Visual Studio 2015 and CTP6.
Good news is, you can have VS2015 installed side by side with 2012 or 2013 with no problems. (really!) And if you are not yet familiarized with the command line tools, I do highly recommend to install vs2015.
For migrations, there's some documentation in the workings on the Docs repo.
check this out : https://github.com/aspnet/Docs/blob/master/docs/migrating/migratingfrommvc5/migratingfrommvc5.rst
this is just one, there are a few more doc pages on that repo that might help you to get started and see which changes should be made and how to apply one by one.
Unfortunately the documentation is not finished and there's not much about it, so be prepared to have patience because you will be migrating and learning a new stack in the process.
Microsoft team has been very active and helpful in all channels (twitter, SO, github, etc) so, you can at least get help if you find a block.

The tooling for ASP.NET 5 is only available for VS 2015.
However, you can build and run ASP.NET 5 applications outside of VS using the command line tool and other editors.

Related

IDEs version compatibility with ASP.NET Core

I am not able to find which IDEs are compatible with Asp.NET Core.
I want to develop an app and I donĀ“t know which are the possibilities.
Someone can list the compatible IDEs versions? Or some place where they are listed?
I am specially interested in Visual Studio versions
Visual Studio 2017. The Community edition is fully functional and free: Visual Studio 2017 Community Download
Visual Studio Code will also work and is cross platform. You can download it from here: VS Code Download
JetBrain's Rider will also work with ASP.NET Core: JetBrain's Rider, though it is not free.
Here's where MS tells you how to get started and what IDE you should use. Notice that the link to D/L the IDE takes you to a download of VS 2017 Community. This is the closest thing to an official "here's what's supported" you're going to get. .NET Core Getting Started.

VS 2015 Preview missing "ASP.NET 5 Web Application" project type?

In Visual Studio 2015 Preview, I see the following vNext templates in the "New Project" window:
I am under the impression that I should also see an entry for "ASP.NET 5 Empty Web Application" or something similar, but I see no such thing. Those two entries are the only "vNext" designated entries that I have installed.
Is there an additional binary I need to install in order to enable this type of project to appear? Or do I need to examine my VS 2015 Preview installation?
Note: I do have an entry for "ASP.NET Web Application", which takes me through the setup with the unified architecture but does not appear to include a project.json file or things that I'm associating with ASP.NET 5 development.
Update: Per this article regarding 2013 I also tried to run devenv.exe /installvstemplates, but that didn't work either. To clarify, I don't see any new web template, which the screenshot below illustrates as well:
I was having the same problem, except that unlike the accepted answer suggests, the ASP.NET Web Application was not on the list of templates at all.
I was able to get it to show up after following the instructions from this article.
From Visual Studio 2015: Tools -> Extensions and Updates
Select Online then click Visual Studio Gallery
Search for ASP.NET Project Templates and download the first result.
Go through installation process, relaunch Visual Studio, and Web Application should now be an option!
Alternately, you can download the templates directly here.
I believe this download actually is meant to install some other templates that I wasn't interested in, but installing them must have also installed the base template in the process. Either way, it worked for me.
Visual Studio Ultimate 2015 Preview contains everything you need to create an ASP.NET 5 (vNext) web application. One additional generic option should be available that's not depicted in your question:
It's not entirely clear at this point, but choosing the generic web application option will present a few ASP.NET 5 (vNext) options that you're seeking in the following dialog:
In Visual Studio 2015 Preview Microsoft has renamed ASP.NET vNext to ASP.NET 5
If you open http://www.asp.net/vnext, in every article vNext is metioned as ASP.NET 5
In following Sam's Suggestion, I noticed that there were Updates Pending. One of these updates included the missing ASP.NET 5 templates.
Tools > Extensions & Updates > Updates > Visual Studio Gallery
Once updated & Installed, the Web Application was then available as described in the tutorial.
The new update released this week has renamed ASP.NET 5 into a new framework which they are now calling ASP.NET Core. More information can be found in this article https://blogs.msdn.microsoft.com/webdev/2016/05/16/announcing-asp-net-core-rc2/
VS 2015 Preview is going under ASP.net Core web application. If you cant see that one under templates you may go to this site and download .NET Core 1.0 for Visual Studio then install.
In my case the problem was in the Microsoft .NET Core 1.0.1 VS 2015 Tooling Preview 2 corrupted installation.
It was performed:
install the ASP.NET Project Templates following answer from this post - NO RESULT
reinstalling Microsoft Web Developer Tools from the identical SO post - NO RESULT
fresh install the IDE using TotalUninstaller tool - NO RESULT
repair the Microsoft .NET Core 1.0.1 (see the sketch below) - SOLVED
Only repair .NET Core 1.0.1 finally solved the problem!
For that you have to download the .net core cross platform development, below steps you will refer
open VISUAL Studio installer
click the option in the list click modify
below image you can refer it
once complete installation,now you have the option for asp.net core web application

Webforms application .NET 4 in Visual 2013

I have a quick question concerning creating an web forms application with visual 2013 express. I'm working on older servers (Windows 2003) which cannot handle anything greater than .NET 4.
When I go to create my application with visual studio 2013 I go to the Visual Studio 2012 tab, where MVC 4 is listed and choose the web forms application there. What I've learned though, is that it automatically sets the framework to 4.5 still, so I have to change it to 4. In doing so, the NuGet packages get messed up and I have to reinstall them all. I discovered after reinstalling them all it's still messed up and I'm getting build errors. I assumed because I choose to use an older version of webforms, it would automatically set my framework up for me as well. Doing a little troubleshooting I discovered that even when you choose to create a MVC 4 application it still sets the framework to 4.5 and messes everything up when you try to change it.
I'm thinking about just downloading an older version of visual but I don't have admin rights to my computer and that is a pain. Any insight?
I'm painfully new to this material, so everything in layman's terms is appreciated!
when you select MVC 4 Web Application, or any of the other templates, there is a drop down at the top that allows you to select which Framework you would like to use. I'm using professional, it may be different in express.
http://msdn.microsoft.com/en-us/library/bb398202.aspx

Visual Studio Source Control / Version Control, Vault vs Git(hub) vs SVN - lone developer, best option?

Visual Studio 2012 Express, SQL Server 2012 Express, MVC 4, Code First
I'm looking for a good single user source control solution.
Vault vs Git(hub) vs SVN
From what I've read deployment should happen FROM the source control server, not separately from VS, right? Can Web Deploy be used FROM a source control server?
What would be the best, most cost effective, simplest, easiest Source Control solution? I used SVN a few years ago and it was pretty clunky.
Visual Studio integration is preferred.
There seem to be mixed opinions on how suitable Github would be (very little integration with VS 2012 Express I think?!).
Cloud option would be good to have. Is there a cloud solution that can automatically deploy direct to production server?
(I guess I'm talking about Constant Integration here - though I have zero experience with it, the principle seems like a good one).
Git can now integrate with Visual Studio:
Download here:
http://visualstudiogallery.msdn.microsoft.com/abafc7d6-dcaa-40f4-8a5e-d6724bdb980c
Getting Started guide here:
http://blogs.msdn.com/b/visualstudioalm/archive/2013/01/30/getting-started-with-git-in-visual-studio-and-team-foundation-service.aspx
GIT is your best option.
Integrates with Visual Studio 2012 using the Visual Studio Tools for Git
There are some great Graphical Clients like Github for Windows and Source Tree
Microsoft Team Foundation Server now integrates with Git for automatic deployments with just a Git Push. Scott Hanselman has some great blog posts on how to achieve this here, here and here
Anyways I would strongly recommend taking the free tutorial on Git by Code School http://try.github.io/ (don't be afraid of the command line :P)
VS Express won't support plug-ins, so integration with VS would not be possible AFAIK. Try Tortoise/SVN which integrates with Windows Explorer instead.
For VS 2012 you could use the express edition of Microsoft TFS, which includes version control and a couple other nice perks, more aimed at team dev though.

How can I open a Visual Web Developer 2010 Express in Visual Studio 2005

Can anybody tell me how to open a VWD 2010 Express project in Visual Studio 2005?
Don't open the *.sln file because that simply won't work.
Easiest way I can think of is to create a new project in Visual Studio 2005, then using "Add Existing File" (R-Click the Project) add all the files that should be there. Bear in mind you may need to create multiple projects to accomadate the previous structure.
You can see which projects you need to add by checking the solution's directory for .csproj/.vbproj files.
Note that the solution is incompatible for a reason, there are likely to be multiple issues whereby .Net 2 does not support the content of the likely .Net 4 code/config created in VWD2010.
It may be much easier for the person using VS05 to simply download VWD2010 Express, which is free.
Maybe this might help: Solution Converter
I used this tool for some conversions, but I haven't tried yet what you want to do so I can't tell you for sure if it'll work...
After exploring a lot about this i got same words from all and these suits as extract for them.
Easiest way is probably to create a new project in VS 2005, and use
the add existing item dialog to add the code to the project. I'd
suggest using 'Empty Project' as the project type, so you don't have a
lot of rubbish auto generated for you that you'll just delete anyway.
Follow these links and choose the way that you like to follow either using tools or some modification etc..
How to downgrade solution from Visual Studio 2010 to Visual Studio 2005?
Downgrade C# Project from visual studio 2010 to visual studio 2008
How to downgrade solution code upgraded to Visual Studio 2010
Downgrade a VS 2008 .sln or .csproj to VS 2005
How to downgrade from Visual Studio 2010 project to VS 2008 or VS 2005?
Web Developer 2010 Express is free tool from Microsoft that you can
download to work with same version.

Resources