gantww

Stories kicked by gantww

Generic FindControl<T> ASP.NET Method Extension(blog.sb2.fr)

submitted by ethilikethilik(1855) 3 years, 5 months ago

Here is a nice tips in order to FindControl inside a WebPage, WebControl or any type of Web Components that inherits from System.Web.UI.Control. read more...

add a comment |category: |Views: 19

tags: another

Best Practices for Code Generation With T4 Templates (williamgant.com)

submitted by gantwwgantww(80) 3 years, 6 months ago

By now, many developers have seen the T4 Text Template Transformation Toolkit. In case you haven't run across this yet, in brief, you can use T4 templates to generate code in multiple languages using a syntax that is very much like ASP.NET. It's included with Visual Studio and can harnass the power of the .NET framework. However, like anything else, there are things that you will want to keep in mind while using these templates to get your work done faster. I offer the short list of Do's and Dont's as follows, to hopefully smooth out some of the bumps in the road for you. read more...

add a comment |category: |Views: 72

tags: another

Crazy Talk: Reducing ORM Friction(blog.wekeroad.com)

submitted by TazerTazer(360) 3 years, 6 months ago

Let's get this out of the way: I know you're going to think I'm nuts as you read this. You may "pfft" to what you're about to read - know that I know you're "pfft"-ing me. All I ask is that you consider what I'm about to suggest... read more...

1 comment |category: |Views: 471

tags: another

Make Visual Studio Generate Your Repository(blog.wekeroad.com)

submitted by johnsheehanjohnsheehan(4785) 3 years, 7 months ago

As many of you may know, I've been goofing around with Code Generation again with SubSonic's new MVC Addin. One of the things I really wanted to try and flex is Visual Studio 2008's code generation bits - T4. Not many people know it even exists, and to me it's one of the Great Hidden Secrets of Visual Studio 2008. read more...

1 comment |category: |Views: 411

tags: another

Integrated social networking in ASP.NET(dimebrain.com)

submitted by dcrennadcrenna(1355) 4 years ago

This riff explores how to move all common social networking features of a web application, such as tagging and commenting, to a separate assembly to make them re-usable across all of your projects. read more...

add a comment |category: |Views: 460

tags: another

Why C# Compiler Is so Picky About Type Parameter Constraints' Position(bahadorn.blogspot.com)

submitted by bahadornbahadorn(340) 4 years ago

The C# syntax dictates the ordering class, structs, new(), and base-class constraints in the generics. This post elaborates on this a little bit. read more...

add a comment |category: |Views: 5

tags: another

Display nicely formatted .NET source code on your blog(james.newtonking.com)

submitted by JamesNKJamesNK(3020) 4 years ago

How to quickly display nicely formatted and colored source code on your blog using the CopySourceAsHtml VS plugin. read more...

add a comment |category: |Views: 140

tags: another

Batch Thumbnail Creator(atalasoft.com)

submitted by tomdogtomdog(3230) 4 years ago

Thumbnailer will open every image in every folder supplied and will create a thumbnail image is the same proportions as the original image, but will not exceed the maximum width or height. read more...

add a comment |category: |Views: 76

tags: another

Using JQuery DatePicker in ASP.Net(elegantcode.com)

submitted by cwbrandsmacwbrandsma(1711) 4 years ago

How to use the JQuery DatePicker in Asp.Net. Show how to setup the JavaScript, the code behind, and the text box control. read more...

add a comment |category: |Views: 1734

tags: another

Response.TransmitFile + Close will kill your application(improve.dk)

submitted by orcaorca(820) 4 years, 1 month ago

Just before last weekend I noticed that a website I'm responsible for started spitting out "Server is busy" messages, not something you want to see on a website with millions of visitors per day. The quickfix was to recycle the application pool, and thus I solved the symptoms by setting a 15 mins recycle cycle on all the application pools. Not exactly optimal, but sometimes pissing your pants is the way to go. read more...

add a comment |category: |Views: 72

tags: another

.NET Event Techniques(devlicio.us)

submitted by BigTunaBigTuna(219) 4 years, 2 months ago

A very simple technique to avoid the need for a null check prior to raising an event read more...

1 comment |category: |Views: 21

tags: another

Do You Really Need A Distributed Architecture?(blogs.msdn.com)

submitted by j.montyj.monty(1868) 4 years, 3 months ago

Does the question sound rhetoric to you? Do you think the answer is “Yes” by default these days? Think twice. Ask yourself the questions below. You may change your mind at the end. read more...

add a comment |category: |Views: 10

tags: another

But I like my dependencies!(weblogs.asp.net)

submitted by CompiledMonkeyCompiledMonkey(135) 4 years, 3 months ago

"Recently I've been talking about dependency injection and ASP.NET MVC. Each are interesting technologies and are "hot topics" in the ASP.NET world right now. I had decided that my newest project would utilize these, if for nothing else but to learn them in more detail." read more...

add a comment |category: |Views: 2

tags: another

Flexibility and control (thoughts on management styles)(lostechies.com)

submitted by bennagebennage(1150) 4 years, 3 months ago

A brief discussion about management styles, predicating success, and developer efficiency. read more...

add a comment |category: |Views: 0

tags: another

Back To Basics: Integers(codethinked.com)

submitted by justin_etheredgejustin_etheredge(8539) 4 years, 3 months ago

An explanation of integers, and how they are represented in most computer systems. read more...

add a comment |category: |Views: 8

tags: another

Associating String values with enums in C#(blog.spontaneouspublicity.com)

submitted by HoolieManHoolieMan(1715) 4 years, 4 months ago

Ever wanted to have an enum which has a value that is a string rather than just an numeric type? Well, now you can have your cake and eat it too! read more...

add a comment |category: |Views: 45

tags: another