KodefuGuru

Stories submitted by KodefuGuru

Enable CLR in SQL 2008(kodefuguru.com)

submitted by KodefuGuruKodefuGuru(2818) 2 years, 11 months ago

I added an assembly and created clr functions on my SQL server only to receive the following error when I tried to excute them. Msg 6263, Level 16, State 1, Line 1 Execution of user code in the .NET Framework is disabled. Enable "clr enabled" configuration option. read more...

add a comment |category: |Views: 20

tags: another

Kevin Jones at Tech Ed North America(kodefuguru.com)

submitted by KodefuGuruKodefuGuru(2818) 2 years, 11 months ago

I sometimes hang out with Kevin at Code Camps in the Virginia area, and we’ve had some interesting discussions on .NET 4.0. Thanks to the wonders of video, you can get his perspective on Windows 7, Silverlight, and being an MVP… all without traveling to Virginia! read more...

add a comment |category: |Views: 0

tags: another

Don’t Instantiate Then Assign(kodefuguru.com)

submitted by KodefuGuruKodefuGuru(2818) 2 years, 11 months ago

Here’s an example of some bizarre code I’ve seen recently. I’ve changed the variable names, but this is what the developer was doing. Customer customer = new Customer(); customer = customers[response.CustomerKey]; read more...

add a comment |category: |Views: 26

tags: another

ref on Reference Type?!(kodefuguru.com)

submitted by KodefuGuruKodefuGuru(2818) 2 years, 11 months ago

I recently came across a piece of code that had almost every parameter for every method marked with the ref keyword. This keyword is primarily used to pass a value type by reference, but this one even had reference types marked with the keyword. This made me wonder, why exactly would you ever want to pass a reference type as a ref parameter? read more...

add a comment |category: |Views: 3

tags: another

Refactor to Array Initializer(kodefuguru.com)

submitted by KodefuGuruKodefuGuru(2818) 2 years, 11 months ago

Taking advantage of language features can make sleeker, easier to maintain code. One of these language features are array initializers. read more...

add a comment |category: |Views: 6

tags: another

More On Structs(kodefuguru.com)

submitted by KodefuGuruKodefuGuru(2818) 2 years, 11 months ago

On Friday, I wrote a post that listed guidelines for when to use a struct rather than a class. A commenter asked me to elaborate on the 16-byte rule. read more...

add a comment |category: |Views: 14

tags: another

Stop Using Structs Everywhere(kodefuguru.com)

submitted by KodefuGuruKodefuGuru(2818) 2 years, 11 months ago

Seeing a struct that should be a class really peeves me. Here are some guidelines on when you should use a struct. read more...

add a comment |category: |Views: 11

tags: another

DynamicAttribute(kodefuguru.com)

submitted by KodefuGuruKodefuGuru(2818) 2 years, 11 months ago

We've all been told to think of a dynamic object as a regular object but with dynamic behavior. It compiles to an object, but how does a calling assembly know to treat the object as dynamic? read more...

add a comment |category: |Views: 4

tags: another

PDF From Web in AxAcroPDF(kodefuguru.com)

submitted by KodefuGuruKodefuGuru(2818) 2 years, 11 months ago

How to show a web hosted pdf in a Windows Forms application. read more...

add a comment |category: |Views: 29

tags: another

Edit Object in Properties Pane(kodefuguru.com)

submitted by KodefuGuruKodefuGuru(2818) 2 years, 11 months ago

How to show your object in the Properties pane from your designer. read more...

add a comment |category: |Views: 5

tags: another

LearnVSXNow!(kodefuguru.com)

submitted by KodefuGuruKodefuGuru(2818) 3 years ago

I can't believe I've been writing packages for Visual Studio and didn't know about the series of blog articles on Visual Studio Exensibility by DiveDeeper or about the VSXtra project. Since I want a quick index of the LearnVSXNow! series, I'm posting links to every article. This is a series every managed package framework developer should read. read more...

add a comment |category: |Views: 13

tags: another

32-bit Bitmap(kodefuguru.com)

submitted by KodefuGuruKodefuGuru(2818) 3 years ago

How to create 32-bit bitmaps for your Visual Studio toolbar. read more...

add a comment |category: |Views: 16

tags: another

Microsoft Test and Lab Manager(kodefuguru.com)

submitted by KodefuGuruKodefuGuru(2818) 3 years ago

Visual Studio Team System is getting a new tool: Microsoft Test and Lab Manager. read more...

add a comment |category: |Views: 113

tags: another

GacUtil, MPF, and CSProj(kodefuguru.com)

submitted by KodefuGuruKodefuGuru(2818) 3 years ago

Using GacUtil from within the csproj file to support an mpf project. read more...

add a comment |category: |Views: 6

tags: another

Package Load Key Issue(kodefuguru.com)

submitted by KodefuGuruKodefuGuru(2818) 3 years, 1 month ago

I finished up a Visual Studio package, generated the package load key (plk), created an installer, and deployed it to a tester. Of course, it didn't work. read more...

add a comment |category: |Views: 4

tags: another

IE8 Accelerator Development Resources(kodefuguru.com)

submitted by KodefuGuruKodefuGuru(2818) 3 years, 1 month ago

A list of useful links for developing IE8 accelerators. read more...

add a comment |category: |Views: 21

tags: another