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

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.

Related

asp net VNext and older visual studio versions

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.

If I build a web application in ASP.NET, am I married to Visual Studio?

Doesn't Visual Studio generate all kinds of things when you build asp.net websites? I haven't used it in a while but back in webforms with a the dal and a bll, VS generated xml files and other things (don't remember what). And, while I technically could use notepad to fix it, VS seemed to be the only way to make sure things worked right.
How about today with MVC or something else asp.net? Am I tied to Visual Studio forever if I want to build websites? I liked in PHP that I can open up a file and it be simple to change things and it just works.
I am not knocking Visual Studio. It is a great product, but for those in my group that do not use it, it is a learning curve. Not asking for why asp.net is better than php or vice versa, just about visual studio.
EDIT: Is Visual Studio the BEST way to build asp.net projects?
You can use MonoDevelop, Webmatrix, Visual Studio Express but i suggest SharpDevelop, its open source.
sharpDevelop (short for SharpDevelop) is a free IDE for C#, VB.NET and Boo projects on Microsoft's .NET platform. It is open-source, and you can download both sourcecode and executables from this site. In addition, you can find the latest information and changes on #develop, as well as get in touch with the team in the forum.
More Information
SharpDevelop Website
MonoDevelop
Webmatrix
Visual Studio Express
No, you can build with MSBuild from command line, just simple msbuild.exe app.sln
You can also use MonoDevelop, which will run on Windows/Mac/Linux.
You could use Microsoft WebMatrix, which is free and aims to simplify the web development process. Another alternative is MonoDevelop, which is an open source IDE for multiple platforms.

Load testing an ASP.NET web site

I want to load test an ASP.NET web service. I have Visual Studio 2008 Professional Edition and Visual Studio 2010.
Can either one of these products facilitate load testing? I can't seem to find anything and all Google returns is higher end editions of Visual Studio.
If not, what are some of the alternatives.
Or better yet, is there a product where I can feed it an IIS log and it will essentially replay it?
There is a free Microsoft load testing tool called WCAT. It is a command-line HTTP load generator that replays a test case script. To avoid creating the script manually, you can record your test case in Fiddler and then generate scrip using WCAT Fiddler Extension. This blog has a step-by-step instruction, which I tested, and it works.
On your question about replaying IIS log: check this source. It outlines how to generate WCAT script by querying IIS log using Log Parser. I did not test it though.
Is there a cheaper way to do load testing than upgrading to Visual Studio 2010 Ultimate
and also there was a tool called "MICROSOFT WEB APPLICATION STRESS TOOL" but i couldnt find its download apperantely MS removed it from its official page. check this forum for download link http://forums.iis.net/t/1161284.aspx for usage http://www.west-wind.com/presentations/webstress/webstress.htm
The Microsoft Visual Studio Team System 2008 Test Edition would also give you access to these tools. Unfortunately neither of the tools you mention include any load testing capability.
You may be able to get your licence for 2008 Professional edition changed to Test, but I doubt it now.
Here are a couple of other questions with answers that may help choose a tool.
stress-and-performance-test-on-asp-net-app
best-tool-for-performance-testing-asp-net
how-to-set-up-a-load-stress-test-for-a-web-site

ASP.NET Stress Testing

Is there a way to test an application where you simulate a hundred different clients connecting to a IIS server and asking the same data? At the customer where our project is running they have 400 computers and they often do stress tests with all computers. I on the other hand have only got my laptop... (and a development server).
(In my case the data is asked through a WebORB Gateway).
HP (formerly Mercury) LoadRunner or Performance Center
Visual Studio Application Center Test (Enterprise Editions only?)
Microsoft Web Application Stress Tool (aka WAST, aka "Homer"; predecessor to Application Center Test)
RadView WebLoad
ab is a tool that was designed for Apache, but you can use it with IIS.
After surveying a lot of open source and paid tools, I found the most success with Microsoft's Visual Studio 2008 Team Suite Test Edition (soon to be part of Visual Studio 2010 Ultimate). It has strong stress testing functionality. Microsoft's free application for stress-testing, WCAT is underpowered and buggy, but the full blown Test Edition goes up against products like LoadRunner but is easier to use, better-integrated with VS/ASP.NET and for much less money per virtual user.
Have a look at StresStimulus.
It integrates very well with Fiddler. The setup and usage is very smooth and it provides a lot of functionality and configuration. My best found when googling for a Web Load Test solution. Fiddler btw is a great tool.
Microsoft has a solution that comes with Visual Studio 2013 Ultimate Edition
see the links below :
Updated Link : Stress Test
Trty this tool , i've tested my website seems to work well > x0Bench

Visual Web Developer Express and .NET, et al

I'm coming from the open source world, and interested in giving ASP.NET a spin. But I'm having a little trouble separating the tools from the platform itself in regards to the licensing. I've downloaded Visual Web Developer 2008 Express, but not sure how different this is from one of the full-featured Visual Studio licenses -- and whether or not my Express license will prevent me from using all the features of ASP.NET.
Is a Visual Studio license just an IDE, or does it include pieces of .NET not available to the Express license? What about the other tools like IIS and SQL Server?
Thanks.
All of .net is available in the .net SDK, so in theory you will not need Visual Studio at all.
Now, there are some things that Express will not do. For example, the Database Designer is not very comprehensive and adding different remote databases is not or only very hardly possible. Still, in code you can connect to everything.
There is also no Remote Debugger, no support for creating Setup Files (well, that does not apply to ASP.net anyway), no real Publish Web Site Feature (although that can be added manually as it's just a Frontend for a SDK tool), no integrated Unit testing (and Microsoft loves to threaten people who add it), etc.
For a full comparison, see here:
Visual Studio 2008 Editions
But as said: Functionality of .net is all in the SDK, Visual Studio is just making it a bit easier to work with.
Visual Studio is just an IDE, you can do all your .NET development with the SDK and notepad if you choose. In fact there is something to be said for learning it that way so you understand better how the pieces fit together!
Microsoft have a version comparison matrix available so you can see exactly what is included each version.
IIS is a Windows component and considered part of the OS, there is nothing else to buy.
SQL Server comes in many flavours, SQL EXpress is free to use and whilst limited compared to the versions you pay for, it is more than enough to get started with ASP.Net
Visual Studio is the IDE and does not include the platform.
IIS and SQL Server are separate products. IIS is available as part of the windows install and the version is different depending on what version of Windows you are using.
SQL Server also has an express product which is not as full featured as the Full versions of SQL Server, yet it is still rather valuable and useful especially for learning purposes.
You can learn a lot from the free tutorials found on asp.net.
Visual Studio is just the IDE. You could theoretically create every file in Notepad and compile manually with just the .net framework.
IIS is an operating system feature, and SQL Server has different flavors with different capabilites.
SharpDevelop is a Open Source IDE for C# and VB.net

Resources