Edwin's Journey

Sitecore, SharePoint & Agile

Tag

.NET

How to serve a downloadable file from a MVC controller in Sitecore

In our Sitecore project we had an application error being logged, every time when we served a download to our end users. We used the generally known HttpContext.Response approach, to stream the binary output of the file to the user…. Continue Reading →

Improve code quality, getting started with SonarQube

I’m currently member of a scrum team in which we are working with SonarQube to manage our code quality. I was hesitant and skeptical at first, but since I started to see the benefits of it, I’m becoming more and… Continue Reading →

This product requires ASP.NET v2.0 to be set to 'Allow' in the list of Internet Information Services (IIS) Web Server Extensions

I’m currently performing a migration process and during the Moss installation the following error message is presented: “This product requires ASP.NET v2.0 to be set to ‘Allow’ in the list of Internet Information Services (IIS) Web Server Extensions. If it… Continue Reading →

Remember hidden original values in a gridview

Most of the time I use optimistic concurrency (with a check on all fields) to update a database row. While using a gridview to update rows in a table, problems arise when you don’t show or use all database fields… Continue Reading →

Get CurrentMethod information from a shared logging class to use with log4net

One of the most common ways to create a log object for log4net is to declare it in every class file like log4net.ILog log = log4net.LogManager.GetLogger( System.Reflection.MethodBase.GetCurrentMethod().DeclaringType ); It would be much nicer if we could use a shared class… Continue Reading →

© 2017 Edwin's Journey — Powered by WordPress

Theme by Anders NorenUp ↑