Blog entries tagged with ASP.NET

PowerShell for EPiServer – cheat sheet – Part 2

by: Adam Najmanowicz (Cognifide)

  Most of this post is also based on the Microsoft’s Windows PowerShell Quick Reference however despite the sharing scripting runtimes the nature of the both shells differ considerably as described in the previous post: PowerShell for EPiServer –... [ Read full article ]

10 May 2011  0 Comments


Running EPiServer CMS 6 with ASP.NET 4

by: Allan Thræn

I finally found a second to install VS2010 and .NET 4 RTM on my laptop and I must say it’s looking good. Needless to say, the first thing I did was to open one of my EPiServer CMS 6 projects, imported it, changed the framework to .NET 4 and tried ... [ Read full article ]

28 May 2010  2 Comments


Access Denied in Temp folder when importing packages

by: Allan Thræn

At a course in the great state of Pennsylvania we just came across this intriguing problem: On one installation, whenever we tried to import .episerverdata packages it would complain with an error message indicating that access was denied when... [ Read full article ]

11 February 2010  3 Comments


Virtual Roles and Visitor Segmentation

by: Allan Thræn

I just extended a little on the Virtual Roles Sample Pack project on Codeplex after Joe came to me with a challenge: “I want to push a personalized message on my web site to everyone who is an EPiServer Certified Developer and who have visited pag... [ Read full article ]

15 January 2010  2 Comments


Building a Twitter Workflow

by: Allan Thræn

For a long time I’ve wanted to play more with Windows Workflow Foundation (WWF) in conjunction with EPiServer, and today I finally did  it. And luckily it turned out to be a lot less scary than I had imagined. First of all, I decided to check out ... [ Read full article ]

06 January 2010  3 Comments


Easy Enum property for EPiServer

by: Adam Najmanowicz (Cognifide)

One of the most frequently and eagerly used programming constructs of the Microsoft.Net Framework is Enum. There are several interesting features that make it very compelling to use to for all kinds of dropdowns and checklists: The bounds factor –... [ Read full article ]

26 December 2009  0 Comments


Using OpenID With EPiServer CMS

by: Allan Thræn

OpenID is an awesome idea. Imagine, having a single sign-on from whatever provider you choose, and using that to log in to all your favorite websites. Many sites already allows you to use them as OpenID providers and many more will support /consum... [ Read full article ]

03 September 2009  5 Comments


I am virtually in the role, dude

by: Allan Thræn

UPDATE 2009-11-02: This code for this project has now been moved to CodePlex . Sometimes I wonder if anyone else knows that special feeling. The feeling you have when fingers just start itching and you know you just have to get that great idea out... [ Read full article ]

03 September 2009  4 Comments


HTTP Error 500.19 - Internal Server Error

by: Allan Thræn

A couple of times I have now run into this wonderful error after setting up a new EPiServer CMS site on a newly installed machine. However, I don’t think it’s specific to EPiServer CMS – but can occur in any asp.net application. The error message... [ Read full article ]

03 September 2009  20 Comments


Finding the right Process ID to debug

by: Allan Thræn

For some reason my vista loves to have a bunch of  webserver worker processes (w3wp.exe) running all the time, which can make it quite tricky to determine which you want to attach to, when you use Visual Studio to debug your IIS EPiServer site. So... [ Read full article ]

02 September 2009  3 Comments


Role Based Contents

by: Allan Thræn

UPDATE 2009-11-02: This code for this project has now been moved to CodePlex .   Personalization is a thing that has been a lot on my mind lately. Everybody is talking about it – many people are doing it. I feel an in-depth blog post about this... [ Read full article ]

28 July 2009  0 Comments


Move over UpdatePanel, here comes unobtrusive JQuery that renders stateless Asp.Net user controls

by: Peter Sunna

Web controls, the good the bad and the ugly Web controls are one of the main features in Asp.Net and my absolute favorite is the simple but elegant Repeater. However, whereas some of the web controls may help you get up to speed quickly they also... [ Read full article ]

27 July 2009  3 Comments


EPiServer and ASP.NET AJAX

by: Ted Nyberg (Ted & Gustaf)

Script error after ASP.NET AJAX postback in EPiServer I had two seemingly identical EPiServer websites, each running EPiServer CMS 5 R2 SP1. However, on one of the websites a peculiar script error occured after the second postback in an ASP.NET AJ... [ Read full article ]

29 June 2009  2 Comments


Aggregating Feeds

by: Mats Hellström

I played around with the SyndicationFeed the other day and found that it was really useful in combination with the link collection property in EPiServer CMS. By using the trusty old friend LINQ you can aggregate the feeds, sort them and databind t... [ Read full article ]

12 June 2009  0 Comments


SoakIE – a Web Server Stress Tool with a twist

by: Adam Najmanowicz (Cognifide)

Last week or so ago a couple of friends in another project in Cognifide has run into a wall while trying to load test their website. the problem was as follows: The website is highly AJAX based – the page merely loads a stub in the initial request... [ Read full article ]

10 May 2009  0 Comments


SoakIE – a Web Server Stress Tool with a twist

by: Adam Najmanowicz (Cognifide)

Last week or so ago a couple of friends in another project in Cognifide has run into a wall while trying to load test their website. the problem was as follows: The website is highly AJAX based – the page merely loads a stub in the initial request... [ Read full article ]

10 May 2009  0 Comments


Advanced Language Manipulation Tool for EPiServer

by: Adam Najmanowicz (Cognifide)

Have you ever (or have your customers) created and edited a page in one language only to realize that their selected locale was wrong? Have you ever wished you could delete a master language branch of a page  after creating its localized counterpa... [ Read full article ]

06 April 2009  0 Comments


Get out of my way! … or the story of file metadata for VirtualPathProvider in EPiServer

by: Adam Najmanowicz (Cognifide)

Immediately after you implement the VirtualPathProvider proxy from my previous post you will notice a one fairly serious lack in it. Namely all the files within that provider will be hiding behind the registration form. That is not cool for a coup... [ Read full article ]

17 March 2009  0 Comments


Simple registration for files served by EPiServer

by: Adam Najmanowicz (Cognifide)

With the culture of knowledge sharing and open source spreading, everyone races to show they have something valuable that you may want. And while you may not ask for money for your content you may still want to get something in return, say a... [ Read full article ]

15 March 2009  0 Comments


Insert Flash elements in the Editor as Dynamic Content

by: Allan Thræn

Here’s just a quick little piece of Dynamic Content I threw together yesterday together with a partner. It’s for when you want editors to be able to insert flash elements directly in XHTML fields. A bit like inserting images – except that instead ... [ Read full article ]

30 January 2009  7 Comments


WebParts based Sidebar for EPiServer – how to use it?

by: Adam Najmanowicz (Cognifide)

Once you’ll update the framework to the extended one, you will immediately notice that… nothing has changed. Hmm… did something go wrong? Well, not really. By default the framework will be run in the “legacy mode”. Thanks to an old article by our... [ Read full article ]

08 January 2009  0 Comments


WebParts based Sidebar for EPiServer – the motivation and specification

by: Adam Najmanowicz (Cognifide)

Back in the day when we started designing our last project we’ve been presented with a following problem – a big number of templates with slightly different sidebars. Hmm… Is sidebar a part of content? No, rather not. We don’t want the editors to... [ Read full article ]

08 January 2009  0 Comments


Announcement: WikiX is here!

by: Allan Thræn

We've just released a beta version of the new Wiki for EPiServer CMS, called WikiX. It started off as an EPiServer Research project a long time ago - and the first and most difficult task was actually to establish what a wiki really is - and more... [ Read full article ]

19 December 2008  4 Comments


EPiServer and Custom URLS using ASP.NET UrlRouting

by: Allan Thræn

Ever wanted to introduce some special URL handling in your EPiServer web sites, like browsing pages per category by calling mysite.com/Category/[Category To Search for]? Well, rejoyce, cause now it's easier than ever before. Since EPiServer CMS 5 ... [ Read full article ]

19 November 2008  4 Comments


Caching in .NET 4.0

by: Johan Björnfot

In .NET 4.0 framework there will be a new Assembly called System.Caching that contains the APIs to work with caching (for backward compability reasons the "old" ASP.NET cache implementation in System.Web assembly will remain). The main change for... [ Read full article ]

30 October 2008  5 Comments


Client side news in ASP.NET 4.0

by: Linus Ekström

Client side databinding With ASP.NET 4.0 you will have a lot more support to fetch data with ajax calls and update the page without having to write a lot of javascript. One demo showed a page that called a service that returned json objects. The... [ Read full article ]

29 October 2008  2 Comments

Tags:


ASP.NET 4.0

by: Per Bjurström

Greetings from Los Angeles PDC. ASP.NET 4.0 is one of the areas that, for me, contains the least surprises so far. Much of the "major" functionality have already been announced and is actually available at their CodePlex project , such as MCV, Aja... [ Read full article ]

29 October 2008  0 Comments


Choosing the MasterPage through a Dynamic Property

by: Allan Thræn

Yet another answer to a question I've heard several times: "How do I make it possible for the editor to change the Master Page used for the site." It's easy to image a lot of uses for this (especially in an enterprise environment), and it's actual... [ Read full article ]

24 September 2008  0 Comments


Some ActiveDirectoryRoleProvider issues

by: Johan Olofsson

There has recently poppep up some issues/questions related to the ActiveDirectoryRoleProvider that we made available for download (including sources), and as I have been somewhat involved in investigating them I thought I should share the results ... [ Read full article ]

18 September 2008  6 Comments


Hosting non-HTTP based WCF applications in IIS7

by: Paul Smith

I remember a while ago Microsoft promising that IIS7 would solve all of our "I want to use IIS to host my WCF app but I don't want to use HTTP" problems. So today I tried to host our Image Service Application (to be released in EPiServer CMS 5 R2)... [ Read full article ]

15 September 2008  0 Comments


Providing simple "metadata" for Properties

by: Johan Olofsson

Have you ever found the need for being able to specify metadata for EPiServer Property's? For example as in my current situation, developing code that interacts with Microsoft Dynamics CRM, being able to specify what "entity" (Contact, Account,... [ Read full article ]

12 September 2008  1 Comments


How to make virtual path providers work with precompiled EPiServer websites

by: Ted Nyberg (Ted & Gustaf)

Note: This is an experimental workaround. It is not supported by EPiServer nor Microsoft. Introduction Earlier I wrote a post on how you can Precompile your web site to publish it without source code or markup . Minutes after publishing it I was... [ Read full article ]

03 September 2008  4 Comments


Edit Page - Shortcut/External link tab

by: Marek Blotny ( Cognifide )

Shortcut/External tab in edit mode is a useful thing. You can create different types of links there, you can also specify target frame which allows you for example to open external links in a new window. It all sounds great but do you really use i... [ Read full article ]

03 September 2008  0 Comments


Precompile your website and publish it without source code or markup

by: Ted Nyberg (Ted & Gustaf)

IMPORTANT: This approach won't work with EPiServer CMS 5 unless you implement this experimental workaround EPiServer CMS 5 uses virtual path providers which aren't supported by the .NET framework for precompiled websites. This workaround is used t... [ Read full article ]

02 September 2008  6 Comments


ASP.NET and JQuery = powerful combination

by: Marek Blotny ( Cognifide )

Over last few years number of interesting JavaScript frameworks emerged. My reaction to JavaScript used to be quite allergic, for me there was no such thing like a maintainable JavaScript code. But apparently things have changed drastically. At th... [ Read full article ]

31 August 2008  0 Comments


iPhone specific EPiServer website

by: Jacob Khan

labs.episerver.com now has a specific layout for the iPhone. If you go on labs using your iPhone or iPod Touch the layout will be altered as a webapplication for the iPhone. The main feature of the iphone labs is the sliding effect inbetween... [ Read full article ]

20 August 2008  7 Comments


ASP.NET Web Application debugging and timeouts

by: Marek Blotny ( Cognifide )

While developing web applications it's absolutely normal that at some point it's necessary to debug a code to check variable's value, execution flow for some weird input data and so on. Before running application in debug mode Visual Studio will... [ Read full article ]

06 August 2008  0 Comments


Output EPiServer Pages as PDF

by: Allan Thræn

Got a question today from a partner about how he could make a "Download this page as PDF" functionality on a customers web site. I suppose there's quite a lot of ways to do it (just as many as there are HTML -> PDF libraries out there) but I... [ Read full article ]

07 July 2008  2 Comments


Fix for EPiServer CMS5 interfering with your EPiServer 4

by: Adam Najmanowicz (Cognifide)

The problem that can make a grown up man cry… You’re editing your EPiServer 4 project and suddenly the edit mode stops working. the server reports compilation errors. something along the lines: Compiler error: CS0433: Type „EPiServer.Global” exist... [ Read full article ]

27 June 2008  0 Comments


Presentations from DevSummit 2008

by: Paul Smith

Magnus Stråle and I gave two presentations at the DevSummit 2008. The presentation about Dynamic Content can be found here and the presentation about Content Channel and Page Providers can be found here. Enjoy! [ Read full article ]

25 June 2008  0 Comments


Text-Image generation - VirtualPathProvider for EPiServer (and ASP.NET in general) – Part 2 (configuration)

by: Adam Najmanowicz (Cognifide)

The configuration of the module is a descendant of any EPiServer Virtual Path Provider configuration. This aspect is fairly well described on EPiServer pages. A sample configuration for the TextImageVirtualPathProvider can look as follows [ Read full article ]

24 June 2008  0 Comments


Hosting non-HTTP based WCF applications in IIS7

by: Paul Smith

I remember a while ago Microsoft promising that IIS7 would solve all of our "I want to use IIS to host my WCF app but I don't want to use HTTP" problems. So today I tried to host our Image Service Application (to be released in EPiServer CMS 5 R2)... [ Read full article ]

24 June 2008  3 Comments


Text-Image generation - VirtualPathProvider for EPiServer (and ASP.NET in general) – Part 1

by: Adam Najmanowicz (Cognifide)

The module code is already available on Epicode SVN, the relevant wiki pages will be following as soon as documentation is complete. The use case is as follows: The client wants the site to look exactly as in a template provided as a image, the te... [ Read full article ]

23 June 2008  0 Comments


Multiple Templates for a PageType

by: Allan Thræn

It looks like a Dev / Partner summit is the perfect birthplace for ideas to grow. Here is yet another idea that grew out of discussions with partners, eMVPs and other Guru's at the summit: It could be cool to have multiple renderings (templates) f... [ Read full article ]

10 June 2008  3 Comments


Presentations from DevSummit 2008

by: Paul Smith

Magnus Stråle and I gave two presentations at the DevSummit 2008. The presentation about Dynamic Content can be found here and the presentation about Content Channel and Page Providers can be found here . Enjoy! [ Read full article ]

05 June 2008  0 Comments


Setting cache limits in ASP.NET 2.0

by: Per Bjurström

Since ASP.NET 2.0 you have full control over much memory the ASP.NET cache is allowed to use per application, in this example I've set it to 200MB. By looking at the performance monitor you see that the Microsoft.NET memory usage keeps itself unde... [ Read full article ]

05 June 2008  4 Comments


The not so mysterious problem with WebResource.axd

by: Per Bjurström

Please read this post by Fredrik for the background. There is also a thread in the EPiServer forums here . So, this problem got highest priority due to a increasing number of customers experiencing this problem. I've been live debugging EPiServer... [ Read full article ]

14 May 2008  14 Comments


Using a single domain strategy with multiple languages in EPiServer

by: Ted Nyberg (Ted & Gustaf)

Introduction This post covers one way of enforcing a domain strategy for multi-language (or multi-division) sites. There are two common scenarios for multi-language site domain strategies: Use one top domain per language In this case, www.mysite.c... [ Read full article ]

04 April 2008  4 Comments


When and Where to attach DataFactory Event Handlers

by: Allan Thræn

This is a classic problem with a lot of solutions: You're building a fancy plug-in for your favorite CMS (EPiServer of course), trying to fulfill your lifelong ambition to become an EPiServer MVP , when you suddenly realize that you your plugin to... [ Read full article ]

06 March 2008  3 Comments


Customizing XForms Appearance - The Easy Way

by: Allan Thræn

Yesterday I was assisting a partner in setting up a simple "Subscribe" xform on a customer web site. It was a fairly simple setup: An input-text box for the email (validating as email), and a submit button, that should store the email in the... [ Read full article ]

06 March 2008  4 Comments


Hint: The Mysterious Tilde

by: Allan Thræn

Here's a typical rookie mistake that can even puzzle experienced developers from time to time. When working with EPiServer CMS 5 you can get quite used to using the tilde character ("~") in various URL's. When you are coding against a web... [ Read full article ]

06 March 2008  2 Comments


Episerver’s brand new blogger

by: Adam Najmanowicz (Cognifide)

I’m really glad to notice that Marek is getting into blogging about EPiServer. Marek is a really bright developer and a colleague at Cognifide with a number of successful EPiServer projects in his portfolio, we’ve worked together on Faceted... [ Read full article ]

04 March 2008  0 Comments


Replacing Property Rendering Using Adapters

by: Mari Jørgensen

  My colleague, Steve, wrote an excellent post on how the new property architecture in CMS 5 allows us take control of the property rendering . This post is a followup, illustrating the same example as Steve did, but this time using Controls... [ Read full article ]

02 March 2008  10 Comments


EPiServer 5 vs. EPiServer 4.61 part I - GetPage()

by: Marek Blotny ( Cognifide )

We have been using EPiServer 4.61 intensely for over a year now, during this time we have managed to deliver a few successful projects on this platform. It took us some time to learn how to use EPiServer effectively. Release of EPiServer 5 was... [ Read full article ]

01 March 2008  0 Comments


EPiServer 5 vs. EPiServer 4.61 part I - GetPage()

by: Marek Blotny ( Cognifide )

We have been using EPiServer 4.61 intensely for over a year now, during this time we have managed to deliver a few successful projects on this platform. It took us some time to learn how to use EPiServer effectively. Release of EPiServer 5 was... [ Read full article ]

01 March 2008  0 Comments


EPiServer Pie with freshly cut MVC

by: Allan Thræn

Or how to integrate ASP.NET MVC into an existing WebForms Web Application Project.   After having studied Scott Guthrie's excellent posts on ASP.NET MVC and attended a pretty good Tech Talk at Microsoft yesterday I decided the time was right to... [ Read full article ]

21 February 2008  8 Comments


Nightly Fun with 301

by: Allan Thræn

WARNING : GEEKY STUFF.   Do you ever have difficulty falling asleep at night, because your brain begins to code the moment your tired body hits the bed? Well, I do every once in a while. And then I know that I can either toss and turn all night or... [ Read full article ]

14 February 2008  3 Comments


Faceted Service Structure

by: Adam Najmanowicz (Cognifide)

This article is a part of the series describing the faceted navigation system for EPiServer that we have developed in Cognifide and that’s already proven to be a robust solution for delivering tagged content a heavy traffic site. The engine will b... [ Read full article ]

24 January 2008  0 Comments


Faceted Navigation Engine Nomenclature

by: Adam Najmanowicz (Cognifide)

This article is the second of a series describing the faceted navigation system for EPiServer that we have internally developed in Cognifide, that’s already proven to be a robust solution for delivering tagged content a heavy traffic site, which... [ Read full article ]

24 January 2008  0 Comments


WebResource.axd gives 404

by: Allan Thræn

My colleague, Michael Knudsen, has been struggling with a customer & partner for several hours now with an annoying problem on an EPiServer 4.62 site just moved to a production server. Finally, after browsing through half the web and getting... [ Read full article ]

23 January 2008  1 Comments


The challenges of a high traffic site with EPiServer

by: Adam Najmanowicz (Cognifide)

…with an unconventional approach to data fetching. This article is a first of a series describing the faceted navigation system for EPiServer that we have internally developed in Cognifide and that’s already proven to be a robust solution for... [ Read full article ]

23 January 2008  0 Comments


Refused by SQLExpress

by: Mattias Nordgren

Yesterday I almost killed myself after struggling with an error during an installation of EPiServer CMS on Vista. I got this error message when trying to browse the web site: (provider: TCP Provider, error: 0 - No connection could be made because... [ Read full article ]

04 January 2008  2 Comments


ASP.NET MVC Framework

by: Mattias Nordgren

In my past I used to run a consultant firm where I was the lead programmer and for one of the bigger projects I was involved in I used the FuseBox MVC framework in creating a large scale e-commerce solution. This was my first contact with the MVC... [ Read full article ]

03 January 2008  3 Comments


Unable to send e-mail without local SMTP server

by: Ted Nyberg (Ted & Gustaf)

When you try to send e-mail through an external SMTP server using the System.Net.Mail namespace classes, you may encounter an error saying " Cannot get IIS pickup directory". Often this has to do with permissions, but I recently discovered another... [ Read full article ]

12 December 2007  4 Comments


ProfileProvider performance issues - followup!

by: Johan Olofsson

Doing some more digging into this, I found that this situation only happens when using EPiServer CMS5s WindowsMembershipProvider, and peeking inside it's implementation of GetUser() turns out that it calls into the Profile Provider to get at the... [ Read full article ]

11 December 2007  2 Comments


ProfileProvider performance issues??

by: Johan Olofsson

When developing a custom Asp.Net profile provider for the CRMConnector project, I came to notice that the provider's implementation of GetPropertyValues() might be called upto as many as four times for one single web request(!) For example, when... [ Read full article ]

10 December 2007  0 Comments


UpdatePanel in EPiServer CMS

by: Johan Björnfot

In the released version of EPiServer CMS 5 (version 5.1.422.4) there is a problem when using UpdatePanel when FURL (Friendly URL) is activated on the site. The problem occurs because the AJAX callbacks from UpdatePanel will in some cases update th... [ Read full article ]

10 December 2007  4 Comments


The ”as” operator in C#

by: Peter Hultgren (Sogeti)

I don’t know if it’s just me, but I don’t see people using the ”as” operator in C# a lot when I read code. It’s a shame, because it’s really nifty. For example, you can use it like this when you retrieve something from the cache: string s =... [ Read full article ]

04 December 2007  2 Comments

Tags:


Lessons learned: Module Conversion

by: Mari Jørgensen

Last week I spendt a lot of hours converting one of the EPiCode modules (the MultiPageProperty ) to EPiServer CMS 5. Here are some of the lessons I learned.  References First step is replacing EPiServer  references. Note that we will need 3... [ Read full article ]

30 November 2007  1 Comments


XSLT in EPiServer CMS 5

by: Allan Thræn

Personally I'm not a big fan of neither XSLT nor XML. In fact, my feelings around XML is expressed in this quote I heard recently: "XML is like children. They start out cute and small, then they grow..." (I don't remember who said it - if it was... [ Read full article ]

23 November 2007  4 Comments


Labs running ASP.NET 3.5

by: Per Bjurström

I installed the .NET Framework 3.5 runtime on the research server today, who better to do some dogfooding than the labs site. I got clearance from Ruwen with the short message "Bara server fungerar efter" (which translates to "As long as the serve... [ Read full article ]

22 November 2007  0 Comments


Show Published Pages (Versions) in a Specific Time Span

by: Allan Thræn

Since I'm still trying to learn my way around EPiServer I grab whatever chance I get of coding something a bit out of the ordinary, and today was no different. At a Developer Course I was attending, the need came up for a page that would list all... [ Read full article ]

16 November 2007  1 Comments


Encrypt your connection strings for multiple machines

by: Per Bjurström

Scenario You have one or more connection strings in a web application that you are running on multiple development and/or production machines. The connection strings are identical in all environments so it would be convenient to have the encrypted... [ Read full article ]

14 November 2007  0 Comments


EPiServer property getter cleaner-upper

by: Adam Najmanowicz (Cognifide)

Just a daily time saver, for reuse at another time. Any old time windows developer, will remember the fun of using the ini files with GetPrivateProfileString. As much as ini files sucked there is one nice aspect of that call - you can setup a... [ Read full article ]

09 November 2007  0 Comments


Is EpiServer a hard-shelled clam or what?

by: Adam Najmanowicz (Cognifide)

As much as I seem to be enjoying my trip with EpiServer there are some little things I don’t seem to appreciate all that much and I’m not quite sure how to work around some of them in an elegant way. EpiServer has a fairly advanced way of dealing... [ Read full article ]

30 August 2007  0 Comments


The great missing feature of EPiServer

by: Adam Najmanowicz (Cognifide)

As we’ve been debating with Steve in the EpiCode IRC channel (Come on, join us there! You know you want it!) a few days ago, probably one of the biggest missing features in EPiServer is multi-page property. Yes there seems to be a fairly robust... [ Read full article ]

22 May 2007  0 Comments

Syndications


Archive


Tag cloud

EPiTrace logger