Important: ASP.NET Security Vulnerability

Vulnerability in ASP.NET Could Allow Information Disclosure
Published: September 17, 2010 | Updated: September 20, 2010

http://visualstudiomagazine.com/article … -hack.aspx
http://weblogs.asp.net/scottgu/archive/ … ility.aspx
http://weblogs.asp.net/scottgu/archive/ … ility.aspx
http://www.microsoft.com/technet/securi … 16728.mspx
http://blog.krisvandermast.com/Importan … ility.aspx

Security Patch Is Available: http://blogs.msdn.com/b/sharepoint/arch … today.aspx

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Add DLL to GAC using C#

Reference the system.EnterpriseServicess assembly to your project.


using System.EnterpriseServices.Internal;

public void Update(DirectoryInfo folder_GAC)
{
  //check if folder containing new dll files exists
  if(folder_GAC.exists){
    //add each dll found in this folder to the Global Assembly Cache
    foreach (FileInfo dll in folder_GAC.GetFiles("*.dll")) 
    {
      //instantiate a new Publich object and install the dll
      Publish objpublish = new Publish();
      objpublish.GacInstall(dll.FullName);
    }    
  }
}

remove an assembly from the GAC can be done by using the GacRemove(string name) method.

more information:
http://msdn.microsoft.com/en-us/library … blish.aspx

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Visug report: Brad Abrams

Yesterday evening I attented an interesting session, with a lot of people, from Brad Abrams (Program Manager at Microsoft and author of the book Framework Design Guidelines ).

Most of the things he told were already known in a technical point of view, but what made it so interesting is the reason why some things are built in the .NET framework.

When to use a property in stead of a method, after all… A property is a method?!

When to use an extention method combined with a namespace and add overload methods to an interface or to manage dependencies?

Why shouldn't I define extension methods on the System.Object? 😉

And my favourite:
Do as little as possible now (but no less) to ensure room for extensibility in the future

How to achive the secret of great productivity?

did I get your attention?

Brad has provided us with the slides which can be downloaded from here

always nice to learn some new things :)

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

LINQ and Entity Framework breakfast event

You are invited to attend our LINQ and Entity Framework breakfast event

Over the last 12 months, Microsoft has been talking a lot about two major innovations related to representing and querying data.

The first is a set of extensions to the .NET Framework for integrating queries into the programming language known as LINQ.

The second is the new Entity Data Model exposed as part of the ADO.NET Entity Framework.

What are these technologies and how do they relate to one another?

Come and join us during one morning and get breakfast, the complete picture on Microsoft

VN:F [1.9.22_1171]
Rating: 5.0/10 (1 vote cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)