W3wp High CPU Usage Scenario

I was working on one of my customers high CPU dumps for w3wp and the reason was synchronizing access to static collections Generic.Dictionary Here is you start checking Dumps    !threadpool CPU utilization: 100% Worker Thread: Total: 32 Running: 32 Idle: 0 MaxLimit: 800 MinLimit: 8 Work Request in Queue: 886   !cpuid CP  F/M/S …

0

Azure Managed Cache Service Sample Solution.

Azure is a growing collection of integrated services – compute, storage, data, networking and app – that help you move faster, do more and save money. But that’s just scratching the surface. Azure supports any operating system, language, tool and framework – from Windows to Linux, SQL Server to Oracle, C# to Java. It puts…

1

How to loose session data in Web Farm ?

There are many things can cause session data lose but I came across very interesting scenario where session data intermittently get lost while storingsession data in SqlSessionStateStore. And after long troubleshooting found it was the App ID assigned to the same web application is different in the 2 servers in the web farm. Thus when…

0

Log Parser And IIS Log Analysis.

First have  Log Parser installed. Then Start it from C:\Program Files (x86)\Log Parser 2.2  Here are some Log Parser queries which can be used across  IIS logs for analysis Request Type Distribution “SELECT EXTRACT_EXTENSION(TO_UPPERCASE(cs-uri-stem)) AS ExtType, COUNT(*) INTO FrontEndRequestType.csv FROM *.log GROUP BY ExtType ORDER BY COUNT(*) DESC ” -i:W3C -o:CSV   Top 20 Hits…

3

Can I Develop Windows 8.1 App using VS 2012?

 The Short Answer is NO. I had a customer looking to use VS 2012 to develop Windows phone 8.0 and 8.1 Apps.  The current Windows Phone 8.0 SDK is compatible with Visual Studio 2012 (Update 2) and higher (see http://dev.windowsphone.com/en-us/downloadsdk) .   To develop Windows Store Apps for Windows 8.0 you generally need Visual Studio…

13

Does Dacpack supports sqlcmd variables?

   I have a got a question from a customer want to use dbdacfx provider with Web Deploy 3 which is working fine and only failing with  sqlcmd variables with below error?  And the Question was Does Dacpack supports sqlcmd variables?       Ref dbDacFx Provider for Incremental Database publishing  http://www.iis.net/learn/publish/using-web-deploy/dbdacfx-provider-for-incremental-database-publishing   And the…

0

How to block certain client apps or browsers from accessing a web App in IIS?

 I got a question from one of my colleagues asking how to block certain client application or browsers from accessing a web App in IIS ? The Question was raised at first from a customer have already disabled Active Sync and still his users can access through 3rd parity Applications like Cloud Magic https://cloudmagic.com and still…

0

Why can’t place an ascx file in the App_Code folder?

When a developer creates a user controls (ascx files); it is not allowed to put it in the App_Code folder. Before we answer this lets quickly remember the value of App_Code folder: it is just one of the web site project folders that can store source code BUT its content would be automatically compiled at run time. And…

0

IIS8: What is the problem that CCS (Centralized Certificate Store) resolved?

Securing sites is already a mandatory step in many businessas usually it is saving sensitive data and documents. Moreover, with cloudhosting, server capacity must be added and removed dynamically. Before WindowsServer 2012, there were a couple of obstacles must be considered : Scalability: We can only use one certificate for one IP:Port combination only. Manageability:…

2

Don’t add special bindings for FTP site

Shortly if you add bindings for ftp site, it will start to show abnormal behavior. You may not be able to browse it by IP address or name. You may see error 530  530-Valid hostname is expected.  Win32 error:   No such host is known.  Error details: Hostname didn’t match any configured ftp site.530 End   To resolve that…

4