StyleCop analyzes C# source code to enforce a set of style and consistency rules.
Tuesday, December 16, 2008
Tuesday, December 9, 2008
Learning ASP.NET's MVC Framework
Here's a post on how to learn the ASP.NET MVC Framework the "easy way".
Thursday, December 4, 2008
SQL Queries and Wasting Memory
This is an article explaining why using non-parameterized ad-hoc queries to get data from SQL Server may not be a good idea.
Wednesday, December 3, 2008
SQL Server Indexing
Friday, November 21, 2008
SQL Server 2008 Full-Text Search
Here is an article from TechNet on SQL Server 2008's Full-Text Search capability.
SQL Performace Tuning
Here is an article at SQLServerCentral (free registration required) on SQL Server performance tuning for beginners.
Agile Development
Keeping Your PC Safe on the Internet
In the battle of keeping your PCs safe on the wild and wacky Internet, here are some things that may be of use. SnoopFree Privacy Shield monitors for installed keyloggers. HijackThis scans specific areas of the registry and file system looking for problems. Of course, there are personal firewalls as well. Here are tests and more tests of various personal firewalls. Outpost and Jetico seem particularly worth looking at. Virus Bulletin (free registration required) offers information about viruses, as well as performing comparative reviews of virus scanners. TopTenReviews has a current compative review of anti-virus/anti-malware products in which BitDefender came out on top. F-Secure has had good 'all-in-one's suites covering anti-virus, anti-syware and firewall functionality. Last, see previous posts here and here about safe browsing with Firefox and NoScript.
Wednesday, November 19, 2008
Friday, November 14, 2008
Calling Stored Procedures with one line of .NET Code
This article discusses a method/tool for simplifying your managed code by calling stored procedures with just one line of code many lines of code.
Testing Your DB Code
Here is an article that discusses using the DbFit tool to test your db code--stored procedures and the like.
Clickjacking and Cross Site Scripting Attacks
You may have heard about clickjacking and cross site scripting attacks (XSS). Here is some information on clickjacking, and here is Wikipedia's entry on XSS attacks. Additionally, this talks about Adobe Flash being used to launch attacks. You can use NoScript and Firefox to at least partially mitigate the problem. Note for maximum protection you must enable NoScript's “Plugins|Forbid <iframe>” option.
Friday, October 31, 2008
Enumerating the Devices in Your System
Here is a program that will detail the motherboard and all devices in your system.
Windows 2008 Workstation
You say "Hey, there is no such product as Windows 2008 Workstation, only Windows 2008 Server!" Well, check this out. Supposedly, 2008 Workstation is better than Vista.
Comparing Blogger, Wordpress, Typepad, Moveable Type
Here are some comparisons of the Blogger, Wordpress, Typepad, Moveable Type blogging platforms.
Building Quiet PCs
If you are like me, you like your PCs to be quiet, if not downright silent. For more information on how to do so, see SilentPCReview, Building a Quiet PC and Building a PC.
Quad Core vs. Dual Core CPUs
If you are considering which CPU to choose, quad core or dual core, you may want to check out this, this and this.
In the second link above, Jeff notes:
A quad core *MAY* benefit you if you have a large number of processes to run (for instance virtualization), or you are running an app or apps which are specifically coded to be aware of, and utilize multiple cores.
See alsoand .
In the second link above, Jeff notes:
there are only a handful of applications that can truly benefit from more than 2 CPU cores, and they tend to cluster tightly around certain specialized areasSaid another way, if you are running a small number of apps, or the apps don't effectively make use of multiple cores, then a dual core *MAY* in fact be faster, *IF* the clock speed at which the dual core runs is higher than the clock speed at which the quad core runs.
A quad core *MAY* benefit you if you have a large number of processes to run (for instance virtualization), or you are running an app or apps which are specifically coded to be aware of, and utilize multiple cores.
See alsoand .
32 bit vs. 64 bit OSes
If you are considering whether or not to switch/upgrade to a 64 bit OS, this article may give you some helpful background information.
Changes in a 64 bit processor, relative to a 32 bit processor:
Changes in a 64 bit processor, relative to a 32 bit processor:
- The address bus is expanded from 32 bits to 64 bits (this allows the processor to address 16 exabytes of physical memory, instead of being able to address only 4 GB).
- The CPU's registers are expanded in width from 32 bits to 64 bits.
- It is important to catch that the 64 bit processor's data bus did NOT expand in width. Current 32 bit processor's data buses are already 64 bits in width, and have been for a long time, so data is already being moved to/from RAM 8 bytes at a time. 64 bit processors do not change this.
- Unless you switch to 64 bit apps, your 32 bit apps will have to run in the WoW64 emulation layer, causing your 32 bit app to be "thunked up" to 64 bit.
Raising IIS 5.1's 10 Connection Limit
This blog post discusses how to raise the built in 10 concurrent connection limit built into IIS 5.1, the version included in Windows XP.
Books On Sonicwall Firewalls
If you need to configure or manage a Sonicwall firewall, perhaps these books may be of interest:
Configuring Sonicwall Firewalls
SonicWALL Secure Wireless Network Integrated Solutions Guide
Configuring Sonicwall Firewalls
SonicWALL Secure Wireless Network Integrated Solutions Guide
OT: Book to Read?
Perhaps I should read 'Spit and Polish for Husbands: Becoming Your Wife's Knight in Shining Armor'...
Managing Database Schema Changes with Visual Studio Team System - Database Edition
Here is MSDN's article on managing database schema changes using Visual Studio Team System - Database Edition. In short, VSTS adds 'Database Project' projects templates. You get 'SQL Server 2000' and 'SQL Server 2005' templates. (These are similar to the more familar project templates like C# 'Windows Forms Application'.) Using source control, you can now use this project to track your schema and changes to it over time. You can compare versions, build deployment scripts and so on.
Debugging ADO.NET Data Services
Having trouble getting your ADO.NET Data Service running? Getting cryptic error codes in your browser, for instance HTTP error 500? Here is an article on debugging ADO.NET Data Services. In short, it tells you how to get more informational messages in your browser, so that you can find out what is really going wrong. In my case, it was nothing more than the ASP.NET worker process did not have permissions in SQL Server--easily resolved once I knew what was actually going wrong.
Note there are two steps, and you may need to do both:
1) Set UseVerboseErrors to true in the ServiceConfiguration, and
2) Configure your Servicebehavior with the IncludeExceptionDetailInFaults attribute.
Note there are two steps, and you may need to do both:
1) Set UseVerboseErrors to true in the ServiceConfiguration, and
2) Configure your Servicebehavior with the IncludeExceptionDetailInFaults attribute.
ADO.NET Data Services
Here is an MSDN article about using ADO.NET Data Services. The article includes a walkthrough for creating an ADO.NET Data Service.
Subscribe to:
Comments (Atom)