episerver

Episerver - Why BlockData doesn't implement IContent

心不动则不痛 提交于 2019-12-22 04:46:20
问题 Does anybody knows why BlockData class doesn't directly implement IContent? I know that during BlockData is being retrieve from database, proxy created by Castle implements IContent. If StackOverflow isn't suitable place for this kind of a question, please move it. 回答1: Johan Björnfot at EPiServer explains some of the details in this post. Excerpt: "In previous versions of CMS was pages (PageData) the only content type that the content repository (traditionally DataFactory) handled. In CMS7

EPiServer Development

旧街凉风 提交于 2019-12-20 23:23:58
问题 Aside from Episerver.com What other websites do people who develop using EPiServer use as development resources!? Been using coderesort.com but I find that it lacks examples of how to do stuff. Many thanks, J 回答1: Regarding missing examples on CodeResort, did you register and log in? It is running on Trac, which means all modules (committed to the hosted Subversion repository) is available with full source code, directly browsable. There is lots of code in there! See https://www.coderesort

Persisting values across multiple controller actions

风流意气都作罢 提交于 2019-12-20 00:47:15
问题 In my controller i have an ID to an object in a database, and multiple actions needs this id to access the object. This ID is fetched in the Index action and used to populate the view model. The way I get the ID is through an argument, which EPiServer (out CMS) passes the Index action, so I cant really get it anywhere else. My question is, is there any way to make this id accessible to my actions without the use a hidden field etc on the client side? Id like to avoid sending extra data as

Persisting values across multiple controller actions

空扰寡人 提交于 2019-12-20 00:46:34
问题 In my controller i have an ID to an object in a database, and multiple actions needs this id to access the object. This ID is fetched in the Index action and used to populate the view model. The way I get the ID is through an argument, which EPiServer (out CMS) passes the Index action, so I cant really get it anywhere else. My question is, is there any way to make this id accessible to my actions without the use a hidden field etc on the client side? Id like to avoid sending extra data as

How to move blobs from App_Data folder of episerver cms site to azure blob storage hosted in azure cloud

泪湿孤枕 提交于 2019-12-13 07:28:26
问题 How to move blobs stored in App_Data folder of episerver cms website to azure blob storage, hosted in azure cloud environment? 回答1: There is a blob converter package on NuGet which migrates blobs from disk to another provider, e.g. Azure blob storage. 来源: https://stackoverflow.com/questions/42533000/how-to-move-blobs-from-app-data-folder-of-episerver-cms-site-to-azure-blob-stora

Assembly has a higher version than referenced. EPI5 to EPI6

和自甴很熟 提交于 2019-12-11 23:41:45
问题 After a succesfull uppgrade from EPi5 to EPi6 i get this error Error 101 Assembly 'EPiServer.Web.WebControls, Version=6.0.530.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7' uses 'EPiServer, Version=6.0.530.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7' which has a higher version than referenced assembly 'EPiServer, Version=5.2.375.236, Culture=neutral, PublicKeyToken=8fe83dea738b45b7' c:\EPiServer\Sites\UppgraderaSiteName\SiteName.Web\bin\EPiServer.Web.WebControls.dll SiteName.Web

Episerver form container render issue

限于喜欢 提交于 2019-12-11 07:18:34
问题 I am trying to add the elements to episerver form container. I get this in the preview window You can see the text is behind the add/drop control. I am using plain form and no additional css is being used. Anyone knows how to solve it? 来源: https://stackoverflow.com/questions/49171865/episerver-form-container-render-issue

Forward specific urls on same domain to different servers

拜拜、爱过 提交于 2019-12-11 07:12:03
问题 During a rollout of a large site (IIS, .NET, EPiServer) with multiple markets we want to forward markets to the new server when the market has been added to the new web platform, but we still want to use the same domain. www.customer.com/marketA -> old server, ip 1.1.1.1 www.customer.com/marketB -> old server, ip 1.1.1.1 www.customer.com/marketC -> new server, ip 2.2.2.2 What is best practice for this? Should we add a load balancer in front of the servers that based on the url sends the

Does the current E2652 EpiServer Developer Masterclass certification exam only ask questions about EPiServer CMS 6 R2?

↘锁芯ラ 提交于 2019-12-11 06:07:30
问题 I have had look around online for preparation materials for the E2652 EpiServer Developer Masterclass certification exam. I genuinely do not have much to go on at present. I found this old link but much of might not apply to E2652 EpiServer Developer Masterclass certification exam: Episerver 5 exam tips. However, EPiServer has moved on since CMS 5: there are a few changes since CMS 5, such as MVC and Dynamic Data Store. Importantly, I do not even know of which version(s) of EPiServer CMS it

Setting up a new EPiServer 6 project with source control

旧街凉风 提交于 2019-12-11 05:46:48
问题 I want to end up with a single VS project/solution that I can check in to source control, that any other developer in the office can simply check out and run, and that I can deploy without having to install EPiServer program files on every web server. I have just used the EPiServer 6 Deployment center (part of the official EPiServer 6 download). That gave me an EPiServer templates project, website setup in IIS, and a database installed. The first issue is that when I change the VS project