Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » C#/dotNet fun   (RSS)

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

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
Posted by EldarM | 8 Comments

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

_______________________________________ From: sandusergiu1984@....com [mailto:sandusergiu1984@....com] Sent: Fri 8/11/2006 9:20 AM To: Eldar Musayev Subject: (Random Thoughts and Hints on Software Development) : C# Code I thought how can I write a program
Posted by EldarM | 1 Comments

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
Posted by EldarM | 3 Comments
Filed under: ,

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,
Posted by EldarM | 23 Comments
Filed under:

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
Posted by EldarM | 4 Comments
Filed under:
 
Page view tracker