Vadmyst

Stories submitted by Vadmyst

Refactoring code with lambda expressions(vadmyst.blogspot.com)

submitted by VadmystVadmyst(395) 1 year, 11 months ago

Refactoring trick using C# lambda expressions read more...

add a comment |category: |Views: 16

tags: another

Complex Keys In Generic Dictionary(vadmyst.blogspot.com)

submitted by VadmystVadmyst(395) 2 years, 11 months ago

How to work with complex keys in generic dictionary read more...

add a comment |category: |Views: 31

tags: another

"Using" magic or working with type aliases(vadmyst.blogspot.com)

submitted by VadmystVadmyst(395) 3 years, 10 months ago

Generics in C# allow us specify and construct rather complex types. But the more types we put into generic type the more clumsy it becomes. Learn how one can deal with complex generic types. read more...

2 comments |category: |Views: 251

tags: another

Spartan Programming(codinghorror.com)

submitted by VadmystVadmyst(395) 3 years, 10 months ago

As programmers grow older they begin to appreciate minimalism while coding. It turns out that this approach is formalized under Spartan programming rules. read more...

add a comment |category: |Views: 12

tags: another

High peformance TCP server using completion ports(vadmyst.blogspot.com)

submitted by VadmystVadmyst(395) 4 years ago

Completion ports were first introduced in Windows NT 4.0. This technology makes simultaneous asynchronous I/O possible and extremely effective. When building high performance network software one has to think of effective threading model. Having too many or too little server threads in the system can result in poor server performance read more...

add a comment |category: |Views: 47

tags: another

Proper way to close TCP socket(vadmyst.blogspot.com)

submitted by VadmystVadmyst(395) 4 years, 1 month ago

This question arises very often in the developers communities. The post gives an answer how to do that in proper way thus preventing data losses read more...

add a comment |category: |Views: 26

tags: another

How to go slow: when doing array operations(vadmyst.blogspot.com)

submitted by VadmystVadmyst(395) 4 years, 3 months ago

In .NET much like in C++ arrays are stored row-wise in contiguous memory. The article describes performance pitfalls when working with square arrays. read more...

add a comment |category: |Views: 6

tags: another

When string.ToLower() is Evil(vadmyst.blogspot.com)

submitted by VadmystVadmyst(395) 4 years, 3 months ago

Did you know how evil string.ToLower() can sometimes be? See an example when string.ToLower() is definitely not an option. read more...

3 comments |category: |Views: 110

tags: another

How to Transfer Fixed Sized Data With Async Sockets(vadmyst.blogspot.com)

submitted by VadmystVadmyst(395) 4 years, 4 months ago

Asynchronous communication via sockets involves methods like BeginReceive/EndReceive - for data receiving and BeginSend/EndSend for sending. The sample demonstrates how async sockets work and the fact that data is received in the stream like way read more...

add a comment |category: |Views: 1

tags: another

Unmanaged Debugging Option Very Useful in Visual Studio .NET(vadmyst.blogspot.com)

submitted by VadmystVadmyst(395) 4 years, 4 months ago

Unmanaged debugging option can be very handy when interacting with unmanaged world especially memory. read more...

add a comment |category: |Views: 4

tags: another

Effective SQL Mindset: Cursors VS Joins (vadmyst.blogspot.com)

submitted by VadmystVadmyst(395) 4 years, 5 months ago

Every time you're tempted to use cursor - stop and think that nearly everything can be done without them. All you have to do is to think little bit read more...

add a comment |category: |Views: 1

tags: another

Microsoft Announces Mobile Device Manager 2008(vadmyst.blogspot.com)

submitted by VadmystVadmyst(395) 4 years, 7 months ago

Mobile Device Manager 2008 is a solution that gives organizations enhanced on-device security and over-the-air policy enforcement. It allows IT professionals to more easily manage phones within the organization, and gives mobile employees access to confidential information on corporate networks with firewalls. read more...

add a comment |category: |Views: 4

tags: another

Strategy Pattern In .NET 2.0(vadmyst.blogspot.com)

submitted by VadmystVadmyst(395) 4 years, 7 months ago

Strategy pattern can very handy when a system designer or architect wants to separate algorithms from the system implementation. Also with strategy pattern approach it is very easy to select between different algorithms on the fly. With the introduction of generics in .NET 2.0 implementing strategy pattern is even more easy. read more...

1 comment |category: |Views: 72

tags: another

String Splitting and Tokenization Techniques in .NET(vadmyst.blogspot.com)

submitted by VadmystVadmyst(395) 4 years, 7 months ago

Different ways how strings in .NET can be split/tokenized and why String.Split can be evil read more...

add a comment |category: |Views: 22

tags: another

Why Avoid Recursion For Tree Structures(vadmyst.blogspot.com)

submitted by VadmystVadmyst(395) 4 years, 8 months ago

Recursion albeit very simple to implement has serious disadvantages. read more...

add a comment |category: |Views: 17

tags: another

Critical System Process in .NET(vadmyst.blogspot.com)

submitted by VadmystVadmyst(395) 4 years, 8 months ago

Short description how to create critical system process in .NET read more...

add a comment |category: |Views: 18

tags: another