Stories recently tagged with 'MadsKristensen'

Subkismet 1.0 Released(nayyeri.net)

submitted by keyvankeyvan(4086) 4 years, 1 month ago

Subkismet is a set of tools as a framework to fight against spam in .NET applications. Keyvan announces the first public release of this open source framework. read more...

add a comment |category: |Views: 9

tags: another

Testing your code(blog.madskristensen.dk)

submitted by madskristensenmadskristensen(8565) 4 years, 7 months ago

A primer to different testing methodologies and when to use them and how read more...

1 comment |category: |Views: 0

tags: another

Is ASP.NET too easy?(madskristensen.dk)

submitted by madskristensenmadskristensen(8565) 4 years, 11 months ago

How does the easy approach of ASP.NET affect you as a developer? read more...

add a comment |category: |Views: 0

tags: another

Stock quote class in C#(madskristensen.dk)

submitted by madskristensenmadskristensen(8565) 5 years ago

Get real-time stock quotes with this simple class. It updates it self every minute with the latest quotes. Easy to modify. read more...

add a comment |category: |Views: 161

tags: another

Universal data type checker(madskristensen.dk)

submitted by madskristensenmadskristensen(8565) 5 years ago

A method that checks what types a string can be converted into. It could be integers, guids, booleans, enums etc. read more...

add a comment |category: |Views: 4

tags: another

Access browser information server-side(madskristensen.dk)

submitted by madskristensenmadskristensen(8565) 5 years ago

Exposes JavaScript variables to the C# code such as WindowHeight, ColorDepth or whatever JavaScript variable you can think of. Plug 'n play HttpModule - no code required. read more...

add a comment |category: |Views: 6

tags: another

HttpModule for query string encryption(madskristensen.dk)

submitted by madskristensenmadskristensen(8565) 5 years ago

Plug this simple HttpModule to your existing web application and all your query strings will automatically be encrypted without you have to change your code. read more...

add a comment |category: |Views: 350

tags: another

Do postbacks with parameters in JavaScript(madskristensen.dk)

submitted by dalzieldalziel(6230) 5 years ago

How to cause a postback with Javascript on any element, and pass through parameters read more...

add a comment |category: |Views: 32

tags: another

Keep the content-type in sync(madskristensen.dk)

submitted by madskristensenmadskristensen(8565) 5 years ago

This method will add a meta-tag that specifies the same content-type as the HTTP header does. That way you just have to change the encoding in the web.config and it will automatically change the meta-tag accordingly. read more...

add a comment |category: |Views: 2

tags: another

Choose a standard number format(madskristensen.dk)

submitted by madskristensenmadskristensen(8565) 5 years ago

The problem begins when your web application is set to automatically resolve the culture through the browser. It is by default. All these different cultures have different ways to look at numbers and decimals and that’s all built directly into the .NET Framework. read more...

add a comment |category: |Views: 10

tags: another

Block DoS attacks easily in ASP.NET(madskristensen.dk)

submitted by madskristensenmadskristensen(8565) 5 years ago

The module is a high performance and lightweight protection from Denial-of-Service attacks and very easy to implement. read more...

add a comment |category: |Views: 86

tags: another

Use the thread pool in ASP.NET(madskristensen.dk)

submitted by madskristensenmadskristensen(8565) 5 years ago

The thread pool gives you an easy and safe way for creating multithreaded applications, and even though the stateless nature of the Internet isn’t the best place for multithreading, it can still be the right thing to do for certain scenarios. read more...

add a comment |category: |Views: 37

tags: another

Block IP addresses from your website(madskristensen.dk)

submitted by madskristensenmadskristensen(8565) 5 years, 1 month ago

When an IP address is blocked it stops the response and sends a “403 Forbidden” header. read more...

add a comment |category: |Views: 39

tags: another

A simple factory using Generics(madskristensen.dk)

submitted by madskristensenmadskristensen(8565) 5 years, 1 month ago

This simple factory design can be used for a variety of other purposes and it adds a great layer of abstraction to your code and makes it easier to maintain and reuse. read more...

add a comment |category: |Views: 125

tags: another

Get the HTTP status code from a URL(madskristensen.dk)

submitted by madskristensenmadskristensen(8565) 5 years, 1 month ago

By using this simple method it is very easy to build your own web server checking tool. read more...

add a comment |category: |Views: 31

tags: another

Using the Ping class(madskristensen.dk)

submitted by madskristensenmadskristensen(8565) 5 years, 2 months ago

I’ve written a very small and easy to use method that returns the ping time of a given URL read more...

add a comment |category: |Views: 6

tags: another