Browse by Tags

All Tags » .NET (RSS)

MvcScaffolding Enhancement - DisplayAttribute Support by mj_naughton

Steve Sanderson has an excellent blog series, describing his MvcScaffolding NuGet Package. For example, I was reading his post, describing how to override the T4 Template output generated by MvcScaffolding: http://blog.stevensanderson.com/2011/04/06/mvcscaffolding...

Silverlight Business Application - Side Navigation Bar by mj_naughton

If you're using the Silverlight Business Application template, you may have also noticed the recently-released Silverlight 4 Theme Refresh: http://www.microsoft.com/downloads/details.aspx?FamilyID=e9da0eb8-f31b-4490-85b8-92c2f807df9e&displaylang=en...

Silverlight 3 DataForm ValueConverter - Add Extensibility by mj_naughton

A recent post described how to obtain extensibility, with respect to DataForm Control Mapping: http://weblogs.asp.net/naughton/archive/2009/08/01/silverlight-3-dataform-control-mapping-add-extensibility.aspx It is also convenient to make the DataFormValueConverter...

Silverlight 3 DataForm Control Mapping - Add Extensibility by mj_naughton

An earlier posting explains how to perform basic modifications to the Silverlight 3 DataForm control. http://weblogs.asp.net/naughton/archive/2009/08/01/silverlight-3-dataform-control-mapping-basic-modifications.aspx It's convenient if such features are...

Silverlight 3 DataForm Control Mapping - Basic Modifications by mj_naughton

The new DataForm control in the Silverlight Toolkit July 2009 Release does a very nice job of presenting an object in a Form view. If you want to take more control of the default way in which the object's properties are mapped to controls, you can open...

Roundtripping SoapDuration and TimeSpan by mj_naughton

Clemens Vasters writes about XSD duration and its relationship with the .NET Timespan Type. Another quirk I have found with usage of these types is the fact that the conversion to the SoapDuration Type was not what I originally expected. It turns out...
Filed under:

Detect Installed Version of WSE by mj_naughton

I asked this question a few months ago but there have been two service packs since then. Can anyone recommend a reliable mechanism for the detection of WSE1/WSE2 being installed on a PC? For example, are there certain installed files and/or registry settings...
Filed under:

Access the XmlSerializer Temporary Assembly by mj_naughton

I've been using the excellent XmlPreCompiler - GUI by Mathew Nolton, original idea by Chris Sells . My own idea was to extend the GUI to allow me to verify Types in a batch. For example, I sometimes want to check every Type in an Assembly. I have a basic...
Filed under:

xsd:group Gets Lost In Translation by mj_naughton

If an XML Schema contains an <xsd:group> definition, the contents of the <xsd:group> are embedded in the containing <xsd:complexType>. Reasonably, enough, the XSD.EXE tool mimics this behaviour, when generating a .NET class definition...
Filed under:

Detect XSD Code Generation Issues by mj_naughton

The XSD.EXE command-line tool will generate .NET types from a set of XML Schema files. However, certain constructs in the XSD will result in faulty .NET code. In particular, <xsd:choice> elements with children that are not exclusively <xsd:element>s...
Filed under:
More Posts Next page »