paulczy

Stories kicked by paulczy

Config files for DLLs(prettycode.org)

submitted by deverdever(350) 2 years, 6 months ago

Every once in a while I'll write a DLL and wish I could easily externally configure settings for it like you one do with web.config files and ConfigurationManager in ASP.NET applications or with .exe.config files. I finally got around to doing something about not having this same functionality for DLLs. Now, with AssemblyConfig, you can access settings from a .config file for your DLLs just like you can with ASP.NET read more...

1 comment |category: |Views: 435

tags: another

CodeSmith CSLA Templates Released(codesmithtools.com)

submitted by sdavidsonsdavidson(125) 2 years, 9 months ago

Generate CSLA in under a minute with our CodeSmith CSLA templates. The CodeSmith CSLA templates support the latest version of the wildly popular CSLA framework created by Rhockford Lhotka. Using these templates makes working with CSLA easy. Just configure the quick start, click generate and watch your CSLA solution come alive! read more...

add a comment |category: |Views: 204

tags: another

A Simple .NET Profanity Filter(james.newtonking.com)

submitted by JamesNKJamesNK(3020) 2 years, 10 months ago

A website I am working on right now accepts public comments, and one of the requirements is to do a basic check for dirty language. Surprisingly for such a common problem I wasn’t able to find any code on the net that did what I wanted and so I’ve ended up writing my own. The Censor class is pretty simple: you give it a list of words you want to censor, either simple text or with wildcards, and the censor will star out any matches it finds. read more...

2 comments |category: |Views: 669

tags: another

Profiling the Memory Usage of a .NET Application (simple-talk.com)

submitted by redgateredgate(155) 2 years, 10 months ago

Automatic memory management in .NET makes development a lot easier; however, it's still easy to introduce memory leaks into your application. For example, in a complex application, it's easy to forget to unregister event handlers, and these are notorious for holding on to objects which you don't need to keep in memory any more. This typically leads to an increase in memory usage which, if it remains unchecked and unresolved, can lead to your application exhibiting poor performance, or even running out of memory and crashing. This is where a memory profiler becomes necessary. read more...

add a comment |category: |Views: 434

tags: another

Automagic Time Localization(kohari.org)

submitted by nkoharinkohari(1310) 2 years, 11 months ago

A trick to localize timestamps without requiring users to pick their time zone manually. read more...

add a comment |category: |Views: 445

tags: another

Solution to Famous Error 40 of SQL Server - A Must Bookmark(blog.sqlauthority.com)

submitted by pinaldavepinaldave(9662) 3 years ago

Everybody who has ever used SQL Server might have encountered this error one time or another time. This is absolutely must bookmark link. read more...

1 comment |category: |Views: 605

tags: another

21 Important FAQ questions for WPF and SilverLight(c-sharpcorner.com)

submitted by saumya321saumya321(775) 3 years ago

This article talks about 21 important FAQ from the perspective of WPF and Silver light. Both of these technologies are connected to a certain extent. This article not only explains the theory aspect of these technologies but also shows small samples for each of them. read more...

add a comment |category: |Views: 462

tags: another

SQL Server 2005/2008 Diagnostics Queries and Configuration Checklist(sqlservercurry.com)

submitted by mopenmopen(3596) 3 years ago

Very useful queries by SQL Server MVP, Glenn Berry ..A must have read more...

2 comments |category: |Views: 324

tags: another

Open Source or Die – The *Real* Future of Graffiti?(leedumond.com)

submitted by leedumondleedumond(2144) 3 years ago

Telligent’s Graffiti hasn’t quite flatlined yet, but the signs aren’t looking too good. Could OSS be the way to breathe life back into this once-promising CMS platform? read more...

1 comment |category: |Views: 408

tags: another

WPF NotifyIcon Released(hardcodet.net)

submitted by interferencesinterferences(385) 3 years ago

This is an implementation of a NotifyIcon (system tray icon) for the WPF platform. It does not just rely on the corresponding WinForms component, but is a purely independent control which leverages several features of the WPF framework in order to display rich tooltips, popups, context menus, and balloon messages. read more...

add a comment |category: |Views: 857

tags: another

7 Valuable Visual Studio Hidden Features(hatim.indexdev.net)

submitted by HatimrHatimr(1492) 3 years ago

Visual Studio is a very powerful IDE and I have yet to find another IDE that comes close to all the features it offers. Yet they are some hidden gems that can make our every day tasks a little bit easier. read more...

add a comment |category: |Views: 945

tags: another

How I handle JSON dates returned by ASP.NET AJAX(encosia.com)

submitted by gt1329agt1329a(7849) 3 years ago

The problem of how to handle dates in JSON is one of the more troublesome issues that may arise when directly calling ASP.NET AJAX web services and page methods.. Since the question of how I handle this problem is something asked often in emails and in comments on other posts here, I want to address the topic with its own post. read more...

add a comment |category: |Views: 193

tags: another

11 Optimization Tips for Visual Studio(hatim.indexdev.net)

submitted by HatimrHatimr(1492) 3 years ago

Sometimes ago I compiled this list for myself and our team to help get things done faster and deal with visual studio quirks. read more...

add a comment |category: |Views: 951

tags: another

JSON Serialization of a DataReader(west-wind.com)

submitted by rstrahlrstrahl(7226) 3 years, 1 month ago

On a few occasions recently I've ended up with DataReaders in my AJAX services. The data comes from low level componets with data from APIs over which I have no control and it feeds only feeds data from DataReaders. Rather than converting these readers into more complex data structures it can be more efficient to directly turn these DataReaders into JSON. Here are a couple of ways to do this using a custom serializer and a JavaScriptConverter for JavaScriptSerializer. read more...

add a comment |category: |Views: 517

tags: another

ELMAH: Error Logging Modules and Handlers for ASP.NET (and MVC too!)(hanselman.com)

submitted by sharplifesharplife(4570) 3 years, 1 month ago

ELMAH has been one of the most useful tools for ASP.NET developers to log errors on their web applications. Now Scott has a nice talk on how to use it even in your ASP.NET MVC applications. Cool! read more...

add a comment |category: |Views: 333

tags: another

ASP.Net – Never again fear publishing your website with debug=true(blog.aggregatedintelligence.com)

submitted by crpietschmanncrpietschmann(11.3k) 3 years, 1 month ago

What makes the deployment element special is that it is a machine level configuration element. When its retail attribute is set to true, it will disable the <compilation debug=”true”> for ALL ASP.Net applications running on that machine. In addition, it turns of detailed errors messages being sent to remote machines and disables the ability to trace output. read more...

add a comment |category: |Views: 407

tags: another