Vulnerability in EPiServer.Forms

Try our conversational search powered by Generative AI!

Per Bjurström
May 13, 2014
(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:



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).



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



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



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


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


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


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

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
Cannot attach the file 'C:\EPiServer\Sites\EPiServerSite2\EPiServerSite2\App_Data\EPiServerDB_2f65dbfa.mdf' as database
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. 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 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
Stop Managing Humans in Your CMS

Too many times, a content management system becomes a people management system. Meaning, an organization uses the CMS to manage all the information...

Deane Barker | Nov 30, 2023

A day in the life of an Optimizely Developer - Optimizely CMS 12: The advantages and considerations when exploring an upgrade

GRAHAM CARR - LEAD .NET DEVELOPER, 28 Nov 2023 In 2022, Optimizely released CMS 12 as part of its ongoing evolution of the platform to help provide...

Graham Carr | Nov 28, 2023

A day in the life of an Optimizely Developer - OptiUKNorth Meetup January 2024

It's time for another UK North Optimizely meet up! After the success of the last one, Ibrar Hussain (26) and Paul Gruffydd (Kin + Carta) will be...

Graham Carr | Nov 28, 2023

Publish content to Optimizely CMS using a custom GPT from OpenAI 🤖

Do you find the traditional editor interface complicated and cluttered? Would you like an editorial AI assistant you can chat with? You can!

Tomas Hensrud Gulla | Nov 28, 2023 | Syndicated blog