On this page

.Net framework - open source
Internet Explorer (IE) 7 menu toolbar - Changing position
IIS 6 - run with an application user
IIS 6 Application pool management
Does following Microsoft guidelines(or any guidelines..), is Always a good idea ?

Ads

Navigation

Search

Categories

Clouds

Sql Server (5) .Net (16) .Net 2.0 (2) C# (3) @ff Topic (5) Architectural solutions (9) ASP (1) BDD (5) Blog related (8) database (2) Development process (8) Facebook (1) job interviews (1) Lessons (5) Life (12) Microsoft (5) IIS 6 (2) SPS (sharepoint server) (3) Drivers (1) Internet Explorer (2) Windows 2003 server (1) NightDuck (2) Performance (5) Security (9) Sql Server 2000 (4) Study (2) TDD (1) Threading (3) Under the hood (1) Web (1) Web services (1) XSS (6)

Archive

Blogroll

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

RSS 2.0 | Atom 1.0 | CDF

Send mail to the author(s) E-mail

Total Posts: 63
This Year: 0
This Month: 0
This Week: 0
Comments: 33

Sign In
Pick a theme:

 Saturday, October 06, 2007
Saturday, October 06, 2007 9:21:42 PM (GMT Standard Time, UTC+00:00) ( .Net | Microsoft )

Microsoft is going to publish it's source of .Net framework under a referance licience ,
According to this post of scott Gu , i will be intergated in the new Visual studio 2008.

check out this Podcast that Scott Hanselman and Shawn Burke recently recorded.
Not sure what this move will cause, but it's defenatly sounds cool.

maybe it will kill the Mono-project, or maybe give him some strong boost, time will show...

Comments [0] | | # 
 Thursday, January 04, 2007
Thursday, January 04, 2007 5:16:11 PM (GMT Standard Time, UTC+00:00) ( Microsoft | Internet Explorer )

after installing IE7 on my workstation, i noticed one thing that really annoyed me ,
the position of the menu toolbar.

for those that installed the browser, you probably noticed that the menu bar is positioned right below the address bar.
Ok, who tha hell in Microsoft thought that it will be convenient ?

Well, after doing some digging on the net, i found some interesting info about it (apparently not only me considered this "feature" as annoying)
So, what have i found ? what should we do to get things back to normal ?

before.JPG
(this is not the wanted position)

apparently, the only way is to change some registry values (aren't we love Microsoft ?)

  • go to the registry editor : (type RegEdit in the Start-> run)
  • go to this path :
    "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Toolbar\WebBrowser"

  • add a new registry value and name it "ITBar7Position"
    RegNewValue.JPG

  • Change the value of the new object to 1

    (this should look like this :)
    registry.JPG

  • restart your Internet Explorer

  • you're done !

 

now your IE7 menu bar will be placed in the normal position where it should be

after.JPG

if you don't want to mess around with the registry by yourself, you can download the file attached to this post,
it should do the job for you.

enjoy !

 

 

IE7Toolbar.reg (.3 KB)
Comments [0] | | # 
 Tuesday, August 29, 2006
Tuesday, August 29, 2006 10:55:46 PM (GMT Standard Time, UTC+00:00) ( Microsoft | IIS 6 | Security )

One of the most important rules about running an application (specially web application) is giving to the application only the needed permissions to run, and no more ! (running a web application with an administrator user is bad....).
Sure, it's very comfortable to give the application all the permissions that the system has, and not trying to solve permission related problems directly,
But this kind of an approach is a security-breach prone approach.
suppose, you wrote an application that has a minor security hole in it, and it allows the user to execute some unwanted script.
If it will run in a full permissions context, than it would be very easy to hijack the entire system, or even just do a system-wide damage.
But, if it will run only with the needed permission, then the attacker would have a hard time doing it.

So, what is the solution ?

Comments [2] | | # 
 Thursday, August 24, 2006
Thursday, August 24, 2006 7:31:07 PM (GMT Standard Time, UTC+00:00) ( Microsoft | IIS 6 )
Ever encountered on a situation that you have several Web Applications that works fine on the IIS 6 machine,
and then you add another application to join the party, and all the server crashes/ not responding / running very slow?

The answer is probably because the additional application that you added is a resource hog, and it doesn't leave the other web application any resources at all.


So, what can we do?
Comments [0] | | # 
 Thursday, August 17, 2006
Thursday, August 17, 2006 8:54:25 PM (GMT Standard Time, UTC+00:00) ( .Net | Architectural solutions | SPS (sharepoint server) | Microsoft )

when planning a software solution, one of the most important things is to design the solution the best way it can be,
even before writing the first line of code, we need to know exactly how we should implement it.

so what would you do if you never planned/worked/implemented such type of a solution ?

needless to say that inventing the wheel all over again will be unnecessary ,
first you consult with the "elders" (the more experienced co-workers),
trying maybe google up the solution,
going over the references and the guide lines in developing this kind of a solution or at the given platform,
starting some thinking team and so ...

finally, you came up with a solution, and....
start implementing it.

now, in a perfect world, once you did the steps mentioned above, you have a perfect solution.
but in the real world, something must to go wrong.

recently i came across some interesting example of this phenomena.
while designing a "file Version manager solution" on SPS (Share point Server) platform,
following the SPS development guidelines, which says that you (the developer), should never approach the SPS database.
always, but always get the data through the object model.

so, by doing that, you came up with a working application,but..... catastrophic performance.
after consulting with other staff, we came to the conclusion that the bottleneck is in the object model itself.
so the only thing we had to do is the direct approach to the database ( a big NO NO on the guide lines).
and apparently the performance graph suddenly got a dramatic change (better performance).

i think that guide lines did not meant to become laws, but to be just as a suggestions to most of the cases.
what do you think about this issue ?

Comments [2] | | #