avatar

Andres Jaimes

ASP.NET Tips & Tricks

How to get the user name in a web app Four steps to achieve it: Use the following code to get the user name in your application: string user = User.Identity.Name.ToString(); Modify your web.config file to include the identity and the authentication tags: <system.web> <identity impersonate="true" /> <authentication mode="Windows"/> </system.web> In IIS right click your application and select Properties. Go to the Directory Security tab. Click Edit under Authentication and Access Control.

asp.net tips and tricks

How to get the username in a web app Four steps to achieve it: Use the following code to get the username in your application: string user = User.Identity.Name.ToString(); Modify your web.config file to include the identity and the authentication tags: <system.web> <identity impersonate="true" /> <authentication mode="Windows"/> </system.web> In IIS right click your application and select Properties. Go to the Directory Security tab. Click Edit under Authentication and Access Control.

Is beauty better than functional?

what do you think? how many times we find ourselves trying to sell a good project that, because of its ugly look, ends in the garbage bin? Do you think an engineer should have some lessons on aesthetics? art? or leave that right minded work to the guy who used to be in ballet lessons at the university?

Tabs, Shortcuts and Internet Explorer

Have you read the information that shows up when you click the “new tab” button in IE? I think I did it once when I tried for the first time this tabbed IE, and never took a look at it again. Until yesterday. I just read it and surprised me because it contains a useful list of shortcuts for managing tabs. Many of them remind me the way Operaworks, but there are a few new.

About this new year…

Hello all. Since November I have been using the Microsoft 2008 Express Suite. Nice suite, but a big change since these last months I was only on the Java side. C# is one of those languages you can easily fall in love with. Most of the applications I’m developing are for web, and it has been a great opportunity to use some of the DHTML libraries I’ve found on the web to create those new fancy interfaces.

Dilbert

I love Dilbert!

Firefox cannot load "localhost", while IE can

I installed IIS on a reformatted computer and when trying to access the home page using Firefox I was asked for my username and password. After many tries and permission checkings (check this first!) I used IE and it worked€¦ I googled a little bit and found this solution: Open up Firefox and type about:config in the url field In the Filter Type in ntlm Double click €œnetwork.

Windows Tips

Security Tips – How to turn off autoplay Disc autoplay is a Windows feature that lets you execute a disc’s content when you insert it. Though this can be comfy, it presents a security threat for our systems since computer viri may reside in discs infecting all computers as they are inserted. To turn off the autoplay feature: Go to Start > Run and type: gpedit.msc Press the Run button.

Installing a PDF print server on Ubuntu Server

This article was originally written for Ubuntu 7, but we now know it works for Ubuntu 10 as well. Thanks Shooda! To start, install the CUPS service and CUPS-PDF files: sudo apt-get install cupsys sudo apt-get install cups-pdf Now configure CUPS to allow remote administration: sudo nano /etc/cups/cupsd.conf Modify the port where CUPS listens from: Listen localhost:631 to: Listen 631 Listen /var/run/cups/cups.sock Listen 192.168.1.1:9100 The 192.

Server Upgrade

Last sunday I upgraded my website software… phew!, It was a long task, but final result was very pleasant :-). Right now it’s running on WordPress 1.5. Very nice. One major change was the use of subdomains instead of subdirectories. I pretend to keep all blogs cleaner by putting each one in its own subdomain space. The price is some broken links on the net ;-)…