Geeks With Blogs

Scott Wojan DotRant BLOG
Ran into this little gem today... to remedy it open inetmgr and go to your virtual directory.  
Click the modules icon
Locate "ApplicationInsightsWebTracking"
Remove it


This is a simple update to the great entry at http://conceptdev.blogspot.... with the new Fiddler interface. 1. Get Fiddler Download Fiddler 2. Set-up Fiddler Start Fiddler then open the Tools > Fiddler Options... window and in the Connections tab, ensure: "Allow remote computers to connect" is checked. ......

public static MvcHtmlString DropDownListFromEnumFor<... TProperty>(this HtmlHelper<TModel> helper, Expression<Func<TModel, TProperty>> expression, object htmlAttribute = null) { var type = typeof (TProperty); var addBlank = false; if (type.IsGenericType && type.GetGenericTypeDefiniti... == typeof(Nullable<>)) ......

I've used this enum helper from time to time to get an enum value from attributes such as Description and XmlEnumAttribute. Maybe you can find it useful? public static class EnumEx { public static T GetXmlEnumValue<T>(st... name) { var type = CheckEnum<T>(); var val = (from f in type.GetFields() let attribute = f.GetCustomAttributes(typeo... ......

Extension Methods for ToXml and FromXml

I simply DO NOT understand how Microsoft can be this far along with a tool like WCF and it STILL tout it as being an "Enterprise" tool. For example... The following is a simple xsd schema with a VERY simple data contract that any enterprise would expect an "enterprise system" to be able to handle: <?xml version="1.0" encoding="utf-8"?> <xs:schema ......

Below is a multithreaded queue with progress reporting and nice exception handling that I implemented for a project. I hope it might help someone else. You can copy and paste the following code into a console app to see how to use it. using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Threading; ......

I just released a new project on CodePlex called SimpleWcf" SimpleWcf provides a way to essentially do “simple, configuration-less, file-less, WCF 4.0”. It works by discovering services using reflection and assumes a convention is intended for the namespaces. It leverages a lot of the great new baked in defaults in WCF 4.0. http://simplewcf.codeplex.c... ......

I was fighting with this issue today... Visual Studio was taking FOREVER to load the symbol files (.pdb) in order to start debugging.  It seems if you clear all of your break points, the issue is corrected.  Hope this helps someone.



Wow, so I just had to install the JRE for a product and was shocked to see the following:

Java... now with Bing?

AND they recommend it!

Hell hath frozen!

 



An extension to JQuery LightBox for max width and height

This hits home also!

 



This had me rolling on the floor.  Hope someone else can appreciate it.

 



So, it took me forever today to figure out how to get PostSharp working without installing it 'globally' with the msi installer. In a nutshell, you have to include a directory for example /lib/ with all of the PostSharp baggage: Default.psproj PostSharp.targets PostSharp-1.0.targets PostSharp-1.0.version PostSharp-AppDomain.config PostSharp-Platform.config ......

So I ran into an issue this evening where I needed to map a string property to a NCLOB column but I kept getting: "ORA-01461: can bind a LONG value only for insert into a LONG column" Turns out that you should set the column type to "AnsiString" as in: <property name="Contents" column="CONTENTS" type="AnsiString"/> - Hope this helps someone else ......

Copyright © Scott Wojan | Powered by: GeeksWithBlogs.net | Join free