November Happy Hour will be moved to Thursday December 5th.

Per Bjurström
May 13, 2014
  6472
(5 votes)

New version of Visual Studio extension available

A few weeks ago we released an update to the Visual Studio extension to create new sites without using Deployment Center. With that update we made it possible to create new sites configured with all the required NuGet packages, much like how ASP.NET projects are working in Visual Studio.

Today we are releasing another update to include the Alloy demo sites in the Visual Studio extension, both the MVC and the WebForms version. 

We  combined the project templates to a single option in the “New Project” dialog to avoid having too many combinations and alternatives:

image

 

Instead we show an options dialog where you can select project templates, and a new option to add the built-in search capability (the EPiServer.Search NuGet package).

image

 

A nice aspect for sites created based on the Alloy templates is that you get custom namespaces which was not previously possible:

image

 

Another requested feature was the possibility to use some item templates in class libraries so we added that feature as well:

image

 

How do I download this update?

Under Tools –> “Extensions and updates” inside Visual Studio 2012 or 2013, search for “EPiServer” in the “Online”-section. Or the “Updates”-section if you already have it installed. As part of this release we are also in the process of updating the Getting Started guide and releasing an updated SDK. Release notes available on Visual Studio gallery.

May 13, 2014

Comments

Mari Jørgensen
Mari Jørgensen May 13, 2014 12:54 PM

Nice!

Eric
Eric May 13, 2014 02:23 PM

This looks great..Love your colors in vs btw ;)

Petter Klang
Petter Klang May 13, 2014 03:13 PM

Sweet!

So no magical access to EPiServer namespace with out using usings in the templates now! =)

janaka.podiralahamy
janaka.podiralahamy May 14, 2014 01:02 PM

i am getting this error,

Adding binding redirect for EPiServer.Packaging.CmdAPI .
Adding binding redirect for EPiServer.Packaging .
Processing C:\EPiServer\Sites\EPiServerSite2\packages\EPiServer.Packaging.3.1.4\tools\webconfig-baseline.config
Starting Deploy into EPiServerSite2
Processing C:\EPiServer\Sites\EPiServerSite2\packages\EPiServer.CMS.7.7.1\tools\EPiServer.Cms.Config
Copying EPiServerDB_2f65dbfa To EPiServerSite2 -> App_Data
Running C:\EPiServer\Sites\EPiServerSite2\packages\EPiServer.CMS.7.7.1\..\EPiServer.CMS.Core.7.7.1\tools\EPiServer.Cms.Core.sql into EPiServerDB_2f65dbfa
Database operation failed, will do retry 1 of 3 [Could not open new database 'EPiServerDB_2f65dbfa'. CREATE DATABASE is
aborted.
Cannot attach the file 'C:\EPiServer\Sites\EPiServerSite2\EPiServerSite2\App_Data\EPiServerDB_2f65dbfa.mdf' as database
'EPiServerDB_2f65dbfa'.
File activation failure. The physical file name "C:\EPiServer\Sites\EPiServerSite2\EPiServerSite2\App_Data\EPiServerDB_
2f65dbfa_log.ldf" may be incorrect.
The log cannot be rebuilt when the primary file is read-only.]


i used to be able to create a new site without a problem.

May 14, 2014 01:34 PM

Janaka, that error means SQL LocalDB which runs under your account does not have access to that path. Make sure you give explicit access to that folder ("C:\EPiServer") to the account you are logged in as. Since LocalDB does not run elevated it is not enough to give access to a group such as Administrators, you have to give explicit access to the account you are logged in as. You should get the same problem when creating an ordinary ASP.NET site with a local database and then hitting F5. If this does not solve the problem please contact support.

steve@vividgroup.com.au
steve@vividgroup.com.au Dec 27, 2014 08:21 AM

How do you create a new CMS7 project rather than default 7.5? Release notes suggest that Changes in 7.5.394.2 have Support for both 7.0 and 7.5 projects.

Jan 7, 2015 08:48 AM

The version you are refering to automatically picks the latest version so you would have to have only CMS 7 installed on the machine for it to work. It is probably easier to create a new web site using Deployment Center if you need to setup CMS 7.

Oct 5, 2015 11:52 AM

I installed 8.1.0.75 version of the plugin. 

When I created new project with alloytech content I am missing ldf file. There is only mdf file in AppData folder.

Is that ok ?

Also, I am getting the following error:

[Win32Exception (0x80004005): The system cannot find the file specified]

[SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 52 - Unable to locate a Local Database Runtime installation. Verify that SQL Server Express is properly installed and that the Local Database Runtime feature is enabled.)]
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +92

Please login to comment.
Latest blogs
Optimizely SaaS CMS + Coveo Search Page

Short on time but need a listing feature with filters, pagination, and sorting? Create a fully functional Coveo-powered search page driven by data...

Damian Smutek | Nov 21, 2024 | Syndicated blog

Optimizely SaaS CMS DAM Picker (Interim)

Simplify your Optimizely SaaS CMS workflow with the Interim DAM Picker Chrome extension. Seamlessly integrate your DAM system, streamlining asset...

Andy Blyth | Nov 21, 2024 | Syndicated blog

Optimizely CMS Roadmap

Explore Optimizely CMS's latest roadmap, packed with developer-focused updates. From SaaS speed to Visual Builder enhancements, developer tooling...

Andy Blyth | Nov 21, 2024 | Syndicated blog

Set Default Culture in Optimizely CMS 12

Take control over culture-specific operations like date and time formatting.

Tomas Hensrud Gulla | Nov 15, 2024 | Syndicated blog

I'm running Optimizely CMS on .NET 9!

It works 🎉

Tomas Hensrud Gulla | Nov 12, 2024 | Syndicated blog

Recraft's image generation with AI-Assistant for Optimizely

Recraft V3 model is outperforming all other models in the image generation space and we are happy to share: Recraft's new model is now available fo...

Luc Gosso (MVP) | Nov 8, 2024 | Syndicated blog