stgaup.blogspot.com
Svein Terje's Blog: March 2013
http://stgaup.blogspot.com/2013_03_01_archive.html
Well here it is. my BLOG! Started out being mostly used for dropping bookmarks - links to good sites relating to my current interests. Now even with some code samples and comments about interesting pages. Capture traffic from localhost:. Add a dot after “localhost”, so it becomes http:/ localhost. This does not always work. On my Windows Server 2008 R2 box, it does not. Access your web using the (netbios) machine name. Access your web through the fiddler proxy: http:/ ipv4.fiddler/AppName. Last week my f...
stgaup.blogspot.com
Svein Terje's Blog: March 2012
http://stgaup.blogspot.com/2012_03_01_archive.html
Well here it is. my BLOG! Started out being mostly used for dropping bookmarks - links to good sites relating to my current interests. Now even with some code samples and comments about interesting pages. I was going to a meeting, so I just folded my laptop shut and was off. After the meeting my vmware disk image was corrupt. So what to do? I downloaded the Virtual Disk Development Kit. Requires registration) ,. Then attempted to start the VM, but starting it seems to corrupt the disk again, so…. Last we...
stgaup.blogspot.com
Svein Terje's Blog: April 2014
http://stgaup.blogspot.com/2014_04_01_archive.html
Well here it is. my BLOG! Started out being mostly used for dropping bookmarks - links to good sites relating to my current interests. Now even with some code samples and comments about interesting pages. System.ServiceModel.AddressAccessDeniedException: HTTP could not register URL. I run into this error message from time to time, and every time I have forgotten what to do, hence I am writing it here. This is the command:. Netsh http add urlacl url=http:/ :80/MyUri user=DOMAIN user. Posted by Svein Terje.
stgaup.blogspot.com
Svein Terje's Blog: February 2014
http://stgaup.blogspot.com/2014_02_01_archive.html
Well here it is. my BLOG! Started out being mostly used for dropping bookmarks - links to good sites relating to my current interests. Now even with some code samples and comments about interesting pages. EPiServer PageReference Extension: FindPagesOfType T (…). Here’s my extension method for searching for pages of a given type T under an EPiSever (PageTypeBuilder) Page referred to by the PageReference which this method extends. Public static IEnumerable T FindPagesOfType T (. Where T : TypedPageData.
stgaup.blogspot.com
Svein Terje's Blog: EPiServer PageReference Extension: FindPagesOfType<T>(…)
http://stgaup.blogspot.com/2014/02/episerver-pagereference-extension.html
Well here it is. my BLOG! Started out being mostly used for dropping bookmarks - links to good sites relating to my current interests. Now even with some code samples and comments about interesting pages. EPiServer PageReference Extension: FindPagesOfType T (…). Here’s my extension method for searching for pages of a given type T under an EPiSever (PageTypeBuilder) Page referred to by the PageReference which this method extends. Public static IEnumerable T FindPagesOfType T (. Where T : TypedPageData.
stgaup.blogspot.com
Svein Terje's Blog: August 2012
http://stgaup.blogspot.com/2012_08_01_archive.html
Well here it is. my BLOG! Started out being mostly used for dropping bookmarks - links to good sites relating to my current interests. Now even with some code samples and comments about interesting pages. Enable internal logging by adding the following to appSettings:. Add key="log4net.Internal.Debug" value="true"/. More details in this thread on Stack Overflow:. Posted by Svein Terje. Links to this post. Subscribe to: Posts (Atom). PowerShell.com - useful scripts. PowerGUI - Free PowerShell GUI. The big...
stgaup.blogspot.com
Svein Terje's Blog: July 2014
http://stgaup.blogspot.com/2014_07_01_archive.html
Well here it is. my BLOG! Started out being mostly used for dropping bookmarks - links to good sites relating to my current interests. Now even with some code samples and comments about interesting pages. Windows 7 Won’t Boot: 0x0000007B. My Windows 7 PC would not boot. It turned out some of the boot files were corrupt or missing, and I got a bluescreen during startup:. Also when I tried to fix the problem using automatic recovery I got an error saying “Failed to Save Startup Options”. Links to this post.
stgaup.blogspot.com
Svein Terje's Blog: System.ServiceModel.AddressAccessDeniedException: HTTP could not register URL
http://stgaup.blogspot.com/2014/04/systemservicemodeladdressaccessdeniedex.html
Well here it is. my BLOG! Started out being mostly used for dropping bookmarks - links to good sites relating to my current interests. Now even with some code samples and comments about interesting pages. System.ServiceModel.AddressAccessDeniedException: HTTP could not register URL. I run into this error message from time to time, and every time I have forgotten what to do, hence I am writing it here. This is the command:. Netsh http add urlacl url=http:/ :80/MyUri user=DOMAIN user. Posted by Svein Terje.
stgaup.blogspot.com
Svein Terje's Blog: Safe Enum Pattern
http://stgaup.blogspot.com/2013/10/safe-enum-pattern.html
Well here it is. my BLOG! Started out being mostly used for dropping bookmarks - links to good sites relating to my current interests. Now even with some code samples and comments about interesting pages. Here’s my implementation of the Safe Enum Pattern. Because Enums are kind of cumbersome to handle, and you need to use methods like Enum.Parse and Enum.ToObject etc, and you cannot compare them to string without casting them to string. Operators, so that I can do this:. Well, here’s the code:. Public bo...
stgaup.blogspot.com
Svein Terje's Blog: January 2014
http://stgaup.blogspot.com/2014_01_01_archive.html
Well here it is. my BLOG! Started out being mostly used for dropping bookmarks - links to good sites relating to my current interests. Now even with some code samples and comments about interesting pages. Invalid User Control Reference added by ReSharper? ReSharper usually offers nice autocomplete suggestions. However when on a WebForm, adding a WebUserControl and then clicking the autocomplete popup suggestion adds an usnusable Register statement. Here’s an example of such a statement:. Last week my fam...