Visual Studio 2013 RTM was released for MSDN Subscribers today. If you would like to download any of the versions, you can go here. Here is 20 of the new features.
TFS Support for Epics
A new team explorer
Cloud Load Testing
Git integration: Can use Git as your source repository
Copy the output of a build to a server – Already in the Team Foundation Service, now in Team Foundation Server
Improved Diagnostics for build
Default build process template
Post and Pre-Built Scripts (love this one personally)
Simplified Build process template
Pending Changes window is back
Coding indicators to show method dependencies
Coding indicators to show whether code changes break your tests
Some pieces of InRelease (recently purchased by Microsoft) integrated into TFS – more workflow (gates)
Team Room: Project chatter in one place
Roaming settings – allows you to have your settings go to any computer you use (excellent feature, much like settings in Windows 8 or 8.1)
Peek definition – no need to open a file to see its definition
Code Lens – see references when hovering over a method
Browser Link – Can refresh a browser inside Visual Studio when running/debugging an application
Blue Theme – Ho Hum
Feedback tools
As of two days ago (10/15/2013), you could also download SQL Server 2014 CTP 2. The link to download is here. My favorite new feature since CTP1 is the enhanced In-Memory OLTP, but it is still not as awesome as I would like for range operations, which, to me, is the feature that may make SQL Server 2014 a must have upgrade.
Deploying a DACPAC, video version of this blog entry
I am going to show three ways of deploying a database via SSDT created .dacpac files.
Deploying with Visual Studio
Deploying with SQL Server Management Studio
Deploying with SQLPackage.exe
The Solution and SSDT project
First, let’s look at the solution in Visual Studio 2010. This is a solution called Demo1 which comes from a course I am writing for Pluralsight on Behavior Driven Development, or BDD. The SSDT project is called emo1.HelloWorld.SSDT. In the SSDT project, you will see there are three tables.
If I look over at the /bin/Debug folder, you will see there is nothing here, as the project has not yet been built.
So I am going to right click on the project and choose Build.
Now you can see there are three files built, a DLL, a dacpac and a pdb. The imporatant one here is the dacpac, as it is what we need to deploy.
Deploying from SSDT in Visual Studio 2010
To do this, right click the Project Folder and choose publish
This brings up a dialog box. In this case I have not set the deployment server, so I will have to set that first.
I will click the Edit button and then choose my local server and change the database name to HelloWorld. I could also deploy to a database that already exists, if that is my choice.
I then click the OK button and then the Publish button.
After clicking Publish, I see the results in Visual Studio:
And I can go to SQL Management studio and right click the databases folder and choose Refresh.
We now see the database HelloWorld deployed.
Success on this one
Deploy with SQL Server Management Studio
You may wonder why you might want to deploy using SQL Server Management Studio. The simple answer is you can do this without having Visual Studio installed. A DBA can also use this tool for a database a developer is not allowed to install to.
To deploy it, I am going to right click the databases folder and choose Deploy Data Tier Application.
This opens up a wizard. We can ignore page 1 and click the Next button.
Now I will click the Browse button and find the DACPAC file.
I can then click the Open button on the Folder Dialog Box and the Next button on the Wizard. I then name the file and click the next button.
The next wizard screen gives a summary of the work, so I click the Next button and deploy the DAC.
Here are some screens of the DAC deploying. This should take about 30 seconds with this DAC.
If I right click the database folder and choose refresh.
We now see the database HelloWorld deployed.
Success on this one too
Deploy with SQLPackage.exe
You can also use the SQLPackage executable to install a dacpac. I have create a batch file that runs the following command: