DCSIMG
C# - Gilly Barr

Browse by Tags

All Tags » C# (RSS)

Redirecting external Process output to Console.WriteLine() (or elsewhere)

Check out my new post on the subject - http://DebuggerStepThrough.com Enjoy :) Gilly
Posted by gillyb | with no comments
תגים:,

Cleaning up that ugly client side aspx code

My new blog post on the subject : Cleaning up that ugly client side aspx code Gilly.
Posted by gillyb | with no comments

Unit Test looking for missing files in your project

Check out my new blog post on the subject : Unit Test looking for missing files in your project Enjoy :)
Posted by gillyb | with no comments
תגים:, ,

VS Spell Check Extension - using Roslyn

My experimenting with the Roslyn CTP lead me to writing a spell checker for the VS IDE... You can read about it here : http://debuggerstepthrough.blogspot.com/2012/02/vs-spell-check-extension-using-roslyn.html - gillyb
Posted by gillyb | with no comments
תגים:, , ,

Compiling multiple projects into a single exe file in WPF

A post I wrote that explains how to compile multiple projects into one exe file. Check it out : http://debuggerstepthrough.com/2011/11/compiling-multiple-projects-into-single.html Gilly.
Posted by gillyb | with no comments

Unit testing Fluent NHibernate...

The adventures of unit testing are pretty new to me (as you can read in my previoius blog) and I started a small project at home with Fluent NHibernate and wanted to practice some TDD with it. I wrote a short blog post about unit testing with Fluent NHibernate. Check it out : http://debuggerstepthrough.blogspot.com/2011/08/unit-testing-fluentnhibernate.html - Gilly.

Finding log4net hidden exceptions...

Ever use log4net ? It's a great and simple logging utility. Ever have an error configuring or logging using log4net ? ...I bet you never saw them. Well, here's something you can check out - http://debuggerstepthrough.blogspot.com/2011/07/finding-log4net-hidden-exceptions.html - gillyb
Posted by gillyb | 1 comment(s)
תגים:, ,

Generating dynamic forms :: part 1

Here's a link to my new blog post : Generating dynamic forms :: part 1 Enjoy, Gilly.

Fluent NHibernate - Working with Database Views

Here's a link to my new blog post : Fluent NHibernate - Working with database Views Enjoy, Gilly.

Working with entities instead of DataTable objects

Here's a link to my new blog post : Working with entities instead of DataTable objects Enjoy, Gilly.
Posted by gillyb | with no comments
תגים:, , ,

Join on tables using Fluent NHibernate

I wrote a short and good post about creating an entity from joined tables using Fluent NHibernate. You can view it here : http://debuggerstepthrough.blogspot.com/2011/01/join-on-tables-using-fluent-nhibernate.html :), Gilly.

VS2008 :: Transparent intellisense trick

Isn't it annoying when you need to enter a line of code above some other code, the intellisense opens, perhaps the parameter info tooltip too (all these you need, of course), but you also need to see the name of the variable you have in the line beneath but just can't because all these small windows are blocking it... You end up with something like this : Well, in VS2008, there's this cool feature allowing you to hold down the 'ctrl' key, and turning these small tooltips and windows...
Posted by gillyb | 2 comment(s)

Server response to user events in a GridView (…or anywhere)

On a web application I have, I used the GridView control and binded it to some data source. Since all the data needed to go through some process, I did all the binding through the code-behind. I needed to add a column of checkboxes and have that column editable to the user. More what, I wanted some server reaction when the user triggers the CheckChanged event for every checkbox. I searched the net for some solutions, and found a lot, but all seemed too complicated and involved too much code. So after...
Posted by gillyb | 4 comment(s)

Bug: adding a CalendarExtender in an UpdatePanel...

I tried adding a CalendarExtender (from the ajaxControlToolkit) within an UpdatePanel control, but everytime I tried triggering the calendar the updatepanel would refresh and i wouldn't be able to choose a date. Frankly, I don't know why this happens, but I solved it by adding a CalendarExtender somewhere on the page outside the UpdatePanel control. I attached this CalendarExtender to a TextBox with Visible=false so no change is recognized...
Posted by gillyb | 3 comment(s)
תגים:, , ,

Serializing without ISerializable

I searched for blogs about Serializing objects and found a couple of good ones with long and thorough explanations about serializing and the ISerializable interface. In fact, every post I found had an explanation about implementing the ISerializable interface and how to override the methods needed to succesfully inherit this interface. However, when I looked it up on msdn, I found that Microsoft claim that you don't necessarily have to inherit ISerializable in order to serialize a custom object...
Posted by gillyb | 2 comment(s)
תגים:, ,
More Posts Next page »