EPiServer 6 Site Center breaks in Visual Studio Development Server - episerver

I've installed an EPiServer 6 site locally and it is running fine in IIS, but when I open it as a solution in Visual Studio 2008 and run it via the built in development server, the site center dashboard page doesn't work, I get a 404 error.
I guess there is some configuration in IIS that needs to be set up in Visual Studio? Has anyone figured this out already?

Do you have ASP.NET MVC 1 installed?

I think the problem was that I used the EPiServer Deployment Centre to create a website in IIS7, which created an web.config file customised for IIS7. So when I tried to run the website from the Visual Studio development server (which behaves like IIS6), the web.config file was not compatible.
I created a new site using the Visual Studio EPiServer Project template, which created a website which worked when run through the Visual Studio development server.

Related

How to create an installer for a Visual Studio Express 2013 Desktop project

I am using Visual Studio 2013 Express for Desktop and SQL server, and I want to know
how to make an installer for a WinForm application that I developed.
where I have to put the files that the software needs to do its job. These files are images, databases, etc.
Any help would be appreciated. (sorry for my english)
First you need to download installer project extension from this link
Then follow the step by step guide that how to select step project template and add files.

How to create set up files for wpf application

How can I create set up file for WPF application ? I'm new to WPF applications and I don't have any idea about initializing this.Please help me !!
I advise you to use InnoSetup. It's a powerfull tools to make setup-wizard for all projects. You can create it easyly. And more features are available with it (icons file, registry management, associate file extension with application, desktop and start menu windows entry, and much more...)
I suggest you to go through below link if you are using VS 2010 and above-
CREATE SETUP AND DEPLOYMENT OF WPF APPLICATION STEP BY STEP WITH VISUAL STUDIO 2012
You need InstallShield packaging software to after Visual Studio 2008.
It will create a template to create deployment project, but you can
get the Visual Studio Installer Projects in VS 2010 and above , you
need to install the Visual Studio Installer Extension from the Visual
Studio Extension Gallery - Microsoft Visual Studio Installer
Projects
If you are using VS 2008 then it already have template to create setup project your WPF application. Just follow the below link to know that How use Setup Project..
Create Setup and Deployment of WPF Application Step by Step
#Hana's answer showing screenshot of the Setup Project, which is used in the VS 2008 to create the deployment package.
References:
Create an application setup in visual studio 2013
Visual Studio 2013 Installer Projects – Hello World Installer
Using VS 2008:
Add a Setup and Deployment project to the Solution
As soon as you add the project it opens the File Explorer view.
add Program File's Folder to our Setup project
add Primary output and other dependencies to Application Folder.
Select as displayed above.
Now we would add A folder to the Program Files Folder.
Now add the same as you did for the Application Folder.
add a Shortcut to User's Desktop.
Rebuild the Solution and then rebuild the Setup project.
Full help is here

Azure Angularjs Website + Nancyfx + SQL Databases deployment strategies

I have deployed an Website built with angularjs and a Web Service Running Nancyfx framework rather than the "suggested" Web Api. I also use 2 SQL Databases.
I did this from Visual Studio where I have my project running. However the app (still in development) was developed locally on my mac and then just copied in visual studio.
Since I would be working with a friend of mine on it (who also uses mac) and we already have it on bitbucket with Git (my local version) I was wondering if it was possible to 'Set up deployment from source control' but only for the "website" part, meaning the angularjs. The web service needs to obviously be deployed from Visual Studio (I'm the only one working on that part).
Is there any way to achieve this? If I set up deployment from source control and then publish to the website from visual studio, would this override the existing version and current deployment last updated from Git? will it get denied publishing since it's set up from Git?
I am not sure how to better approach this.
The dirty way would be to set git for me and my friend on my local "app" folder of my Visual Studio solution so that I get his changes and then it's my job to publish it to azure via Visual Studio.
Turned out that what i needed is exactly this: Publish WebAPI and MVC projects to same Azure Web Site?
I therefore split my webservice (API) project so it's by itself and published that to mywebsite/api while my app resides on mywebsite/app so that I can publish my webservice changes from visual studio without problems, and also publish the changes to my angularjs app via git.
I haven't encountered any downside atm of doing this but it seems this is the best approach.

sharepoint silverlight web part does not work on server

I've developed a Lync Silverlight application and it is working on my local machine. Then I needed to add this Silverlight to a Sharepoint site, thus i used Silverlight web part. It is OK on my local Sharepoint site but when i install it to server i could not see the Silverlight and not getting error.
I am using web service on my Silverlight application. I check that server can access to web services. My development environment is Visual Studio 2010 and Lync Server 2010. Also I am using Sharepoint 2010.
Here is what i tried for the solution:
Check the whether IIS is configured for xap - OK
I tried to install xap file through Sharepoint module, it did not work.
I tried to use a visual web part, it did not work.
I tried to embed xap file to an HTML page for debugging, there was no error.
Now i am stuck. Any suggestion will be appreciated.
Have you cross-verify with which Silverlight sdk version you have developed your silverlight application.
And server is having that version installed?
if it's working fine with your local server then it also works fine with another server.
regards.

Visual Studio ASP Development Server and PHP

Hi all I am currently looking into developing a Silverlight app which needs access to PHP scripts. Visual Studio is launching the ASP Development Server but does not support PHP script handling. Is there a way that I can configure the development server to accept or PHP or make visual studio develop from own local Apache server that can support PHP.
Thanks for any help you can provide.
Download the Web Platform Installer and install IIS Express, which is a lightweight and stand-alone edition of IIS that works as a replacement for the development server. Most likely you can install a PHP module for it to allow it to run PHP scripts (this is as far as I can remember also available in the Web Platform Installer).

Resources