A Case Against Code Reviews

I know, it sounds odd in the modern world where code reviews are almost like one of the Sacred Commandments, that is taken religiously and you could be burned at the stake for not respecting it. So, please, hold with me for a little heresy… No, I don’t argue that code reviews are valuable. It’s…

4

How to call C++ DLL from ASP.NET (C#) code?

The problem: normally, you use DLLImport and P/Invoke. However, it only works if DLL is loaded. For normal program you can put it into the same folder as managed executable, and everything will be just fine. Not for ASP.NET, which is compiled into an obscure location, which you would not want to mess up with. Other places…

8

From the mail: how can I access database from C#

_______________________________________From: sandusergiu1984@….com [mailto:sandusergiu1984@….com]Sent: Fri 8/11/2006 9:20 AMTo: Eldar MusayevSubject: (Random Thoughts and Hints on Software Development) : C# CodeI thought how can I write a program in C# that searches a SQL Server database and outputs the results to the user? and couldn’t give me please some ideas, or a fragment of code? Thanks a…

1

Impersonation and authentication with ASP.Net

The task: make a web user authenticated (either with him directly providing user ID or password or through domain, if he is already logged in) and run ASP.Net code under his/her ID.   Frankly, that’s very easy, but I noticed that sometimes even very good developers don’t know how to do that. In short, impersonation…

3

0x800736B1: Calling C++ code from ASP.Net (from .aspx pages or .asmx webservices)

So, you have (or have to write) ASP.Net page or webservice, which should call native C++. Generally, it’s just extra work, but sometimes there is no other way, at least, no easier way. Overall that’s fairly easy – use COM or P/Invoce, that’s it. However, sometimes you do so, and it does not work no…

24

Favorties.html

Long long ago, when IE was still in version 1.0, most people, including me, used Netscape, where favorites were not a bunch of files hidden somewhere, but rather an HTML page. Few of my friends used to make this page a browser’s start page — quite convenient thing to do. I missed it, but got…

4