Pro Nuget by Maarten Balliauw & Xavier Decoster

Pro Nuget by Maarten Balliauw & Xavier Decoster

Author:Maarten Balliauw & Xavier Decoster [Balliauw, Maarten & Decoster, Xavier]
Language: eng
Format: epub
Tags: Computers, Programming Languages, Programming, Microsoft Programming, C#
ISBN: 9781430241911
Publisher: Apress
Published: 2012-03-15T04:00:00+00:00


Build and Configure

We now have set up the web server and database storage for our advanced NuGet Gallery, but we still can't run the application. We first need to make sure that our web application is aware of the location you choose for data storage, both for the frontend and backend services.

Let's start with the backend. If you've used SQL Server and deployed the frontend to http://localhost:80, you don't have to change any application settings, because these defaults are supported out of the box. Otherwise, you'll have to manually adjust the Config\AppSettings.config.default file to reflect your needs:

Make sure the FrontendWebsiteRoot key has a value equal to the URL (including a trailing slash!) of your frontend deployment. In our case, we used http://localhost:80/, or http://localhost/ which is the default setting.

Make sure the MigratorProvider is set to either SqlServer when using SQL Server databases, or SqlServerCe for SQL Server CE databases.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.