mardi 27 septembre 2011

C# Optimization Secrets

« You want to see ways you can add performance optimizations to your C# programs, focusing on the level of the code statements and methods. While high-level considerations, and factors external to your C# code are often most important, such as computer processor and network speed, there are many low-level performance optimizations you can do inside the C# language that can sometimes improve performance. This article, then, describes these optimizations. »

 

Read More : http://www.dotnetperls.com/optimization

 

mercredi 21 septembre 2011

Figuring out the IIS Version for a given OS in .NET Code

« Here's an odd requirement: I need to figure out what version of IIS is available on a given machine in order to take specific configuration actions when installing an IIS based application. I build several configuration tools for application configuration and installation and depending on which version of IIS is available on IIS different configuration paths are taken. For example, when dealing with XP machine you can't set up an Application Pool for an application because XP (IIS 5.1) didn't support Application pools. Configuring 32 and 64 bit settings are easy in IIS 7 but this didn't work in prior versions and so on. »

 

Read More :  http://www.west-wind.com/weblog/posts/2011/Sep/18/Figuring-out-the-IIS-Version-for-a-given-OS-in-NET-Code

 

mardi 13 septembre 2011

ASP.NET page methods are only as secure as you make them

One of the most persistent misconceptions about ASP.NET’s page methods is the notion that they have some intrinsic protection against requests that don’t originate from the page where they’re defined. Since a page method’s code resides within a page’s code-behind file, it’s intuitive to assume that those methods benefit from some form of inherent security.

 

Read More :  http://encosia.com/asp-net-page-methods-are-only-as-secure-as-you-make-them/

 

mardi 6 septembre 2011

ASP.NET vNext (VisualStudio and ASP.NET new release features)

“Over the next few months I’m going to be doing a series of posts that talk about some of the cool new features coming with the next releases of ASP.NET and Visual Studio (which we will start talking about more in the months ahead).  They contain a ton of new functionality and improvements – for both Web Forms and MVC - that I think you’ll really like, and which make building applications easier, faster and better.”

 

Read More : http://weblogs.asp.net/scottgu/archive/2011/08/31/asp-net-vnext-series.aspx

 

vendredi 2 septembre 2011

Full Screen Web Apps

“One of the first problems encountered when building a mobile web app from scratch is the amount of space consumed by the browser’s address bar. This tutorial will demonstrate how to reclaim the screen real estate otherwise lost to the address bar while accounting for orientation changes, content height problems, and internal document links.”

 

Read More : http://mobile.tutsplus.com/tutorials/mobile-web-apps/remove-address-bar/