LessThanDot Site Logo

LessThanDot

A decade of helpful technical content

This is an archive of the posts published to LessThanDot from 2008 to 2018, over a decade of useful content. While we're no longer adding new content, we still receive a lot of visitors and wanted to make sure the content didn't disappear forever.

Sharing ASP.net Session State Between Applications with SQL Server – Part II

In Part I we set up our awesome website, and a nice SQL Server database to manage our sessions. But we’re not done yet, now we want to share that session state between our site and another web application, in this case a service. So, now that our site is good to go, we can set up the webservice call. First, we need to set up the service. For this example we’ll just return a simple string, from the session of course.

Read More...

SQL Server - Set based random numbers

It’s not often that we (as programmers) need random numbers, especially from a database. When you are testing your queries for performance, it’s best to use a large table to do it. Sometimes you just don’t have access to a large table to test with, so you may think about creating many rows in your existing table. SQL Server has a rand() function that will return a random (fractional) number between 0 and 1.

Read More...

Jon Skeet talks about being a micro-celebrity

I guess if you heard of this site then you must have heard about StackOverflow. StackOverflow was(is) made by the very popular blogger http://www.codinghorror.com/blog/. Since the arrival of StackOverflow there have been a few people that stick out in the helping out department over there. One of these people is Jon Skeet. The man wrote a book so he is already famous ;-). But now he finds himself on the top of the list at StackOverflow.

Read More...

Sharing ASP.net Session State Between Web Applications With SQL Server – Part I

I recently needed to implement a shared session between a few different applications, and didn’t find a whole lot on the interwebs about how to do this (I’m starting a second life as a web developer though, it could be that I just don’t know all the terms the cool kids are using). It ended up being a bit easier than I thought it would be, but then again everything is easy when the great folks at LessThanDot’s ASP.

Read More...

PerformancePoint Server To Become PerformancePoint Services In SharePoint Server

PerformancePoint Server To Become PerformancePoint Services In SharePoint Server Microsoft is consolidating the scorecard, dashboard, and analytical capabilities from PerformancePoint Server into SharePoint Server as PerformancePoint Services, making these capabilities available to millions of SharePoint users around the world. See the announcement here: http://blogs.msdn.com/bi/archive/2009/01/23/microsoft-bi-strategy-update.aspx You can also watch a video of the announcement here: http://www.microsoft.com/winme/0901/35195/Guy_Weismantel_BI_Announcement_MBR.asx

Read More...

SQL Friday, The Best SQL Server Links Of The Past Week Episode 8

Here we are with another superfunkycalifragisexy episode of the SQL Friday, The Best SQL Server Links Of The Past Week show Here is what I found interesting this past week in SQL Land: Geek City: Too Many Indexes! Kalen Delaney shows us that each table in SQL Server 2008 can contain a maximum of 999 nonclustered indexes, and 1 clustered index. These include the indexes generated to support any PRIMARY KEY and UNIQUE constraints defined for the table.

Read More...

X# a domain specific language designed to quickly create Web applications and services

Just saw the X# language website, what do you think of X#? X# (pronounced X-sharp) is a domain specific language designed to quickly create Web applications and services. In X# everything is represented as a hierarchical structure or tree and instead of using functions to manipulate information or perform actions, all possible operations you can think of are done by adding, removing or changing nodes from this tree. Since there are no functions to learn and everything is done intuitively, even inexperienced developers can create complex Web applications and services in record time.

Read More...

Win32/Conficker.B also known as Downadup worm infections warning

Got this from Microsoft and decided would be good to share this with you Based on feedback from MVPs and other sources, we are concerned about the rise in reported infections due to the worm Win32/Conficker.B also known as "Downadup." Though systems which have already applied the out-of-band released MS08-067 in October 2008 are protected, unpatched system users have experienced system lockout and other problems. Last week, we released a version of the Malicious Software Removal tool (MSRT) that

Read More...

Do you use Metasploit to check if your servers are vulnerable?

Do you use Metasploit to check if your servers are vulnerable? If not then you should take a look at it. What is Metasploit? The Metasploit Framework is a development platform for creating security tools and exploits. The framework is used by network security professionals to perform penetration tests, system administrators to verify patch installations, product vendors to perform regression testing, and security researchers world-wide. The framework is written in the Ruby programming language and includes components written in C and assembler.

Read More...

Rhino mocks and raising an event that has parameters and the AAA syntax the VB.Net version

This is the VB.Net version of “Rhino mocks and raising an event that has parameters and the AAA syntax” which was the C# version. I’m not saying it’s perfect but it works. Well most things are pretty good except the AddingHandler functions. I’m pretty sure I could get that down to one function. But I have spent enough time on this already. All tests pass. And here is the code. The explenation is pretty much the same as the previous post.

Read More...