Look at Sharing Common Assemblies in ASP.NET 4.5

In this blog, we will look into sharing common assemblies in ASP.NET 4.5 Developer Preview. This feature needs VS 11 SDK & .NET Framework 4.0 latest update. Normally, multiple sites use to have its own copy of same assemblies from a starter kit like AjaxToolkit in its Bin directory. These assemblies are identical in object…


Customizing FTP Messages on IIS 7/7.5

We will look into customizing FTP messages, that are shown when a FTP client connects/disconnects from the FTP site. These messages are categorized as: Banner: Shown after connecting to the FTP site Welcome: Shown after successful authentication to the FTP site Exit: Shown after disconnecting from the FTP site Maximum Connections: Shown when it reaches…


Look at Asynchronous Page Processing in ASP.NET 4.5

In this blog, we will look into new Asynchronous Page Processing in ASP.NET 4.5 Web Forms. Asynchronous page processing will improve performance on long running tasks like file upload, database processing within your ASP.NET page. In ASP.NET, there is limited number of threads within the thread pool to serve your requests to a website. If…


Look at Request Validation in ASP.NET 4.5

In this blog, we will look into enhancements to Request validation for ASP.NET 4.5. Request validation will be done for all ASP.NET requests by default. Doing this, will avoid cross-site scripting by throwing an ASP.NET exception on finding any markup or scripts in fields, headers etc.  In previous versions of ASP.NET, we can disable request…


Look at Page Inspector for VS 11 Developer Preview

In this blog, we will look into one of the plug-in for VS 11 called as Page Inspector. Page Inspector is a tool, which provides browser experience for your web page [html, ASP.NET, MVC, Web projects & Applications] within VS IDE.  It shows the mapping of your ASP.NET code, HTML with web page output in…


Bundling and Minification in ASP.NET 4.5

In this blog, we will look into two new features of ASP.NET 4.5 called as Bundling and Minification.  We can download Visual Studio 11 Developer Preview from http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=27543 to run ASP.NET 4.5 applications.  Bundling is a feature that will combine all your JavaScript and CSS files into a single file. Doing this, will reduce number…


Easier way to collect dumps of 32-bit process on 64-bit server

We should use 32-bit version of Debugger like Debug diag x86 to collect manual dumps for 32-bit process on 64-bit server. Using 64-bit Debugger or task manager [in Windows Server 2008], will create a 64-bit dump. This will have dump of the syswow64 and it won’t allow extensions like psscor, sos to read it properly in windbg…


Web Forms vs MVC

In this blog, we will look into benefits of ASP.NET MVC followed by MVC vs Web Forms features. ASP.NET MVC is supplemental technology for ASP.NET Web Forms. Just using MVC for the project development will not improve the team productivity. It depends on type of project being developed, team skills etc. Request Flow:                                 Web Forms                                                                            MVC…


PowerShell script to enable IIS Configuration Auditing

We need to use Event Viewer to enable Configuration Auditing using below steps for IIS 7/7.5: 1) Open Event Viewer, go to Applications and Services log 2) Expand Microsoft, Windows and IIS-Configuration. 3) Select Appropriate Log type based on your requirement like Administrative or Operational and Click on “Enable Log’. 4) By doing this, we…


Look at PowerShell

Windows PowerShell is a command-line shell designed for Windows, targeting system administrators. This shell is similar to that of CSH, BASH on Unix/Linux OS. It is built on using .NET Framework. This shell consists of a console for interactive prompting and a scripting environment to automate the tasks. This shell can accept/return .NET objects. PowerShell…