Yet Another Web Framework
Shopping Cart
LoginLogin
  • User
  • Documentation
    • News
      News
      Upcoming Features
      Upcoming Features
      YetaWF Documentation
      YetaWF Documentation
  • Blog
  • Demos
    • Windows Hosted
    • Linux Hosted
  • Store
Login
Slider
post

An open source
web framework/CMS

ASP.NET Core MVC
and ASP.NET 4

  • Index
  • Search
(None)
  • What is YetaWF?
  • YetaWF Philosophy
  • Features
    • Unified Page Sets (Single Page Application)
    • Static Pages
    • Content Delivery Network Support
    • Web Farm/Web Garden Support
    • Site Map
    • Logging
    • Visitor Logging
      • Click Tracking
  • Using YetaWF
    • Superuser
    • Site Edit Mode
    • Control Panel
    • Adding A New User
    • Adding A New Site
    • Authorization
    • Authentication
    • Page Templates
    • National Language Support
    • Site Templates
    • Module Reference
    • Customizing Files
    • Variable Substitution
    • AppSettings.json
    • MimeSettings.json
  • Installing YetaWF
    • Installing YetaWF From The GitHub Repository
    • Installing YetaWF For ASP.NET Core (Linux)
    • Installing YetaWF For ASP.NET Core (Windows)
    • Installing YetaWF For ASP.NET 4 (Windows)
    • Installing YetaWF Tools & Templates
    • YetaWF On Docker
    • Installing IIS
    • Nuget Package Restore
  • Upgrading YetaWF
    • Upgrading In Development
  • Deploying YetaWF
    • DeploySite Utility
      • Yaml File
      • Deploying To A Folder
      • Deploying To A ZIP File
      • Deploying To A Server (FTP)
      • Deploying To A Server (FTP, Blue/Green)
      • IIS Proxy (Blue/Green Deploy)
    • CopySite Utility (Deprecated)
      • Shared Hosting
      • Private Hosting
      • Azure Web App
      • Blue/Green Deployment
  • Tools
    • DeploySite Utility
    • Sites Status Check
  • Development
    • YetaWF on GitHub
    • New Projects, Packages, Modules and Skins
      • Create A New Skin
        • Skin Definition
    • Site Structure
    • Property Lists
    • Published ModuleGuid
    • Grid Layout File
    • CSS Addons
      • Styling A Module
      • CSS Classes
    • Javascript Addons
    • ModuleAction
      • Sprites
    • Build Pipeline
    • Data Providers
      • Implementing an Application Data Provider
      • Low-Level Data Providers
        • YetaWF.DataProvider.File
        • YetaWF.DataProvider.SQL
        • YetaWF.Caching Package
      • Core Data Providers
        • YetaWF.Core.IO.Caching
        • YetaWF.Core.IO.DataFilesProvider
        • YetaWF.Core.IO.FileIO<TObj>
        • YetaWF.Core.IO.FileSystem
        • YetaWF.Core.IO.SessionStateIO<TObj>
      • Module Data Providers
        • YetaWF.DataProvider.ModuleDefinition
      • Localization Data Providers
        • YetaWF.DataProvider.Localization
    • Http Handlers
      • CSS Http Handler
      • Image Http Handler
      • Webp Http Handler
    • Development Tools
    • Testing Tools
    • Components
      • Creating Your Own Components
      • YetaWF Components
        • ActionIcons
        • Boolean
        • CountryISO3166
        • Currency
        • Date
        • DateTime
        • Decimal
        • DropDownList
        • DropDownListInt
        • Email
        • Enum
        • FileSize
        • FloatValue
        • FileUpload
        • Grid
        • Guid
        • Hidden
        • Image
        • IntValue, 2, 4, 6
        • IPAddress
        • JQueryUISkin
        • KendoUISkin
        • LanguageId
        • ListOfStrings
        • LongValue
        • ModuleAction
        • ModuleActions
        • ModuleSelection
        • ModuleSkins
        • MultiString, 10, 20, 40, 80
        • PageDefinitions
        • PageSkin
        • PaneSelection
        • Password20
        • PopupSkin
        • PropertyList
        • PropertyListTabbed
        • Raw
        • RawBool
        • RawInt
        • Recaptcha
        • RecaptchaV2
        • ReferencedModules
        • Scroller
        • SMTPServer
        • String
        • StringTT
        • Text, 10, 20, 40, 80
        • TextArea
        • TextAreaSimple
        • TimeSpan
        • TimeZone
        • Url
        • USState
        • YetaWF_Blog_Category
        • YetaWF_Blog_Gravatar
        • YetaWF_CurrencyConverter_Country
        • YetaWF_Identity_Email
        • YetaWF_Identity_LoginUsers
        • YetaWF_Identity_ResourceRoles
        • YetaWF_Identity_ResourceUsers
        • YetaWF_Identity_RoleId
        • YetaWF_Identity_UserId
        • YetaWF_Identity_UserRoles
        • YetaWF_ImageRepository_FlashSelection
        • YetaWF_ImageRepository_ImageSelection
        • YetaWF_Menus_Menu
  • Troubleshooting
    • Defeat Browser/Server Caching
    • Panic Mode - I Can't Log In
    • Browser Lag
    • IntelliSense Isn't Working
    • Visual Studio Templates
  • Packages
    • Softelvdm.IVR Package
    • Softelvdm.TwilioProcessor Package
    • YetaWF.AddThis Package
    • YetaWF.Backups Package
    • YetaWF.Basics Package
    • YetaWF.Blog Package
    • YetaWF.BootstrapCarousel Package
    • YetaWF.BootstrapSkin Package
    • YetaWF.Caching Package
    • YetaWF.ComponentsHTML Package
    • YetaWF.Core Package
    • YetaWF.Core.ConsoleStartup
    • YetaWF.Core.CssHttpHandler
    • YetaWF.Core.GeoLocation
    • YetaWF.Core.ImageHttpHandler
    • YetaWF.Core.WebAPIStartup
    • YetaWF.Core.WebpHttpHandler
    • YetaWF.Core.WebStartup
    • YetaWF.CurrencyConverter Package
    • YetaWF.Dashboard Package
    • YetaWF.DataProvider.File
    • YetaWF.DataProvider.Localization
    • YetaWF.DataProvider.ModuleDefinition
    • YetaWF.DataProvider.SQL
    • YetaWF.DefaultSkin Package
    • YetaWF.DevTests Package
    • YetaWF.Feed Package
    • YetaWF.Feedback Package
    • YetaWF.Identity Package
    • YetaWF.IFrame Package
    • YetaWF.ImageRepository Package
    • YetaWF.KeepAlive Package
    • YetaWF.Languages Package
    • YetaWF.Lightbox Package
    • YetaWF.Logging Package
    • YetaWF.LoggingDataProvider Package
    • YetaWF.Menus Package
    • YetaWF.ModuleEdit Package
    • YetaWF.Modules Package
    • YetaWF.Packages Package
    • YetaWF.PageEar Package
    • YetaWF.PageEdit Package
    • YetaWF.Pages Package
    • YetaWF.Panels Package
    • YetaWF.Scheduler Package
    • YetaWF.Search Package
    • YetaWF.Security Package
    • YetaWF.SiteProperties Package
    • YetaWF.Sites
    • YetaWF.StatusCheck
    • YetaWF.SyntaxHighlighter Package
    • YetaWF.TawkTo Package
    • YetaWF.Text Package
    • YetaWF.TinyLanguage Package
    • YetaWF.TinyLogin Package
    • YetaWF.UserProfile Package
    • YetaWF.UserSettings Package
    • YetaWF.Visitors Package
  • API Documentation
    • CoreComponents
      • YetaWF.Core
      • YetaWF.Core.ConsoleStartup
      • YetaWF.Core.CssHttpHandler
      • YetaWF.Core.GeoLocation
      • YetaWF.Core.ImageHttpHandler
      • YetaWF.Core.WebAPIStartup
      • YetaWF.Core.WebpHttpHandler
      • YetaWF.Core.WebStartup
    • DataProviders
      • YetaWF.Caching Package
      • YetaWF.DataProvider.File
      • YetaWF.DataProvider.Localization
      • YetaWF.DataProvider.ModuleDefinition
      • YetaWF.DataProvider.SQL
    • Packages
      • YetaWF.BootstrapSkin Package
      • YetaWF.Caching Package
      • YetaWF.ComponentsHTML Package
      • YetaWF.DefaultSkin Package
  • License
    • YetaWF License
    • Third Party Products
      • ComponentsHTML Addons
      • Core Addons
      • Module Addons

YetaWF Documentation

Display
Print

Deploying To A Folder

Overview

Deploying to a local folder is normally done to create a complete site locally, which can then be deployed to a server using other tools. The DeploySite utility is necessary because Visual Studio Publish and dotnet publish are insufficient to deploy a YetaWF site. YetaWF uses symlinks heavily which can't be deployed by other tools.

Prepare Yaml File

A yaml file is used to define all the deployment attributes. The following is an example of a yaml file used to deploy to a local folder (named C:\Temp\FinalFolder in this example).

ASP.NET Core

Deploy:
  Type: folder
  To: C:\Temp\FinalFolder
  BaseFolder: C:\Development\YetaWF
  From: C:\Temp\PublishOutput
  ConfigParm: Windows.Prod

ASP.NET

Deploy:
  Type: folder
  To: C:\Temp\FinalFolder
  BaseFolder: C:\Development\YetaWF
  ConfigParm: Windows.Prod

The DeploySite yaml file has many more options, but these are sufficient to create a final folder containing the complete site. For information about available options see the topic DeploySite yaml File.

Run Visual Studio Publish or dotnet publish

ASP.NET Core only: The first step in deploying a site is to run Visual Studio Publish or dotnet publish. In this example, the solution file is located at C:\Development\YetaWF and the published (partial) site is created at C:\Temp\PublishOutput. This step is not necessary when using ASP.NET.

Run DeploySite

Softelvdm.DeploySite Backup yourfile.yaml

The DeploySite utility takes your partial deployed site (from C:\Temp\PublishOutput merged with C:\Development\YetaWF) and adds all JavaScript, CSS, config files, saving the result at C:\Temp\FinalFolder. This folder contains the complete website, which can now be deployed to a server using your favorite tool. Or you could simply copy the folder to the server.


Last Updated 11/09/2019 - (email)
© 2019 - Softel vdm, Inc. - YetaWF.com

YetaWF.com - © Copyright 2019 Softel vdm, Inc.

OnOn
OffOff