How are we doing? Please help us improve Stack Overflow. Take our short survey

Questions tagged [episerver]

Episerver is a web content management system and e-commerce platform based on .NET.

episerver
Filter by
Sorted by
Tagged with
88 votes
4 answers
148k views

Correct way of using log4net (logger naming)

There are two ways of configuring and using log4net. First one is when I can configure my own appender and associated logger: <!-- language: xml --> <appender name="myLogAppender" type="...
Sly's user avatar
  • 15.1k
7 votes
1 answer
8k views

EpiServer - Add block to a content area programmatically

I have a content area which will have some blocks, some attributes of these blocks must be initialized with data from a SQL query, so in the controller I have something like this: foreach (ObjectType ...
rhernandez's user avatar
5 votes
2 answers
11k views

Diamonds with question marks

I'm getting these little diamonds with question marks in them in my HTML attributes when I present data from my database. I'm using EPiServer and a few custom properties. This is the information I've ...
Viktor Elofsson's user avatar
4 votes
2 answers
2k views

Persisting values across multiple controller actions

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 ...
ptf's user avatar
  • 3,270
3 votes
4 answers
4k views

Disable Visual Studio Web Server Directory Browsing

I'm using Visual Studio's built in web server to test and EPiServer applicaiton. When I have the app running in IIS, if I hit the root of the virtual directory, EPiServer will take over and server ...
mnield's user avatar
  • 1,859
10 votes
9 answers
2k views

EPiServer Development

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 ...
betelgeuce's user avatar
9 votes
3 answers
3k views

Episerver - Why BlockData doesn't implement IContent

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 ...
gringo_dave's user avatar
  • 1,382
5 votes
4 answers
20k views

How can I find number of visitors/users at my site (IIS7/asp.net) at any given moment?

I need to display how many users are browsing my site. The site is running on iis7, and we are using asp.net 3.5. Is the number of active sessions a good way to go? The number does not need to be ...
oekstrem's user avatar
  • 477
5 votes
1 answer
1k views

Stop EPiServer clearing output cache on publish

This isn't a question I've seen around, usually it's 'EPiServer isn't clearing the output cache'. I'm trying to achieve the opposite. Each time a page is published the entire cache is dropped and as ...
Daniel Pickford's user avatar
5 votes
4 answers
8k views

Allow custom HTML attributes in TinyMCE in EPiServer

EPiServer only: Our clients are trying to add custom attributes to a div-tag in the TinyMCE editor - they switch to HTML mode, makes the changes and save the page. Then the attributes are removed. ...
Jakob Gade's user avatar
  • 12.3k
3 votes
1 answer
3k views

EpiServer - How can I find out if a block is being used on any published page?

I have an episerver project that has lots of blocks over time some of these blocks are no longer needed, is there a way to see if a created block is being used on any pages in my episerver website?
Ayo Adesina's user avatar
  • 2,267
3 votes
5 answers
5k views

Does anyone have any EPiServer Exam Tips? [closed]

Myself and some colleagues have just been told that we are all taking the EPiServer CMS certification exam on Friday. Having done some research on the web it does sound like a challenging exam - I've ...
gilles27's user avatar
  • 2,231
3 votes
2 answers
3k views

Truncating Xhtmlstring in Episerver

I'd need to get a html friendly version of a truncated Xhtmlstring as the tag endings might get clipped when truncated. Any ideas on how to achieve this? I've thought of just getting rid of all tags ...
mec's user avatar
  • 77
3 votes
3 answers
2k views

What are the steps to creating a new EPiServer Project

How do you go about setting up a new EPiServer website? I can't seem to get from an empty visual studio project to a deployed website without having to fix all kinds of file path and referencing ...
Johnathan Sewell's user avatar
2 votes
2 answers
1k views

How to access a JSON file as an endpoint?

I am working on a .NET application combined with Optimizely CMS. I would like to access a JSON file like: www.abc.com/.well-known/assetlinks.json I can access locally like: https://localhost:44300/....
Rashed Hossen's user avatar
2 votes
2 answers
2k views

Using Recaptcha with EPiServer XForms

Does any one have experiense of using Recaptcha with XForms in EPiServer? I don't know where to put the Recaptcha control and how to make it work. The sample code for ASP.NET is the code below. Where ...
Andy's user avatar
  • 503
1 vote
2 answers
2k views

Getting particular property value from particular page in episerver

I need to get the property value for user given property of user given page in episerver... for that i write a method.. public string GetContent(string pageName, string propertyName) { ...
Mohan Raj's user avatar
1 vote
0 answers
217 views

Episerver form container render issue

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 ...
mohsinali1317's user avatar
1 vote
1 answer
757 views

User can't select SVG in Episerver CMS (other image types are supported)

I am unable to get SVG images to show up in the "Select Image" box when a CMS user clicks the ellipse button for an image property on a page or block in Episerver. (Episerver 10.10.5.0) The SVG ...
southtexasmike's user avatar
1 vote
1 answer
2k views

Forward specific urls on same domain to different servers

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 ...
Flatron's user avatar
  • 687
1 vote
0 answers
524 views

How to add a working aws S3 virtualpath provider for EpiServer pagefiles?

I'm running a EpiServer project where i want to take use of Amazon S3, to host images, etc... there will be alot of images that will exist from the pagefiles directory. I've downloaded NuGet for ...
Evi's user avatar
  • 91
1 vote
3 answers
2k views

How to differentiate if the current page is an EPiServer Page or not

I need to know if the current page is an EpiServer page or not. I need to know if the current page is the start page, I am using the following line of code. if(PageReference.StartPage.ID == ...
tif's user avatar
  • 1,109
1 vote
1 answer
569 views

Setting up a new EPiServer 6 project with source control

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 ...
Johnathan Sewell's user avatar
1 vote
2 answers
617 views

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

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 ...
Phil C's user avatar
  • 3,717
0 votes
0 answers
197 views

Show submitted form records on page in Episerver

I have created a form and submitted, but I would like to show these records on an Episerver page. I tried but it is not working. Screenshot of form Screenshot of submitted records in edit mode
Rajesh Sawant's user avatar
0 votes
1 answer
428 views

ConfigureCmsDefault() not found in IHostBuilder - Optimizely (EPiServer) CMS 12

I had Optimizely (formerly Episerver) CMS version 12.3.1 in a project and I updated it to 12.4.0. Now I'm getting the following error in Program.cs when trying to add the .ConfigureCmsDefault() call. ...
Nimesh Anuradha's user avatar
0 votes
1 answer
2k views

Assembly has a higher version than referenced. EPI5 to EPI6

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 '...
Daarwin's user avatar
  • 2,934
0 votes
1 answer
472 views

EpiServer Web service 6.0, problems authenticating when using webservice

I'm doing a console applications that will tell the EpiServer webservice to add a page. My problem is that I can't get the autentication to work. I've created a webservice user in Epi backofice. I can ...
Andreas's user avatar
  • 2,346
0 votes
1 answer
988 views

Episerver Forms retrieve submitted records

In episerver CMS, I have installed Alloy sample site, "Episerver.forms" and then created a form. On the view mode, I have browsed the form and submitted the form after entering the values. I could see ...
Vijeeshkumar vofox's user avatar
0 votes
1 answer
1k views

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

How to move blobs stored in App_Data folder of episerver cms website to azure blob storage, hosted in azure cloud environment?
Manjunath's user avatar
-2 votes
2 answers
4k views

How to get the property value of the page which is requested by user in episerver cms

How to get the property value of the page which is requested by user in episerver cms 10... public string GetContent(string pageType, string propertyName) { Type type = Type.GetType(pageType); //...
Mohan Raj's user avatar