|
|
Browse by Tags
All Tags » c# » code
Showing page 1 of 3 (30 total posts)
-
Had been getting this recently in our builds, and have finally tracked it down to conflicting versions of the Microsoft.ReportViewer.Common.dll in our project references. This came about as one of our developers was using VS 2010, but the rest were still back on VS 2008.
Anyway, I thought I’d blog around how we traced this issue down in the end, ...
-
Finally managed to figure out how to get virtualization to actually behave itself in a listbox wpf control.
Turns out that in order for Virtualization to work, you need three things satisfied.
1) Use a control that supports virtualization (e.g. list box or list view). (see Controls That Implement Performance Features section at bottom of ...
-
Even though x:Name is a dependency property for a WPF framework element, you cannot the name of the control to a static resource in the code behind file <Window x:Class="WpfApplication2.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" ...
-
I’ve been wanting to know this for years, and finally discovered it the other day when looking inside the Microsoft Composite Application Blocks class in Microsoft.Practices.CompositeUI.BuilderStrategies.CommandStrategy.
There’s some code in this class to discover if an event handler has already been attached to the event, and it goes a little ...
-
There's 2 products (both with free versions) you can use for T4 intellisense:
One is by Clarius at http://www.visualt4.com/. But best to go with Tangible's T4 editor at http://t4-editor.tangible-engineering.com/T4-Editor-Visual-T4-Editing.html (available through the Extension Manager in VS2010 under tools).
Also if you want to get a bit more ...
-
On our project we were noticing a massive performance penalty when sending a number of records to the database to either be inserted or updated via the standard NHibernate framework syntax, so we decided to see if we could do anything about this. Turns out that we were able to alter the query that NHibernate normally generated, and change it into ...
-
Just came across a great article on the web when searching for topics relating to Thread safety.
http://msdn.microsoft.com/en-us/magazine/cc188793.aspx#S2
-
Copy a stack trace to your clipboard, open the resharper stack trace explorer, and hit Ctrl+E, T. Once you’ve done this the lines reported in the stack trace become hyperlinks to the files in your project.
-
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.IO;
namespace DataSetSerializer
{
class Program
{
static void Main(string[] args)
...
-
I have been working on a Silverlight project, and the experience of using it for a period of several weeks on a real application has been quite good. I thought I would highlight three aspects that made it good.
1: It has real C# and .Net inside.
The CLR used in Silverlight may be cut-down, but the developer experience isn't. We used Visual ...
1
|
|
|