BlackWasp

Stories kicked by BlackWasp

Object Pipelines(www.blackwasp.co.uk)

submitted by BlackWaspBlackWasp(4212) 2 days, 4 hours ago

A pipeline is a chain of connected steps that process information. In object pipelines, each step receives an object and performs an action using it before passing an object to the next step. This repeats until every step is complete. read more...

add a comment |category: |Views: 107

tags: another

Disabling the Screensaver Programmatically(www.blackwasp.co.uk)

submitted by BlackWaspBlackWasp(4212) 9 days, 5 hours ago

Screensavers can be a useful tool for protecting some types of display from damage or a visually pleasing alternative to the open windows when a computer is not in use. For some types of software it is necessary to temporarily disable the screensaver. read more...

add a comment |category: |Views: 1

tags: another

Creating Type Aliases in C#(www.blackwasp.co.uk)

submitted by BlackWaspBlackWasp(4212) 11 days, 5 hours ago

The using directive of the C# programming language is often used to create namespace aliases, allowing types with matching names that appear in separate namespaces to be easily accessed. A lesser known use of the directive is to create aliases for types. read more...

2 comments |category: |Views: 265

tags: another

Detecting Power Events(www.blackwasp.co.uk)

submitted by BlackWaspBlackWasp(4212) 20 days, 11 hours ago

Microsoft Windows raises notifications in response to power events, including when the user sleeps, hibernates or resumes the computer, or when the power supply switches between battery mode and A/C power. The notifications can be detected using events. read more...

add a comment |category: |Views: 5

tags: another

Creating Parallel Tasks with TaskFactory(www.blackwasp.co.uk)

submitted by BlackWaspBlackWasp(4212) 23 days, 5 hours ago

The Task Parallel Library provides a number of ways in which parallel tasks can be instantiated. This article describes the use of the TaskFactory class, which uses the factory method design pattern to generate and start tasks with a single method call. read more...

1 comment |category: |Views: 184

tags: another

An Extensible Appointment Scheduling Library(www.blackwasp.co.uk)

submitted by BlackWaspBlackWasp(4212) 27 days, 5 hours ago

Scheduling software can be used to plan future appointments, including those appointments that repeat on a regular basis. This article describes a library with four types of scheduling rule and the potential for additional rules to be incorporated. read more...

add a comment |category: |Views: 13

tags: another

Adding Lists and Tables to XML Documentation(www.blackwasp.co.uk)

submitted by BlackWaspBlackWasp(4212) 1 month ago

Bullet lists, numbered lists and tables provide useful ways to provide information about the use of a framework, a single class or a member. These ways of displaying data can be included in XML documentation comments and compiled into help files. read more...

add a comment |category: |Views: 2

tags: another

SQL Server Transaction Savepoints(www.blackwasp.co.uk)

submitted by BlackWaspBlackWasp(4212) 1 month, 5 days ago

Sometimes Transact-SQL (T-SQL) scripts require the ability to roll back some parts of a transaction whilst allowing other elements of a process to be committed to the database normally. This can be achieved with the use of transaction savepoints. read more...

2 comments |category: |Views: 46

tags: another

10 illustrated examples of Visual Studio 11(www.troyhunt.com)

submitted by troyhunttroyhunt(831) 1 month, 8 days ago

Visual Studio 11: it’s new and it’s grey but there’s more to it than just a dour monotone veneer. Here are 10 things that make it a step forward from the old. read more...

2 comments |category: |Views: 487

tags: another

Minify your CSS & JavaScript with SquishIt(midnightprogrammer.net)

submitted by prashantmx4prashantmx4(815) 1 month, 11 days ago

NuGet package to minify your website CSS and JavaScript file. read more...

1 comment |category: |Views: 223

tags: another

Using the DebuggerBrowsable Attribute(www.blackwasp.co.uk)

submitted by BlackWaspBlackWasp(4212) 1 month, 18 days ago

Visual Studio's debugging windows and tools allow you to examine in-scope objects and the values contained within their properties, indexers and fields. When this is undesirable, a class may change the way in which its debugging information is provided. read more...

add a comment |category: |Views: 121

tags: another

67% of ASP.NET websites have serious config related vulnerabilities(www.troyhunt.com)

submitted by troyhunttroyhunt(831) 1 month, 24 days ago

Actually, it’s even worse than that – it’s really 67.37%. It’s an alarmingly high number for what amounts to very simple configuration vulnerabilities. The numbers come courtesy of ASafaWeb, the Automated Security Analyser for ASP.NET Websites which is a free online scanner at asafaweb.com. Let me walk you through these results and offer a bit of insight as to where things are going wrong when ASP.NET web sites are published. Hopefully this will be a bit of a “call to action” which helps developers understand where they might need to do a bit of tweaking in their apps. read more...

1 comment |category: |Views: 396

tags: another

A LINQ Style Range Generator(www.blackwasp.co.uk)

submitted by BlackWaspBlackWasp(4212) 1 month, 25 days ago

Language-Integrated Query (LINQ) provides the Enumerable.Range method that generates incrementing sequences of integers. This article describes a similar method that allows the creation of more complex ranges with the repeated application of a function. read more...

add a comment |category: |Views: 5

tags: another

Application Setting Events(www.blackwasp.co.uk)

submitted by BlackWaspBlackWasp(4212) 2 months, 6 days ago

Application settings provide a useful means for configuring applications and retaining user settings between program executions. When it is necessary to monitor those settings for changes, four standard events can be subscribed to. read more...

add a comment |category: |Views: 93

tags: another

Generating Random Pronounceable Passwords(www.blackwasp.co.uk)

submitted by BlackWaspBlackWasp(4212) 2 months, 8 days ago

The use of passwords as a security measure is increasingly common for technical and non-technical users alike. Generating passwords that are both strong and memorable can be difficult. This article describes one method to alleviate this problem. read more...

add a comment |category: |Views: 6

tags: another

.NET Known and System Colours(www.blackwasp.co.uk)

submitted by BlackWaspBlackWasp(4212) 2 months, 14 days ago

The Color class can represent over sixteen million colour shades with over two hundred and fifty levels of transparency. Often, however, a simple, named colour or a system colour is desired. These can be obtained using the KnownColor enumeration. read more...

add a comment |category: |Views: 8

tags: another